@headspace/protos-events 1.88.0 → 1.90.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 +112 -4
  2. package/lib/index.js +272 -18
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3988,6 +3988,114 @@ export class SurveyAnswer implements ISurveyAnswer {
3988
3988
  public toJSON(): { [k: string]: any };
3989
3989
  }
3990
3990
 
3991
+ /** Properties of an AssessmentScore. */
3992
+ export interface IAssessmentScore {
3993
+
3994
+ /** AssessmentScore userId */
3995
+ userId?: (string|null);
3996
+
3997
+ /** AssessmentScore surveyId */
3998
+ surveyId?: (string|null);
3999
+
4000
+ /** AssessmentScore score */
4001
+ score?: (number|null);
4002
+
4003
+ /** AssessmentScore completedAtIsoDate */
4004
+ completedAtIsoDate?: (string|null);
4005
+ }
4006
+
4007
+ /** Represents an AssessmentScore. */
4008
+ export class AssessmentScore implements IAssessmentScore {
4009
+
4010
+ /**
4011
+ * Constructs a new AssessmentScore.
4012
+ * @param [properties] Properties to set
4013
+ */
4014
+ constructor(properties?: IAssessmentScore);
4015
+
4016
+ /** AssessmentScore userId. */
4017
+ public userId: string;
4018
+
4019
+ /** AssessmentScore surveyId. */
4020
+ public surveyId: string;
4021
+
4022
+ /** AssessmentScore score. */
4023
+ public score: number;
4024
+
4025
+ /** AssessmentScore completedAtIsoDate. */
4026
+ public completedAtIsoDate: string;
4027
+
4028
+ /**
4029
+ * Creates a new AssessmentScore instance using the specified properties.
4030
+ * @param [properties] Properties to set
4031
+ * @returns AssessmentScore instance
4032
+ */
4033
+ public static create(properties?: IAssessmentScore): AssessmentScore;
4034
+
4035
+ /**
4036
+ * Encodes the specified AssessmentScore message. Does not implicitly {@link AssessmentScore.verify|verify} messages.
4037
+ * @param message AssessmentScore message or plain object to encode
4038
+ * @param [writer] Writer to encode to
4039
+ * @returns Writer
4040
+ */
4041
+ public static encode(message: IAssessmentScore, writer?: $protobuf.Writer): $protobuf.Writer;
4042
+
4043
+ /**
4044
+ * Encodes the specified AssessmentScore message, length delimited. Does not implicitly {@link AssessmentScore.verify|verify} messages.
4045
+ * @param message AssessmentScore message or plain object to encode
4046
+ * @param [writer] Writer to encode to
4047
+ * @returns Writer
4048
+ */
4049
+ public static encodeDelimited(message: IAssessmentScore, writer?: $protobuf.Writer): $protobuf.Writer;
4050
+
4051
+ /**
4052
+ * Decodes an AssessmentScore message from the specified reader or buffer.
4053
+ * @param reader Reader or buffer to decode from
4054
+ * @param [length] Message length if known beforehand
4055
+ * @returns AssessmentScore
4056
+ * @throws {Error} If the payload is not a reader or valid buffer
4057
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4058
+ */
4059
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AssessmentScore;
4060
+
4061
+ /**
4062
+ * Decodes an AssessmentScore message from the specified reader or buffer, length delimited.
4063
+ * @param reader Reader or buffer to decode from
4064
+ * @returns AssessmentScore
4065
+ * @throws {Error} If the payload is not a reader or valid buffer
4066
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4067
+ */
4068
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AssessmentScore;
4069
+
4070
+ /**
4071
+ * Verifies an AssessmentScore message.
4072
+ * @param message Plain object to verify
4073
+ * @returns `null` if valid, otherwise the reason why it is not
4074
+ */
4075
+ public static verify(message: { [k: string]: any }): (string|null);
4076
+
4077
+ /**
4078
+ * Creates an AssessmentScore message from a plain object. Also converts values to their respective internal types.
4079
+ * @param object Plain object
4080
+ * @returns AssessmentScore
4081
+ */
4082
+ public static fromObject(object: { [k: string]: any }): AssessmentScore;
4083
+
4084
+ /**
4085
+ * Creates a plain object from an AssessmentScore message. Also converts values to other types if specified.
4086
+ * @param message AssessmentScore
4087
+ * @param [options] Conversion options
4088
+ * @returns Plain object
4089
+ */
4090
+ public static toObject(message: AssessmentScore, options?: $protobuf.IConversionOptions): { [k: string]: any };
4091
+
4092
+ /**
4093
+ * Converts this AssessmentScore to JSON.
4094
+ * @returns JSON object
4095
+ */
4096
+ public toJSON(): { [k: string]: any };
4097
+ }
4098
+
3991
4099
  /** Properties of a BuddyAccepted. */
3992
4100
  export interface IBuddyAccepted {
3993
4101
 
@@ -7022,7 +7130,7 @@ export class AccessibleEntityDeleted implements IAccessibleEntityDeleted {
7022
7130
  export interface IOrganizationAccessGroupMapCreated {
7023
7131
 
7024
7132
  /** OrganizationAccessGroupMapCreated organizationId */
7025
- organizationId?: (string|null);
7133
+ organizationId?: (number|null);
7026
7134
 
7027
7135
  /** OrganizationAccessGroupMapCreated accessGroupName */
7028
7136
  accessGroupName?: (string|null);
@@ -7041,7 +7149,7 @@ export class OrganizationAccessGroupMapCreated implements IOrganizationAccessGro
7041
7149
  constructor(properties?: IOrganizationAccessGroupMapCreated);
7042
7150
 
7043
7151
  /** OrganizationAccessGroupMapCreated organizationId. */
7044
- public organizationId: string;
7152
+ public organizationId: number;
7045
7153
 
7046
7154
  /** OrganizationAccessGroupMapCreated accessGroupName. */
7047
7155
  public accessGroupName: string;
@@ -7124,7 +7232,7 @@ export class OrganizationAccessGroupMapCreated implements IOrganizationAccessGro
7124
7232
  export interface IOrganizationAccessGroupMapDeleted {
7125
7233
 
7126
7234
  /** OrganizationAccessGroupMapDeleted organizationId */
7127
- organizationId?: (string|null);
7235
+ organizationId?: (number|null);
7128
7236
 
7129
7237
  /** OrganizationAccessGroupMapDeleted accessGroupName */
7130
7238
  accessGroupName?: (string|null);
@@ -7143,7 +7251,7 @@ export class OrganizationAccessGroupMapDeleted implements IOrganizationAccessGro
7143
7251
  constructor(properties?: IOrganizationAccessGroupMapDeleted);
7144
7252
 
7145
7253
  /** OrganizationAccessGroupMapDeleted organizationId. */
7146
- public organizationId: string;
7254
+ public organizationId: number;
7147
7255
 
7148
7256
  /** OrganizationAccessGroupMapDeleted accessGroupName. */
7149
7257
  public accessGroupName: string;
package/lib/index.js CHANGED
@@ -9936,6 +9936,260 @@ $root.SurveyAnswer = (function() {
9936
9936
  return SurveyAnswer;
9937
9937
  })();
9938
9938
 
9939
+ $root.AssessmentScore = (function() {
9940
+
9941
+ /**
9942
+ * Properties of an AssessmentScore.
9943
+ * @exports IAssessmentScore
9944
+ * @interface IAssessmentScore
9945
+ * @property {string|null} [userId] AssessmentScore userId
9946
+ * @property {string|null} [surveyId] AssessmentScore surveyId
9947
+ * @property {number|null} [score] AssessmentScore score
9948
+ * @property {string|null} [completedAtIsoDate] AssessmentScore completedAtIsoDate
9949
+ */
9950
+
9951
+ /**
9952
+ * Constructs a new AssessmentScore.
9953
+ * @exports AssessmentScore
9954
+ * @classdesc Represents an AssessmentScore.
9955
+ * @implements IAssessmentScore
9956
+ * @constructor
9957
+ * @param {IAssessmentScore=} [properties] Properties to set
9958
+ */
9959
+ function AssessmentScore(properties) {
9960
+ if (properties)
9961
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
9962
+ if (properties[keys[i]] != null)
9963
+ this[keys[i]] = properties[keys[i]];
9964
+ }
9965
+
9966
+ /**
9967
+ * AssessmentScore userId.
9968
+ * @member {string} userId
9969
+ * @memberof AssessmentScore
9970
+ * @instance
9971
+ */
9972
+ AssessmentScore.prototype.userId = "";
9973
+
9974
+ /**
9975
+ * AssessmentScore surveyId.
9976
+ * @member {string} surveyId
9977
+ * @memberof AssessmentScore
9978
+ * @instance
9979
+ */
9980
+ AssessmentScore.prototype.surveyId = "";
9981
+
9982
+ /**
9983
+ * AssessmentScore score.
9984
+ * @member {number} score
9985
+ * @memberof AssessmentScore
9986
+ * @instance
9987
+ */
9988
+ AssessmentScore.prototype.score = 0;
9989
+
9990
+ /**
9991
+ * AssessmentScore completedAtIsoDate.
9992
+ * @member {string} completedAtIsoDate
9993
+ * @memberof AssessmentScore
9994
+ * @instance
9995
+ */
9996
+ AssessmentScore.prototype.completedAtIsoDate = "";
9997
+
9998
+ /**
9999
+ * Creates a new AssessmentScore instance using the specified properties.
10000
+ * @function create
10001
+ * @memberof AssessmentScore
10002
+ * @static
10003
+ * @param {IAssessmentScore=} [properties] Properties to set
10004
+ * @returns {AssessmentScore} AssessmentScore instance
10005
+ */
10006
+ AssessmentScore.create = function create(properties) {
10007
+ return new AssessmentScore(properties);
10008
+ };
10009
+
10010
+ /**
10011
+ * Encodes the specified AssessmentScore message. Does not implicitly {@link AssessmentScore.verify|verify} messages.
10012
+ * @function encode
10013
+ * @memberof AssessmentScore
10014
+ * @static
10015
+ * @param {IAssessmentScore} message AssessmentScore message or plain object to encode
10016
+ * @param {$protobuf.Writer} [writer] Writer to encode to
10017
+ * @returns {$protobuf.Writer} Writer
10018
+ */
10019
+ AssessmentScore.encode = function encode(message, writer) {
10020
+ if (!writer)
10021
+ writer = $Writer.create();
10022
+ if (message.userId != null && message.hasOwnProperty("userId"))
10023
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
10024
+ if (message.surveyId != null && message.hasOwnProperty("surveyId"))
10025
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.surveyId);
10026
+ if (message.score != null && message.hasOwnProperty("score"))
10027
+ writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.score);
10028
+ if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
10029
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.completedAtIsoDate);
10030
+ return writer;
10031
+ };
10032
+
10033
+ /**
10034
+ * Encodes the specified AssessmentScore message, length delimited. Does not implicitly {@link AssessmentScore.verify|verify} messages.
10035
+ * @function encodeDelimited
10036
+ * @memberof AssessmentScore
10037
+ * @static
10038
+ * @param {IAssessmentScore} message AssessmentScore message or plain object to encode
10039
+ * @param {$protobuf.Writer} [writer] Writer to encode to
10040
+ * @returns {$protobuf.Writer} Writer
10041
+ */
10042
+ AssessmentScore.encodeDelimited = function encodeDelimited(message, writer) {
10043
+ return this.encode(message, writer).ldelim();
10044
+ };
10045
+
10046
+ /**
10047
+ * Decodes an AssessmentScore message from the specified reader or buffer.
10048
+ * @function decode
10049
+ * @memberof AssessmentScore
10050
+ * @static
10051
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
10052
+ * @param {number} [length] Message length if known beforehand
10053
+ * @returns {AssessmentScore} AssessmentScore
10054
+ * @throws {Error} If the payload is not a reader or valid buffer
10055
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10056
+ */
10057
+ AssessmentScore.decode = function decode(reader, length) {
10058
+ if (!(reader instanceof $Reader))
10059
+ reader = $Reader.create(reader);
10060
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AssessmentScore();
10061
+ while (reader.pos < end) {
10062
+ var tag = reader.uint32();
10063
+ switch (tag >>> 3) {
10064
+ case 1:
10065
+ message.userId = reader.string();
10066
+ break;
10067
+ case 2:
10068
+ message.surveyId = reader.string();
10069
+ break;
10070
+ case 3:
10071
+ message.score = reader.uint32();
10072
+ break;
10073
+ case 4:
10074
+ message.completedAtIsoDate = reader.string();
10075
+ break;
10076
+ default:
10077
+ reader.skipType(tag & 7);
10078
+ break;
10079
+ }
10080
+ }
10081
+ return message;
10082
+ };
10083
+
10084
+ /**
10085
+ * Decodes an AssessmentScore message from the specified reader or buffer, length delimited.
10086
+ * @function decodeDelimited
10087
+ * @memberof AssessmentScore
10088
+ * @static
10089
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
10090
+ * @returns {AssessmentScore} AssessmentScore
10091
+ * @throws {Error} If the payload is not a reader or valid buffer
10092
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10093
+ */
10094
+ AssessmentScore.decodeDelimited = function decodeDelimited(reader) {
10095
+ if (!(reader instanceof $Reader))
10096
+ reader = new $Reader(reader);
10097
+ return this.decode(reader, reader.uint32());
10098
+ };
10099
+
10100
+ /**
10101
+ * Verifies an AssessmentScore message.
10102
+ * @function verify
10103
+ * @memberof AssessmentScore
10104
+ * @static
10105
+ * @param {Object.<string,*>} message Plain object to verify
10106
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
10107
+ */
10108
+ AssessmentScore.verify = function verify(message) {
10109
+ if (typeof message !== "object" || message === null)
10110
+ return "object expected";
10111
+ if (message.userId != null && message.hasOwnProperty("userId"))
10112
+ if (!$util.isString(message.userId))
10113
+ return "userId: string expected";
10114
+ if (message.surveyId != null && message.hasOwnProperty("surveyId"))
10115
+ if (!$util.isString(message.surveyId))
10116
+ return "surveyId: string expected";
10117
+ if (message.score != null && message.hasOwnProperty("score"))
10118
+ if (!$util.isInteger(message.score))
10119
+ return "score: integer expected";
10120
+ if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
10121
+ if (!$util.isString(message.completedAtIsoDate))
10122
+ return "completedAtIsoDate: string expected";
10123
+ return null;
10124
+ };
10125
+
10126
+ /**
10127
+ * Creates an AssessmentScore message from a plain object. Also converts values to their respective internal types.
10128
+ * @function fromObject
10129
+ * @memberof AssessmentScore
10130
+ * @static
10131
+ * @param {Object.<string,*>} object Plain object
10132
+ * @returns {AssessmentScore} AssessmentScore
10133
+ */
10134
+ AssessmentScore.fromObject = function fromObject(object) {
10135
+ if (object instanceof $root.AssessmentScore)
10136
+ return object;
10137
+ var message = new $root.AssessmentScore();
10138
+ if (object.userId != null)
10139
+ message.userId = String(object.userId);
10140
+ if (object.surveyId != null)
10141
+ message.surveyId = String(object.surveyId);
10142
+ if (object.score != null)
10143
+ message.score = object.score >>> 0;
10144
+ if (object.completedAtIsoDate != null)
10145
+ message.completedAtIsoDate = String(object.completedAtIsoDate);
10146
+ return message;
10147
+ };
10148
+
10149
+ /**
10150
+ * Creates a plain object from an AssessmentScore message. Also converts values to other types if specified.
10151
+ * @function toObject
10152
+ * @memberof AssessmentScore
10153
+ * @static
10154
+ * @param {AssessmentScore} message AssessmentScore
10155
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
10156
+ * @returns {Object.<string,*>} Plain object
10157
+ */
10158
+ AssessmentScore.toObject = function toObject(message, options) {
10159
+ if (!options)
10160
+ options = {};
10161
+ var object = {};
10162
+ if (options.defaults) {
10163
+ object.userId = "";
10164
+ object.surveyId = "";
10165
+ object.score = 0;
10166
+ object.completedAtIsoDate = "";
10167
+ }
10168
+ if (message.userId != null && message.hasOwnProperty("userId"))
10169
+ object.userId = message.userId;
10170
+ if (message.surveyId != null && message.hasOwnProperty("surveyId"))
10171
+ object.surveyId = message.surveyId;
10172
+ if (message.score != null && message.hasOwnProperty("score"))
10173
+ object.score = message.score;
10174
+ if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
10175
+ object.completedAtIsoDate = message.completedAtIsoDate;
10176
+ return object;
10177
+ };
10178
+
10179
+ /**
10180
+ * Converts this AssessmentScore to JSON.
10181
+ * @function toJSON
10182
+ * @memberof AssessmentScore
10183
+ * @instance
10184
+ * @returns {Object.<string,*>} JSON object
10185
+ */
10186
+ AssessmentScore.prototype.toJSON = function toJSON() {
10187
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
10188
+ };
10189
+
10190
+ return AssessmentScore;
10191
+ })();
10192
+
9939
10193
  $root.BuddyAccepted = (function() {
9940
10194
 
9941
10195
  /**
@@ -17562,7 +17816,7 @@ $root.OrganizationAccessGroupMapCreated = (function() {
17562
17816
  * Properties of an OrganizationAccessGroupMapCreated.
17563
17817
  * @exports IOrganizationAccessGroupMapCreated
17564
17818
  * @interface IOrganizationAccessGroupMapCreated
17565
- * @property {string|null} [organizationId] OrganizationAccessGroupMapCreated organizationId
17819
+ * @property {number|null} [organizationId] OrganizationAccessGroupMapCreated organizationId
17566
17820
  * @property {string|null} [accessGroupName] OrganizationAccessGroupMapCreated accessGroupName
17567
17821
  * @property {number|Long|null} [createdAt] OrganizationAccessGroupMapCreated createdAt
17568
17822
  */
@@ -17584,11 +17838,11 @@ $root.OrganizationAccessGroupMapCreated = (function() {
17584
17838
 
17585
17839
  /**
17586
17840
  * OrganizationAccessGroupMapCreated organizationId.
17587
- * @member {string} organizationId
17841
+ * @member {number} organizationId
17588
17842
  * @memberof OrganizationAccessGroupMapCreated
17589
17843
  * @instance
17590
17844
  */
17591
- OrganizationAccessGroupMapCreated.prototype.organizationId = "";
17845
+ OrganizationAccessGroupMapCreated.prototype.organizationId = 0;
17592
17846
 
17593
17847
  /**
17594
17848
  * OrganizationAccessGroupMapCreated accessGroupName.
@@ -17631,7 +17885,7 @@ $root.OrganizationAccessGroupMapCreated = (function() {
17631
17885
  if (!writer)
17632
17886
  writer = $Writer.create();
17633
17887
  if (message.organizationId != null && message.hasOwnProperty("organizationId"))
17634
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.organizationId);
17888
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.organizationId);
17635
17889
  if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
17636
17890
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
17637
17891
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))
@@ -17671,7 +17925,7 @@ $root.OrganizationAccessGroupMapCreated = (function() {
17671
17925
  var tag = reader.uint32();
17672
17926
  switch (tag >>> 3) {
17673
17927
  case 1:
17674
- message.organizationId = reader.string();
17928
+ message.organizationId = reader.int32();
17675
17929
  break;
17676
17930
  case 2:
17677
17931
  message.accessGroupName = reader.string();
@@ -17715,8 +17969,8 @@ $root.OrganizationAccessGroupMapCreated = (function() {
17715
17969
  if (typeof message !== "object" || message === null)
17716
17970
  return "object expected";
17717
17971
  if (message.organizationId != null && message.hasOwnProperty("organizationId"))
17718
- if (!$util.isString(message.organizationId))
17719
- return "organizationId: string expected";
17972
+ if (!$util.isInteger(message.organizationId))
17973
+ return "organizationId: integer expected";
17720
17974
  if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
17721
17975
  if (!$util.isString(message.accessGroupName))
17722
17976
  return "accessGroupName: string expected";
@@ -17739,7 +17993,7 @@ $root.OrganizationAccessGroupMapCreated = (function() {
17739
17993
  return object;
17740
17994
  var message = new $root.OrganizationAccessGroupMapCreated();
17741
17995
  if (object.organizationId != null)
17742
- message.organizationId = String(object.organizationId);
17996
+ message.organizationId = object.organizationId | 0;
17743
17997
  if (object.accessGroupName != null)
17744
17998
  message.accessGroupName = String(object.accessGroupName);
17745
17999
  if (object.createdAt != null)
@@ -17768,7 +18022,7 @@ $root.OrganizationAccessGroupMapCreated = (function() {
17768
18022
  options = {};
17769
18023
  var object = {};
17770
18024
  if (options.defaults) {
17771
- object.organizationId = "";
18025
+ object.organizationId = 0;
17772
18026
  object.accessGroupName = "";
17773
18027
  if ($util.Long) {
17774
18028
  var long = new $util.Long(0, 0, true);
@@ -17808,7 +18062,7 @@ $root.OrganizationAccessGroupMapDeleted = (function() {
17808
18062
  * Properties of an OrganizationAccessGroupMapDeleted.
17809
18063
  * @exports IOrganizationAccessGroupMapDeleted
17810
18064
  * @interface IOrganizationAccessGroupMapDeleted
17811
- * @property {string|null} [organizationId] OrganizationAccessGroupMapDeleted organizationId
18065
+ * @property {number|null} [organizationId] OrganizationAccessGroupMapDeleted organizationId
17812
18066
  * @property {string|null} [accessGroupName] OrganizationAccessGroupMapDeleted accessGroupName
17813
18067
  * @property {number|Long|null} [deletedAt] OrganizationAccessGroupMapDeleted deletedAt
17814
18068
  */
@@ -17830,11 +18084,11 @@ $root.OrganizationAccessGroupMapDeleted = (function() {
17830
18084
 
17831
18085
  /**
17832
18086
  * OrganizationAccessGroupMapDeleted organizationId.
17833
- * @member {string} organizationId
18087
+ * @member {number} organizationId
17834
18088
  * @memberof OrganizationAccessGroupMapDeleted
17835
18089
  * @instance
17836
18090
  */
17837
- OrganizationAccessGroupMapDeleted.prototype.organizationId = "";
18091
+ OrganizationAccessGroupMapDeleted.prototype.organizationId = 0;
17838
18092
 
17839
18093
  /**
17840
18094
  * OrganizationAccessGroupMapDeleted accessGroupName.
@@ -17877,7 +18131,7 @@ $root.OrganizationAccessGroupMapDeleted = (function() {
17877
18131
  if (!writer)
17878
18132
  writer = $Writer.create();
17879
18133
  if (message.organizationId != null && message.hasOwnProperty("organizationId"))
17880
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.organizationId);
18134
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.organizationId);
17881
18135
  if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
17882
18136
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
17883
18137
  if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
@@ -17917,7 +18171,7 @@ $root.OrganizationAccessGroupMapDeleted = (function() {
17917
18171
  var tag = reader.uint32();
17918
18172
  switch (tag >>> 3) {
17919
18173
  case 1:
17920
- message.organizationId = reader.string();
18174
+ message.organizationId = reader.int32();
17921
18175
  break;
17922
18176
  case 2:
17923
18177
  message.accessGroupName = reader.string();
@@ -17961,8 +18215,8 @@ $root.OrganizationAccessGroupMapDeleted = (function() {
17961
18215
  if (typeof message !== "object" || message === null)
17962
18216
  return "object expected";
17963
18217
  if (message.organizationId != null && message.hasOwnProperty("organizationId"))
17964
- if (!$util.isString(message.organizationId))
17965
- return "organizationId: string expected";
18218
+ if (!$util.isInteger(message.organizationId))
18219
+ return "organizationId: integer expected";
17966
18220
  if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
17967
18221
  if (!$util.isString(message.accessGroupName))
17968
18222
  return "accessGroupName: string expected";
@@ -17985,7 +18239,7 @@ $root.OrganizationAccessGroupMapDeleted = (function() {
17985
18239
  return object;
17986
18240
  var message = new $root.OrganizationAccessGroupMapDeleted();
17987
18241
  if (object.organizationId != null)
17988
- message.organizationId = String(object.organizationId);
18242
+ message.organizationId = object.organizationId | 0;
17989
18243
  if (object.accessGroupName != null)
17990
18244
  message.accessGroupName = String(object.accessGroupName);
17991
18245
  if (object.deletedAt != null)
@@ -18014,7 +18268,7 @@ $root.OrganizationAccessGroupMapDeleted = (function() {
18014
18268
  options = {};
18015
18269
  var object = {};
18016
18270
  if (options.defaults) {
18017
- object.organizationId = "";
18271
+ object.organizationId = 0;
18018
18272
  object.accessGroupName = "";
18019
18273
  if ($util.Long) {
18020
18274
  var long = new $util.Long(0, 0, true);
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.88.0"
19
+ "version": "1.90.0"
20
20
  }