@headspace/protos-events 1.244.0 → 1.245.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 +947 -0
- package/lib/index.js +2514 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4221,6 +4221,905 @@ export namespace b2b {
|
|
|
4221
4221
|
}
|
|
4222
4222
|
}
|
|
4223
4223
|
|
|
4224
|
+
/** Namespace community. */
|
|
4225
|
+
export namespace community {
|
|
4226
|
+
|
|
4227
|
+
/** Represents a UserGroupManager */
|
|
4228
|
+
class UserGroupManager extends $protobuf.rpc.Service {
|
|
4229
|
+
|
|
4230
|
+
/**
|
|
4231
|
+
* Constructs a new UserGroupManager service.
|
|
4232
|
+
* @param rpcImpl RPC implementation
|
|
4233
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
4234
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
4235
|
+
*/
|
|
4236
|
+
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
|
4237
|
+
|
|
4238
|
+
/**
|
|
4239
|
+
* Creates new UserGroupManager service using the specified rpc implementation.
|
|
4240
|
+
* @param rpcImpl RPC implementation
|
|
4241
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
4242
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
4243
|
+
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
4244
|
+
*/
|
|
4245
|
+
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserGroupManager;
|
|
4246
|
+
|
|
4247
|
+
/**
|
|
4248
|
+
* Calls listUserGroupEntries.
|
|
4249
|
+
* @param request ListUserGroupEntries message or plain object
|
|
4250
|
+
* @param callback Node-style callback called with the error, if any, and UserGroupEntryList
|
|
4251
|
+
*/
|
|
4252
|
+
public listUserGroupEntries(request: community.IListUserGroupEntries, callback: community.UserGroupManager.listUserGroupEntriesCallback): void;
|
|
4253
|
+
|
|
4254
|
+
/**
|
|
4255
|
+
* Calls listUserGroupEntries.
|
|
4256
|
+
* @param request ListUserGroupEntries message or plain object
|
|
4257
|
+
* @returns Promise
|
|
4258
|
+
*/
|
|
4259
|
+
public listUserGroupEntries(request: community.IListUserGroupEntries): Promise<community.UserGroupEntryList>;
|
|
4260
|
+
}
|
|
4261
|
+
|
|
4262
|
+
namespace UserGroupManager {
|
|
4263
|
+
|
|
4264
|
+
/**
|
|
4265
|
+
* Callback as used by {@link community.UserGroupManager#listUserGroupEntries}.
|
|
4266
|
+
* @param error Error, if any
|
|
4267
|
+
* @param [response] UserGroupEntryList
|
|
4268
|
+
*/
|
|
4269
|
+
type listUserGroupEntriesCallback = (error: (Error|null), response?: community.UserGroupEntryList) => void;
|
|
4270
|
+
}
|
|
4271
|
+
|
|
4272
|
+
/** Properties of a ListUserGroupEntries. */
|
|
4273
|
+
interface IListUserGroupEntries {
|
|
4274
|
+
|
|
4275
|
+
/** ListUserGroupEntries limit */
|
|
4276
|
+
limit?: (number|null);
|
|
4277
|
+
|
|
4278
|
+
/** ListUserGroupEntries page */
|
|
4279
|
+
page?: (number|null);
|
|
4280
|
+
|
|
4281
|
+
/** ListUserGroupEntries id */
|
|
4282
|
+
id?: (number|null);
|
|
4283
|
+
|
|
4284
|
+
/** ListUserGroupEntries userId */
|
|
4285
|
+
userId?: (string|null);
|
|
4286
|
+
|
|
4287
|
+
/** ListUserGroupEntries userGroupId */
|
|
4288
|
+
userGroupId?: (number|null);
|
|
4289
|
+
|
|
4290
|
+
/** ListUserGroupEntries role */
|
|
4291
|
+
role?: (string|null);
|
|
4292
|
+
|
|
4293
|
+
/** ListUserGroupEntries status */
|
|
4294
|
+
status?: (string|null);
|
|
4295
|
+
|
|
4296
|
+
/** ListUserGroupEntries isActive */
|
|
4297
|
+
isActive?: (boolean|null);
|
|
4298
|
+
}
|
|
4299
|
+
|
|
4300
|
+
/** Represents a ListUserGroupEntries. */
|
|
4301
|
+
class ListUserGroupEntries implements IListUserGroupEntries {
|
|
4302
|
+
|
|
4303
|
+
/**
|
|
4304
|
+
* Constructs a new ListUserGroupEntries.
|
|
4305
|
+
* @param [properties] Properties to set
|
|
4306
|
+
*/
|
|
4307
|
+
constructor(properties?: community.IListUserGroupEntries);
|
|
4308
|
+
|
|
4309
|
+
/** ListUserGroupEntries limit. */
|
|
4310
|
+
public limit: number;
|
|
4311
|
+
|
|
4312
|
+
/** ListUserGroupEntries page. */
|
|
4313
|
+
public page: number;
|
|
4314
|
+
|
|
4315
|
+
/** ListUserGroupEntries id. */
|
|
4316
|
+
public id: number;
|
|
4317
|
+
|
|
4318
|
+
/** ListUserGroupEntries userId. */
|
|
4319
|
+
public userId: string;
|
|
4320
|
+
|
|
4321
|
+
/** ListUserGroupEntries userGroupId. */
|
|
4322
|
+
public userGroupId: number;
|
|
4323
|
+
|
|
4324
|
+
/** ListUserGroupEntries role. */
|
|
4325
|
+
public role: string;
|
|
4326
|
+
|
|
4327
|
+
/** ListUserGroupEntries status. */
|
|
4328
|
+
public status: string;
|
|
4329
|
+
|
|
4330
|
+
/** ListUserGroupEntries isActive. */
|
|
4331
|
+
public isActive: boolean;
|
|
4332
|
+
|
|
4333
|
+
/**
|
|
4334
|
+
* Creates a new ListUserGroupEntries instance using the specified properties.
|
|
4335
|
+
* @param [properties] Properties to set
|
|
4336
|
+
* @returns ListUserGroupEntries instance
|
|
4337
|
+
*/
|
|
4338
|
+
public static create(properties?: community.IListUserGroupEntries): community.ListUserGroupEntries;
|
|
4339
|
+
|
|
4340
|
+
/**
|
|
4341
|
+
* Encodes the specified ListUserGroupEntries message. Does not implicitly {@link community.ListUserGroupEntries.verify|verify} messages.
|
|
4342
|
+
* @param message ListUserGroupEntries message or plain object to encode
|
|
4343
|
+
* @param [writer] Writer to encode to
|
|
4344
|
+
* @returns Writer
|
|
4345
|
+
*/
|
|
4346
|
+
public static encode(message: community.IListUserGroupEntries, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4347
|
+
|
|
4348
|
+
/**
|
|
4349
|
+
* Encodes the specified ListUserGroupEntries message, length delimited. Does not implicitly {@link community.ListUserGroupEntries.verify|verify} messages.
|
|
4350
|
+
* @param message ListUserGroupEntries message or plain object to encode
|
|
4351
|
+
* @param [writer] Writer to encode to
|
|
4352
|
+
* @returns Writer
|
|
4353
|
+
*/
|
|
4354
|
+
public static encodeDelimited(message: community.IListUserGroupEntries, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4355
|
+
|
|
4356
|
+
/**
|
|
4357
|
+
* Decodes a ListUserGroupEntries message from the specified reader or buffer.
|
|
4358
|
+
* @param reader Reader or buffer to decode from
|
|
4359
|
+
* @param [length] Message length if known beforehand
|
|
4360
|
+
* @returns ListUserGroupEntries
|
|
4361
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4362
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4363
|
+
*/
|
|
4364
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): community.ListUserGroupEntries;
|
|
4365
|
+
|
|
4366
|
+
/**
|
|
4367
|
+
* Decodes a ListUserGroupEntries message from the specified reader or buffer, length delimited.
|
|
4368
|
+
* @param reader Reader or buffer to decode from
|
|
4369
|
+
* @returns ListUserGroupEntries
|
|
4370
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4371
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4372
|
+
*/
|
|
4373
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): community.ListUserGroupEntries;
|
|
4374
|
+
|
|
4375
|
+
/**
|
|
4376
|
+
* Verifies a ListUserGroupEntries message.
|
|
4377
|
+
* @param message Plain object to verify
|
|
4378
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4379
|
+
*/
|
|
4380
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4381
|
+
|
|
4382
|
+
/**
|
|
4383
|
+
* Creates a ListUserGroupEntries message from a plain object. Also converts values to their respective internal types.
|
|
4384
|
+
* @param object Plain object
|
|
4385
|
+
* @returns ListUserGroupEntries
|
|
4386
|
+
*/
|
|
4387
|
+
public static fromObject(object: { [k: string]: any }): community.ListUserGroupEntries;
|
|
4388
|
+
|
|
4389
|
+
/**
|
|
4390
|
+
* Creates a plain object from a ListUserGroupEntries message. Also converts values to other types if specified.
|
|
4391
|
+
* @param message ListUserGroupEntries
|
|
4392
|
+
* @param [options] Conversion options
|
|
4393
|
+
* @returns Plain object
|
|
4394
|
+
*/
|
|
4395
|
+
public static toObject(message: community.ListUserGroupEntries, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4396
|
+
|
|
4397
|
+
/**
|
|
4398
|
+
* Converts this ListUserGroupEntries to JSON.
|
|
4399
|
+
* @returns JSON object
|
|
4400
|
+
*/
|
|
4401
|
+
public toJSON(): { [k: string]: any };
|
|
4402
|
+
}
|
|
4403
|
+
|
|
4404
|
+
/** Properties of a UserGroupEntryList. */
|
|
4405
|
+
interface IUserGroupEntryList {
|
|
4406
|
+
|
|
4407
|
+
/** UserGroupEntryList userGroupEntries */
|
|
4408
|
+
userGroupEntries?: (community.IUserGroupEntry[]|null);
|
|
4409
|
+
|
|
4410
|
+
/** UserGroupEntryList userGroups */
|
|
4411
|
+
userGroups?: (community.IUserGroup[]|null);
|
|
4412
|
+
}
|
|
4413
|
+
|
|
4414
|
+
/** Represents a UserGroupEntryList. */
|
|
4415
|
+
class UserGroupEntryList implements IUserGroupEntryList {
|
|
4416
|
+
|
|
4417
|
+
/**
|
|
4418
|
+
* Constructs a new UserGroupEntryList.
|
|
4419
|
+
* @param [properties] Properties to set
|
|
4420
|
+
*/
|
|
4421
|
+
constructor(properties?: community.IUserGroupEntryList);
|
|
4422
|
+
|
|
4423
|
+
/** UserGroupEntryList userGroupEntries. */
|
|
4424
|
+
public userGroupEntries: community.IUserGroupEntry[];
|
|
4425
|
+
|
|
4426
|
+
/** UserGroupEntryList userGroups. */
|
|
4427
|
+
public userGroups: community.IUserGroup[];
|
|
4428
|
+
|
|
4429
|
+
/**
|
|
4430
|
+
* Creates a new UserGroupEntryList instance using the specified properties.
|
|
4431
|
+
* @param [properties] Properties to set
|
|
4432
|
+
* @returns UserGroupEntryList instance
|
|
4433
|
+
*/
|
|
4434
|
+
public static create(properties?: community.IUserGroupEntryList): community.UserGroupEntryList;
|
|
4435
|
+
|
|
4436
|
+
/**
|
|
4437
|
+
* Encodes the specified UserGroupEntryList message. Does not implicitly {@link community.UserGroupEntryList.verify|verify} messages.
|
|
4438
|
+
* @param message UserGroupEntryList message or plain object to encode
|
|
4439
|
+
* @param [writer] Writer to encode to
|
|
4440
|
+
* @returns Writer
|
|
4441
|
+
*/
|
|
4442
|
+
public static encode(message: community.IUserGroupEntryList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4443
|
+
|
|
4444
|
+
/**
|
|
4445
|
+
* Encodes the specified UserGroupEntryList message, length delimited. Does not implicitly {@link community.UserGroupEntryList.verify|verify} messages.
|
|
4446
|
+
* @param message UserGroupEntryList message or plain object to encode
|
|
4447
|
+
* @param [writer] Writer to encode to
|
|
4448
|
+
* @returns Writer
|
|
4449
|
+
*/
|
|
4450
|
+
public static encodeDelimited(message: community.IUserGroupEntryList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4451
|
+
|
|
4452
|
+
/**
|
|
4453
|
+
* Decodes a UserGroupEntryList message from the specified reader or buffer.
|
|
4454
|
+
* @param reader Reader or buffer to decode from
|
|
4455
|
+
* @param [length] Message length if known beforehand
|
|
4456
|
+
* @returns UserGroupEntryList
|
|
4457
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4458
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4459
|
+
*/
|
|
4460
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): community.UserGroupEntryList;
|
|
4461
|
+
|
|
4462
|
+
/**
|
|
4463
|
+
* Decodes a UserGroupEntryList message from the specified reader or buffer, length delimited.
|
|
4464
|
+
* @param reader Reader or buffer to decode from
|
|
4465
|
+
* @returns UserGroupEntryList
|
|
4466
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4467
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4468
|
+
*/
|
|
4469
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): community.UserGroupEntryList;
|
|
4470
|
+
|
|
4471
|
+
/**
|
|
4472
|
+
* Verifies a UserGroupEntryList message.
|
|
4473
|
+
* @param message Plain object to verify
|
|
4474
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4475
|
+
*/
|
|
4476
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4477
|
+
|
|
4478
|
+
/**
|
|
4479
|
+
* Creates a UserGroupEntryList message from a plain object. Also converts values to their respective internal types.
|
|
4480
|
+
* @param object Plain object
|
|
4481
|
+
* @returns UserGroupEntryList
|
|
4482
|
+
*/
|
|
4483
|
+
public static fromObject(object: { [k: string]: any }): community.UserGroupEntryList;
|
|
4484
|
+
|
|
4485
|
+
/**
|
|
4486
|
+
* Creates a plain object from a UserGroupEntryList message. Also converts values to other types if specified.
|
|
4487
|
+
* @param message UserGroupEntryList
|
|
4488
|
+
* @param [options] Conversion options
|
|
4489
|
+
* @returns Plain object
|
|
4490
|
+
*/
|
|
4491
|
+
public static toObject(message: community.UserGroupEntryList, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4492
|
+
|
|
4493
|
+
/**
|
|
4494
|
+
* Converts this UserGroupEntryList to JSON.
|
|
4495
|
+
* @returns JSON object
|
|
4496
|
+
*/
|
|
4497
|
+
public toJSON(): { [k: string]: any };
|
|
4498
|
+
}
|
|
4499
|
+
|
|
4500
|
+
/** Properties of a UserGroupEntry. */
|
|
4501
|
+
interface IUserGroupEntry {
|
|
4502
|
+
|
|
4503
|
+
/** UserGroupEntry id */
|
|
4504
|
+
id?: (number|null);
|
|
4505
|
+
|
|
4506
|
+
/** UserGroupEntry userId */
|
|
4507
|
+
userId?: (string|null);
|
|
4508
|
+
|
|
4509
|
+
/** UserGroupEntry userGroupId */
|
|
4510
|
+
userGroupId?: (number|null);
|
|
4511
|
+
|
|
4512
|
+
/** UserGroupEntry role */
|
|
4513
|
+
role?: (string|null);
|
|
4514
|
+
|
|
4515
|
+
/** UserGroupEntry status */
|
|
4516
|
+
status?: (string|null);
|
|
4517
|
+
|
|
4518
|
+
/** UserGroupEntry acceptedOn */
|
|
4519
|
+
acceptedOn?: (number|Long|null);
|
|
4520
|
+
|
|
4521
|
+
/** UserGroupEntry createdAt */
|
|
4522
|
+
createdAt?: (number|Long|null);
|
|
4523
|
+
|
|
4524
|
+
/** UserGroupEntry updatedAt */
|
|
4525
|
+
updatedAt?: (number|Long|null);
|
|
4526
|
+
|
|
4527
|
+
/** UserGroupEntry rejectedOn */
|
|
4528
|
+
rejectedOn?: (number|Long|null);
|
|
4529
|
+
|
|
4530
|
+
/** UserGroupEntry removedOn */
|
|
4531
|
+
removedOn?: (number|Long|null);
|
|
4532
|
+
|
|
4533
|
+
/** UserGroupEntry email */
|
|
4534
|
+
email?: (string|null);
|
|
4535
|
+
|
|
4536
|
+
/** UserGroupEntry token */
|
|
4537
|
+
token?: (string|null);
|
|
4538
|
+
}
|
|
4539
|
+
|
|
4540
|
+
/** Represents a UserGroupEntry. */
|
|
4541
|
+
class UserGroupEntry implements IUserGroupEntry {
|
|
4542
|
+
|
|
4543
|
+
/**
|
|
4544
|
+
* Constructs a new UserGroupEntry.
|
|
4545
|
+
* @param [properties] Properties to set
|
|
4546
|
+
*/
|
|
4547
|
+
constructor(properties?: community.IUserGroupEntry);
|
|
4548
|
+
|
|
4549
|
+
/** UserGroupEntry id. */
|
|
4550
|
+
public id: number;
|
|
4551
|
+
|
|
4552
|
+
/** UserGroupEntry userId. */
|
|
4553
|
+
public userId: string;
|
|
4554
|
+
|
|
4555
|
+
/** UserGroupEntry userGroupId. */
|
|
4556
|
+
public userGroupId: number;
|
|
4557
|
+
|
|
4558
|
+
/** UserGroupEntry role. */
|
|
4559
|
+
public role: string;
|
|
4560
|
+
|
|
4561
|
+
/** UserGroupEntry status. */
|
|
4562
|
+
public status: string;
|
|
4563
|
+
|
|
4564
|
+
/** UserGroupEntry acceptedOn. */
|
|
4565
|
+
public acceptedOn: (number|Long);
|
|
4566
|
+
|
|
4567
|
+
/** UserGroupEntry createdAt. */
|
|
4568
|
+
public createdAt: (number|Long);
|
|
4569
|
+
|
|
4570
|
+
/** UserGroupEntry updatedAt. */
|
|
4571
|
+
public updatedAt: (number|Long);
|
|
4572
|
+
|
|
4573
|
+
/** UserGroupEntry rejectedOn. */
|
|
4574
|
+
public rejectedOn: (number|Long);
|
|
4575
|
+
|
|
4576
|
+
/** UserGroupEntry removedOn. */
|
|
4577
|
+
public removedOn: (number|Long);
|
|
4578
|
+
|
|
4579
|
+
/** UserGroupEntry email. */
|
|
4580
|
+
public email: string;
|
|
4581
|
+
|
|
4582
|
+
/** UserGroupEntry token. */
|
|
4583
|
+
public token: string;
|
|
4584
|
+
|
|
4585
|
+
/**
|
|
4586
|
+
* Creates a new UserGroupEntry instance using the specified properties.
|
|
4587
|
+
* @param [properties] Properties to set
|
|
4588
|
+
* @returns UserGroupEntry instance
|
|
4589
|
+
*/
|
|
4590
|
+
public static create(properties?: community.IUserGroupEntry): community.UserGroupEntry;
|
|
4591
|
+
|
|
4592
|
+
/**
|
|
4593
|
+
* Encodes the specified UserGroupEntry message. Does not implicitly {@link community.UserGroupEntry.verify|verify} messages.
|
|
4594
|
+
* @param message UserGroupEntry message or plain object to encode
|
|
4595
|
+
* @param [writer] Writer to encode to
|
|
4596
|
+
* @returns Writer
|
|
4597
|
+
*/
|
|
4598
|
+
public static encode(message: community.IUserGroupEntry, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4599
|
+
|
|
4600
|
+
/**
|
|
4601
|
+
* Encodes the specified UserGroupEntry message, length delimited. Does not implicitly {@link community.UserGroupEntry.verify|verify} messages.
|
|
4602
|
+
* @param message UserGroupEntry message or plain object to encode
|
|
4603
|
+
* @param [writer] Writer to encode to
|
|
4604
|
+
* @returns Writer
|
|
4605
|
+
*/
|
|
4606
|
+
public static encodeDelimited(message: community.IUserGroupEntry, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4607
|
+
|
|
4608
|
+
/**
|
|
4609
|
+
* Decodes a UserGroupEntry message from the specified reader or buffer.
|
|
4610
|
+
* @param reader Reader or buffer to decode from
|
|
4611
|
+
* @param [length] Message length if known beforehand
|
|
4612
|
+
* @returns UserGroupEntry
|
|
4613
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4614
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4615
|
+
*/
|
|
4616
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): community.UserGroupEntry;
|
|
4617
|
+
|
|
4618
|
+
/**
|
|
4619
|
+
* Decodes a UserGroupEntry message from the specified reader or buffer, length delimited.
|
|
4620
|
+
* @param reader Reader or buffer to decode from
|
|
4621
|
+
* @returns UserGroupEntry
|
|
4622
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4623
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4624
|
+
*/
|
|
4625
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): community.UserGroupEntry;
|
|
4626
|
+
|
|
4627
|
+
/**
|
|
4628
|
+
* Verifies a UserGroupEntry message.
|
|
4629
|
+
* @param message Plain object to verify
|
|
4630
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4631
|
+
*/
|
|
4632
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4633
|
+
|
|
4634
|
+
/**
|
|
4635
|
+
* Creates a UserGroupEntry message from a plain object. Also converts values to their respective internal types.
|
|
4636
|
+
* @param object Plain object
|
|
4637
|
+
* @returns UserGroupEntry
|
|
4638
|
+
*/
|
|
4639
|
+
public static fromObject(object: { [k: string]: any }): community.UserGroupEntry;
|
|
4640
|
+
|
|
4641
|
+
/**
|
|
4642
|
+
* Creates a plain object from a UserGroupEntry message. Also converts values to other types if specified.
|
|
4643
|
+
* @param message UserGroupEntry
|
|
4644
|
+
* @param [options] Conversion options
|
|
4645
|
+
* @returns Plain object
|
|
4646
|
+
*/
|
|
4647
|
+
public static toObject(message: community.UserGroupEntry, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4648
|
+
|
|
4649
|
+
/**
|
|
4650
|
+
* Converts this UserGroupEntry to JSON.
|
|
4651
|
+
* @returns JSON object
|
|
4652
|
+
*/
|
|
4653
|
+
public toJSON(): { [k: string]: any };
|
|
4654
|
+
}
|
|
4655
|
+
|
|
4656
|
+
/** Properties of a UserGroup. */
|
|
4657
|
+
interface IUserGroup {
|
|
4658
|
+
|
|
4659
|
+
/** UserGroup id */
|
|
4660
|
+
id?: (number|null);
|
|
4661
|
+
|
|
4662
|
+
/** UserGroup numUsersMax */
|
|
4663
|
+
numUsersMax?: (number|null);
|
|
4664
|
+
|
|
4665
|
+
/** UserGroup groupType */
|
|
4666
|
+
groupType?: (string|null);
|
|
4667
|
+
|
|
4668
|
+
/** UserGroup createdAt */
|
|
4669
|
+
createdAt?: (number|Long|null);
|
|
4670
|
+
|
|
4671
|
+
/** UserGroup orgId */
|
|
4672
|
+
orgId?: (number|null);
|
|
4673
|
+
}
|
|
4674
|
+
|
|
4675
|
+
/** Represents a UserGroup. */
|
|
4676
|
+
class UserGroup implements IUserGroup {
|
|
4677
|
+
|
|
4678
|
+
/**
|
|
4679
|
+
* Constructs a new UserGroup.
|
|
4680
|
+
* @param [properties] Properties to set
|
|
4681
|
+
*/
|
|
4682
|
+
constructor(properties?: community.IUserGroup);
|
|
4683
|
+
|
|
4684
|
+
/** UserGroup id. */
|
|
4685
|
+
public id: number;
|
|
4686
|
+
|
|
4687
|
+
/** UserGroup numUsersMax. */
|
|
4688
|
+
public numUsersMax: number;
|
|
4689
|
+
|
|
4690
|
+
/** UserGroup groupType. */
|
|
4691
|
+
public groupType: string;
|
|
4692
|
+
|
|
4693
|
+
/** UserGroup createdAt. */
|
|
4694
|
+
public createdAt: (number|Long);
|
|
4695
|
+
|
|
4696
|
+
/** UserGroup orgId. */
|
|
4697
|
+
public orgId: number;
|
|
4698
|
+
|
|
4699
|
+
/**
|
|
4700
|
+
* Creates a new UserGroup instance using the specified properties.
|
|
4701
|
+
* @param [properties] Properties to set
|
|
4702
|
+
* @returns UserGroup instance
|
|
4703
|
+
*/
|
|
4704
|
+
public static create(properties?: community.IUserGroup): community.UserGroup;
|
|
4705
|
+
|
|
4706
|
+
/**
|
|
4707
|
+
* Encodes the specified UserGroup message. Does not implicitly {@link community.UserGroup.verify|verify} messages.
|
|
4708
|
+
* @param message UserGroup message or plain object to encode
|
|
4709
|
+
* @param [writer] Writer to encode to
|
|
4710
|
+
* @returns Writer
|
|
4711
|
+
*/
|
|
4712
|
+
public static encode(message: community.IUserGroup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4713
|
+
|
|
4714
|
+
/**
|
|
4715
|
+
* Encodes the specified UserGroup message, length delimited. Does not implicitly {@link community.UserGroup.verify|verify} messages.
|
|
4716
|
+
* @param message UserGroup message or plain object to encode
|
|
4717
|
+
* @param [writer] Writer to encode to
|
|
4718
|
+
* @returns Writer
|
|
4719
|
+
*/
|
|
4720
|
+
public static encodeDelimited(message: community.IUserGroup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4721
|
+
|
|
4722
|
+
/**
|
|
4723
|
+
* Decodes a UserGroup message from the specified reader or buffer.
|
|
4724
|
+
* @param reader Reader or buffer to decode from
|
|
4725
|
+
* @param [length] Message length if known beforehand
|
|
4726
|
+
* @returns UserGroup
|
|
4727
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4728
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4729
|
+
*/
|
|
4730
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): community.UserGroup;
|
|
4731
|
+
|
|
4732
|
+
/**
|
|
4733
|
+
* Decodes a UserGroup message from the specified reader or buffer, length delimited.
|
|
4734
|
+
* @param reader Reader or buffer to decode from
|
|
4735
|
+
* @returns UserGroup
|
|
4736
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4737
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4738
|
+
*/
|
|
4739
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): community.UserGroup;
|
|
4740
|
+
|
|
4741
|
+
/**
|
|
4742
|
+
* Verifies a UserGroup message.
|
|
4743
|
+
* @param message Plain object to verify
|
|
4744
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4745
|
+
*/
|
|
4746
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4747
|
+
|
|
4748
|
+
/**
|
|
4749
|
+
* Creates a UserGroup message from a plain object. Also converts values to their respective internal types.
|
|
4750
|
+
* @param object Plain object
|
|
4751
|
+
* @returns UserGroup
|
|
4752
|
+
*/
|
|
4753
|
+
public static fromObject(object: { [k: string]: any }): community.UserGroup;
|
|
4754
|
+
|
|
4755
|
+
/**
|
|
4756
|
+
* Creates a plain object from a UserGroup message. Also converts values to other types if specified.
|
|
4757
|
+
* @param message UserGroup
|
|
4758
|
+
* @param [options] Conversion options
|
|
4759
|
+
* @returns Plain object
|
|
4760
|
+
*/
|
|
4761
|
+
public static toObject(message: community.UserGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4762
|
+
|
|
4763
|
+
/**
|
|
4764
|
+
* Converts this UserGroup to JSON.
|
|
4765
|
+
* @returns JSON object
|
|
4766
|
+
*/
|
|
4767
|
+
public toJSON(): { [k: string]: any };
|
|
4768
|
+
}
|
|
4769
|
+
|
|
4770
|
+
/** Represents a UserFavoriteManager */
|
|
4771
|
+
class UserFavoriteManager extends $protobuf.rpc.Service {
|
|
4772
|
+
|
|
4773
|
+
/**
|
|
4774
|
+
* Constructs a new UserFavoriteManager service.
|
|
4775
|
+
* @param rpcImpl RPC implementation
|
|
4776
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
4777
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
4778
|
+
*/
|
|
4779
|
+
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
|
4780
|
+
|
|
4781
|
+
/**
|
|
4782
|
+
* Creates new UserFavoriteManager service using the specified rpc implementation.
|
|
4783
|
+
* @param rpcImpl RPC implementation
|
|
4784
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
4785
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
4786
|
+
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
4787
|
+
*/
|
|
4788
|
+
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): UserFavoriteManager;
|
|
4789
|
+
|
|
4790
|
+
/**
|
|
4791
|
+
* Calls findMany.
|
|
4792
|
+
* @param request FindManyRequest message or plain object
|
|
4793
|
+
* @param callback Node-style callback called with the error, if any, and FindManyReply
|
|
4794
|
+
*/
|
|
4795
|
+
public findMany(request: community.IFindManyRequest, callback: community.UserFavoriteManager.findManyCallback): void;
|
|
4796
|
+
|
|
4797
|
+
/**
|
|
4798
|
+
* Calls findMany.
|
|
4799
|
+
* @param request FindManyRequest message or plain object
|
|
4800
|
+
* @returns Promise
|
|
4801
|
+
*/
|
|
4802
|
+
public findMany(request: community.IFindManyRequest): Promise<community.FindManyReply>;
|
|
4803
|
+
}
|
|
4804
|
+
|
|
4805
|
+
namespace UserFavoriteManager {
|
|
4806
|
+
|
|
4807
|
+
/**
|
|
4808
|
+
* Callback as used by {@link community.UserFavoriteManager#findMany}.
|
|
4809
|
+
* @param error Error, if any
|
|
4810
|
+
* @param [response] FindManyReply
|
|
4811
|
+
*/
|
|
4812
|
+
type findManyCallback = (error: (Error|null), response?: community.FindManyReply) => void;
|
|
4813
|
+
}
|
|
4814
|
+
|
|
4815
|
+
/** Properties of a FindManyRequest. */
|
|
4816
|
+
interface IFindManyRequest {
|
|
4817
|
+
|
|
4818
|
+
/** FindManyRequest userId */
|
|
4819
|
+
userId?: (string|null);
|
|
4820
|
+
|
|
4821
|
+
/** FindManyRequest activityIds */
|
|
4822
|
+
activityIds?: (number|null);
|
|
4823
|
+
}
|
|
4824
|
+
|
|
4825
|
+
/** Represents a FindManyRequest. */
|
|
4826
|
+
class FindManyRequest implements IFindManyRequest {
|
|
4827
|
+
|
|
4828
|
+
/**
|
|
4829
|
+
* Constructs a new FindManyRequest.
|
|
4830
|
+
* @param [properties] Properties to set
|
|
4831
|
+
*/
|
|
4832
|
+
constructor(properties?: community.IFindManyRequest);
|
|
4833
|
+
|
|
4834
|
+
/** FindManyRequest userId. */
|
|
4835
|
+
public userId: string;
|
|
4836
|
+
|
|
4837
|
+
/** FindManyRequest activityIds. */
|
|
4838
|
+
public activityIds: number;
|
|
4839
|
+
|
|
4840
|
+
/**
|
|
4841
|
+
* Creates a new FindManyRequest instance using the specified properties.
|
|
4842
|
+
* @param [properties] Properties to set
|
|
4843
|
+
* @returns FindManyRequest instance
|
|
4844
|
+
*/
|
|
4845
|
+
public static create(properties?: community.IFindManyRequest): community.FindManyRequest;
|
|
4846
|
+
|
|
4847
|
+
/**
|
|
4848
|
+
* Encodes the specified FindManyRequest message. Does not implicitly {@link community.FindManyRequest.verify|verify} messages.
|
|
4849
|
+
* @param message FindManyRequest message or plain object to encode
|
|
4850
|
+
* @param [writer] Writer to encode to
|
|
4851
|
+
* @returns Writer
|
|
4852
|
+
*/
|
|
4853
|
+
public static encode(message: community.IFindManyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4854
|
+
|
|
4855
|
+
/**
|
|
4856
|
+
* Encodes the specified FindManyRequest message, length delimited. Does not implicitly {@link community.FindManyRequest.verify|verify} messages.
|
|
4857
|
+
* @param message FindManyRequest message or plain object to encode
|
|
4858
|
+
* @param [writer] Writer to encode to
|
|
4859
|
+
* @returns Writer
|
|
4860
|
+
*/
|
|
4861
|
+
public static encodeDelimited(message: community.IFindManyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4862
|
+
|
|
4863
|
+
/**
|
|
4864
|
+
* Decodes a FindManyRequest message from the specified reader or buffer.
|
|
4865
|
+
* @param reader Reader or buffer to decode from
|
|
4866
|
+
* @param [length] Message length if known beforehand
|
|
4867
|
+
* @returns FindManyRequest
|
|
4868
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4869
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4870
|
+
*/
|
|
4871
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): community.FindManyRequest;
|
|
4872
|
+
|
|
4873
|
+
/**
|
|
4874
|
+
* Decodes a FindManyRequest message from the specified reader or buffer, length delimited.
|
|
4875
|
+
* @param reader Reader or buffer to decode from
|
|
4876
|
+
* @returns FindManyRequest
|
|
4877
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4878
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4879
|
+
*/
|
|
4880
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): community.FindManyRequest;
|
|
4881
|
+
|
|
4882
|
+
/**
|
|
4883
|
+
* Verifies a FindManyRequest message.
|
|
4884
|
+
* @param message Plain object to verify
|
|
4885
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4886
|
+
*/
|
|
4887
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4888
|
+
|
|
4889
|
+
/**
|
|
4890
|
+
* Creates a FindManyRequest message from a plain object. Also converts values to their respective internal types.
|
|
4891
|
+
* @param object Plain object
|
|
4892
|
+
* @returns FindManyRequest
|
|
4893
|
+
*/
|
|
4894
|
+
public static fromObject(object: { [k: string]: any }): community.FindManyRequest;
|
|
4895
|
+
|
|
4896
|
+
/**
|
|
4897
|
+
* Creates a plain object from a FindManyRequest message. Also converts values to other types if specified.
|
|
4898
|
+
* @param message FindManyRequest
|
|
4899
|
+
* @param [options] Conversion options
|
|
4900
|
+
* @returns Plain object
|
|
4901
|
+
*/
|
|
4902
|
+
public static toObject(message: community.FindManyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4903
|
+
|
|
4904
|
+
/**
|
|
4905
|
+
* Converts this FindManyRequest to JSON.
|
|
4906
|
+
* @returns JSON object
|
|
4907
|
+
*/
|
|
4908
|
+
public toJSON(): { [k: string]: any };
|
|
4909
|
+
}
|
|
4910
|
+
|
|
4911
|
+
/** Properties of a FindManyReply. */
|
|
4912
|
+
interface IFindManyReply {
|
|
4913
|
+
|
|
4914
|
+
/** FindManyReply favorites */
|
|
4915
|
+
favorites?: (community.IUserFavorite[]|null);
|
|
4916
|
+
}
|
|
4917
|
+
|
|
4918
|
+
/** Represents a FindManyReply. */
|
|
4919
|
+
class FindManyReply implements IFindManyReply {
|
|
4920
|
+
|
|
4921
|
+
/**
|
|
4922
|
+
* Constructs a new FindManyReply.
|
|
4923
|
+
* @param [properties] Properties to set
|
|
4924
|
+
*/
|
|
4925
|
+
constructor(properties?: community.IFindManyReply);
|
|
4926
|
+
|
|
4927
|
+
/** FindManyReply favorites. */
|
|
4928
|
+
public favorites: community.IUserFavorite[];
|
|
4929
|
+
|
|
4930
|
+
/**
|
|
4931
|
+
* Creates a new FindManyReply instance using the specified properties.
|
|
4932
|
+
* @param [properties] Properties to set
|
|
4933
|
+
* @returns FindManyReply instance
|
|
4934
|
+
*/
|
|
4935
|
+
public static create(properties?: community.IFindManyReply): community.FindManyReply;
|
|
4936
|
+
|
|
4937
|
+
/**
|
|
4938
|
+
* Encodes the specified FindManyReply message. Does not implicitly {@link community.FindManyReply.verify|verify} messages.
|
|
4939
|
+
* @param message FindManyReply message or plain object to encode
|
|
4940
|
+
* @param [writer] Writer to encode to
|
|
4941
|
+
* @returns Writer
|
|
4942
|
+
*/
|
|
4943
|
+
public static encode(message: community.IFindManyReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4944
|
+
|
|
4945
|
+
/**
|
|
4946
|
+
* Encodes the specified FindManyReply message, length delimited. Does not implicitly {@link community.FindManyReply.verify|verify} messages.
|
|
4947
|
+
* @param message FindManyReply message or plain object to encode
|
|
4948
|
+
* @param [writer] Writer to encode to
|
|
4949
|
+
* @returns Writer
|
|
4950
|
+
*/
|
|
4951
|
+
public static encodeDelimited(message: community.IFindManyReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4952
|
+
|
|
4953
|
+
/**
|
|
4954
|
+
* Decodes a FindManyReply message from the specified reader or buffer.
|
|
4955
|
+
* @param reader Reader or buffer to decode from
|
|
4956
|
+
* @param [length] Message length if known beforehand
|
|
4957
|
+
* @returns FindManyReply
|
|
4958
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4959
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4960
|
+
*/
|
|
4961
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): community.FindManyReply;
|
|
4962
|
+
|
|
4963
|
+
/**
|
|
4964
|
+
* Decodes a FindManyReply message from the specified reader or buffer, length delimited.
|
|
4965
|
+
* @param reader Reader or buffer to decode from
|
|
4966
|
+
* @returns FindManyReply
|
|
4967
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4968
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4969
|
+
*/
|
|
4970
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): community.FindManyReply;
|
|
4971
|
+
|
|
4972
|
+
/**
|
|
4973
|
+
* Verifies a FindManyReply message.
|
|
4974
|
+
* @param message Plain object to verify
|
|
4975
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4976
|
+
*/
|
|
4977
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4978
|
+
|
|
4979
|
+
/**
|
|
4980
|
+
* Creates a FindManyReply message from a plain object. Also converts values to their respective internal types.
|
|
4981
|
+
* @param object Plain object
|
|
4982
|
+
* @returns FindManyReply
|
|
4983
|
+
*/
|
|
4984
|
+
public static fromObject(object: { [k: string]: any }): community.FindManyReply;
|
|
4985
|
+
|
|
4986
|
+
/**
|
|
4987
|
+
* Creates a plain object from a FindManyReply message. Also converts values to other types if specified.
|
|
4988
|
+
* @param message FindManyReply
|
|
4989
|
+
* @param [options] Conversion options
|
|
4990
|
+
* @returns Plain object
|
|
4991
|
+
*/
|
|
4992
|
+
public static toObject(message: community.FindManyReply, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4993
|
+
|
|
4994
|
+
/**
|
|
4995
|
+
* Converts this FindManyReply to JSON.
|
|
4996
|
+
* @returns JSON object
|
|
4997
|
+
*/
|
|
4998
|
+
public toJSON(): { [k: string]: any };
|
|
4999
|
+
}
|
|
5000
|
+
|
|
5001
|
+
/** Properties of a UserFavorite. */
|
|
5002
|
+
interface IUserFavorite {
|
|
5003
|
+
|
|
5004
|
+
/** UserFavorite id */
|
|
5005
|
+
id?: (number|Long|null);
|
|
5006
|
+
|
|
5007
|
+
/** UserFavorite userId */
|
|
5008
|
+
userId?: (string|null);
|
|
5009
|
+
|
|
5010
|
+
/** UserFavorite activityId */
|
|
5011
|
+
activityId?: (number|null);
|
|
5012
|
+
|
|
5013
|
+
/** UserFavorite createdAt */
|
|
5014
|
+
createdAt?: (date.IDate|null);
|
|
5015
|
+
|
|
5016
|
+
/** UserFavorite updatedAt */
|
|
5017
|
+
updatedAt?: (date.IDate|null);
|
|
5018
|
+
}
|
|
5019
|
+
|
|
5020
|
+
/** Represents a UserFavorite. */
|
|
5021
|
+
class UserFavorite implements IUserFavorite {
|
|
5022
|
+
|
|
5023
|
+
/**
|
|
5024
|
+
* Constructs a new UserFavorite.
|
|
5025
|
+
* @param [properties] Properties to set
|
|
5026
|
+
*/
|
|
5027
|
+
constructor(properties?: community.IUserFavorite);
|
|
5028
|
+
|
|
5029
|
+
/** UserFavorite id. */
|
|
5030
|
+
public id: (number|Long);
|
|
5031
|
+
|
|
5032
|
+
/** UserFavorite userId. */
|
|
5033
|
+
public userId: string;
|
|
5034
|
+
|
|
5035
|
+
/** UserFavorite activityId. */
|
|
5036
|
+
public activityId: number;
|
|
5037
|
+
|
|
5038
|
+
/** UserFavorite createdAt. */
|
|
5039
|
+
public createdAt?: (date.IDate|null);
|
|
5040
|
+
|
|
5041
|
+
/** UserFavorite updatedAt. */
|
|
5042
|
+
public updatedAt?: (date.IDate|null);
|
|
5043
|
+
|
|
5044
|
+
/**
|
|
5045
|
+
* Creates a new UserFavorite instance using the specified properties.
|
|
5046
|
+
* @param [properties] Properties to set
|
|
5047
|
+
* @returns UserFavorite instance
|
|
5048
|
+
*/
|
|
5049
|
+
public static create(properties?: community.IUserFavorite): community.UserFavorite;
|
|
5050
|
+
|
|
5051
|
+
/**
|
|
5052
|
+
* Encodes the specified UserFavorite message. Does not implicitly {@link community.UserFavorite.verify|verify} messages.
|
|
5053
|
+
* @param message UserFavorite message or plain object to encode
|
|
5054
|
+
* @param [writer] Writer to encode to
|
|
5055
|
+
* @returns Writer
|
|
5056
|
+
*/
|
|
5057
|
+
public static encode(message: community.IUserFavorite, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5058
|
+
|
|
5059
|
+
/**
|
|
5060
|
+
* Encodes the specified UserFavorite message, length delimited. Does not implicitly {@link community.UserFavorite.verify|verify} messages.
|
|
5061
|
+
* @param message UserFavorite message or plain object to encode
|
|
5062
|
+
* @param [writer] Writer to encode to
|
|
5063
|
+
* @returns Writer
|
|
5064
|
+
*/
|
|
5065
|
+
public static encodeDelimited(message: community.IUserFavorite, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5066
|
+
|
|
5067
|
+
/**
|
|
5068
|
+
* Decodes a UserFavorite message from the specified reader or buffer.
|
|
5069
|
+
* @param reader Reader or buffer to decode from
|
|
5070
|
+
* @param [length] Message length if known beforehand
|
|
5071
|
+
* @returns UserFavorite
|
|
5072
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5073
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5074
|
+
*/
|
|
5075
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): community.UserFavorite;
|
|
5076
|
+
|
|
5077
|
+
/**
|
|
5078
|
+
* Decodes a UserFavorite message from the specified reader or buffer, length delimited.
|
|
5079
|
+
* @param reader Reader or buffer to decode from
|
|
5080
|
+
* @returns UserFavorite
|
|
5081
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5082
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5083
|
+
*/
|
|
5084
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): community.UserFavorite;
|
|
5085
|
+
|
|
5086
|
+
/**
|
|
5087
|
+
* Verifies a UserFavorite message.
|
|
5088
|
+
* @param message Plain object to verify
|
|
5089
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5090
|
+
*/
|
|
5091
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5092
|
+
|
|
5093
|
+
/**
|
|
5094
|
+
* Creates a UserFavorite message from a plain object. Also converts values to their respective internal types.
|
|
5095
|
+
* @param object Plain object
|
|
5096
|
+
* @returns UserFavorite
|
|
5097
|
+
*/
|
|
5098
|
+
public static fromObject(object: { [k: string]: any }): community.UserFavorite;
|
|
5099
|
+
|
|
5100
|
+
/**
|
|
5101
|
+
* Creates a plain object from a UserFavorite message. Also converts values to other types if specified.
|
|
5102
|
+
* @param message UserFavorite
|
|
5103
|
+
* @param [options] Conversion options
|
|
5104
|
+
* @returns Plain object
|
|
5105
|
+
*/
|
|
5106
|
+
public static toObject(message: community.UserFavorite, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5107
|
+
|
|
5108
|
+
/**
|
|
5109
|
+
* Converts this UserFavorite to JSON.
|
|
5110
|
+
* @returns JSON object
|
|
5111
|
+
*/
|
|
5112
|
+
public toJSON(): { [k: string]: any };
|
|
5113
|
+
}
|
|
5114
|
+
|
|
5115
|
+
/** FamilyPlanRole enum. */
|
|
5116
|
+
enum FamilyPlanRole {
|
|
5117
|
+
FAMILYPLAN_UNKNOWN = 0,
|
|
5118
|
+
FAMILYPLAN_OWNER = 1,
|
|
5119
|
+
FAMILYPLAN_MEMBER = 2
|
|
5120
|
+
}
|
|
5121
|
+
}
|
|
5122
|
+
|
|
4224
5123
|
/** Namespace elf. */
|
|
4225
5124
|
export namespace elf {
|
|
4226
5125
|
|
|
@@ -19445,6 +20344,12 @@ export interface IFamilyMemberAdded {
|
|
|
19445
20344
|
|
|
19446
20345
|
/** FamilyMemberAdded token */
|
|
19447
20346
|
token?: (string|null);
|
|
20347
|
+
|
|
20348
|
+
/** FamilyMemberAdded role */
|
|
20349
|
+
role?: (community.FamilyPlanRole|null);
|
|
20350
|
+
|
|
20351
|
+
/** FamilyMemberAdded orgId */
|
|
20352
|
+
orgId?: (number|null);
|
|
19448
20353
|
}
|
|
19449
20354
|
|
|
19450
20355
|
/** Represents a FamilyMemberAdded. */
|
|
@@ -19474,6 +20379,12 @@ export class FamilyMemberAdded implements IFamilyMemberAdded {
|
|
|
19474
20379
|
/** FamilyMemberAdded token. */
|
|
19475
20380
|
public token: string;
|
|
19476
20381
|
|
|
20382
|
+
/** FamilyMemberAdded role. */
|
|
20383
|
+
public role: community.FamilyPlanRole;
|
|
20384
|
+
|
|
20385
|
+
/** FamilyMemberAdded orgId. */
|
|
20386
|
+
public orgId: number;
|
|
20387
|
+
|
|
19477
20388
|
/**
|
|
19478
20389
|
* Creates a new FamilyMemberAdded instance using the specified properties.
|
|
19479
20390
|
* @param [properties] Properties to set
|
|
@@ -19565,6 +20476,12 @@ export interface IFamilyMemberInvited {
|
|
|
19565
20476
|
|
|
19566
20477
|
/** FamilyMemberInvited userId */
|
|
19567
20478
|
userId?: (string|null);
|
|
20479
|
+
|
|
20480
|
+
/** FamilyMemberInvited role */
|
|
20481
|
+
role?: (community.FamilyPlanRole|null);
|
|
20482
|
+
|
|
20483
|
+
/** FamilyMemberInvited orgId */
|
|
20484
|
+
orgId?: (number|null);
|
|
19568
20485
|
}
|
|
19569
20486
|
|
|
19570
20487
|
/** Represents a FamilyMemberInvited. */
|
|
@@ -19594,6 +20511,12 @@ export class FamilyMemberInvited implements IFamilyMemberInvited {
|
|
|
19594
20511
|
/** FamilyMemberInvited userId. */
|
|
19595
20512
|
public userId: string;
|
|
19596
20513
|
|
|
20514
|
+
/** FamilyMemberInvited role. */
|
|
20515
|
+
public role: community.FamilyPlanRole;
|
|
20516
|
+
|
|
20517
|
+
/** FamilyMemberInvited orgId. */
|
|
20518
|
+
public orgId: number;
|
|
20519
|
+
|
|
19597
20520
|
/**
|
|
19598
20521
|
* Creates a new FamilyMemberInvited instance using the specified properties.
|
|
19599
20522
|
* @param [properties] Properties to set
|
|
@@ -19685,6 +20608,12 @@ export interface IFamilyMemberRejected {
|
|
|
19685
20608
|
|
|
19686
20609
|
/** FamilyMemberRejected userId */
|
|
19687
20610
|
userId?: (string|null);
|
|
20611
|
+
|
|
20612
|
+
/** FamilyMemberRejected role */
|
|
20613
|
+
role?: (community.FamilyPlanRole|null);
|
|
20614
|
+
|
|
20615
|
+
/** FamilyMemberRejected orgId */
|
|
20616
|
+
orgId?: (number|null);
|
|
19688
20617
|
}
|
|
19689
20618
|
|
|
19690
20619
|
/** Represents a FamilyMemberRejected. */
|
|
@@ -19714,6 +20643,12 @@ export class FamilyMemberRejected implements IFamilyMemberRejected {
|
|
|
19714
20643
|
/** FamilyMemberRejected userId. */
|
|
19715
20644
|
public userId: string;
|
|
19716
20645
|
|
|
20646
|
+
/** FamilyMemberRejected role. */
|
|
20647
|
+
public role: community.FamilyPlanRole;
|
|
20648
|
+
|
|
20649
|
+
/** FamilyMemberRejected orgId. */
|
|
20650
|
+
public orgId: number;
|
|
20651
|
+
|
|
19717
20652
|
/**
|
|
19718
20653
|
* Creates a new FamilyMemberRejected instance using the specified properties.
|
|
19719
20654
|
* @param [properties] Properties to set
|
|
@@ -19799,6 +20734,12 @@ export interface IFamilyMemberRemoved {
|
|
|
19799
20734
|
|
|
19800
20735
|
/** FamilyMemberRemoved userGroupId */
|
|
19801
20736
|
userGroupId?: (number|null);
|
|
20737
|
+
|
|
20738
|
+
/** FamilyMemberRemoved role */
|
|
20739
|
+
role?: (community.FamilyPlanRole|null);
|
|
20740
|
+
|
|
20741
|
+
/** FamilyMemberRemoved orgId */
|
|
20742
|
+
orgId?: (number|null);
|
|
19802
20743
|
}
|
|
19803
20744
|
|
|
19804
20745
|
/** Represents a FamilyMemberRemoved. */
|
|
@@ -19822,6 +20763,12 @@ export class FamilyMemberRemoved implements IFamilyMemberRemoved {
|
|
|
19822
20763
|
/** FamilyMemberRemoved userGroupId. */
|
|
19823
20764
|
public userGroupId: number;
|
|
19824
20765
|
|
|
20766
|
+
/** FamilyMemberRemoved role. */
|
|
20767
|
+
public role: community.FamilyPlanRole;
|
|
20768
|
+
|
|
20769
|
+
/** FamilyMemberRemoved orgId. */
|
|
20770
|
+
public orgId: number;
|
|
20771
|
+
|
|
19825
20772
|
/**
|
|
19826
20773
|
* Creates a new FamilyMemberRemoved instance using the specified properties.
|
|
19827
20774
|
* @param [properties] Properties to set
|