@headspace/protos-events 1.82.0 → 1.85.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.d.ts CHANGED
@@ -6703,6 +6703,210 @@ export class AccessibleEntityDeleted implements IAccessibleEntityDeleted {
6703
6703
  public toJSON(): { [k: string]: any };
6704
6704
  }
6705
6705
 
6706
+ /** Properties of an OrganizationAccessGroupMapCreated. */
6707
+ export interface IOrganizationAccessGroupMapCreated {
6708
+
6709
+ /** OrganizationAccessGroupMapCreated organizationId */
6710
+ organizationId?: (string|null);
6711
+
6712
+ /** OrganizationAccessGroupMapCreated accessGroupName */
6713
+ accessGroupName?: (string|null);
6714
+
6715
+ /** OrganizationAccessGroupMapCreated createdAt */
6716
+ createdAt?: (number|Long|null);
6717
+ }
6718
+
6719
+ /** Represents an OrganizationAccessGroupMapCreated. */
6720
+ export class OrganizationAccessGroupMapCreated implements IOrganizationAccessGroupMapCreated {
6721
+
6722
+ /**
6723
+ * Constructs a new OrganizationAccessGroupMapCreated.
6724
+ * @param [properties] Properties to set
6725
+ */
6726
+ constructor(properties?: IOrganizationAccessGroupMapCreated);
6727
+
6728
+ /** OrganizationAccessGroupMapCreated organizationId. */
6729
+ public organizationId: string;
6730
+
6731
+ /** OrganizationAccessGroupMapCreated accessGroupName. */
6732
+ public accessGroupName: string;
6733
+
6734
+ /** OrganizationAccessGroupMapCreated createdAt. */
6735
+ public createdAt: (number|Long);
6736
+
6737
+ /**
6738
+ * Creates a new OrganizationAccessGroupMapCreated instance using the specified properties.
6739
+ * @param [properties] Properties to set
6740
+ * @returns OrganizationAccessGroupMapCreated instance
6741
+ */
6742
+ public static create(properties?: IOrganizationAccessGroupMapCreated): OrganizationAccessGroupMapCreated;
6743
+
6744
+ /**
6745
+ * Encodes the specified OrganizationAccessGroupMapCreated message. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
6746
+ * @param message OrganizationAccessGroupMapCreated message or plain object to encode
6747
+ * @param [writer] Writer to encode to
6748
+ * @returns Writer
6749
+ */
6750
+ public static encode(message: IOrganizationAccessGroupMapCreated, writer?: $protobuf.Writer): $protobuf.Writer;
6751
+
6752
+ /**
6753
+ * Encodes the specified OrganizationAccessGroupMapCreated message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
6754
+ * @param message OrganizationAccessGroupMapCreated message or plain object to encode
6755
+ * @param [writer] Writer to encode to
6756
+ * @returns Writer
6757
+ */
6758
+ public static encodeDelimited(message: IOrganizationAccessGroupMapCreated, writer?: $protobuf.Writer): $protobuf.Writer;
6759
+
6760
+ /**
6761
+ * Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer.
6762
+ * @param reader Reader or buffer to decode from
6763
+ * @param [length] Message length if known beforehand
6764
+ * @returns OrganizationAccessGroupMapCreated
6765
+ * @throws {Error} If the payload is not a reader or valid buffer
6766
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6767
+ */
6768
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationAccessGroupMapCreated;
6769
+
6770
+ /**
6771
+ * Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer, length delimited.
6772
+ * @param reader Reader or buffer to decode from
6773
+ * @returns OrganizationAccessGroupMapCreated
6774
+ * @throws {Error} If the payload is not a reader or valid buffer
6775
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6776
+ */
6777
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationAccessGroupMapCreated;
6778
+
6779
+ /**
6780
+ * Verifies an OrganizationAccessGroupMapCreated message.
6781
+ * @param message Plain object to verify
6782
+ * @returns `null` if valid, otherwise the reason why it is not
6783
+ */
6784
+ public static verify(message: { [k: string]: any }): (string|null);
6785
+
6786
+ /**
6787
+ * Creates an OrganizationAccessGroupMapCreated message from a plain object. Also converts values to their respective internal types.
6788
+ * @param object Plain object
6789
+ * @returns OrganizationAccessGroupMapCreated
6790
+ */
6791
+ public static fromObject(object: { [k: string]: any }): OrganizationAccessGroupMapCreated;
6792
+
6793
+ /**
6794
+ * Creates a plain object from an OrganizationAccessGroupMapCreated message. Also converts values to other types if specified.
6795
+ * @param message OrganizationAccessGroupMapCreated
6796
+ * @param [options] Conversion options
6797
+ * @returns Plain object
6798
+ */
6799
+ public static toObject(message: OrganizationAccessGroupMapCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
6800
+
6801
+ /**
6802
+ * Converts this OrganizationAccessGroupMapCreated to JSON.
6803
+ * @returns JSON object
6804
+ */
6805
+ public toJSON(): { [k: string]: any };
6806
+ }
6807
+
6808
+ /** Properties of an OrganizationAccessGroupMapDeleted. */
6809
+ export interface IOrganizationAccessGroupMapDeleted {
6810
+
6811
+ /** OrganizationAccessGroupMapDeleted organizationId */
6812
+ organizationId?: (string|null);
6813
+
6814
+ /** OrganizationAccessGroupMapDeleted accessGroupName */
6815
+ accessGroupName?: (string|null);
6816
+
6817
+ /** OrganizationAccessGroupMapDeleted deletedAt */
6818
+ deletedAt?: (number|Long|null);
6819
+ }
6820
+
6821
+ /** Represents an OrganizationAccessGroupMapDeleted. */
6822
+ export class OrganizationAccessGroupMapDeleted implements IOrganizationAccessGroupMapDeleted {
6823
+
6824
+ /**
6825
+ * Constructs a new OrganizationAccessGroupMapDeleted.
6826
+ * @param [properties] Properties to set
6827
+ */
6828
+ constructor(properties?: IOrganizationAccessGroupMapDeleted);
6829
+
6830
+ /** OrganizationAccessGroupMapDeleted organizationId. */
6831
+ public organizationId: string;
6832
+
6833
+ /** OrganizationAccessGroupMapDeleted accessGroupName. */
6834
+ public accessGroupName: string;
6835
+
6836
+ /** OrganizationAccessGroupMapDeleted deletedAt. */
6837
+ public deletedAt: (number|Long);
6838
+
6839
+ /**
6840
+ * Creates a new OrganizationAccessGroupMapDeleted instance using the specified properties.
6841
+ * @param [properties] Properties to set
6842
+ * @returns OrganizationAccessGroupMapDeleted instance
6843
+ */
6844
+ public static create(properties?: IOrganizationAccessGroupMapDeleted): OrganizationAccessGroupMapDeleted;
6845
+
6846
+ /**
6847
+ * Encodes the specified OrganizationAccessGroupMapDeleted message. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
6848
+ * @param message OrganizationAccessGroupMapDeleted message or plain object to encode
6849
+ * @param [writer] Writer to encode to
6850
+ * @returns Writer
6851
+ */
6852
+ public static encode(message: IOrganizationAccessGroupMapDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
6853
+
6854
+ /**
6855
+ * Encodes the specified OrganizationAccessGroupMapDeleted message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
6856
+ * @param message OrganizationAccessGroupMapDeleted message or plain object to encode
6857
+ * @param [writer] Writer to encode to
6858
+ * @returns Writer
6859
+ */
6860
+ public static encodeDelimited(message: IOrganizationAccessGroupMapDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
6861
+
6862
+ /**
6863
+ * Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer.
6864
+ * @param reader Reader or buffer to decode from
6865
+ * @param [length] Message length if known beforehand
6866
+ * @returns OrganizationAccessGroupMapDeleted
6867
+ * @throws {Error} If the payload is not a reader or valid buffer
6868
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6869
+ */
6870
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationAccessGroupMapDeleted;
6871
+
6872
+ /**
6873
+ * Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer, length delimited.
6874
+ * @param reader Reader or buffer to decode from
6875
+ * @returns OrganizationAccessGroupMapDeleted
6876
+ * @throws {Error} If the payload is not a reader or valid buffer
6877
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6878
+ */
6879
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationAccessGroupMapDeleted;
6880
+
6881
+ /**
6882
+ * Verifies an OrganizationAccessGroupMapDeleted message.
6883
+ * @param message Plain object to verify
6884
+ * @returns `null` if valid, otherwise the reason why it is not
6885
+ */
6886
+ public static verify(message: { [k: string]: any }): (string|null);
6887
+
6888
+ /**
6889
+ * Creates an OrganizationAccessGroupMapDeleted message from a plain object. Also converts values to their respective internal types.
6890
+ * @param object Plain object
6891
+ * @returns OrganizationAccessGroupMapDeleted
6892
+ */
6893
+ public static fromObject(object: { [k: string]: any }): OrganizationAccessGroupMapDeleted;
6894
+
6895
+ /**
6896
+ * Creates a plain object from an OrganizationAccessGroupMapDeleted message. Also converts values to other types if specified.
6897
+ * @param message OrganizationAccessGroupMapDeleted
6898
+ * @param [options] Conversion options
6899
+ * @returns Plain object
6900
+ */
6901
+ public static toObject(message: OrganizationAccessGroupMapDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
6902
+
6903
+ /**
6904
+ * Converts this OrganizationAccessGroupMapDeleted to JSON.
6905
+ * @returns JSON object
6906
+ */
6907
+ public toJSON(): { [k: string]: any };
6908
+ }
6909
+
6706
6910
  /** Properties of a ReferralSignedUp. */
6707
6911
  export interface IReferralSignedUp {
6708
6912
 
package/lib/index.js CHANGED
@@ -16771,6 +16771,498 @@ $root.AccessibleEntityDeleted = (function() {
16771
16771
  return AccessibleEntityDeleted;
16772
16772
  })();
16773
16773
 
16774
+ $root.OrganizationAccessGroupMapCreated = (function() {
16775
+
16776
+ /**
16777
+ * Properties of an OrganizationAccessGroupMapCreated.
16778
+ * @exports IOrganizationAccessGroupMapCreated
16779
+ * @interface IOrganizationAccessGroupMapCreated
16780
+ * @property {string|null} [organizationId] OrganizationAccessGroupMapCreated organizationId
16781
+ * @property {string|null} [accessGroupName] OrganizationAccessGroupMapCreated accessGroupName
16782
+ * @property {number|Long|null} [createdAt] OrganizationAccessGroupMapCreated createdAt
16783
+ */
16784
+
16785
+ /**
16786
+ * Constructs a new OrganizationAccessGroupMapCreated.
16787
+ * @exports OrganizationAccessGroupMapCreated
16788
+ * @classdesc Represents an OrganizationAccessGroupMapCreated.
16789
+ * @implements IOrganizationAccessGroupMapCreated
16790
+ * @constructor
16791
+ * @param {IOrganizationAccessGroupMapCreated=} [properties] Properties to set
16792
+ */
16793
+ function OrganizationAccessGroupMapCreated(properties) {
16794
+ if (properties)
16795
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
16796
+ if (properties[keys[i]] != null)
16797
+ this[keys[i]] = properties[keys[i]];
16798
+ }
16799
+
16800
+ /**
16801
+ * OrganizationAccessGroupMapCreated organizationId.
16802
+ * @member {string} organizationId
16803
+ * @memberof OrganizationAccessGroupMapCreated
16804
+ * @instance
16805
+ */
16806
+ OrganizationAccessGroupMapCreated.prototype.organizationId = "";
16807
+
16808
+ /**
16809
+ * OrganizationAccessGroupMapCreated accessGroupName.
16810
+ * @member {string} accessGroupName
16811
+ * @memberof OrganizationAccessGroupMapCreated
16812
+ * @instance
16813
+ */
16814
+ OrganizationAccessGroupMapCreated.prototype.accessGroupName = "";
16815
+
16816
+ /**
16817
+ * OrganizationAccessGroupMapCreated createdAt.
16818
+ * @member {number|Long} createdAt
16819
+ * @memberof OrganizationAccessGroupMapCreated
16820
+ * @instance
16821
+ */
16822
+ OrganizationAccessGroupMapCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
16823
+
16824
+ /**
16825
+ * Creates a new OrganizationAccessGroupMapCreated instance using the specified properties.
16826
+ * @function create
16827
+ * @memberof OrganizationAccessGroupMapCreated
16828
+ * @static
16829
+ * @param {IOrganizationAccessGroupMapCreated=} [properties] Properties to set
16830
+ * @returns {OrganizationAccessGroupMapCreated} OrganizationAccessGroupMapCreated instance
16831
+ */
16832
+ OrganizationAccessGroupMapCreated.create = function create(properties) {
16833
+ return new OrganizationAccessGroupMapCreated(properties);
16834
+ };
16835
+
16836
+ /**
16837
+ * Encodes the specified OrganizationAccessGroupMapCreated message. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
16838
+ * @function encode
16839
+ * @memberof OrganizationAccessGroupMapCreated
16840
+ * @static
16841
+ * @param {IOrganizationAccessGroupMapCreated} message OrganizationAccessGroupMapCreated message or plain object to encode
16842
+ * @param {$protobuf.Writer} [writer] Writer to encode to
16843
+ * @returns {$protobuf.Writer} Writer
16844
+ */
16845
+ OrganizationAccessGroupMapCreated.encode = function encode(message, writer) {
16846
+ if (!writer)
16847
+ writer = $Writer.create();
16848
+ if (message.organizationId != null && message.hasOwnProperty("organizationId"))
16849
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.organizationId);
16850
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
16851
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
16852
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
16853
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.createdAt);
16854
+ return writer;
16855
+ };
16856
+
16857
+ /**
16858
+ * Encodes the specified OrganizationAccessGroupMapCreated message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
16859
+ * @function encodeDelimited
16860
+ * @memberof OrganizationAccessGroupMapCreated
16861
+ * @static
16862
+ * @param {IOrganizationAccessGroupMapCreated} message OrganizationAccessGroupMapCreated message or plain object to encode
16863
+ * @param {$protobuf.Writer} [writer] Writer to encode to
16864
+ * @returns {$protobuf.Writer} Writer
16865
+ */
16866
+ OrganizationAccessGroupMapCreated.encodeDelimited = function encodeDelimited(message, writer) {
16867
+ return this.encode(message, writer).ldelim();
16868
+ };
16869
+
16870
+ /**
16871
+ * Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer.
16872
+ * @function decode
16873
+ * @memberof OrganizationAccessGroupMapCreated
16874
+ * @static
16875
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
16876
+ * @param {number} [length] Message length if known beforehand
16877
+ * @returns {OrganizationAccessGroupMapCreated} OrganizationAccessGroupMapCreated
16878
+ * @throws {Error} If the payload is not a reader or valid buffer
16879
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16880
+ */
16881
+ OrganizationAccessGroupMapCreated.decode = function decode(reader, length) {
16882
+ if (!(reader instanceof $Reader))
16883
+ reader = $Reader.create(reader);
16884
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrganizationAccessGroupMapCreated();
16885
+ while (reader.pos < end) {
16886
+ var tag = reader.uint32();
16887
+ switch (tag >>> 3) {
16888
+ case 1:
16889
+ message.organizationId = reader.string();
16890
+ break;
16891
+ case 2:
16892
+ message.accessGroupName = reader.string();
16893
+ break;
16894
+ case 3:
16895
+ message.createdAt = reader.uint64();
16896
+ break;
16897
+ default:
16898
+ reader.skipType(tag & 7);
16899
+ break;
16900
+ }
16901
+ }
16902
+ return message;
16903
+ };
16904
+
16905
+ /**
16906
+ * Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer, length delimited.
16907
+ * @function decodeDelimited
16908
+ * @memberof OrganizationAccessGroupMapCreated
16909
+ * @static
16910
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
16911
+ * @returns {OrganizationAccessGroupMapCreated} OrganizationAccessGroupMapCreated
16912
+ * @throws {Error} If the payload is not a reader or valid buffer
16913
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16914
+ */
16915
+ OrganizationAccessGroupMapCreated.decodeDelimited = function decodeDelimited(reader) {
16916
+ if (!(reader instanceof $Reader))
16917
+ reader = new $Reader(reader);
16918
+ return this.decode(reader, reader.uint32());
16919
+ };
16920
+
16921
+ /**
16922
+ * Verifies an OrganizationAccessGroupMapCreated message.
16923
+ * @function verify
16924
+ * @memberof OrganizationAccessGroupMapCreated
16925
+ * @static
16926
+ * @param {Object.<string,*>} message Plain object to verify
16927
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
16928
+ */
16929
+ OrganizationAccessGroupMapCreated.verify = function verify(message) {
16930
+ if (typeof message !== "object" || message === null)
16931
+ return "object expected";
16932
+ if (message.organizationId != null && message.hasOwnProperty("organizationId"))
16933
+ if (!$util.isString(message.organizationId))
16934
+ return "organizationId: string expected";
16935
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
16936
+ if (!$util.isString(message.accessGroupName))
16937
+ return "accessGroupName: string expected";
16938
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
16939
+ if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
16940
+ return "createdAt: integer|Long expected";
16941
+ return null;
16942
+ };
16943
+
16944
+ /**
16945
+ * Creates an OrganizationAccessGroupMapCreated message from a plain object. Also converts values to their respective internal types.
16946
+ * @function fromObject
16947
+ * @memberof OrganizationAccessGroupMapCreated
16948
+ * @static
16949
+ * @param {Object.<string,*>} object Plain object
16950
+ * @returns {OrganizationAccessGroupMapCreated} OrganizationAccessGroupMapCreated
16951
+ */
16952
+ OrganizationAccessGroupMapCreated.fromObject = function fromObject(object) {
16953
+ if (object instanceof $root.OrganizationAccessGroupMapCreated)
16954
+ return object;
16955
+ var message = new $root.OrganizationAccessGroupMapCreated();
16956
+ if (object.organizationId != null)
16957
+ message.organizationId = String(object.organizationId);
16958
+ if (object.accessGroupName != null)
16959
+ message.accessGroupName = String(object.accessGroupName);
16960
+ if (object.createdAt != null)
16961
+ if ($util.Long)
16962
+ (message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
16963
+ else if (typeof object.createdAt === "string")
16964
+ message.createdAt = parseInt(object.createdAt, 10);
16965
+ else if (typeof object.createdAt === "number")
16966
+ message.createdAt = object.createdAt;
16967
+ else if (typeof object.createdAt === "object")
16968
+ message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
16969
+ return message;
16970
+ };
16971
+
16972
+ /**
16973
+ * Creates a plain object from an OrganizationAccessGroupMapCreated message. Also converts values to other types if specified.
16974
+ * @function toObject
16975
+ * @memberof OrganizationAccessGroupMapCreated
16976
+ * @static
16977
+ * @param {OrganizationAccessGroupMapCreated} message OrganizationAccessGroupMapCreated
16978
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
16979
+ * @returns {Object.<string,*>} Plain object
16980
+ */
16981
+ OrganizationAccessGroupMapCreated.toObject = function toObject(message, options) {
16982
+ if (!options)
16983
+ options = {};
16984
+ var object = {};
16985
+ if (options.defaults) {
16986
+ object.organizationId = "";
16987
+ object.accessGroupName = "";
16988
+ if ($util.Long) {
16989
+ var long = new $util.Long(0, 0, true);
16990
+ object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
16991
+ } else
16992
+ object.createdAt = options.longs === String ? "0" : 0;
16993
+ }
16994
+ if (message.organizationId != null && message.hasOwnProperty("organizationId"))
16995
+ object.organizationId = message.organizationId;
16996
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
16997
+ object.accessGroupName = message.accessGroupName;
16998
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
16999
+ if (typeof message.createdAt === "number")
17000
+ object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
17001
+ else
17002
+ object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
17003
+ return object;
17004
+ };
17005
+
17006
+ /**
17007
+ * Converts this OrganizationAccessGroupMapCreated to JSON.
17008
+ * @function toJSON
17009
+ * @memberof OrganizationAccessGroupMapCreated
17010
+ * @instance
17011
+ * @returns {Object.<string,*>} JSON object
17012
+ */
17013
+ OrganizationAccessGroupMapCreated.prototype.toJSON = function toJSON() {
17014
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
17015
+ };
17016
+
17017
+ return OrganizationAccessGroupMapCreated;
17018
+ })();
17019
+
17020
+ $root.OrganizationAccessGroupMapDeleted = (function() {
17021
+
17022
+ /**
17023
+ * Properties of an OrganizationAccessGroupMapDeleted.
17024
+ * @exports IOrganizationAccessGroupMapDeleted
17025
+ * @interface IOrganizationAccessGroupMapDeleted
17026
+ * @property {string|null} [organizationId] OrganizationAccessGroupMapDeleted organizationId
17027
+ * @property {string|null} [accessGroupName] OrganizationAccessGroupMapDeleted accessGroupName
17028
+ * @property {number|Long|null} [deletedAt] OrganizationAccessGroupMapDeleted deletedAt
17029
+ */
17030
+
17031
+ /**
17032
+ * Constructs a new OrganizationAccessGroupMapDeleted.
17033
+ * @exports OrganizationAccessGroupMapDeleted
17034
+ * @classdesc Represents an OrganizationAccessGroupMapDeleted.
17035
+ * @implements IOrganizationAccessGroupMapDeleted
17036
+ * @constructor
17037
+ * @param {IOrganizationAccessGroupMapDeleted=} [properties] Properties to set
17038
+ */
17039
+ function OrganizationAccessGroupMapDeleted(properties) {
17040
+ if (properties)
17041
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
17042
+ if (properties[keys[i]] != null)
17043
+ this[keys[i]] = properties[keys[i]];
17044
+ }
17045
+
17046
+ /**
17047
+ * OrganizationAccessGroupMapDeleted organizationId.
17048
+ * @member {string} organizationId
17049
+ * @memberof OrganizationAccessGroupMapDeleted
17050
+ * @instance
17051
+ */
17052
+ OrganizationAccessGroupMapDeleted.prototype.organizationId = "";
17053
+
17054
+ /**
17055
+ * OrganizationAccessGroupMapDeleted accessGroupName.
17056
+ * @member {string} accessGroupName
17057
+ * @memberof OrganizationAccessGroupMapDeleted
17058
+ * @instance
17059
+ */
17060
+ OrganizationAccessGroupMapDeleted.prototype.accessGroupName = "";
17061
+
17062
+ /**
17063
+ * OrganizationAccessGroupMapDeleted deletedAt.
17064
+ * @member {number|Long} deletedAt
17065
+ * @memberof OrganizationAccessGroupMapDeleted
17066
+ * @instance
17067
+ */
17068
+ OrganizationAccessGroupMapDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
17069
+
17070
+ /**
17071
+ * Creates a new OrganizationAccessGroupMapDeleted instance using the specified properties.
17072
+ * @function create
17073
+ * @memberof OrganizationAccessGroupMapDeleted
17074
+ * @static
17075
+ * @param {IOrganizationAccessGroupMapDeleted=} [properties] Properties to set
17076
+ * @returns {OrganizationAccessGroupMapDeleted} OrganizationAccessGroupMapDeleted instance
17077
+ */
17078
+ OrganizationAccessGroupMapDeleted.create = function create(properties) {
17079
+ return new OrganizationAccessGroupMapDeleted(properties);
17080
+ };
17081
+
17082
+ /**
17083
+ * Encodes the specified OrganizationAccessGroupMapDeleted message. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
17084
+ * @function encode
17085
+ * @memberof OrganizationAccessGroupMapDeleted
17086
+ * @static
17087
+ * @param {IOrganizationAccessGroupMapDeleted} message OrganizationAccessGroupMapDeleted message or plain object to encode
17088
+ * @param {$protobuf.Writer} [writer] Writer to encode to
17089
+ * @returns {$protobuf.Writer} Writer
17090
+ */
17091
+ OrganizationAccessGroupMapDeleted.encode = function encode(message, writer) {
17092
+ if (!writer)
17093
+ writer = $Writer.create();
17094
+ if (message.organizationId != null && message.hasOwnProperty("organizationId"))
17095
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.organizationId);
17096
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
17097
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
17098
+ if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
17099
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.deletedAt);
17100
+ return writer;
17101
+ };
17102
+
17103
+ /**
17104
+ * Encodes the specified OrganizationAccessGroupMapDeleted message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
17105
+ * @function encodeDelimited
17106
+ * @memberof OrganizationAccessGroupMapDeleted
17107
+ * @static
17108
+ * @param {IOrganizationAccessGroupMapDeleted} message OrganizationAccessGroupMapDeleted message or plain object to encode
17109
+ * @param {$protobuf.Writer} [writer] Writer to encode to
17110
+ * @returns {$protobuf.Writer} Writer
17111
+ */
17112
+ OrganizationAccessGroupMapDeleted.encodeDelimited = function encodeDelimited(message, writer) {
17113
+ return this.encode(message, writer).ldelim();
17114
+ };
17115
+
17116
+ /**
17117
+ * Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer.
17118
+ * @function decode
17119
+ * @memberof OrganizationAccessGroupMapDeleted
17120
+ * @static
17121
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
17122
+ * @param {number} [length] Message length if known beforehand
17123
+ * @returns {OrganizationAccessGroupMapDeleted} OrganizationAccessGroupMapDeleted
17124
+ * @throws {Error} If the payload is not a reader or valid buffer
17125
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17126
+ */
17127
+ OrganizationAccessGroupMapDeleted.decode = function decode(reader, length) {
17128
+ if (!(reader instanceof $Reader))
17129
+ reader = $Reader.create(reader);
17130
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrganizationAccessGroupMapDeleted();
17131
+ while (reader.pos < end) {
17132
+ var tag = reader.uint32();
17133
+ switch (tag >>> 3) {
17134
+ case 1:
17135
+ message.organizationId = reader.string();
17136
+ break;
17137
+ case 2:
17138
+ message.accessGroupName = reader.string();
17139
+ break;
17140
+ case 3:
17141
+ message.deletedAt = reader.uint64();
17142
+ break;
17143
+ default:
17144
+ reader.skipType(tag & 7);
17145
+ break;
17146
+ }
17147
+ }
17148
+ return message;
17149
+ };
17150
+
17151
+ /**
17152
+ * Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer, length delimited.
17153
+ * @function decodeDelimited
17154
+ * @memberof OrganizationAccessGroupMapDeleted
17155
+ * @static
17156
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
17157
+ * @returns {OrganizationAccessGroupMapDeleted} OrganizationAccessGroupMapDeleted
17158
+ * @throws {Error} If the payload is not a reader or valid buffer
17159
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17160
+ */
17161
+ OrganizationAccessGroupMapDeleted.decodeDelimited = function decodeDelimited(reader) {
17162
+ if (!(reader instanceof $Reader))
17163
+ reader = new $Reader(reader);
17164
+ return this.decode(reader, reader.uint32());
17165
+ };
17166
+
17167
+ /**
17168
+ * Verifies an OrganizationAccessGroupMapDeleted message.
17169
+ * @function verify
17170
+ * @memberof OrganizationAccessGroupMapDeleted
17171
+ * @static
17172
+ * @param {Object.<string,*>} message Plain object to verify
17173
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
17174
+ */
17175
+ OrganizationAccessGroupMapDeleted.verify = function verify(message) {
17176
+ if (typeof message !== "object" || message === null)
17177
+ return "object expected";
17178
+ if (message.organizationId != null && message.hasOwnProperty("organizationId"))
17179
+ if (!$util.isString(message.organizationId))
17180
+ return "organizationId: string expected";
17181
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
17182
+ if (!$util.isString(message.accessGroupName))
17183
+ return "accessGroupName: string expected";
17184
+ if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
17185
+ if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
17186
+ return "deletedAt: integer|Long expected";
17187
+ return null;
17188
+ };
17189
+
17190
+ /**
17191
+ * Creates an OrganizationAccessGroupMapDeleted message from a plain object. Also converts values to their respective internal types.
17192
+ * @function fromObject
17193
+ * @memberof OrganizationAccessGroupMapDeleted
17194
+ * @static
17195
+ * @param {Object.<string,*>} object Plain object
17196
+ * @returns {OrganizationAccessGroupMapDeleted} OrganizationAccessGroupMapDeleted
17197
+ */
17198
+ OrganizationAccessGroupMapDeleted.fromObject = function fromObject(object) {
17199
+ if (object instanceof $root.OrganizationAccessGroupMapDeleted)
17200
+ return object;
17201
+ var message = new $root.OrganizationAccessGroupMapDeleted();
17202
+ if (object.organizationId != null)
17203
+ message.organizationId = String(object.organizationId);
17204
+ if (object.accessGroupName != null)
17205
+ message.accessGroupName = String(object.accessGroupName);
17206
+ if (object.deletedAt != null)
17207
+ if ($util.Long)
17208
+ (message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
17209
+ else if (typeof object.deletedAt === "string")
17210
+ message.deletedAt = parseInt(object.deletedAt, 10);
17211
+ else if (typeof object.deletedAt === "number")
17212
+ message.deletedAt = object.deletedAt;
17213
+ else if (typeof object.deletedAt === "object")
17214
+ message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
17215
+ return message;
17216
+ };
17217
+
17218
+ /**
17219
+ * Creates a plain object from an OrganizationAccessGroupMapDeleted message. Also converts values to other types if specified.
17220
+ * @function toObject
17221
+ * @memberof OrganizationAccessGroupMapDeleted
17222
+ * @static
17223
+ * @param {OrganizationAccessGroupMapDeleted} message OrganizationAccessGroupMapDeleted
17224
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
17225
+ * @returns {Object.<string,*>} Plain object
17226
+ */
17227
+ OrganizationAccessGroupMapDeleted.toObject = function toObject(message, options) {
17228
+ if (!options)
17229
+ options = {};
17230
+ var object = {};
17231
+ if (options.defaults) {
17232
+ object.organizationId = "";
17233
+ object.accessGroupName = "";
17234
+ if ($util.Long) {
17235
+ var long = new $util.Long(0, 0, true);
17236
+ object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
17237
+ } else
17238
+ object.deletedAt = options.longs === String ? "0" : 0;
17239
+ }
17240
+ if (message.organizationId != null && message.hasOwnProperty("organizationId"))
17241
+ object.organizationId = message.organizationId;
17242
+ if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
17243
+ object.accessGroupName = message.accessGroupName;
17244
+ if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
17245
+ if (typeof message.deletedAt === "number")
17246
+ object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
17247
+ else
17248
+ object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
17249
+ return object;
17250
+ };
17251
+
17252
+ /**
17253
+ * Converts this OrganizationAccessGroupMapDeleted to JSON.
17254
+ * @function toJSON
17255
+ * @memberof OrganizationAccessGroupMapDeleted
17256
+ * @instance
17257
+ * @returns {Object.<string,*>} JSON object
17258
+ */
17259
+ OrganizationAccessGroupMapDeleted.prototype.toJSON = function toJSON() {
17260
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
17261
+ };
17262
+
17263
+ return OrganizationAccessGroupMapDeleted;
17264
+ })();
17265
+
16774
17266
  $root.ReferralSignedUp = (function() {
16775
17267
 
16776
17268
  /**
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.82.0"
19
+ "version": "1.85.0"
20
20
  }