@headspace/protos-events 1.87.0 → 1.89.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 +312 -0
- package/lib/index.js +746 -0
- 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
|
|
|
@@ -7018,6 +7126,210 @@ export class AccessibleEntityDeleted implements IAccessibleEntityDeleted {
|
|
|
7018
7126
|
public toJSON(): { [k: string]: any };
|
|
7019
7127
|
}
|
|
7020
7128
|
|
|
7129
|
+
/** Properties of an OrganizationAccessGroupMapCreated. */
|
|
7130
|
+
export interface IOrganizationAccessGroupMapCreated {
|
|
7131
|
+
|
|
7132
|
+
/** OrganizationAccessGroupMapCreated organizationId */
|
|
7133
|
+
organizationId?: (string|null);
|
|
7134
|
+
|
|
7135
|
+
/** OrganizationAccessGroupMapCreated accessGroupName */
|
|
7136
|
+
accessGroupName?: (string|null);
|
|
7137
|
+
|
|
7138
|
+
/** OrganizationAccessGroupMapCreated createdAt */
|
|
7139
|
+
createdAt?: (number|Long|null);
|
|
7140
|
+
}
|
|
7141
|
+
|
|
7142
|
+
/** Represents an OrganizationAccessGroupMapCreated. */
|
|
7143
|
+
export class OrganizationAccessGroupMapCreated implements IOrganizationAccessGroupMapCreated {
|
|
7144
|
+
|
|
7145
|
+
/**
|
|
7146
|
+
* Constructs a new OrganizationAccessGroupMapCreated.
|
|
7147
|
+
* @param [properties] Properties to set
|
|
7148
|
+
*/
|
|
7149
|
+
constructor(properties?: IOrganizationAccessGroupMapCreated);
|
|
7150
|
+
|
|
7151
|
+
/** OrganizationAccessGroupMapCreated organizationId. */
|
|
7152
|
+
public organizationId: string;
|
|
7153
|
+
|
|
7154
|
+
/** OrganizationAccessGroupMapCreated accessGroupName. */
|
|
7155
|
+
public accessGroupName: string;
|
|
7156
|
+
|
|
7157
|
+
/** OrganizationAccessGroupMapCreated createdAt. */
|
|
7158
|
+
public createdAt: (number|Long);
|
|
7159
|
+
|
|
7160
|
+
/**
|
|
7161
|
+
* Creates a new OrganizationAccessGroupMapCreated instance using the specified properties.
|
|
7162
|
+
* @param [properties] Properties to set
|
|
7163
|
+
* @returns OrganizationAccessGroupMapCreated instance
|
|
7164
|
+
*/
|
|
7165
|
+
public static create(properties?: IOrganizationAccessGroupMapCreated): OrganizationAccessGroupMapCreated;
|
|
7166
|
+
|
|
7167
|
+
/**
|
|
7168
|
+
* Encodes the specified OrganizationAccessGroupMapCreated message. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
|
|
7169
|
+
* @param message OrganizationAccessGroupMapCreated message or plain object to encode
|
|
7170
|
+
* @param [writer] Writer to encode to
|
|
7171
|
+
* @returns Writer
|
|
7172
|
+
*/
|
|
7173
|
+
public static encode(message: IOrganizationAccessGroupMapCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7174
|
+
|
|
7175
|
+
/**
|
|
7176
|
+
* Encodes the specified OrganizationAccessGroupMapCreated message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
|
|
7177
|
+
* @param message OrganizationAccessGroupMapCreated message or plain object to encode
|
|
7178
|
+
* @param [writer] Writer to encode to
|
|
7179
|
+
* @returns Writer
|
|
7180
|
+
*/
|
|
7181
|
+
public static encodeDelimited(message: IOrganizationAccessGroupMapCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7182
|
+
|
|
7183
|
+
/**
|
|
7184
|
+
* Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer.
|
|
7185
|
+
* @param reader Reader or buffer to decode from
|
|
7186
|
+
* @param [length] Message length if known beforehand
|
|
7187
|
+
* @returns OrganizationAccessGroupMapCreated
|
|
7188
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7189
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7190
|
+
*/
|
|
7191
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationAccessGroupMapCreated;
|
|
7192
|
+
|
|
7193
|
+
/**
|
|
7194
|
+
* Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer, length delimited.
|
|
7195
|
+
* @param reader Reader or buffer to decode from
|
|
7196
|
+
* @returns OrganizationAccessGroupMapCreated
|
|
7197
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7198
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7199
|
+
*/
|
|
7200
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationAccessGroupMapCreated;
|
|
7201
|
+
|
|
7202
|
+
/**
|
|
7203
|
+
* Verifies an OrganizationAccessGroupMapCreated message.
|
|
7204
|
+
* @param message Plain object to verify
|
|
7205
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7206
|
+
*/
|
|
7207
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7208
|
+
|
|
7209
|
+
/**
|
|
7210
|
+
* Creates an OrganizationAccessGroupMapCreated message from a plain object. Also converts values to their respective internal types.
|
|
7211
|
+
* @param object Plain object
|
|
7212
|
+
* @returns OrganizationAccessGroupMapCreated
|
|
7213
|
+
*/
|
|
7214
|
+
public static fromObject(object: { [k: string]: any }): OrganizationAccessGroupMapCreated;
|
|
7215
|
+
|
|
7216
|
+
/**
|
|
7217
|
+
* Creates a plain object from an OrganizationAccessGroupMapCreated message. Also converts values to other types if specified.
|
|
7218
|
+
* @param message OrganizationAccessGroupMapCreated
|
|
7219
|
+
* @param [options] Conversion options
|
|
7220
|
+
* @returns Plain object
|
|
7221
|
+
*/
|
|
7222
|
+
public static toObject(message: OrganizationAccessGroupMapCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7223
|
+
|
|
7224
|
+
/**
|
|
7225
|
+
* Converts this OrganizationAccessGroupMapCreated to JSON.
|
|
7226
|
+
* @returns JSON object
|
|
7227
|
+
*/
|
|
7228
|
+
public toJSON(): { [k: string]: any };
|
|
7229
|
+
}
|
|
7230
|
+
|
|
7231
|
+
/** Properties of an OrganizationAccessGroupMapDeleted. */
|
|
7232
|
+
export interface IOrganizationAccessGroupMapDeleted {
|
|
7233
|
+
|
|
7234
|
+
/** OrganizationAccessGroupMapDeleted organizationId */
|
|
7235
|
+
organizationId?: (string|null);
|
|
7236
|
+
|
|
7237
|
+
/** OrganizationAccessGroupMapDeleted accessGroupName */
|
|
7238
|
+
accessGroupName?: (string|null);
|
|
7239
|
+
|
|
7240
|
+
/** OrganizationAccessGroupMapDeleted deletedAt */
|
|
7241
|
+
deletedAt?: (number|Long|null);
|
|
7242
|
+
}
|
|
7243
|
+
|
|
7244
|
+
/** Represents an OrganizationAccessGroupMapDeleted. */
|
|
7245
|
+
export class OrganizationAccessGroupMapDeleted implements IOrganizationAccessGroupMapDeleted {
|
|
7246
|
+
|
|
7247
|
+
/**
|
|
7248
|
+
* Constructs a new OrganizationAccessGroupMapDeleted.
|
|
7249
|
+
* @param [properties] Properties to set
|
|
7250
|
+
*/
|
|
7251
|
+
constructor(properties?: IOrganizationAccessGroupMapDeleted);
|
|
7252
|
+
|
|
7253
|
+
/** OrganizationAccessGroupMapDeleted organizationId. */
|
|
7254
|
+
public organizationId: string;
|
|
7255
|
+
|
|
7256
|
+
/** OrganizationAccessGroupMapDeleted accessGroupName. */
|
|
7257
|
+
public accessGroupName: string;
|
|
7258
|
+
|
|
7259
|
+
/** OrganizationAccessGroupMapDeleted deletedAt. */
|
|
7260
|
+
public deletedAt: (number|Long);
|
|
7261
|
+
|
|
7262
|
+
/**
|
|
7263
|
+
* Creates a new OrganizationAccessGroupMapDeleted instance using the specified properties.
|
|
7264
|
+
* @param [properties] Properties to set
|
|
7265
|
+
* @returns OrganizationAccessGroupMapDeleted instance
|
|
7266
|
+
*/
|
|
7267
|
+
public static create(properties?: IOrganizationAccessGroupMapDeleted): OrganizationAccessGroupMapDeleted;
|
|
7268
|
+
|
|
7269
|
+
/**
|
|
7270
|
+
* Encodes the specified OrganizationAccessGroupMapDeleted message. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
|
|
7271
|
+
* @param message OrganizationAccessGroupMapDeleted message or plain object to encode
|
|
7272
|
+
* @param [writer] Writer to encode to
|
|
7273
|
+
* @returns Writer
|
|
7274
|
+
*/
|
|
7275
|
+
public static encode(message: IOrganizationAccessGroupMapDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7276
|
+
|
|
7277
|
+
/**
|
|
7278
|
+
* Encodes the specified OrganizationAccessGroupMapDeleted message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
|
|
7279
|
+
* @param message OrganizationAccessGroupMapDeleted message or plain object to encode
|
|
7280
|
+
* @param [writer] Writer to encode to
|
|
7281
|
+
* @returns Writer
|
|
7282
|
+
*/
|
|
7283
|
+
public static encodeDelimited(message: IOrganizationAccessGroupMapDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7284
|
+
|
|
7285
|
+
/**
|
|
7286
|
+
* Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer.
|
|
7287
|
+
* @param reader Reader or buffer to decode from
|
|
7288
|
+
* @param [length] Message length if known beforehand
|
|
7289
|
+
* @returns OrganizationAccessGroupMapDeleted
|
|
7290
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7291
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7292
|
+
*/
|
|
7293
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationAccessGroupMapDeleted;
|
|
7294
|
+
|
|
7295
|
+
/**
|
|
7296
|
+
* Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer, length delimited.
|
|
7297
|
+
* @param reader Reader or buffer to decode from
|
|
7298
|
+
* @returns OrganizationAccessGroupMapDeleted
|
|
7299
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7300
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7301
|
+
*/
|
|
7302
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationAccessGroupMapDeleted;
|
|
7303
|
+
|
|
7304
|
+
/**
|
|
7305
|
+
* Verifies an OrganizationAccessGroupMapDeleted message.
|
|
7306
|
+
* @param message Plain object to verify
|
|
7307
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7308
|
+
*/
|
|
7309
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7310
|
+
|
|
7311
|
+
/**
|
|
7312
|
+
* Creates an OrganizationAccessGroupMapDeleted message from a plain object. Also converts values to their respective internal types.
|
|
7313
|
+
* @param object Plain object
|
|
7314
|
+
* @returns OrganizationAccessGroupMapDeleted
|
|
7315
|
+
*/
|
|
7316
|
+
public static fromObject(object: { [k: string]: any }): OrganizationAccessGroupMapDeleted;
|
|
7317
|
+
|
|
7318
|
+
/**
|
|
7319
|
+
* Creates a plain object from an OrganizationAccessGroupMapDeleted message. Also converts values to other types if specified.
|
|
7320
|
+
* @param message OrganizationAccessGroupMapDeleted
|
|
7321
|
+
* @param [options] Conversion options
|
|
7322
|
+
* @returns Plain object
|
|
7323
|
+
*/
|
|
7324
|
+
public static toObject(message: OrganizationAccessGroupMapDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7325
|
+
|
|
7326
|
+
/**
|
|
7327
|
+
* Converts this OrganizationAccessGroupMapDeleted to JSON.
|
|
7328
|
+
* @returns JSON object
|
|
7329
|
+
*/
|
|
7330
|
+
public toJSON(): { [k: string]: any };
|
|
7331
|
+
}
|
|
7332
|
+
|
|
7021
7333
|
/** Properties of a ReferralSignedUp. */
|
|
7022
7334
|
export interface IReferralSignedUp {
|
|
7023
7335
|
|
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
|
/**
|
|
@@ -17556,6 +17810,498 @@ $root.AccessibleEntityDeleted = (function() {
|
|
|
17556
17810
|
return AccessibleEntityDeleted;
|
|
17557
17811
|
})();
|
|
17558
17812
|
|
|
17813
|
+
$root.OrganizationAccessGroupMapCreated = (function() {
|
|
17814
|
+
|
|
17815
|
+
/**
|
|
17816
|
+
* Properties of an OrganizationAccessGroupMapCreated.
|
|
17817
|
+
* @exports IOrganizationAccessGroupMapCreated
|
|
17818
|
+
* @interface IOrganizationAccessGroupMapCreated
|
|
17819
|
+
* @property {string|null} [organizationId] OrganizationAccessGroupMapCreated organizationId
|
|
17820
|
+
* @property {string|null} [accessGroupName] OrganizationAccessGroupMapCreated accessGroupName
|
|
17821
|
+
* @property {number|Long|null} [createdAt] OrganizationAccessGroupMapCreated createdAt
|
|
17822
|
+
*/
|
|
17823
|
+
|
|
17824
|
+
/**
|
|
17825
|
+
* Constructs a new OrganizationAccessGroupMapCreated.
|
|
17826
|
+
* @exports OrganizationAccessGroupMapCreated
|
|
17827
|
+
* @classdesc Represents an OrganizationAccessGroupMapCreated.
|
|
17828
|
+
* @implements IOrganizationAccessGroupMapCreated
|
|
17829
|
+
* @constructor
|
|
17830
|
+
* @param {IOrganizationAccessGroupMapCreated=} [properties] Properties to set
|
|
17831
|
+
*/
|
|
17832
|
+
function OrganizationAccessGroupMapCreated(properties) {
|
|
17833
|
+
if (properties)
|
|
17834
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
17835
|
+
if (properties[keys[i]] != null)
|
|
17836
|
+
this[keys[i]] = properties[keys[i]];
|
|
17837
|
+
}
|
|
17838
|
+
|
|
17839
|
+
/**
|
|
17840
|
+
* OrganizationAccessGroupMapCreated organizationId.
|
|
17841
|
+
* @member {string} organizationId
|
|
17842
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17843
|
+
* @instance
|
|
17844
|
+
*/
|
|
17845
|
+
OrganizationAccessGroupMapCreated.prototype.organizationId = "";
|
|
17846
|
+
|
|
17847
|
+
/**
|
|
17848
|
+
* OrganizationAccessGroupMapCreated accessGroupName.
|
|
17849
|
+
* @member {string} accessGroupName
|
|
17850
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17851
|
+
* @instance
|
|
17852
|
+
*/
|
|
17853
|
+
OrganizationAccessGroupMapCreated.prototype.accessGroupName = "";
|
|
17854
|
+
|
|
17855
|
+
/**
|
|
17856
|
+
* OrganizationAccessGroupMapCreated createdAt.
|
|
17857
|
+
* @member {number|Long} createdAt
|
|
17858
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17859
|
+
* @instance
|
|
17860
|
+
*/
|
|
17861
|
+
OrganizationAccessGroupMapCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
17862
|
+
|
|
17863
|
+
/**
|
|
17864
|
+
* Creates a new OrganizationAccessGroupMapCreated instance using the specified properties.
|
|
17865
|
+
* @function create
|
|
17866
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17867
|
+
* @static
|
|
17868
|
+
* @param {IOrganizationAccessGroupMapCreated=} [properties] Properties to set
|
|
17869
|
+
* @returns {OrganizationAccessGroupMapCreated} OrganizationAccessGroupMapCreated instance
|
|
17870
|
+
*/
|
|
17871
|
+
OrganizationAccessGroupMapCreated.create = function create(properties) {
|
|
17872
|
+
return new OrganizationAccessGroupMapCreated(properties);
|
|
17873
|
+
};
|
|
17874
|
+
|
|
17875
|
+
/**
|
|
17876
|
+
* Encodes the specified OrganizationAccessGroupMapCreated message. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
|
|
17877
|
+
* @function encode
|
|
17878
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17879
|
+
* @static
|
|
17880
|
+
* @param {IOrganizationAccessGroupMapCreated} message OrganizationAccessGroupMapCreated message or plain object to encode
|
|
17881
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17882
|
+
* @returns {$protobuf.Writer} Writer
|
|
17883
|
+
*/
|
|
17884
|
+
OrganizationAccessGroupMapCreated.encode = function encode(message, writer) {
|
|
17885
|
+
if (!writer)
|
|
17886
|
+
writer = $Writer.create();
|
|
17887
|
+
if (message.organizationId != null && message.hasOwnProperty("organizationId"))
|
|
17888
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.organizationId);
|
|
17889
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17890
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
|
|
17891
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
17892
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.createdAt);
|
|
17893
|
+
return writer;
|
|
17894
|
+
};
|
|
17895
|
+
|
|
17896
|
+
/**
|
|
17897
|
+
* Encodes the specified OrganizationAccessGroupMapCreated message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
|
|
17898
|
+
* @function encodeDelimited
|
|
17899
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17900
|
+
* @static
|
|
17901
|
+
* @param {IOrganizationAccessGroupMapCreated} message OrganizationAccessGroupMapCreated message or plain object to encode
|
|
17902
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17903
|
+
* @returns {$protobuf.Writer} Writer
|
|
17904
|
+
*/
|
|
17905
|
+
OrganizationAccessGroupMapCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
17906
|
+
return this.encode(message, writer).ldelim();
|
|
17907
|
+
};
|
|
17908
|
+
|
|
17909
|
+
/**
|
|
17910
|
+
* Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer.
|
|
17911
|
+
* @function decode
|
|
17912
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17913
|
+
* @static
|
|
17914
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17915
|
+
* @param {number} [length] Message length if known beforehand
|
|
17916
|
+
* @returns {OrganizationAccessGroupMapCreated} OrganizationAccessGroupMapCreated
|
|
17917
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17918
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17919
|
+
*/
|
|
17920
|
+
OrganizationAccessGroupMapCreated.decode = function decode(reader, length) {
|
|
17921
|
+
if (!(reader instanceof $Reader))
|
|
17922
|
+
reader = $Reader.create(reader);
|
|
17923
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrganizationAccessGroupMapCreated();
|
|
17924
|
+
while (reader.pos < end) {
|
|
17925
|
+
var tag = reader.uint32();
|
|
17926
|
+
switch (tag >>> 3) {
|
|
17927
|
+
case 1:
|
|
17928
|
+
message.organizationId = reader.string();
|
|
17929
|
+
break;
|
|
17930
|
+
case 2:
|
|
17931
|
+
message.accessGroupName = reader.string();
|
|
17932
|
+
break;
|
|
17933
|
+
case 3:
|
|
17934
|
+
message.createdAt = reader.uint64();
|
|
17935
|
+
break;
|
|
17936
|
+
default:
|
|
17937
|
+
reader.skipType(tag & 7);
|
|
17938
|
+
break;
|
|
17939
|
+
}
|
|
17940
|
+
}
|
|
17941
|
+
return message;
|
|
17942
|
+
};
|
|
17943
|
+
|
|
17944
|
+
/**
|
|
17945
|
+
* Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer, length delimited.
|
|
17946
|
+
* @function decodeDelimited
|
|
17947
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17948
|
+
* @static
|
|
17949
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17950
|
+
* @returns {OrganizationAccessGroupMapCreated} OrganizationAccessGroupMapCreated
|
|
17951
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17952
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17953
|
+
*/
|
|
17954
|
+
OrganizationAccessGroupMapCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
17955
|
+
if (!(reader instanceof $Reader))
|
|
17956
|
+
reader = new $Reader(reader);
|
|
17957
|
+
return this.decode(reader, reader.uint32());
|
|
17958
|
+
};
|
|
17959
|
+
|
|
17960
|
+
/**
|
|
17961
|
+
* Verifies an OrganizationAccessGroupMapCreated message.
|
|
17962
|
+
* @function verify
|
|
17963
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17964
|
+
* @static
|
|
17965
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
17966
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
17967
|
+
*/
|
|
17968
|
+
OrganizationAccessGroupMapCreated.verify = function verify(message) {
|
|
17969
|
+
if (typeof message !== "object" || message === null)
|
|
17970
|
+
return "object expected";
|
|
17971
|
+
if (message.organizationId != null && message.hasOwnProperty("organizationId"))
|
|
17972
|
+
if (!$util.isString(message.organizationId))
|
|
17973
|
+
return "organizationId: string expected";
|
|
17974
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17975
|
+
if (!$util.isString(message.accessGroupName))
|
|
17976
|
+
return "accessGroupName: string expected";
|
|
17977
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
17978
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
17979
|
+
return "createdAt: integer|Long expected";
|
|
17980
|
+
return null;
|
|
17981
|
+
};
|
|
17982
|
+
|
|
17983
|
+
/**
|
|
17984
|
+
* Creates an OrganizationAccessGroupMapCreated message from a plain object. Also converts values to their respective internal types.
|
|
17985
|
+
* @function fromObject
|
|
17986
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17987
|
+
* @static
|
|
17988
|
+
* @param {Object.<string,*>} object Plain object
|
|
17989
|
+
* @returns {OrganizationAccessGroupMapCreated} OrganizationAccessGroupMapCreated
|
|
17990
|
+
*/
|
|
17991
|
+
OrganizationAccessGroupMapCreated.fromObject = function fromObject(object) {
|
|
17992
|
+
if (object instanceof $root.OrganizationAccessGroupMapCreated)
|
|
17993
|
+
return object;
|
|
17994
|
+
var message = new $root.OrganizationAccessGroupMapCreated();
|
|
17995
|
+
if (object.organizationId != null)
|
|
17996
|
+
message.organizationId = String(object.organizationId);
|
|
17997
|
+
if (object.accessGroupName != null)
|
|
17998
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
17999
|
+
if (object.createdAt != null)
|
|
18000
|
+
if ($util.Long)
|
|
18001
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
18002
|
+
else if (typeof object.createdAt === "string")
|
|
18003
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
18004
|
+
else if (typeof object.createdAt === "number")
|
|
18005
|
+
message.createdAt = object.createdAt;
|
|
18006
|
+
else if (typeof object.createdAt === "object")
|
|
18007
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
18008
|
+
return message;
|
|
18009
|
+
};
|
|
18010
|
+
|
|
18011
|
+
/**
|
|
18012
|
+
* Creates a plain object from an OrganizationAccessGroupMapCreated message. Also converts values to other types if specified.
|
|
18013
|
+
* @function toObject
|
|
18014
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
18015
|
+
* @static
|
|
18016
|
+
* @param {OrganizationAccessGroupMapCreated} message OrganizationAccessGroupMapCreated
|
|
18017
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
18018
|
+
* @returns {Object.<string,*>} Plain object
|
|
18019
|
+
*/
|
|
18020
|
+
OrganizationAccessGroupMapCreated.toObject = function toObject(message, options) {
|
|
18021
|
+
if (!options)
|
|
18022
|
+
options = {};
|
|
18023
|
+
var object = {};
|
|
18024
|
+
if (options.defaults) {
|
|
18025
|
+
object.organizationId = "";
|
|
18026
|
+
object.accessGroupName = "";
|
|
18027
|
+
if ($util.Long) {
|
|
18028
|
+
var long = new $util.Long(0, 0, true);
|
|
18029
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
18030
|
+
} else
|
|
18031
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
18032
|
+
}
|
|
18033
|
+
if (message.organizationId != null && message.hasOwnProperty("organizationId"))
|
|
18034
|
+
object.organizationId = message.organizationId;
|
|
18035
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
18036
|
+
object.accessGroupName = message.accessGroupName;
|
|
18037
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
18038
|
+
if (typeof message.createdAt === "number")
|
|
18039
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
18040
|
+
else
|
|
18041
|
+
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;
|
|
18042
|
+
return object;
|
|
18043
|
+
};
|
|
18044
|
+
|
|
18045
|
+
/**
|
|
18046
|
+
* Converts this OrganizationAccessGroupMapCreated to JSON.
|
|
18047
|
+
* @function toJSON
|
|
18048
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
18049
|
+
* @instance
|
|
18050
|
+
* @returns {Object.<string,*>} JSON object
|
|
18051
|
+
*/
|
|
18052
|
+
OrganizationAccessGroupMapCreated.prototype.toJSON = function toJSON() {
|
|
18053
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
18054
|
+
};
|
|
18055
|
+
|
|
18056
|
+
return OrganizationAccessGroupMapCreated;
|
|
18057
|
+
})();
|
|
18058
|
+
|
|
18059
|
+
$root.OrganizationAccessGroupMapDeleted = (function() {
|
|
18060
|
+
|
|
18061
|
+
/**
|
|
18062
|
+
* Properties of an OrganizationAccessGroupMapDeleted.
|
|
18063
|
+
* @exports IOrganizationAccessGroupMapDeleted
|
|
18064
|
+
* @interface IOrganizationAccessGroupMapDeleted
|
|
18065
|
+
* @property {string|null} [organizationId] OrganizationAccessGroupMapDeleted organizationId
|
|
18066
|
+
* @property {string|null} [accessGroupName] OrganizationAccessGroupMapDeleted accessGroupName
|
|
18067
|
+
* @property {number|Long|null} [deletedAt] OrganizationAccessGroupMapDeleted deletedAt
|
|
18068
|
+
*/
|
|
18069
|
+
|
|
18070
|
+
/**
|
|
18071
|
+
* Constructs a new OrganizationAccessGroupMapDeleted.
|
|
18072
|
+
* @exports OrganizationAccessGroupMapDeleted
|
|
18073
|
+
* @classdesc Represents an OrganizationAccessGroupMapDeleted.
|
|
18074
|
+
* @implements IOrganizationAccessGroupMapDeleted
|
|
18075
|
+
* @constructor
|
|
18076
|
+
* @param {IOrganizationAccessGroupMapDeleted=} [properties] Properties to set
|
|
18077
|
+
*/
|
|
18078
|
+
function OrganizationAccessGroupMapDeleted(properties) {
|
|
18079
|
+
if (properties)
|
|
18080
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
18081
|
+
if (properties[keys[i]] != null)
|
|
18082
|
+
this[keys[i]] = properties[keys[i]];
|
|
18083
|
+
}
|
|
18084
|
+
|
|
18085
|
+
/**
|
|
18086
|
+
* OrganizationAccessGroupMapDeleted organizationId.
|
|
18087
|
+
* @member {string} organizationId
|
|
18088
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18089
|
+
* @instance
|
|
18090
|
+
*/
|
|
18091
|
+
OrganizationAccessGroupMapDeleted.prototype.organizationId = "";
|
|
18092
|
+
|
|
18093
|
+
/**
|
|
18094
|
+
* OrganizationAccessGroupMapDeleted accessGroupName.
|
|
18095
|
+
* @member {string} accessGroupName
|
|
18096
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18097
|
+
* @instance
|
|
18098
|
+
*/
|
|
18099
|
+
OrganizationAccessGroupMapDeleted.prototype.accessGroupName = "";
|
|
18100
|
+
|
|
18101
|
+
/**
|
|
18102
|
+
* OrganizationAccessGroupMapDeleted deletedAt.
|
|
18103
|
+
* @member {number|Long} deletedAt
|
|
18104
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18105
|
+
* @instance
|
|
18106
|
+
*/
|
|
18107
|
+
OrganizationAccessGroupMapDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
18108
|
+
|
|
18109
|
+
/**
|
|
18110
|
+
* Creates a new OrganizationAccessGroupMapDeleted instance using the specified properties.
|
|
18111
|
+
* @function create
|
|
18112
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18113
|
+
* @static
|
|
18114
|
+
* @param {IOrganizationAccessGroupMapDeleted=} [properties] Properties to set
|
|
18115
|
+
* @returns {OrganizationAccessGroupMapDeleted} OrganizationAccessGroupMapDeleted instance
|
|
18116
|
+
*/
|
|
18117
|
+
OrganizationAccessGroupMapDeleted.create = function create(properties) {
|
|
18118
|
+
return new OrganizationAccessGroupMapDeleted(properties);
|
|
18119
|
+
};
|
|
18120
|
+
|
|
18121
|
+
/**
|
|
18122
|
+
* Encodes the specified OrganizationAccessGroupMapDeleted message. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
|
|
18123
|
+
* @function encode
|
|
18124
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18125
|
+
* @static
|
|
18126
|
+
* @param {IOrganizationAccessGroupMapDeleted} message OrganizationAccessGroupMapDeleted message or plain object to encode
|
|
18127
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
18128
|
+
* @returns {$protobuf.Writer} Writer
|
|
18129
|
+
*/
|
|
18130
|
+
OrganizationAccessGroupMapDeleted.encode = function encode(message, writer) {
|
|
18131
|
+
if (!writer)
|
|
18132
|
+
writer = $Writer.create();
|
|
18133
|
+
if (message.organizationId != null && message.hasOwnProperty("organizationId"))
|
|
18134
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.organizationId);
|
|
18135
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
18136
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
|
|
18137
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
18138
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.deletedAt);
|
|
18139
|
+
return writer;
|
|
18140
|
+
};
|
|
18141
|
+
|
|
18142
|
+
/**
|
|
18143
|
+
* Encodes the specified OrganizationAccessGroupMapDeleted message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
|
|
18144
|
+
* @function encodeDelimited
|
|
18145
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18146
|
+
* @static
|
|
18147
|
+
* @param {IOrganizationAccessGroupMapDeleted} message OrganizationAccessGroupMapDeleted message or plain object to encode
|
|
18148
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
18149
|
+
* @returns {$protobuf.Writer} Writer
|
|
18150
|
+
*/
|
|
18151
|
+
OrganizationAccessGroupMapDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
18152
|
+
return this.encode(message, writer).ldelim();
|
|
18153
|
+
};
|
|
18154
|
+
|
|
18155
|
+
/**
|
|
18156
|
+
* Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer.
|
|
18157
|
+
* @function decode
|
|
18158
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18159
|
+
* @static
|
|
18160
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
18161
|
+
* @param {number} [length] Message length if known beforehand
|
|
18162
|
+
* @returns {OrganizationAccessGroupMapDeleted} OrganizationAccessGroupMapDeleted
|
|
18163
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18164
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18165
|
+
*/
|
|
18166
|
+
OrganizationAccessGroupMapDeleted.decode = function decode(reader, length) {
|
|
18167
|
+
if (!(reader instanceof $Reader))
|
|
18168
|
+
reader = $Reader.create(reader);
|
|
18169
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrganizationAccessGroupMapDeleted();
|
|
18170
|
+
while (reader.pos < end) {
|
|
18171
|
+
var tag = reader.uint32();
|
|
18172
|
+
switch (tag >>> 3) {
|
|
18173
|
+
case 1:
|
|
18174
|
+
message.organizationId = reader.string();
|
|
18175
|
+
break;
|
|
18176
|
+
case 2:
|
|
18177
|
+
message.accessGroupName = reader.string();
|
|
18178
|
+
break;
|
|
18179
|
+
case 3:
|
|
18180
|
+
message.deletedAt = reader.uint64();
|
|
18181
|
+
break;
|
|
18182
|
+
default:
|
|
18183
|
+
reader.skipType(tag & 7);
|
|
18184
|
+
break;
|
|
18185
|
+
}
|
|
18186
|
+
}
|
|
18187
|
+
return message;
|
|
18188
|
+
};
|
|
18189
|
+
|
|
18190
|
+
/**
|
|
18191
|
+
* Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer, length delimited.
|
|
18192
|
+
* @function decodeDelimited
|
|
18193
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18194
|
+
* @static
|
|
18195
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
18196
|
+
* @returns {OrganizationAccessGroupMapDeleted} OrganizationAccessGroupMapDeleted
|
|
18197
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18198
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18199
|
+
*/
|
|
18200
|
+
OrganizationAccessGroupMapDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
18201
|
+
if (!(reader instanceof $Reader))
|
|
18202
|
+
reader = new $Reader(reader);
|
|
18203
|
+
return this.decode(reader, reader.uint32());
|
|
18204
|
+
};
|
|
18205
|
+
|
|
18206
|
+
/**
|
|
18207
|
+
* Verifies an OrganizationAccessGroupMapDeleted message.
|
|
18208
|
+
* @function verify
|
|
18209
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18210
|
+
* @static
|
|
18211
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
18212
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
18213
|
+
*/
|
|
18214
|
+
OrganizationAccessGroupMapDeleted.verify = function verify(message) {
|
|
18215
|
+
if (typeof message !== "object" || message === null)
|
|
18216
|
+
return "object expected";
|
|
18217
|
+
if (message.organizationId != null && message.hasOwnProperty("organizationId"))
|
|
18218
|
+
if (!$util.isString(message.organizationId))
|
|
18219
|
+
return "organizationId: string expected";
|
|
18220
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
18221
|
+
if (!$util.isString(message.accessGroupName))
|
|
18222
|
+
return "accessGroupName: string expected";
|
|
18223
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
18224
|
+
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
18225
|
+
return "deletedAt: integer|Long expected";
|
|
18226
|
+
return null;
|
|
18227
|
+
};
|
|
18228
|
+
|
|
18229
|
+
/**
|
|
18230
|
+
* Creates an OrganizationAccessGroupMapDeleted message from a plain object. Also converts values to their respective internal types.
|
|
18231
|
+
* @function fromObject
|
|
18232
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18233
|
+
* @static
|
|
18234
|
+
* @param {Object.<string,*>} object Plain object
|
|
18235
|
+
* @returns {OrganizationAccessGroupMapDeleted} OrganizationAccessGroupMapDeleted
|
|
18236
|
+
*/
|
|
18237
|
+
OrganizationAccessGroupMapDeleted.fromObject = function fromObject(object) {
|
|
18238
|
+
if (object instanceof $root.OrganizationAccessGroupMapDeleted)
|
|
18239
|
+
return object;
|
|
18240
|
+
var message = new $root.OrganizationAccessGroupMapDeleted();
|
|
18241
|
+
if (object.organizationId != null)
|
|
18242
|
+
message.organizationId = String(object.organizationId);
|
|
18243
|
+
if (object.accessGroupName != null)
|
|
18244
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
18245
|
+
if (object.deletedAt != null)
|
|
18246
|
+
if ($util.Long)
|
|
18247
|
+
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
18248
|
+
else if (typeof object.deletedAt === "string")
|
|
18249
|
+
message.deletedAt = parseInt(object.deletedAt, 10);
|
|
18250
|
+
else if (typeof object.deletedAt === "number")
|
|
18251
|
+
message.deletedAt = object.deletedAt;
|
|
18252
|
+
else if (typeof object.deletedAt === "object")
|
|
18253
|
+
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
18254
|
+
return message;
|
|
18255
|
+
};
|
|
18256
|
+
|
|
18257
|
+
/**
|
|
18258
|
+
* Creates a plain object from an OrganizationAccessGroupMapDeleted message. Also converts values to other types if specified.
|
|
18259
|
+
* @function toObject
|
|
18260
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18261
|
+
* @static
|
|
18262
|
+
* @param {OrganizationAccessGroupMapDeleted} message OrganizationAccessGroupMapDeleted
|
|
18263
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
18264
|
+
* @returns {Object.<string,*>} Plain object
|
|
18265
|
+
*/
|
|
18266
|
+
OrganizationAccessGroupMapDeleted.toObject = function toObject(message, options) {
|
|
18267
|
+
if (!options)
|
|
18268
|
+
options = {};
|
|
18269
|
+
var object = {};
|
|
18270
|
+
if (options.defaults) {
|
|
18271
|
+
object.organizationId = "";
|
|
18272
|
+
object.accessGroupName = "";
|
|
18273
|
+
if ($util.Long) {
|
|
18274
|
+
var long = new $util.Long(0, 0, true);
|
|
18275
|
+
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
18276
|
+
} else
|
|
18277
|
+
object.deletedAt = options.longs === String ? "0" : 0;
|
|
18278
|
+
}
|
|
18279
|
+
if (message.organizationId != null && message.hasOwnProperty("organizationId"))
|
|
18280
|
+
object.organizationId = message.organizationId;
|
|
18281
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
18282
|
+
object.accessGroupName = message.accessGroupName;
|
|
18283
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
18284
|
+
if (typeof message.deletedAt === "number")
|
|
18285
|
+
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
18286
|
+
else
|
|
18287
|
+
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;
|
|
18288
|
+
return object;
|
|
18289
|
+
};
|
|
18290
|
+
|
|
18291
|
+
/**
|
|
18292
|
+
* Converts this OrganizationAccessGroupMapDeleted to JSON.
|
|
18293
|
+
* @function toJSON
|
|
18294
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18295
|
+
* @instance
|
|
18296
|
+
* @returns {Object.<string,*>} JSON object
|
|
18297
|
+
*/
|
|
18298
|
+
OrganizationAccessGroupMapDeleted.prototype.toJSON = function toJSON() {
|
|
18299
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
18300
|
+
};
|
|
18301
|
+
|
|
18302
|
+
return OrganizationAccessGroupMapDeleted;
|
|
18303
|
+
})();
|
|
18304
|
+
|
|
17559
18305
|
$root.ReferralSignedUp = (function() {
|
|
17560
18306
|
|
|
17561
18307
|
/**
|
package/package.json
CHANGED