@headspace/protos-events 1.86.0 → 1.88.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 +210 -0
- package/lib/index.js +514 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3687,6 +3687,9 @@ export interface ISurveyResponse {
|
|
|
3687
3687
|
|
|
3688
3688
|
/** SurveyResponse createdAtIsoDate */
|
|
3689
3689
|
createdAtIsoDate?: (string|null);
|
|
3690
|
+
|
|
3691
|
+
/** SurveyResponse surveyType */
|
|
3692
|
+
surveyType?: (string|null);
|
|
3690
3693
|
}
|
|
3691
3694
|
|
|
3692
3695
|
/** Represents a SurveyResponse. */
|
|
@@ -3710,6 +3713,9 @@ export class SurveyResponse implements ISurveyResponse {
|
|
|
3710
3713
|
/** SurveyResponse createdAtIsoDate. */
|
|
3711
3714
|
public createdAtIsoDate: string;
|
|
3712
3715
|
|
|
3716
|
+
/** SurveyResponse surveyType. */
|
|
3717
|
+
public surveyType: string;
|
|
3718
|
+
|
|
3713
3719
|
/**
|
|
3714
3720
|
* Creates a new SurveyResponse instance using the specified properties.
|
|
3715
3721
|
* @param [properties] Properties to set
|
|
@@ -7012,6 +7018,210 @@ export class AccessibleEntityDeleted implements IAccessibleEntityDeleted {
|
|
|
7012
7018
|
public toJSON(): { [k: string]: any };
|
|
7013
7019
|
}
|
|
7014
7020
|
|
|
7021
|
+
/** Properties of an OrganizationAccessGroupMapCreated. */
|
|
7022
|
+
export interface IOrganizationAccessGroupMapCreated {
|
|
7023
|
+
|
|
7024
|
+
/** OrganizationAccessGroupMapCreated organizationId */
|
|
7025
|
+
organizationId?: (string|null);
|
|
7026
|
+
|
|
7027
|
+
/** OrganizationAccessGroupMapCreated accessGroupName */
|
|
7028
|
+
accessGroupName?: (string|null);
|
|
7029
|
+
|
|
7030
|
+
/** OrganizationAccessGroupMapCreated createdAt */
|
|
7031
|
+
createdAt?: (number|Long|null);
|
|
7032
|
+
}
|
|
7033
|
+
|
|
7034
|
+
/** Represents an OrganizationAccessGroupMapCreated. */
|
|
7035
|
+
export class OrganizationAccessGroupMapCreated implements IOrganizationAccessGroupMapCreated {
|
|
7036
|
+
|
|
7037
|
+
/**
|
|
7038
|
+
* Constructs a new OrganizationAccessGroupMapCreated.
|
|
7039
|
+
* @param [properties] Properties to set
|
|
7040
|
+
*/
|
|
7041
|
+
constructor(properties?: IOrganizationAccessGroupMapCreated);
|
|
7042
|
+
|
|
7043
|
+
/** OrganizationAccessGroupMapCreated organizationId. */
|
|
7044
|
+
public organizationId: string;
|
|
7045
|
+
|
|
7046
|
+
/** OrganizationAccessGroupMapCreated accessGroupName. */
|
|
7047
|
+
public accessGroupName: string;
|
|
7048
|
+
|
|
7049
|
+
/** OrganizationAccessGroupMapCreated createdAt. */
|
|
7050
|
+
public createdAt: (number|Long);
|
|
7051
|
+
|
|
7052
|
+
/**
|
|
7053
|
+
* Creates a new OrganizationAccessGroupMapCreated instance using the specified properties.
|
|
7054
|
+
* @param [properties] Properties to set
|
|
7055
|
+
* @returns OrganizationAccessGroupMapCreated instance
|
|
7056
|
+
*/
|
|
7057
|
+
public static create(properties?: IOrganizationAccessGroupMapCreated): OrganizationAccessGroupMapCreated;
|
|
7058
|
+
|
|
7059
|
+
/**
|
|
7060
|
+
* Encodes the specified OrganizationAccessGroupMapCreated message. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
|
|
7061
|
+
* @param message OrganizationAccessGroupMapCreated message or plain object to encode
|
|
7062
|
+
* @param [writer] Writer to encode to
|
|
7063
|
+
* @returns Writer
|
|
7064
|
+
*/
|
|
7065
|
+
public static encode(message: IOrganizationAccessGroupMapCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7066
|
+
|
|
7067
|
+
/**
|
|
7068
|
+
* Encodes the specified OrganizationAccessGroupMapCreated message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
|
|
7069
|
+
* @param message OrganizationAccessGroupMapCreated message or plain object to encode
|
|
7070
|
+
* @param [writer] Writer to encode to
|
|
7071
|
+
* @returns Writer
|
|
7072
|
+
*/
|
|
7073
|
+
public static encodeDelimited(message: IOrganizationAccessGroupMapCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7074
|
+
|
|
7075
|
+
/**
|
|
7076
|
+
* Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer.
|
|
7077
|
+
* @param reader Reader or buffer to decode from
|
|
7078
|
+
* @param [length] Message length if known beforehand
|
|
7079
|
+
* @returns OrganizationAccessGroupMapCreated
|
|
7080
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7081
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7082
|
+
*/
|
|
7083
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationAccessGroupMapCreated;
|
|
7084
|
+
|
|
7085
|
+
/**
|
|
7086
|
+
* Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer, length delimited.
|
|
7087
|
+
* @param reader Reader or buffer to decode from
|
|
7088
|
+
* @returns OrganizationAccessGroupMapCreated
|
|
7089
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7090
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7091
|
+
*/
|
|
7092
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationAccessGroupMapCreated;
|
|
7093
|
+
|
|
7094
|
+
/**
|
|
7095
|
+
* Verifies an OrganizationAccessGroupMapCreated message.
|
|
7096
|
+
* @param message Plain object to verify
|
|
7097
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7098
|
+
*/
|
|
7099
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7100
|
+
|
|
7101
|
+
/**
|
|
7102
|
+
* Creates an OrganizationAccessGroupMapCreated message from a plain object. Also converts values to their respective internal types.
|
|
7103
|
+
* @param object Plain object
|
|
7104
|
+
* @returns OrganizationAccessGroupMapCreated
|
|
7105
|
+
*/
|
|
7106
|
+
public static fromObject(object: { [k: string]: any }): OrganizationAccessGroupMapCreated;
|
|
7107
|
+
|
|
7108
|
+
/**
|
|
7109
|
+
* Creates a plain object from an OrganizationAccessGroupMapCreated message. Also converts values to other types if specified.
|
|
7110
|
+
* @param message OrganizationAccessGroupMapCreated
|
|
7111
|
+
* @param [options] Conversion options
|
|
7112
|
+
* @returns Plain object
|
|
7113
|
+
*/
|
|
7114
|
+
public static toObject(message: OrganizationAccessGroupMapCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7115
|
+
|
|
7116
|
+
/**
|
|
7117
|
+
* Converts this OrganizationAccessGroupMapCreated to JSON.
|
|
7118
|
+
* @returns JSON object
|
|
7119
|
+
*/
|
|
7120
|
+
public toJSON(): { [k: string]: any };
|
|
7121
|
+
}
|
|
7122
|
+
|
|
7123
|
+
/** Properties of an OrganizationAccessGroupMapDeleted. */
|
|
7124
|
+
export interface IOrganizationAccessGroupMapDeleted {
|
|
7125
|
+
|
|
7126
|
+
/** OrganizationAccessGroupMapDeleted organizationId */
|
|
7127
|
+
organizationId?: (string|null);
|
|
7128
|
+
|
|
7129
|
+
/** OrganizationAccessGroupMapDeleted accessGroupName */
|
|
7130
|
+
accessGroupName?: (string|null);
|
|
7131
|
+
|
|
7132
|
+
/** OrganizationAccessGroupMapDeleted deletedAt */
|
|
7133
|
+
deletedAt?: (number|Long|null);
|
|
7134
|
+
}
|
|
7135
|
+
|
|
7136
|
+
/** Represents an OrganizationAccessGroupMapDeleted. */
|
|
7137
|
+
export class OrganizationAccessGroupMapDeleted implements IOrganizationAccessGroupMapDeleted {
|
|
7138
|
+
|
|
7139
|
+
/**
|
|
7140
|
+
* Constructs a new OrganizationAccessGroupMapDeleted.
|
|
7141
|
+
* @param [properties] Properties to set
|
|
7142
|
+
*/
|
|
7143
|
+
constructor(properties?: IOrganizationAccessGroupMapDeleted);
|
|
7144
|
+
|
|
7145
|
+
/** OrganizationAccessGroupMapDeleted organizationId. */
|
|
7146
|
+
public organizationId: string;
|
|
7147
|
+
|
|
7148
|
+
/** OrganizationAccessGroupMapDeleted accessGroupName. */
|
|
7149
|
+
public accessGroupName: string;
|
|
7150
|
+
|
|
7151
|
+
/** OrganizationAccessGroupMapDeleted deletedAt. */
|
|
7152
|
+
public deletedAt: (number|Long);
|
|
7153
|
+
|
|
7154
|
+
/**
|
|
7155
|
+
* Creates a new OrganizationAccessGroupMapDeleted instance using the specified properties.
|
|
7156
|
+
* @param [properties] Properties to set
|
|
7157
|
+
* @returns OrganizationAccessGroupMapDeleted instance
|
|
7158
|
+
*/
|
|
7159
|
+
public static create(properties?: IOrganizationAccessGroupMapDeleted): OrganizationAccessGroupMapDeleted;
|
|
7160
|
+
|
|
7161
|
+
/**
|
|
7162
|
+
* Encodes the specified OrganizationAccessGroupMapDeleted message. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
|
|
7163
|
+
* @param message OrganizationAccessGroupMapDeleted message or plain object to encode
|
|
7164
|
+
* @param [writer] Writer to encode to
|
|
7165
|
+
* @returns Writer
|
|
7166
|
+
*/
|
|
7167
|
+
public static encode(message: IOrganizationAccessGroupMapDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7168
|
+
|
|
7169
|
+
/**
|
|
7170
|
+
* Encodes the specified OrganizationAccessGroupMapDeleted message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
|
|
7171
|
+
* @param message OrganizationAccessGroupMapDeleted message or plain object to encode
|
|
7172
|
+
* @param [writer] Writer to encode to
|
|
7173
|
+
* @returns Writer
|
|
7174
|
+
*/
|
|
7175
|
+
public static encodeDelimited(message: IOrganizationAccessGroupMapDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7176
|
+
|
|
7177
|
+
/**
|
|
7178
|
+
* Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer.
|
|
7179
|
+
* @param reader Reader or buffer to decode from
|
|
7180
|
+
* @param [length] Message length if known beforehand
|
|
7181
|
+
* @returns OrganizationAccessGroupMapDeleted
|
|
7182
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7183
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7184
|
+
*/
|
|
7185
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OrganizationAccessGroupMapDeleted;
|
|
7186
|
+
|
|
7187
|
+
/**
|
|
7188
|
+
* Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer, length delimited.
|
|
7189
|
+
* @param reader Reader or buffer to decode from
|
|
7190
|
+
* @returns OrganizationAccessGroupMapDeleted
|
|
7191
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7192
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7193
|
+
*/
|
|
7194
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OrganizationAccessGroupMapDeleted;
|
|
7195
|
+
|
|
7196
|
+
/**
|
|
7197
|
+
* Verifies an OrganizationAccessGroupMapDeleted message.
|
|
7198
|
+
* @param message Plain object to verify
|
|
7199
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7200
|
+
*/
|
|
7201
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7202
|
+
|
|
7203
|
+
/**
|
|
7204
|
+
* Creates an OrganizationAccessGroupMapDeleted message from a plain object. Also converts values to their respective internal types.
|
|
7205
|
+
* @param object Plain object
|
|
7206
|
+
* @returns OrganizationAccessGroupMapDeleted
|
|
7207
|
+
*/
|
|
7208
|
+
public static fromObject(object: { [k: string]: any }): OrganizationAccessGroupMapDeleted;
|
|
7209
|
+
|
|
7210
|
+
/**
|
|
7211
|
+
* Creates a plain object from an OrganizationAccessGroupMapDeleted message. Also converts values to other types if specified.
|
|
7212
|
+
* @param message OrganizationAccessGroupMapDeleted
|
|
7213
|
+
* @param [options] Conversion options
|
|
7214
|
+
* @returns Plain object
|
|
7215
|
+
*/
|
|
7216
|
+
public static toObject(message: OrganizationAccessGroupMapDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7217
|
+
|
|
7218
|
+
/**
|
|
7219
|
+
* Converts this OrganizationAccessGroupMapDeleted to JSON.
|
|
7220
|
+
* @returns JSON object
|
|
7221
|
+
*/
|
|
7222
|
+
public toJSON(): { [k: string]: any };
|
|
7223
|
+
}
|
|
7224
|
+
|
|
7015
7225
|
/** Properties of a ReferralSignedUp. */
|
|
7016
7226
|
export interface IReferralSignedUp {
|
|
7017
7227
|
|
package/lib/index.js
CHANGED
|
@@ -9161,6 +9161,7 @@ $root.SurveyResponse = (function() {
|
|
|
9161
9161
|
* @property {string|null} [surveyId] SurveyResponse surveyId
|
|
9162
9162
|
* @property {Array.<ISurveyQuestion>|null} [questions] SurveyResponse questions
|
|
9163
9163
|
* @property {string|null} [createdAtIsoDate] SurveyResponse createdAtIsoDate
|
|
9164
|
+
* @property {string|null} [surveyType] SurveyResponse surveyType
|
|
9164
9165
|
*/
|
|
9165
9166
|
|
|
9166
9167
|
/**
|
|
@@ -9211,6 +9212,14 @@ $root.SurveyResponse = (function() {
|
|
|
9211
9212
|
*/
|
|
9212
9213
|
SurveyResponse.prototype.createdAtIsoDate = "";
|
|
9213
9214
|
|
|
9215
|
+
/**
|
|
9216
|
+
* SurveyResponse surveyType.
|
|
9217
|
+
* @member {string} surveyType
|
|
9218
|
+
* @memberof SurveyResponse
|
|
9219
|
+
* @instance
|
|
9220
|
+
*/
|
|
9221
|
+
SurveyResponse.prototype.surveyType = "";
|
|
9222
|
+
|
|
9214
9223
|
/**
|
|
9215
9224
|
* Creates a new SurveyResponse instance using the specified properties.
|
|
9216
9225
|
* @function create
|
|
@@ -9244,6 +9253,8 @@ $root.SurveyResponse = (function() {
|
|
|
9244
9253
|
$root.SurveyQuestion.encode(message.questions[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
9245
9254
|
if (message.createdAtIsoDate != null && message.hasOwnProperty("createdAtIsoDate"))
|
|
9246
9255
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.createdAtIsoDate);
|
|
9256
|
+
if (message.surveyType != null && message.hasOwnProperty("surveyType"))
|
|
9257
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.surveyType);
|
|
9247
9258
|
return writer;
|
|
9248
9259
|
};
|
|
9249
9260
|
|
|
@@ -9292,6 +9303,9 @@ $root.SurveyResponse = (function() {
|
|
|
9292
9303
|
case 4:
|
|
9293
9304
|
message.createdAtIsoDate = reader.string();
|
|
9294
9305
|
break;
|
|
9306
|
+
case 5:
|
|
9307
|
+
message.surveyType = reader.string();
|
|
9308
|
+
break;
|
|
9295
9309
|
default:
|
|
9296
9310
|
reader.skipType(tag & 7);
|
|
9297
9311
|
break;
|
|
@@ -9345,6 +9359,9 @@ $root.SurveyResponse = (function() {
|
|
|
9345
9359
|
if (message.createdAtIsoDate != null && message.hasOwnProperty("createdAtIsoDate"))
|
|
9346
9360
|
if (!$util.isString(message.createdAtIsoDate))
|
|
9347
9361
|
return "createdAtIsoDate: string expected";
|
|
9362
|
+
if (message.surveyType != null && message.hasOwnProperty("surveyType"))
|
|
9363
|
+
if (!$util.isString(message.surveyType))
|
|
9364
|
+
return "surveyType: string expected";
|
|
9348
9365
|
return null;
|
|
9349
9366
|
};
|
|
9350
9367
|
|
|
@@ -9376,6 +9393,8 @@ $root.SurveyResponse = (function() {
|
|
|
9376
9393
|
}
|
|
9377
9394
|
if (object.createdAtIsoDate != null)
|
|
9378
9395
|
message.createdAtIsoDate = String(object.createdAtIsoDate);
|
|
9396
|
+
if (object.surveyType != null)
|
|
9397
|
+
message.surveyType = String(object.surveyType);
|
|
9379
9398
|
return message;
|
|
9380
9399
|
};
|
|
9381
9400
|
|
|
@@ -9398,6 +9417,7 @@ $root.SurveyResponse = (function() {
|
|
|
9398
9417
|
object.userId = "";
|
|
9399
9418
|
object.surveyId = "";
|
|
9400
9419
|
object.createdAtIsoDate = "";
|
|
9420
|
+
object.surveyType = "";
|
|
9401
9421
|
}
|
|
9402
9422
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
9403
9423
|
object.userId = message.userId;
|
|
@@ -9410,6 +9430,8 @@ $root.SurveyResponse = (function() {
|
|
|
9410
9430
|
}
|
|
9411
9431
|
if (message.createdAtIsoDate != null && message.hasOwnProperty("createdAtIsoDate"))
|
|
9412
9432
|
object.createdAtIsoDate = message.createdAtIsoDate;
|
|
9433
|
+
if (message.surveyType != null && message.hasOwnProperty("surveyType"))
|
|
9434
|
+
object.surveyType = message.surveyType;
|
|
9413
9435
|
return object;
|
|
9414
9436
|
};
|
|
9415
9437
|
|
|
@@ -17534,6 +17556,498 @@ $root.AccessibleEntityDeleted = (function() {
|
|
|
17534
17556
|
return AccessibleEntityDeleted;
|
|
17535
17557
|
})();
|
|
17536
17558
|
|
|
17559
|
+
$root.OrganizationAccessGroupMapCreated = (function() {
|
|
17560
|
+
|
|
17561
|
+
/**
|
|
17562
|
+
* Properties of an OrganizationAccessGroupMapCreated.
|
|
17563
|
+
* @exports IOrganizationAccessGroupMapCreated
|
|
17564
|
+
* @interface IOrganizationAccessGroupMapCreated
|
|
17565
|
+
* @property {string|null} [organizationId] OrganizationAccessGroupMapCreated organizationId
|
|
17566
|
+
* @property {string|null} [accessGroupName] OrganizationAccessGroupMapCreated accessGroupName
|
|
17567
|
+
* @property {number|Long|null} [createdAt] OrganizationAccessGroupMapCreated createdAt
|
|
17568
|
+
*/
|
|
17569
|
+
|
|
17570
|
+
/**
|
|
17571
|
+
* Constructs a new OrganizationAccessGroupMapCreated.
|
|
17572
|
+
* @exports OrganizationAccessGroupMapCreated
|
|
17573
|
+
* @classdesc Represents an OrganizationAccessGroupMapCreated.
|
|
17574
|
+
* @implements IOrganizationAccessGroupMapCreated
|
|
17575
|
+
* @constructor
|
|
17576
|
+
* @param {IOrganizationAccessGroupMapCreated=} [properties] Properties to set
|
|
17577
|
+
*/
|
|
17578
|
+
function OrganizationAccessGroupMapCreated(properties) {
|
|
17579
|
+
if (properties)
|
|
17580
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
17581
|
+
if (properties[keys[i]] != null)
|
|
17582
|
+
this[keys[i]] = properties[keys[i]];
|
|
17583
|
+
}
|
|
17584
|
+
|
|
17585
|
+
/**
|
|
17586
|
+
* OrganizationAccessGroupMapCreated organizationId.
|
|
17587
|
+
* @member {string} organizationId
|
|
17588
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17589
|
+
* @instance
|
|
17590
|
+
*/
|
|
17591
|
+
OrganizationAccessGroupMapCreated.prototype.organizationId = "";
|
|
17592
|
+
|
|
17593
|
+
/**
|
|
17594
|
+
* OrganizationAccessGroupMapCreated accessGroupName.
|
|
17595
|
+
* @member {string} accessGroupName
|
|
17596
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17597
|
+
* @instance
|
|
17598
|
+
*/
|
|
17599
|
+
OrganizationAccessGroupMapCreated.prototype.accessGroupName = "";
|
|
17600
|
+
|
|
17601
|
+
/**
|
|
17602
|
+
* OrganizationAccessGroupMapCreated createdAt.
|
|
17603
|
+
* @member {number|Long} createdAt
|
|
17604
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17605
|
+
* @instance
|
|
17606
|
+
*/
|
|
17607
|
+
OrganizationAccessGroupMapCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
17608
|
+
|
|
17609
|
+
/**
|
|
17610
|
+
* Creates a new OrganizationAccessGroupMapCreated instance using the specified properties.
|
|
17611
|
+
* @function create
|
|
17612
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17613
|
+
* @static
|
|
17614
|
+
* @param {IOrganizationAccessGroupMapCreated=} [properties] Properties to set
|
|
17615
|
+
* @returns {OrganizationAccessGroupMapCreated} OrganizationAccessGroupMapCreated instance
|
|
17616
|
+
*/
|
|
17617
|
+
OrganizationAccessGroupMapCreated.create = function create(properties) {
|
|
17618
|
+
return new OrganizationAccessGroupMapCreated(properties);
|
|
17619
|
+
};
|
|
17620
|
+
|
|
17621
|
+
/**
|
|
17622
|
+
* Encodes the specified OrganizationAccessGroupMapCreated message. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
|
|
17623
|
+
* @function encode
|
|
17624
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17625
|
+
* @static
|
|
17626
|
+
* @param {IOrganizationAccessGroupMapCreated} message OrganizationAccessGroupMapCreated message or plain object to encode
|
|
17627
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17628
|
+
* @returns {$protobuf.Writer} Writer
|
|
17629
|
+
*/
|
|
17630
|
+
OrganizationAccessGroupMapCreated.encode = function encode(message, writer) {
|
|
17631
|
+
if (!writer)
|
|
17632
|
+
writer = $Writer.create();
|
|
17633
|
+
if (message.organizationId != null && message.hasOwnProperty("organizationId"))
|
|
17634
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.organizationId);
|
|
17635
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17636
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
|
|
17637
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
17638
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.createdAt);
|
|
17639
|
+
return writer;
|
|
17640
|
+
};
|
|
17641
|
+
|
|
17642
|
+
/**
|
|
17643
|
+
* Encodes the specified OrganizationAccessGroupMapCreated message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapCreated.verify|verify} messages.
|
|
17644
|
+
* @function encodeDelimited
|
|
17645
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17646
|
+
* @static
|
|
17647
|
+
* @param {IOrganizationAccessGroupMapCreated} message OrganizationAccessGroupMapCreated message or plain object to encode
|
|
17648
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17649
|
+
* @returns {$protobuf.Writer} Writer
|
|
17650
|
+
*/
|
|
17651
|
+
OrganizationAccessGroupMapCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
17652
|
+
return this.encode(message, writer).ldelim();
|
|
17653
|
+
};
|
|
17654
|
+
|
|
17655
|
+
/**
|
|
17656
|
+
* Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer.
|
|
17657
|
+
* @function decode
|
|
17658
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17659
|
+
* @static
|
|
17660
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17661
|
+
* @param {number} [length] Message length if known beforehand
|
|
17662
|
+
* @returns {OrganizationAccessGroupMapCreated} OrganizationAccessGroupMapCreated
|
|
17663
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17664
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17665
|
+
*/
|
|
17666
|
+
OrganizationAccessGroupMapCreated.decode = function decode(reader, length) {
|
|
17667
|
+
if (!(reader instanceof $Reader))
|
|
17668
|
+
reader = $Reader.create(reader);
|
|
17669
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrganizationAccessGroupMapCreated();
|
|
17670
|
+
while (reader.pos < end) {
|
|
17671
|
+
var tag = reader.uint32();
|
|
17672
|
+
switch (tag >>> 3) {
|
|
17673
|
+
case 1:
|
|
17674
|
+
message.organizationId = reader.string();
|
|
17675
|
+
break;
|
|
17676
|
+
case 2:
|
|
17677
|
+
message.accessGroupName = reader.string();
|
|
17678
|
+
break;
|
|
17679
|
+
case 3:
|
|
17680
|
+
message.createdAt = reader.uint64();
|
|
17681
|
+
break;
|
|
17682
|
+
default:
|
|
17683
|
+
reader.skipType(tag & 7);
|
|
17684
|
+
break;
|
|
17685
|
+
}
|
|
17686
|
+
}
|
|
17687
|
+
return message;
|
|
17688
|
+
};
|
|
17689
|
+
|
|
17690
|
+
/**
|
|
17691
|
+
* Decodes an OrganizationAccessGroupMapCreated message from the specified reader or buffer, length delimited.
|
|
17692
|
+
* @function decodeDelimited
|
|
17693
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17694
|
+
* @static
|
|
17695
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17696
|
+
* @returns {OrganizationAccessGroupMapCreated} OrganizationAccessGroupMapCreated
|
|
17697
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17698
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17699
|
+
*/
|
|
17700
|
+
OrganizationAccessGroupMapCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
17701
|
+
if (!(reader instanceof $Reader))
|
|
17702
|
+
reader = new $Reader(reader);
|
|
17703
|
+
return this.decode(reader, reader.uint32());
|
|
17704
|
+
};
|
|
17705
|
+
|
|
17706
|
+
/**
|
|
17707
|
+
* Verifies an OrganizationAccessGroupMapCreated message.
|
|
17708
|
+
* @function verify
|
|
17709
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17710
|
+
* @static
|
|
17711
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
17712
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
17713
|
+
*/
|
|
17714
|
+
OrganizationAccessGroupMapCreated.verify = function verify(message) {
|
|
17715
|
+
if (typeof message !== "object" || message === null)
|
|
17716
|
+
return "object expected";
|
|
17717
|
+
if (message.organizationId != null && message.hasOwnProperty("organizationId"))
|
|
17718
|
+
if (!$util.isString(message.organizationId))
|
|
17719
|
+
return "organizationId: string expected";
|
|
17720
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17721
|
+
if (!$util.isString(message.accessGroupName))
|
|
17722
|
+
return "accessGroupName: string expected";
|
|
17723
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
17724
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
17725
|
+
return "createdAt: integer|Long expected";
|
|
17726
|
+
return null;
|
|
17727
|
+
};
|
|
17728
|
+
|
|
17729
|
+
/**
|
|
17730
|
+
* Creates an OrganizationAccessGroupMapCreated message from a plain object. Also converts values to their respective internal types.
|
|
17731
|
+
* @function fromObject
|
|
17732
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17733
|
+
* @static
|
|
17734
|
+
* @param {Object.<string,*>} object Plain object
|
|
17735
|
+
* @returns {OrganizationAccessGroupMapCreated} OrganizationAccessGroupMapCreated
|
|
17736
|
+
*/
|
|
17737
|
+
OrganizationAccessGroupMapCreated.fromObject = function fromObject(object) {
|
|
17738
|
+
if (object instanceof $root.OrganizationAccessGroupMapCreated)
|
|
17739
|
+
return object;
|
|
17740
|
+
var message = new $root.OrganizationAccessGroupMapCreated();
|
|
17741
|
+
if (object.organizationId != null)
|
|
17742
|
+
message.organizationId = String(object.organizationId);
|
|
17743
|
+
if (object.accessGroupName != null)
|
|
17744
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
17745
|
+
if (object.createdAt != null)
|
|
17746
|
+
if ($util.Long)
|
|
17747
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
17748
|
+
else if (typeof object.createdAt === "string")
|
|
17749
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
17750
|
+
else if (typeof object.createdAt === "number")
|
|
17751
|
+
message.createdAt = object.createdAt;
|
|
17752
|
+
else if (typeof object.createdAt === "object")
|
|
17753
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
17754
|
+
return message;
|
|
17755
|
+
};
|
|
17756
|
+
|
|
17757
|
+
/**
|
|
17758
|
+
* Creates a plain object from an OrganizationAccessGroupMapCreated message. Also converts values to other types if specified.
|
|
17759
|
+
* @function toObject
|
|
17760
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17761
|
+
* @static
|
|
17762
|
+
* @param {OrganizationAccessGroupMapCreated} message OrganizationAccessGroupMapCreated
|
|
17763
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
17764
|
+
* @returns {Object.<string,*>} Plain object
|
|
17765
|
+
*/
|
|
17766
|
+
OrganizationAccessGroupMapCreated.toObject = function toObject(message, options) {
|
|
17767
|
+
if (!options)
|
|
17768
|
+
options = {};
|
|
17769
|
+
var object = {};
|
|
17770
|
+
if (options.defaults) {
|
|
17771
|
+
object.organizationId = "";
|
|
17772
|
+
object.accessGroupName = "";
|
|
17773
|
+
if ($util.Long) {
|
|
17774
|
+
var long = new $util.Long(0, 0, true);
|
|
17775
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
17776
|
+
} else
|
|
17777
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
17778
|
+
}
|
|
17779
|
+
if (message.organizationId != null && message.hasOwnProperty("organizationId"))
|
|
17780
|
+
object.organizationId = message.organizationId;
|
|
17781
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17782
|
+
object.accessGroupName = message.accessGroupName;
|
|
17783
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
17784
|
+
if (typeof message.createdAt === "number")
|
|
17785
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
17786
|
+
else
|
|
17787
|
+
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;
|
|
17788
|
+
return object;
|
|
17789
|
+
};
|
|
17790
|
+
|
|
17791
|
+
/**
|
|
17792
|
+
* Converts this OrganizationAccessGroupMapCreated to JSON.
|
|
17793
|
+
* @function toJSON
|
|
17794
|
+
* @memberof OrganizationAccessGroupMapCreated
|
|
17795
|
+
* @instance
|
|
17796
|
+
* @returns {Object.<string,*>} JSON object
|
|
17797
|
+
*/
|
|
17798
|
+
OrganizationAccessGroupMapCreated.prototype.toJSON = function toJSON() {
|
|
17799
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
17800
|
+
};
|
|
17801
|
+
|
|
17802
|
+
return OrganizationAccessGroupMapCreated;
|
|
17803
|
+
})();
|
|
17804
|
+
|
|
17805
|
+
$root.OrganizationAccessGroupMapDeleted = (function() {
|
|
17806
|
+
|
|
17807
|
+
/**
|
|
17808
|
+
* Properties of an OrganizationAccessGroupMapDeleted.
|
|
17809
|
+
* @exports IOrganizationAccessGroupMapDeleted
|
|
17810
|
+
* @interface IOrganizationAccessGroupMapDeleted
|
|
17811
|
+
* @property {string|null} [organizationId] OrganizationAccessGroupMapDeleted organizationId
|
|
17812
|
+
* @property {string|null} [accessGroupName] OrganizationAccessGroupMapDeleted accessGroupName
|
|
17813
|
+
* @property {number|Long|null} [deletedAt] OrganizationAccessGroupMapDeleted deletedAt
|
|
17814
|
+
*/
|
|
17815
|
+
|
|
17816
|
+
/**
|
|
17817
|
+
* Constructs a new OrganizationAccessGroupMapDeleted.
|
|
17818
|
+
* @exports OrganizationAccessGroupMapDeleted
|
|
17819
|
+
* @classdesc Represents an OrganizationAccessGroupMapDeleted.
|
|
17820
|
+
* @implements IOrganizationAccessGroupMapDeleted
|
|
17821
|
+
* @constructor
|
|
17822
|
+
* @param {IOrganizationAccessGroupMapDeleted=} [properties] Properties to set
|
|
17823
|
+
*/
|
|
17824
|
+
function OrganizationAccessGroupMapDeleted(properties) {
|
|
17825
|
+
if (properties)
|
|
17826
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
17827
|
+
if (properties[keys[i]] != null)
|
|
17828
|
+
this[keys[i]] = properties[keys[i]];
|
|
17829
|
+
}
|
|
17830
|
+
|
|
17831
|
+
/**
|
|
17832
|
+
* OrganizationAccessGroupMapDeleted organizationId.
|
|
17833
|
+
* @member {string} organizationId
|
|
17834
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
17835
|
+
* @instance
|
|
17836
|
+
*/
|
|
17837
|
+
OrganizationAccessGroupMapDeleted.prototype.organizationId = "";
|
|
17838
|
+
|
|
17839
|
+
/**
|
|
17840
|
+
* OrganizationAccessGroupMapDeleted accessGroupName.
|
|
17841
|
+
* @member {string} accessGroupName
|
|
17842
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
17843
|
+
* @instance
|
|
17844
|
+
*/
|
|
17845
|
+
OrganizationAccessGroupMapDeleted.prototype.accessGroupName = "";
|
|
17846
|
+
|
|
17847
|
+
/**
|
|
17848
|
+
* OrganizationAccessGroupMapDeleted deletedAt.
|
|
17849
|
+
* @member {number|Long} deletedAt
|
|
17850
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
17851
|
+
* @instance
|
|
17852
|
+
*/
|
|
17853
|
+
OrganizationAccessGroupMapDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
17854
|
+
|
|
17855
|
+
/**
|
|
17856
|
+
* Creates a new OrganizationAccessGroupMapDeleted instance using the specified properties.
|
|
17857
|
+
* @function create
|
|
17858
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
17859
|
+
* @static
|
|
17860
|
+
* @param {IOrganizationAccessGroupMapDeleted=} [properties] Properties to set
|
|
17861
|
+
* @returns {OrganizationAccessGroupMapDeleted} OrganizationAccessGroupMapDeleted instance
|
|
17862
|
+
*/
|
|
17863
|
+
OrganizationAccessGroupMapDeleted.create = function create(properties) {
|
|
17864
|
+
return new OrganizationAccessGroupMapDeleted(properties);
|
|
17865
|
+
};
|
|
17866
|
+
|
|
17867
|
+
/**
|
|
17868
|
+
* Encodes the specified OrganizationAccessGroupMapDeleted message. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
|
|
17869
|
+
* @function encode
|
|
17870
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
17871
|
+
* @static
|
|
17872
|
+
* @param {IOrganizationAccessGroupMapDeleted} message OrganizationAccessGroupMapDeleted message or plain object to encode
|
|
17873
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17874
|
+
* @returns {$protobuf.Writer} Writer
|
|
17875
|
+
*/
|
|
17876
|
+
OrganizationAccessGroupMapDeleted.encode = function encode(message, writer) {
|
|
17877
|
+
if (!writer)
|
|
17878
|
+
writer = $Writer.create();
|
|
17879
|
+
if (message.organizationId != null && message.hasOwnProperty("organizationId"))
|
|
17880
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.organizationId);
|
|
17881
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17882
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
|
|
17883
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
17884
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.deletedAt);
|
|
17885
|
+
return writer;
|
|
17886
|
+
};
|
|
17887
|
+
|
|
17888
|
+
/**
|
|
17889
|
+
* Encodes the specified OrganizationAccessGroupMapDeleted message, length delimited. Does not implicitly {@link OrganizationAccessGroupMapDeleted.verify|verify} messages.
|
|
17890
|
+
* @function encodeDelimited
|
|
17891
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
17892
|
+
* @static
|
|
17893
|
+
* @param {IOrganizationAccessGroupMapDeleted} message OrganizationAccessGroupMapDeleted message or plain object to encode
|
|
17894
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17895
|
+
* @returns {$protobuf.Writer} Writer
|
|
17896
|
+
*/
|
|
17897
|
+
OrganizationAccessGroupMapDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
17898
|
+
return this.encode(message, writer).ldelim();
|
|
17899
|
+
};
|
|
17900
|
+
|
|
17901
|
+
/**
|
|
17902
|
+
* Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer.
|
|
17903
|
+
* @function decode
|
|
17904
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
17905
|
+
* @static
|
|
17906
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17907
|
+
* @param {number} [length] Message length if known beforehand
|
|
17908
|
+
* @returns {OrganizationAccessGroupMapDeleted} OrganizationAccessGroupMapDeleted
|
|
17909
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17910
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17911
|
+
*/
|
|
17912
|
+
OrganizationAccessGroupMapDeleted.decode = function decode(reader, length) {
|
|
17913
|
+
if (!(reader instanceof $Reader))
|
|
17914
|
+
reader = $Reader.create(reader);
|
|
17915
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrganizationAccessGroupMapDeleted();
|
|
17916
|
+
while (reader.pos < end) {
|
|
17917
|
+
var tag = reader.uint32();
|
|
17918
|
+
switch (tag >>> 3) {
|
|
17919
|
+
case 1:
|
|
17920
|
+
message.organizationId = reader.string();
|
|
17921
|
+
break;
|
|
17922
|
+
case 2:
|
|
17923
|
+
message.accessGroupName = reader.string();
|
|
17924
|
+
break;
|
|
17925
|
+
case 3:
|
|
17926
|
+
message.deletedAt = reader.uint64();
|
|
17927
|
+
break;
|
|
17928
|
+
default:
|
|
17929
|
+
reader.skipType(tag & 7);
|
|
17930
|
+
break;
|
|
17931
|
+
}
|
|
17932
|
+
}
|
|
17933
|
+
return message;
|
|
17934
|
+
};
|
|
17935
|
+
|
|
17936
|
+
/**
|
|
17937
|
+
* Decodes an OrganizationAccessGroupMapDeleted message from the specified reader or buffer, length delimited.
|
|
17938
|
+
* @function decodeDelimited
|
|
17939
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
17940
|
+
* @static
|
|
17941
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17942
|
+
* @returns {OrganizationAccessGroupMapDeleted} OrganizationAccessGroupMapDeleted
|
|
17943
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17944
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17945
|
+
*/
|
|
17946
|
+
OrganizationAccessGroupMapDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
17947
|
+
if (!(reader instanceof $Reader))
|
|
17948
|
+
reader = new $Reader(reader);
|
|
17949
|
+
return this.decode(reader, reader.uint32());
|
|
17950
|
+
};
|
|
17951
|
+
|
|
17952
|
+
/**
|
|
17953
|
+
* Verifies an OrganizationAccessGroupMapDeleted message.
|
|
17954
|
+
* @function verify
|
|
17955
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
17956
|
+
* @static
|
|
17957
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
17958
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
17959
|
+
*/
|
|
17960
|
+
OrganizationAccessGroupMapDeleted.verify = function verify(message) {
|
|
17961
|
+
if (typeof message !== "object" || message === null)
|
|
17962
|
+
return "object expected";
|
|
17963
|
+
if (message.organizationId != null && message.hasOwnProperty("organizationId"))
|
|
17964
|
+
if (!$util.isString(message.organizationId))
|
|
17965
|
+
return "organizationId: string expected";
|
|
17966
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17967
|
+
if (!$util.isString(message.accessGroupName))
|
|
17968
|
+
return "accessGroupName: string expected";
|
|
17969
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
17970
|
+
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
17971
|
+
return "deletedAt: integer|Long expected";
|
|
17972
|
+
return null;
|
|
17973
|
+
};
|
|
17974
|
+
|
|
17975
|
+
/**
|
|
17976
|
+
* Creates an OrganizationAccessGroupMapDeleted message from a plain object. Also converts values to their respective internal types.
|
|
17977
|
+
* @function fromObject
|
|
17978
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
17979
|
+
* @static
|
|
17980
|
+
* @param {Object.<string,*>} object Plain object
|
|
17981
|
+
* @returns {OrganizationAccessGroupMapDeleted} OrganizationAccessGroupMapDeleted
|
|
17982
|
+
*/
|
|
17983
|
+
OrganizationAccessGroupMapDeleted.fromObject = function fromObject(object) {
|
|
17984
|
+
if (object instanceof $root.OrganizationAccessGroupMapDeleted)
|
|
17985
|
+
return object;
|
|
17986
|
+
var message = new $root.OrganizationAccessGroupMapDeleted();
|
|
17987
|
+
if (object.organizationId != null)
|
|
17988
|
+
message.organizationId = String(object.organizationId);
|
|
17989
|
+
if (object.accessGroupName != null)
|
|
17990
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
17991
|
+
if (object.deletedAt != null)
|
|
17992
|
+
if ($util.Long)
|
|
17993
|
+
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
17994
|
+
else if (typeof object.deletedAt === "string")
|
|
17995
|
+
message.deletedAt = parseInt(object.deletedAt, 10);
|
|
17996
|
+
else if (typeof object.deletedAt === "number")
|
|
17997
|
+
message.deletedAt = object.deletedAt;
|
|
17998
|
+
else if (typeof object.deletedAt === "object")
|
|
17999
|
+
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
18000
|
+
return message;
|
|
18001
|
+
};
|
|
18002
|
+
|
|
18003
|
+
/**
|
|
18004
|
+
* Creates a plain object from an OrganizationAccessGroupMapDeleted message. Also converts values to other types if specified.
|
|
18005
|
+
* @function toObject
|
|
18006
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18007
|
+
* @static
|
|
18008
|
+
* @param {OrganizationAccessGroupMapDeleted} message OrganizationAccessGroupMapDeleted
|
|
18009
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
18010
|
+
* @returns {Object.<string,*>} Plain object
|
|
18011
|
+
*/
|
|
18012
|
+
OrganizationAccessGroupMapDeleted.toObject = function toObject(message, options) {
|
|
18013
|
+
if (!options)
|
|
18014
|
+
options = {};
|
|
18015
|
+
var object = {};
|
|
18016
|
+
if (options.defaults) {
|
|
18017
|
+
object.organizationId = "";
|
|
18018
|
+
object.accessGroupName = "";
|
|
18019
|
+
if ($util.Long) {
|
|
18020
|
+
var long = new $util.Long(0, 0, true);
|
|
18021
|
+
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
18022
|
+
} else
|
|
18023
|
+
object.deletedAt = options.longs === String ? "0" : 0;
|
|
18024
|
+
}
|
|
18025
|
+
if (message.organizationId != null && message.hasOwnProperty("organizationId"))
|
|
18026
|
+
object.organizationId = message.organizationId;
|
|
18027
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
18028
|
+
object.accessGroupName = message.accessGroupName;
|
|
18029
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
18030
|
+
if (typeof message.deletedAt === "number")
|
|
18031
|
+
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
18032
|
+
else
|
|
18033
|
+
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;
|
|
18034
|
+
return object;
|
|
18035
|
+
};
|
|
18036
|
+
|
|
18037
|
+
/**
|
|
18038
|
+
* Converts this OrganizationAccessGroupMapDeleted to JSON.
|
|
18039
|
+
* @function toJSON
|
|
18040
|
+
* @memberof OrganizationAccessGroupMapDeleted
|
|
18041
|
+
* @instance
|
|
18042
|
+
* @returns {Object.<string,*>} JSON object
|
|
18043
|
+
*/
|
|
18044
|
+
OrganizationAccessGroupMapDeleted.prototype.toJSON = function toJSON() {
|
|
18045
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
18046
|
+
};
|
|
18047
|
+
|
|
18048
|
+
return OrganizationAccessGroupMapDeleted;
|
|
18049
|
+
})();
|
|
18050
|
+
|
|
17537
18051
|
$root.ReferralSignedUp = (function() {
|
|
17538
18052
|
|
|
17539
18053
|
/**
|
package/package.json
CHANGED