@headspace/protos-events 1.207.0 → 1.209.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -7537,6 +7537,386 @@ $root.b2b = (function() {
7537
7537
  return UpdateAdminAttributes;
7538
7538
  })();
7539
7539
 
7540
+ b2b.Organization = (function() {
7541
+
7542
+ /**
7543
+ * Properties of an Organization.
7544
+ * @memberof b2b
7545
+ * @interface IOrganization
7546
+ * @property {number|null} [orgId] Organization orgId
7547
+ * @property {string|null} [orgName] Organization orgName
7548
+ * @property {string|null} [salesforceAccountId] Organization salesforceAccountId
7549
+ * @property {b2b.OrgType|null} [orgType] Organization orgType
7550
+ * @property {boolean|null} [ssoEnabled] Organization ssoEnabled
7551
+ * @property {boolean|null} [promoEmailsDisabled] Organization promoEmailsDisabled
7552
+ * @property {string|null} [healthHubId] Organization healthHubId
7553
+ * @property {string|null} [healthHubName] Organization healthHubName
7554
+ */
7555
+
7556
+ /**
7557
+ * Constructs a new Organization.
7558
+ * @memberof b2b
7559
+ * @classdesc Represents an Organization.
7560
+ * @implements IOrganization
7561
+ * @constructor
7562
+ * @param {b2b.IOrganization=} [properties] Properties to set
7563
+ */
7564
+ function Organization(properties) {
7565
+ if (properties)
7566
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
7567
+ if (properties[keys[i]] != null)
7568
+ this[keys[i]] = properties[keys[i]];
7569
+ }
7570
+
7571
+ /**
7572
+ * Organization orgId.
7573
+ * @member {number} orgId
7574
+ * @memberof b2b.Organization
7575
+ * @instance
7576
+ */
7577
+ Organization.prototype.orgId = 0;
7578
+
7579
+ /**
7580
+ * Organization orgName.
7581
+ * @member {string} orgName
7582
+ * @memberof b2b.Organization
7583
+ * @instance
7584
+ */
7585
+ Organization.prototype.orgName = "";
7586
+
7587
+ /**
7588
+ * Organization salesforceAccountId.
7589
+ * @member {string} salesforceAccountId
7590
+ * @memberof b2b.Organization
7591
+ * @instance
7592
+ */
7593
+ Organization.prototype.salesforceAccountId = "";
7594
+
7595
+ /**
7596
+ * Organization orgType.
7597
+ * @member {b2b.OrgType} orgType
7598
+ * @memberof b2b.Organization
7599
+ * @instance
7600
+ */
7601
+ Organization.prototype.orgType = 0;
7602
+
7603
+ /**
7604
+ * Organization ssoEnabled.
7605
+ * @member {boolean} ssoEnabled
7606
+ * @memberof b2b.Organization
7607
+ * @instance
7608
+ */
7609
+ Organization.prototype.ssoEnabled = false;
7610
+
7611
+ /**
7612
+ * Organization promoEmailsDisabled.
7613
+ * @member {boolean} promoEmailsDisabled
7614
+ * @memberof b2b.Organization
7615
+ * @instance
7616
+ */
7617
+ Organization.prototype.promoEmailsDisabled = false;
7618
+
7619
+ /**
7620
+ * Organization healthHubId.
7621
+ * @member {string} healthHubId
7622
+ * @memberof b2b.Organization
7623
+ * @instance
7624
+ */
7625
+ Organization.prototype.healthHubId = "";
7626
+
7627
+ /**
7628
+ * Organization healthHubName.
7629
+ * @member {string} healthHubName
7630
+ * @memberof b2b.Organization
7631
+ * @instance
7632
+ */
7633
+ Organization.prototype.healthHubName = "";
7634
+
7635
+ /**
7636
+ * Creates a new Organization instance using the specified properties.
7637
+ * @function create
7638
+ * @memberof b2b.Organization
7639
+ * @static
7640
+ * @param {b2b.IOrganization=} [properties] Properties to set
7641
+ * @returns {b2b.Organization} Organization instance
7642
+ */
7643
+ Organization.create = function create(properties) {
7644
+ return new Organization(properties);
7645
+ };
7646
+
7647
+ /**
7648
+ * Encodes the specified Organization message. Does not implicitly {@link b2b.Organization.verify|verify} messages.
7649
+ * @function encode
7650
+ * @memberof b2b.Organization
7651
+ * @static
7652
+ * @param {b2b.IOrganization} message Organization message or plain object to encode
7653
+ * @param {$protobuf.Writer} [writer] Writer to encode to
7654
+ * @returns {$protobuf.Writer} Writer
7655
+ */
7656
+ Organization.encode = function encode(message, writer) {
7657
+ if (!writer)
7658
+ writer = $Writer.create();
7659
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
7660
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.orgId);
7661
+ if (message.orgName != null && message.hasOwnProperty("orgName"))
7662
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.orgName);
7663
+ if (message.salesforceAccountId != null && message.hasOwnProperty("salesforceAccountId"))
7664
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.salesforceAccountId);
7665
+ if (message.orgType != null && message.hasOwnProperty("orgType"))
7666
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.orgType);
7667
+ if (message.ssoEnabled != null && message.hasOwnProperty("ssoEnabled"))
7668
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.ssoEnabled);
7669
+ if (message.promoEmailsDisabled != null && message.hasOwnProperty("promoEmailsDisabled"))
7670
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.promoEmailsDisabled);
7671
+ if (message.healthHubId != null && message.hasOwnProperty("healthHubId"))
7672
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.healthHubId);
7673
+ if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
7674
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.healthHubName);
7675
+ return writer;
7676
+ };
7677
+
7678
+ /**
7679
+ * Encodes the specified Organization message, length delimited. Does not implicitly {@link b2b.Organization.verify|verify} messages.
7680
+ * @function encodeDelimited
7681
+ * @memberof b2b.Organization
7682
+ * @static
7683
+ * @param {b2b.IOrganization} message Organization message or plain object to encode
7684
+ * @param {$protobuf.Writer} [writer] Writer to encode to
7685
+ * @returns {$protobuf.Writer} Writer
7686
+ */
7687
+ Organization.encodeDelimited = function encodeDelimited(message, writer) {
7688
+ return this.encode(message, writer).ldelim();
7689
+ };
7690
+
7691
+ /**
7692
+ * Decodes an Organization message from the specified reader or buffer.
7693
+ * @function decode
7694
+ * @memberof b2b.Organization
7695
+ * @static
7696
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
7697
+ * @param {number} [length] Message length if known beforehand
7698
+ * @returns {b2b.Organization} Organization
7699
+ * @throws {Error} If the payload is not a reader or valid buffer
7700
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7701
+ */
7702
+ Organization.decode = function decode(reader, length) {
7703
+ if (!(reader instanceof $Reader))
7704
+ reader = $Reader.create(reader);
7705
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.b2b.Organization();
7706
+ while (reader.pos < end) {
7707
+ var tag = reader.uint32();
7708
+ switch (tag >>> 3) {
7709
+ case 1:
7710
+ message.orgId = reader.uint32();
7711
+ break;
7712
+ case 2:
7713
+ message.orgName = reader.string();
7714
+ break;
7715
+ case 3:
7716
+ message.salesforceAccountId = reader.string();
7717
+ break;
7718
+ case 4:
7719
+ message.orgType = reader.int32();
7720
+ break;
7721
+ case 5:
7722
+ message.ssoEnabled = reader.bool();
7723
+ break;
7724
+ case 6:
7725
+ message.promoEmailsDisabled = reader.bool();
7726
+ break;
7727
+ case 7:
7728
+ message.healthHubId = reader.string();
7729
+ break;
7730
+ case 8:
7731
+ message.healthHubName = reader.string();
7732
+ break;
7733
+ default:
7734
+ reader.skipType(tag & 7);
7735
+ break;
7736
+ }
7737
+ }
7738
+ return message;
7739
+ };
7740
+
7741
+ /**
7742
+ * Decodes an Organization message from the specified reader or buffer, length delimited.
7743
+ * @function decodeDelimited
7744
+ * @memberof b2b.Organization
7745
+ * @static
7746
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
7747
+ * @returns {b2b.Organization} Organization
7748
+ * @throws {Error} If the payload is not a reader or valid buffer
7749
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7750
+ */
7751
+ Organization.decodeDelimited = function decodeDelimited(reader) {
7752
+ if (!(reader instanceof $Reader))
7753
+ reader = new $Reader(reader);
7754
+ return this.decode(reader, reader.uint32());
7755
+ };
7756
+
7757
+ /**
7758
+ * Verifies an Organization message.
7759
+ * @function verify
7760
+ * @memberof b2b.Organization
7761
+ * @static
7762
+ * @param {Object.<string,*>} message Plain object to verify
7763
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
7764
+ */
7765
+ Organization.verify = function verify(message) {
7766
+ if (typeof message !== "object" || message === null)
7767
+ return "object expected";
7768
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
7769
+ if (!$util.isInteger(message.orgId))
7770
+ return "orgId: integer expected";
7771
+ if (message.orgName != null && message.hasOwnProperty("orgName"))
7772
+ if (!$util.isString(message.orgName))
7773
+ return "orgName: string expected";
7774
+ if (message.salesforceAccountId != null && message.hasOwnProperty("salesforceAccountId"))
7775
+ if (!$util.isString(message.salesforceAccountId))
7776
+ return "salesforceAccountId: string expected";
7777
+ if (message.orgType != null && message.hasOwnProperty("orgType"))
7778
+ switch (message.orgType) {
7779
+ default:
7780
+ return "orgType: enum value expected";
7781
+ case 0:
7782
+ case 1:
7783
+ case 2:
7784
+ case 3:
7785
+ case 4:
7786
+ case 5:
7787
+ case 6:
7788
+ break;
7789
+ }
7790
+ if (message.ssoEnabled != null && message.hasOwnProperty("ssoEnabled"))
7791
+ if (typeof message.ssoEnabled !== "boolean")
7792
+ return "ssoEnabled: boolean expected";
7793
+ if (message.promoEmailsDisabled != null && message.hasOwnProperty("promoEmailsDisabled"))
7794
+ if (typeof message.promoEmailsDisabled !== "boolean")
7795
+ return "promoEmailsDisabled: boolean expected";
7796
+ if (message.healthHubId != null && message.hasOwnProperty("healthHubId"))
7797
+ if (!$util.isString(message.healthHubId))
7798
+ return "healthHubId: string expected";
7799
+ if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
7800
+ if (!$util.isString(message.healthHubName))
7801
+ return "healthHubName: string expected";
7802
+ return null;
7803
+ };
7804
+
7805
+ /**
7806
+ * Creates an Organization message from a plain object. Also converts values to their respective internal types.
7807
+ * @function fromObject
7808
+ * @memberof b2b.Organization
7809
+ * @static
7810
+ * @param {Object.<string,*>} object Plain object
7811
+ * @returns {b2b.Organization} Organization
7812
+ */
7813
+ Organization.fromObject = function fromObject(object) {
7814
+ if (object instanceof $root.b2b.Organization)
7815
+ return object;
7816
+ var message = new $root.b2b.Organization();
7817
+ if (object.orgId != null)
7818
+ message.orgId = object.orgId >>> 0;
7819
+ if (object.orgName != null)
7820
+ message.orgName = String(object.orgName);
7821
+ if (object.salesforceAccountId != null)
7822
+ message.salesforceAccountId = String(object.salesforceAccountId);
7823
+ switch (object.orgType) {
7824
+ case "ORG_TYPE_UNKNOWN":
7825
+ case 0:
7826
+ message.orgType = 0;
7827
+ break;
7828
+ case "ORG_TYPE_B2B":
7829
+ case 1:
7830
+ message.orgType = 1;
7831
+ break;
7832
+ case "ORG_TYPE_HEALTH":
7833
+ case 2:
7834
+ message.orgType = 2;
7835
+ break;
7836
+ case "ORG_TYPE_HEALTH_PARTNERSHIP":
7837
+ case 3:
7838
+ message.orgType = 3;
7839
+ break;
7840
+ case "ORG_TYPE_PARTNERSHIP":
7841
+ case 4:
7842
+ message.orgType = 4;
7843
+ break;
7844
+ case "ORG_TYPE_SOCIAL_IMPACT":
7845
+ case 5:
7846
+ message.orgType = 5;
7847
+ break;
7848
+ case "ORG_TYPE_TEST":
7849
+ case 6:
7850
+ message.orgType = 6;
7851
+ break;
7852
+ }
7853
+ if (object.ssoEnabled != null)
7854
+ message.ssoEnabled = Boolean(object.ssoEnabled);
7855
+ if (object.promoEmailsDisabled != null)
7856
+ message.promoEmailsDisabled = Boolean(object.promoEmailsDisabled);
7857
+ if (object.healthHubId != null)
7858
+ message.healthHubId = String(object.healthHubId);
7859
+ if (object.healthHubName != null)
7860
+ message.healthHubName = String(object.healthHubName);
7861
+ return message;
7862
+ };
7863
+
7864
+ /**
7865
+ * Creates a plain object from an Organization message. Also converts values to other types if specified.
7866
+ * @function toObject
7867
+ * @memberof b2b.Organization
7868
+ * @static
7869
+ * @param {b2b.Organization} message Organization
7870
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
7871
+ * @returns {Object.<string,*>} Plain object
7872
+ */
7873
+ Organization.toObject = function toObject(message, options) {
7874
+ if (!options)
7875
+ options = {};
7876
+ var object = {};
7877
+ if (options.defaults) {
7878
+ object.orgId = 0;
7879
+ object.orgName = "";
7880
+ object.salesforceAccountId = "";
7881
+ object.orgType = options.enums === String ? "ORG_TYPE_UNKNOWN" : 0;
7882
+ object.ssoEnabled = false;
7883
+ object.promoEmailsDisabled = false;
7884
+ object.healthHubId = "";
7885
+ object.healthHubName = "";
7886
+ }
7887
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
7888
+ object.orgId = message.orgId;
7889
+ if (message.orgName != null && message.hasOwnProperty("orgName"))
7890
+ object.orgName = message.orgName;
7891
+ if (message.salesforceAccountId != null && message.hasOwnProperty("salesforceAccountId"))
7892
+ object.salesforceAccountId = message.salesforceAccountId;
7893
+ if (message.orgType != null && message.hasOwnProperty("orgType"))
7894
+ object.orgType = options.enums === String ? $root.b2b.OrgType[message.orgType] : message.orgType;
7895
+ if (message.ssoEnabled != null && message.hasOwnProperty("ssoEnabled"))
7896
+ object.ssoEnabled = message.ssoEnabled;
7897
+ if (message.promoEmailsDisabled != null && message.hasOwnProperty("promoEmailsDisabled"))
7898
+ object.promoEmailsDisabled = message.promoEmailsDisabled;
7899
+ if (message.healthHubId != null && message.hasOwnProperty("healthHubId"))
7900
+ object.healthHubId = message.healthHubId;
7901
+ if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
7902
+ object.healthHubName = message.healthHubName;
7903
+ return object;
7904
+ };
7905
+
7906
+ /**
7907
+ * Converts this Organization to JSON.
7908
+ * @function toJSON
7909
+ * @memberof b2b.Organization
7910
+ * @instance
7911
+ * @returns {Object.<string,*>} JSON object
7912
+ */
7913
+ Organization.prototype.toJSON = function toJSON() {
7914
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
7915
+ };
7916
+
7917
+ return Organization;
7918
+ })();
7919
+
7540
7920
  /**
7541
7921
  * OrgType enum.
7542
7922
  * @name b2b.OrgType
@@ -46250,6 +46630,508 @@ $root.AssetCreated = (function() {
46250
46630
  return AssetCreated;
46251
46631
  })();
46252
46632
 
46633
+ $root.OrganizationCreated = (function() {
46634
+
46635
+ /**
46636
+ * Properties of an OrganizationCreated.
46637
+ * @exports IOrganizationCreated
46638
+ * @interface IOrganizationCreated
46639
+ * @property {number|null} [dashboardUserId] OrganizationCreated dashboardUserId
46640
+ * @property {number|Long|null} [timestamp] OrganizationCreated timestamp
46641
+ * @property {b2b.IOrganization|null} [organization] OrganizationCreated organization
46642
+ */
46643
+
46644
+ /**
46645
+ * Constructs a new OrganizationCreated.
46646
+ * @exports OrganizationCreated
46647
+ * @classdesc Represents an OrganizationCreated.
46648
+ * @implements IOrganizationCreated
46649
+ * @constructor
46650
+ * @param {IOrganizationCreated=} [properties] Properties to set
46651
+ */
46652
+ function OrganizationCreated(properties) {
46653
+ if (properties)
46654
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
46655
+ if (properties[keys[i]] != null)
46656
+ this[keys[i]] = properties[keys[i]];
46657
+ }
46658
+
46659
+ /**
46660
+ * OrganizationCreated dashboardUserId.
46661
+ * @member {number} dashboardUserId
46662
+ * @memberof OrganizationCreated
46663
+ * @instance
46664
+ */
46665
+ OrganizationCreated.prototype.dashboardUserId = 0;
46666
+
46667
+ /**
46668
+ * OrganizationCreated timestamp.
46669
+ * @member {number|Long} timestamp
46670
+ * @memberof OrganizationCreated
46671
+ * @instance
46672
+ */
46673
+ OrganizationCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
46674
+
46675
+ /**
46676
+ * OrganizationCreated organization.
46677
+ * @member {b2b.IOrganization|null|undefined} organization
46678
+ * @memberof OrganizationCreated
46679
+ * @instance
46680
+ */
46681
+ OrganizationCreated.prototype.organization = null;
46682
+
46683
+ /**
46684
+ * Creates a new OrganizationCreated instance using the specified properties.
46685
+ * @function create
46686
+ * @memberof OrganizationCreated
46687
+ * @static
46688
+ * @param {IOrganizationCreated=} [properties] Properties to set
46689
+ * @returns {OrganizationCreated} OrganizationCreated instance
46690
+ */
46691
+ OrganizationCreated.create = function create(properties) {
46692
+ return new OrganizationCreated(properties);
46693
+ };
46694
+
46695
+ /**
46696
+ * Encodes the specified OrganizationCreated message. Does not implicitly {@link OrganizationCreated.verify|verify} messages.
46697
+ * @function encode
46698
+ * @memberof OrganizationCreated
46699
+ * @static
46700
+ * @param {IOrganizationCreated} message OrganizationCreated message or plain object to encode
46701
+ * @param {$protobuf.Writer} [writer] Writer to encode to
46702
+ * @returns {$protobuf.Writer} Writer
46703
+ */
46704
+ OrganizationCreated.encode = function encode(message, writer) {
46705
+ if (!writer)
46706
+ writer = $Writer.create();
46707
+ if (message.dashboardUserId != null && message.hasOwnProperty("dashboardUserId"))
46708
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.dashboardUserId);
46709
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
46710
+ writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
46711
+ if (message.organization != null && message.hasOwnProperty("organization"))
46712
+ $root.b2b.Organization.encode(message.organization, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
46713
+ return writer;
46714
+ };
46715
+
46716
+ /**
46717
+ * Encodes the specified OrganizationCreated message, length delimited. Does not implicitly {@link OrganizationCreated.verify|verify} messages.
46718
+ * @function encodeDelimited
46719
+ * @memberof OrganizationCreated
46720
+ * @static
46721
+ * @param {IOrganizationCreated} message OrganizationCreated message or plain object to encode
46722
+ * @param {$protobuf.Writer} [writer] Writer to encode to
46723
+ * @returns {$protobuf.Writer} Writer
46724
+ */
46725
+ OrganizationCreated.encodeDelimited = function encodeDelimited(message, writer) {
46726
+ return this.encode(message, writer).ldelim();
46727
+ };
46728
+
46729
+ /**
46730
+ * Decodes an OrganizationCreated message from the specified reader or buffer.
46731
+ * @function decode
46732
+ * @memberof OrganizationCreated
46733
+ * @static
46734
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
46735
+ * @param {number} [length] Message length if known beforehand
46736
+ * @returns {OrganizationCreated} OrganizationCreated
46737
+ * @throws {Error} If the payload is not a reader or valid buffer
46738
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
46739
+ */
46740
+ OrganizationCreated.decode = function decode(reader, length) {
46741
+ if (!(reader instanceof $Reader))
46742
+ reader = $Reader.create(reader);
46743
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrganizationCreated();
46744
+ while (reader.pos < end) {
46745
+ var tag = reader.uint32();
46746
+ switch (tag >>> 3) {
46747
+ case 1:
46748
+ message.dashboardUserId = reader.uint32();
46749
+ break;
46750
+ case 2:
46751
+ message.timestamp = reader.uint64();
46752
+ break;
46753
+ case 3:
46754
+ message.organization = $root.b2b.Organization.decode(reader, reader.uint32());
46755
+ break;
46756
+ default:
46757
+ reader.skipType(tag & 7);
46758
+ break;
46759
+ }
46760
+ }
46761
+ return message;
46762
+ };
46763
+
46764
+ /**
46765
+ * Decodes an OrganizationCreated message from the specified reader or buffer, length delimited.
46766
+ * @function decodeDelimited
46767
+ * @memberof OrganizationCreated
46768
+ * @static
46769
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
46770
+ * @returns {OrganizationCreated} OrganizationCreated
46771
+ * @throws {Error} If the payload is not a reader or valid buffer
46772
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
46773
+ */
46774
+ OrganizationCreated.decodeDelimited = function decodeDelimited(reader) {
46775
+ if (!(reader instanceof $Reader))
46776
+ reader = new $Reader(reader);
46777
+ return this.decode(reader, reader.uint32());
46778
+ };
46779
+
46780
+ /**
46781
+ * Verifies an OrganizationCreated message.
46782
+ * @function verify
46783
+ * @memberof OrganizationCreated
46784
+ * @static
46785
+ * @param {Object.<string,*>} message Plain object to verify
46786
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
46787
+ */
46788
+ OrganizationCreated.verify = function verify(message) {
46789
+ if (typeof message !== "object" || message === null)
46790
+ return "object expected";
46791
+ if (message.dashboardUserId != null && message.hasOwnProperty("dashboardUserId"))
46792
+ if (!$util.isInteger(message.dashboardUserId))
46793
+ return "dashboardUserId: integer expected";
46794
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
46795
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
46796
+ return "timestamp: integer|Long expected";
46797
+ if (message.organization != null && message.hasOwnProperty("organization")) {
46798
+ var error = $root.b2b.Organization.verify(message.organization);
46799
+ if (error)
46800
+ return "organization." + error;
46801
+ }
46802
+ return null;
46803
+ };
46804
+
46805
+ /**
46806
+ * Creates an OrganizationCreated message from a plain object. Also converts values to their respective internal types.
46807
+ * @function fromObject
46808
+ * @memberof OrganizationCreated
46809
+ * @static
46810
+ * @param {Object.<string,*>} object Plain object
46811
+ * @returns {OrganizationCreated} OrganizationCreated
46812
+ */
46813
+ OrganizationCreated.fromObject = function fromObject(object) {
46814
+ if (object instanceof $root.OrganizationCreated)
46815
+ return object;
46816
+ var message = new $root.OrganizationCreated();
46817
+ if (object.dashboardUserId != null)
46818
+ message.dashboardUserId = object.dashboardUserId >>> 0;
46819
+ if (object.timestamp != null)
46820
+ if ($util.Long)
46821
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
46822
+ else if (typeof object.timestamp === "string")
46823
+ message.timestamp = parseInt(object.timestamp, 10);
46824
+ else if (typeof object.timestamp === "number")
46825
+ message.timestamp = object.timestamp;
46826
+ else if (typeof object.timestamp === "object")
46827
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
46828
+ if (object.organization != null) {
46829
+ if (typeof object.organization !== "object")
46830
+ throw TypeError(".OrganizationCreated.organization: object expected");
46831
+ message.organization = $root.b2b.Organization.fromObject(object.organization);
46832
+ }
46833
+ return message;
46834
+ };
46835
+
46836
+ /**
46837
+ * Creates a plain object from an OrganizationCreated message. Also converts values to other types if specified.
46838
+ * @function toObject
46839
+ * @memberof OrganizationCreated
46840
+ * @static
46841
+ * @param {OrganizationCreated} message OrganizationCreated
46842
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
46843
+ * @returns {Object.<string,*>} Plain object
46844
+ */
46845
+ OrganizationCreated.toObject = function toObject(message, options) {
46846
+ if (!options)
46847
+ options = {};
46848
+ var object = {};
46849
+ if (options.defaults) {
46850
+ object.dashboardUserId = 0;
46851
+ if ($util.Long) {
46852
+ var long = new $util.Long(0, 0, true);
46853
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
46854
+ } else
46855
+ object.timestamp = options.longs === String ? "0" : 0;
46856
+ object.organization = null;
46857
+ }
46858
+ if (message.dashboardUserId != null && message.hasOwnProperty("dashboardUserId"))
46859
+ object.dashboardUserId = message.dashboardUserId;
46860
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
46861
+ if (typeof message.timestamp === "number")
46862
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
46863
+ else
46864
+ object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
46865
+ if (message.organization != null && message.hasOwnProperty("organization"))
46866
+ object.organization = $root.b2b.Organization.toObject(message.organization, options);
46867
+ return object;
46868
+ };
46869
+
46870
+ /**
46871
+ * Converts this OrganizationCreated to JSON.
46872
+ * @function toJSON
46873
+ * @memberof OrganizationCreated
46874
+ * @instance
46875
+ * @returns {Object.<string,*>} JSON object
46876
+ */
46877
+ OrganizationCreated.prototype.toJSON = function toJSON() {
46878
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
46879
+ };
46880
+
46881
+ return OrganizationCreated;
46882
+ })();
46883
+
46884
+ $root.OrganizationUpdated = (function() {
46885
+
46886
+ /**
46887
+ * Properties of an OrganizationUpdated.
46888
+ * @exports IOrganizationUpdated
46889
+ * @interface IOrganizationUpdated
46890
+ * @property {number|null} [dashboardUserId] OrganizationUpdated dashboardUserId
46891
+ * @property {number|Long|null} [timestamp] OrganizationUpdated timestamp
46892
+ * @property {b2b.IOrganization|null} [organization] OrganizationUpdated organization
46893
+ */
46894
+
46895
+ /**
46896
+ * Constructs a new OrganizationUpdated.
46897
+ * @exports OrganizationUpdated
46898
+ * @classdesc Represents an OrganizationUpdated.
46899
+ * @implements IOrganizationUpdated
46900
+ * @constructor
46901
+ * @param {IOrganizationUpdated=} [properties] Properties to set
46902
+ */
46903
+ function OrganizationUpdated(properties) {
46904
+ if (properties)
46905
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
46906
+ if (properties[keys[i]] != null)
46907
+ this[keys[i]] = properties[keys[i]];
46908
+ }
46909
+
46910
+ /**
46911
+ * OrganizationUpdated dashboardUserId.
46912
+ * @member {number} dashboardUserId
46913
+ * @memberof OrganizationUpdated
46914
+ * @instance
46915
+ */
46916
+ OrganizationUpdated.prototype.dashboardUserId = 0;
46917
+
46918
+ /**
46919
+ * OrganizationUpdated timestamp.
46920
+ * @member {number|Long} timestamp
46921
+ * @memberof OrganizationUpdated
46922
+ * @instance
46923
+ */
46924
+ OrganizationUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
46925
+
46926
+ /**
46927
+ * OrganizationUpdated organization.
46928
+ * @member {b2b.IOrganization|null|undefined} organization
46929
+ * @memberof OrganizationUpdated
46930
+ * @instance
46931
+ */
46932
+ OrganizationUpdated.prototype.organization = null;
46933
+
46934
+ /**
46935
+ * Creates a new OrganizationUpdated instance using the specified properties.
46936
+ * @function create
46937
+ * @memberof OrganizationUpdated
46938
+ * @static
46939
+ * @param {IOrganizationUpdated=} [properties] Properties to set
46940
+ * @returns {OrganizationUpdated} OrganizationUpdated instance
46941
+ */
46942
+ OrganizationUpdated.create = function create(properties) {
46943
+ return new OrganizationUpdated(properties);
46944
+ };
46945
+
46946
+ /**
46947
+ * Encodes the specified OrganizationUpdated message. Does not implicitly {@link OrganizationUpdated.verify|verify} messages.
46948
+ * @function encode
46949
+ * @memberof OrganizationUpdated
46950
+ * @static
46951
+ * @param {IOrganizationUpdated} message OrganizationUpdated message or plain object to encode
46952
+ * @param {$protobuf.Writer} [writer] Writer to encode to
46953
+ * @returns {$protobuf.Writer} Writer
46954
+ */
46955
+ OrganizationUpdated.encode = function encode(message, writer) {
46956
+ if (!writer)
46957
+ writer = $Writer.create();
46958
+ if (message.dashboardUserId != null && message.hasOwnProperty("dashboardUserId"))
46959
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.dashboardUserId);
46960
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
46961
+ writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
46962
+ if (message.organization != null && message.hasOwnProperty("organization"))
46963
+ $root.b2b.Organization.encode(message.organization, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
46964
+ return writer;
46965
+ };
46966
+
46967
+ /**
46968
+ * Encodes the specified OrganizationUpdated message, length delimited. Does not implicitly {@link OrganizationUpdated.verify|verify} messages.
46969
+ * @function encodeDelimited
46970
+ * @memberof OrganizationUpdated
46971
+ * @static
46972
+ * @param {IOrganizationUpdated} message OrganizationUpdated message or plain object to encode
46973
+ * @param {$protobuf.Writer} [writer] Writer to encode to
46974
+ * @returns {$protobuf.Writer} Writer
46975
+ */
46976
+ OrganizationUpdated.encodeDelimited = function encodeDelimited(message, writer) {
46977
+ return this.encode(message, writer).ldelim();
46978
+ };
46979
+
46980
+ /**
46981
+ * Decodes an OrganizationUpdated message from the specified reader or buffer.
46982
+ * @function decode
46983
+ * @memberof OrganizationUpdated
46984
+ * @static
46985
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
46986
+ * @param {number} [length] Message length if known beforehand
46987
+ * @returns {OrganizationUpdated} OrganizationUpdated
46988
+ * @throws {Error} If the payload is not a reader or valid buffer
46989
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
46990
+ */
46991
+ OrganizationUpdated.decode = function decode(reader, length) {
46992
+ if (!(reader instanceof $Reader))
46993
+ reader = $Reader.create(reader);
46994
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrganizationUpdated();
46995
+ while (reader.pos < end) {
46996
+ var tag = reader.uint32();
46997
+ switch (tag >>> 3) {
46998
+ case 1:
46999
+ message.dashboardUserId = reader.uint32();
47000
+ break;
47001
+ case 2:
47002
+ message.timestamp = reader.uint64();
47003
+ break;
47004
+ case 3:
47005
+ message.organization = $root.b2b.Organization.decode(reader, reader.uint32());
47006
+ break;
47007
+ default:
47008
+ reader.skipType(tag & 7);
47009
+ break;
47010
+ }
47011
+ }
47012
+ return message;
47013
+ };
47014
+
47015
+ /**
47016
+ * Decodes an OrganizationUpdated message from the specified reader or buffer, length delimited.
47017
+ * @function decodeDelimited
47018
+ * @memberof OrganizationUpdated
47019
+ * @static
47020
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
47021
+ * @returns {OrganizationUpdated} OrganizationUpdated
47022
+ * @throws {Error} If the payload is not a reader or valid buffer
47023
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
47024
+ */
47025
+ OrganizationUpdated.decodeDelimited = function decodeDelimited(reader) {
47026
+ if (!(reader instanceof $Reader))
47027
+ reader = new $Reader(reader);
47028
+ return this.decode(reader, reader.uint32());
47029
+ };
47030
+
47031
+ /**
47032
+ * Verifies an OrganizationUpdated message.
47033
+ * @function verify
47034
+ * @memberof OrganizationUpdated
47035
+ * @static
47036
+ * @param {Object.<string,*>} message Plain object to verify
47037
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
47038
+ */
47039
+ OrganizationUpdated.verify = function verify(message) {
47040
+ if (typeof message !== "object" || message === null)
47041
+ return "object expected";
47042
+ if (message.dashboardUserId != null && message.hasOwnProperty("dashboardUserId"))
47043
+ if (!$util.isInteger(message.dashboardUserId))
47044
+ return "dashboardUserId: integer expected";
47045
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
47046
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
47047
+ return "timestamp: integer|Long expected";
47048
+ if (message.organization != null && message.hasOwnProperty("organization")) {
47049
+ var error = $root.b2b.Organization.verify(message.organization);
47050
+ if (error)
47051
+ return "organization." + error;
47052
+ }
47053
+ return null;
47054
+ };
47055
+
47056
+ /**
47057
+ * Creates an OrganizationUpdated message from a plain object. Also converts values to their respective internal types.
47058
+ * @function fromObject
47059
+ * @memberof OrganizationUpdated
47060
+ * @static
47061
+ * @param {Object.<string,*>} object Plain object
47062
+ * @returns {OrganizationUpdated} OrganizationUpdated
47063
+ */
47064
+ OrganizationUpdated.fromObject = function fromObject(object) {
47065
+ if (object instanceof $root.OrganizationUpdated)
47066
+ return object;
47067
+ var message = new $root.OrganizationUpdated();
47068
+ if (object.dashboardUserId != null)
47069
+ message.dashboardUserId = object.dashboardUserId >>> 0;
47070
+ if (object.timestamp != null)
47071
+ if ($util.Long)
47072
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
47073
+ else if (typeof object.timestamp === "string")
47074
+ message.timestamp = parseInt(object.timestamp, 10);
47075
+ else if (typeof object.timestamp === "number")
47076
+ message.timestamp = object.timestamp;
47077
+ else if (typeof object.timestamp === "object")
47078
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
47079
+ if (object.organization != null) {
47080
+ if (typeof object.organization !== "object")
47081
+ throw TypeError(".OrganizationUpdated.organization: object expected");
47082
+ message.organization = $root.b2b.Organization.fromObject(object.organization);
47083
+ }
47084
+ return message;
47085
+ };
47086
+
47087
+ /**
47088
+ * Creates a plain object from an OrganizationUpdated message. Also converts values to other types if specified.
47089
+ * @function toObject
47090
+ * @memberof OrganizationUpdated
47091
+ * @static
47092
+ * @param {OrganizationUpdated} message OrganizationUpdated
47093
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
47094
+ * @returns {Object.<string,*>} Plain object
47095
+ */
47096
+ OrganizationUpdated.toObject = function toObject(message, options) {
47097
+ if (!options)
47098
+ options = {};
47099
+ var object = {};
47100
+ if (options.defaults) {
47101
+ object.dashboardUserId = 0;
47102
+ if ($util.Long) {
47103
+ var long = new $util.Long(0, 0, true);
47104
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
47105
+ } else
47106
+ object.timestamp = options.longs === String ? "0" : 0;
47107
+ object.organization = null;
47108
+ }
47109
+ if (message.dashboardUserId != null && message.hasOwnProperty("dashboardUserId"))
47110
+ object.dashboardUserId = message.dashboardUserId;
47111
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
47112
+ if (typeof message.timestamp === "number")
47113
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
47114
+ else
47115
+ object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
47116
+ if (message.organization != null && message.hasOwnProperty("organization"))
47117
+ object.organization = $root.b2b.Organization.toObject(message.organization, options);
47118
+ return object;
47119
+ };
47120
+
47121
+ /**
47122
+ * Converts this OrganizationUpdated to JSON.
47123
+ * @function toJSON
47124
+ * @memberof OrganizationUpdated
47125
+ * @instance
47126
+ * @returns {Object.<string,*>} JSON object
47127
+ */
47128
+ OrganizationUpdated.prototype.toJSON = function toJSON() {
47129
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
47130
+ };
47131
+
47132
+ return OrganizationUpdated;
47133
+ })();
47134
+
46253
47135
  $root.FamilyMemberAdded = (function() {
46254
47136
 
46255
47137
  /**
@@ -49085,6 +49967,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
49085
49967
  * @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentCreated timestamp
49086
49968
  * @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentCreated isPartialPay
49087
49969
  * @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentCreated plan
49970
+ * @property {boolean|null} [isPilot] EnterpriseUserEnrollmentCreated isPilot
49088
49971
  */
49089
49972
 
49090
49973
  /**
@@ -49174,6 +50057,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
49174
50057
  */
49175
50058
  EnterpriseUserEnrollmentCreated.prototype.plan = 0;
49176
50059
 
50060
+ /**
50061
+ * EnterpriseUserEnrollmentCreated isPilot.
50062
+ * @member {boolean} isPilot
50063
+ * @memberof EnterpriseUserEnrollmentCreated
50064
+ * @instance
50065
+ */
50066
+ EnterpriseUserEnrollmentCreated.prototype.isPilot = false;
50067
+
49177
50068
  /**
49178
50069
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
49179
50070
  * @function create
@@ -49216,6 +50107,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
49216
50107
  writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isPartialPay);
49217
50108
  if (message.plan != null && message.hasOwnProperty("plan"))
49218
50109
  writer.uint32(/* id 9, wireType 0 =*/72).int32(message.plan);
50110
+ if (message.isPilot != null && message.hasOwnProperty("isPilot"))
50111
+ writer.uint32(/* id 10, wireType 0 =*/80).bool(message.isPilot);
49219
50112
  return writer;
49220
50113
  };
49221
50114
 
@@ -49277,6 +50170,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
49277
50170
  case 9:
49278
50171
  message.plan = reader.int32();
49279
50172
  break;
50173
+ case 10:
50174
+ message.isPilot = reader.bool();
50175
+ break;
49280
50176
  default:
49281
50177
  reader.skipType(tag & 7);
49282
50178
  break;
@@ -49355,6 +50251,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
49355
50251
  case 2:
49356
50252
  break;
49357
50253
  }
50254
+ if (message.isPilot != null && message.hasOwnProperty("isPilot"))
50255
+ if (typeof message.isPilot !== "boolean")
50256
+ return "isPilot: boolean expected";
49358
50257
  return null;
49359
50258
  };
49360
50259
 
@@ -49449,6 +50348,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
49449
50348
  message.plan = 2;
49450
50349
  break;
49451
50350
  }
50351
+ if (object.isPilot != null)
50352
+ message.isPilot = Boolean(object.isPilot);
49452
50353
  return message;
49453
50354
  };
49454
50355
 
@@ -49487,6 +50388,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
49487
50388
  object.timestamp = options.longs === String ? "0" : 0;
49488
50389
  object.isPartialPay = false;
49489
50390
  object.plan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
50391
+ object.isPilot = false;
49490
50392
  }
49491
50393
  if (message.userId != null && message.hasOwnProperty("userId"))
49492
50394
  object.userId = message.userId;
@@ -49515,6 +50417,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
49515
50417
  object.isPartialPay = message.isPartialPay;
49516
50418
  if (message.plan != null && message.hasOwnProperty("plan"))
49517
50419
  object.plan = options.enums === String ? $root.b2b.OrgMemberPlan[message.plan] : message.plan;
50420
+ if (message.isPilot != null && message.hasOwnProperty("isPilot"))
50421
+ object.isPilot = message.isPilot;
49518
50422
  return object;
49519
50423
  };
49520
50424
 
@@ -49548,6 +50452,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
49548
50452
  * @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentRemoved timestamp
49549
50453
  * @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentRemoved isPartialPay
49550
50454
  * @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentRemoved plan
50455
+ * @property {boolean|null} [isPilot] EnterpriseUserEnrollmentRemoved isPilot
49551
50456
  */
49552
50457
 
49553
50458
  /**
@@ -49645,6 +50550,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
49645
50550
  */
49646
50551
  EnterpriseUserEnrollmentRemoved.prototype.plan = 0;
49647
50552
 
50553
+ /**
50554
+ * EnterpriseUserEnrollmentRemoved isPilot.
50555
+ * @member {boolean} isPilot
50556
+ * @memberof EnterpriseUserEnrollmentRemoved
50557
+ * @instance
50558
+ */
50559
+ EnterpriseUserEnrollmentRemoved.prototype.isPilot = false;
50560
+
49648
50561
  /**
49649
50562
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
49650
50563
  * @function create
@@ -49689,6 +50602,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
49689
50602
  writer.uint32(/* id 9, wireType 0 =*/72).bool(message.isPartialPay);
49690
50603
  if (message.plan != null && message.hasOwnProperty("plan"))
49691
50604
  writer.uint32(/* id 10, wireType 0 =*/80).int32(message.plan);
50605
+ if (message.isPilot != null && message.hasOwnProperty("isPilot"))
50606
+ writer.uint32(/* id 11, wireType 0 =*/88).bool(message.isPilot);
49692
50607
  return writer;
49693
50608
  };
49694
50609
 
@@ -49753,6 +50668,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
49753
50668
  case 10:
49754
50669
  message.plan = reader.int32();
49755
50670
  break;
50671
+ case 11:
50672
+ message.isPilot = reader.bool();
50673
+ break;
49756
50674
  default:
49757
50675
  reader.skipType(tag & 7);
49758
50676
  break;
@@ -49843,6 +50761,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
49843
50761
  case 2:
49844
50762
  break;
49845
50763
  }
50764
+ if (message.isPilot != null && message.hasOwnProperty("isPilot"))
50765
+ if (typeof message.isPilot !== "boolean")
50766
+ return "isPilot: boolean expected";
49846
50767
  return null;
49847
50768
  };
49848
50769
 
@@ -49963,6 +50884,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
49963
50884
  message.plan = 2;
49964
50885
  break;
49965
50886
  }
50887
+ if (object.isPilot != null)
50888
+ message.isPilot = Boolean(object.isPilot);
49966
50889
  return message;
49967
50890
  };
49968
50891
 
@@ -50002,6 +50925,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
50002
50925
  object.timestamp = options.longs === String ? "0" : 0;
50003
50926
  object.isPartialPay = false;
50004
50927
  object.plan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
50928
+ object.isPilot = false;
50005
50929
  }
50006
50930
  if (message.userId != null && message.hasOwnProperty("userId"))
50007
50931
  object.userId = message.userId;
@@ -50032,6 +50956,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
50032
50956
  object.isPartialPay = message.isPartialPay;
50033
50957
  if (message.plan != null && message.hasOwnProperty("plan"))
50034
50958
  object.plan = options.enums === String ? $root.b2b.OrgMemberPlan[message.plan] : message.plan;
50959
+ if (message.isPilot != null && message.hasOwnProperty("isPilot"))
50960
+ object.isPilot = message.isPilot;
50035
50961
  return object;
50036
50962
  };
50037
50963
 
@@ -50064,6 +50990,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
50064
50990
  * @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentAmended timestamp
50065
50991
  * @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentAmended isPartialPay
50066
50992
  * @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentAmended plan
50993
+ * @property {boolean|null} [isPilot] EnterpriseUserEnrollmentAmended isPilot
50067
50994
  */
50068
50995
 
50069
50996
  /**
@@ -50153,6 +51080,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
50153
51080
  */
50154
51081
  EnterpriseUserEnrollmentAmended.prototype.plan = 0;
50155
51082
 
51083
+ /**
51084
+ * EnterpriseUserEnrollmentAmended isPilot.
51085
+ * @member {boolean} isPilot
51086
+ * @memberof EnterpriseUserEnrollmentAmended
51087
+ * @instance
51088
+ */
51089
+ EnterpriseUserEnrollmentAmended.prototype.isPilot = false;
51090
+
50156
51091
  /**
50157
51092
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
50158
51093
  * @function create
@@ -50195,6 +51130,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
50195
51130
  writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isPartialPay);
50196
51131
  if (message.plan != null && message.hasOwnProperty("plan"))
50197
51132
  writer.uint32(/* id 9, wireType 0 =*/72).int32(message.plan);
51133
+ if (message.isPilot != null && message.hasOwnProperty("isPilot"))
51134
+ writer.uint32(/* id 10, wireType 0 =*/80).bool(message.isPilot);
50198
51135
  return writer;
50199
51136
  };
50200
51137
 
@@ -50256,6 +51193,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
50256
51193
  case 9:
50257
51194
  message.plan = reader.int32();
50258
51195
  break;
51196
+ case 10:
51197
+ message.isPilot = reader.bool();
51198
+ break;
50259
51199
  default:
50260
51200
  reader.skipType(tag & 7);
50261
51201
  break;
@@ -50334,6 +51274,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
50334
51274
  case 2:
50335
51275
  break;
50336
51276
  }
51277
+ if (message.isPilot != null && message.hasOwnProperty("isPilot"))
51278
+ if (typeof message.isPilot !== "boolean")
51279
+ return "isPilot: boolean expected";
50337
51280
  return null;
50338
51281
  };
50339
51282
 
@@ -50428,6 +51371,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
50428
51371
  message.plan = 2;
50429
51372
  break;
50430
51373
  }
51374
+ if (object.isPilot != null)
51375
+ message.isPilot = Boolean(object.isPilot);
50431
51376
  return message;
50432
51377
  };
50433
51378
 
@@ -50466,6 +51411,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
50466
51411
  object.timestamp = options.longs === String ? "0" : 0;
50467
51412
  object.isPartialPay = false;
50468
51413
  object.plan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
51414
+ object.isPilot = false;
50469
51415
  }
50470
51416
  if (message.userId != null && message.hasOwnProperty("userId"))
50471
51417
  object.userId = message.userId;
@@ -50494,6 +51440,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
50494
51440
  object.isPartialPay = message.isPartialPay;
50495
51441
  if (message.plan != null && message.hasOwnProperty("plan"))
50496
51442
  object.plan = options.enums === String ? $root.b2b.OrgMemberPlan[message.plan] : message.plan;
51443
+ if (message.isPilot != null && message.hasOwnProperty("isPilot"))
51444
+ object.isPilot = message.isPilot;
50497
51445
  return object;
50498
51446
  };
50499
51447