@headspace/protos-events 1.104.0 → 1.106.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 +126 -0
- package/lib/index.js +336 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4059,6 +4059,9 @@ export interface ISurveyQuestion {
|
|
|
4059
4059
|
|
|
4060
4060
|
/** SurveyQuestion answers */
|
|
4061
4061
|
answers?: (ISurveyAnswer[]|null);
|
|
4062
|
+
|
|
4063
|
+
/** SurveyQuestion shorthand */
|
|
4064
|
+
shorthand?: (string|null);
|
|
4062
4065
|
}
|
|
4063
4066
|
|
|
4064
4067
|
/** Represents a SurveyQuestion. */
|
|
@@ -4076,6 +4079,9 @@ export class SurveyQuestion implements ISurveyQuestion {
|
|
|
4076
4079
|
/** SurveyQuestion answers. */
|
|
4077
4080
|
public answers: ISurveyAnswer[];
|
|
4078
4081
|
|
|
4082
|
+
/** SurveyQuestion shorthand. */
|
|
4083
|
+
public shorthand: string;
|
|
4084
|
+
|
|
4079
4085
|
/**
|
|
4080
4086
|
* Creates a new SurveyQuestion instance using the specified properties.
|
|
4081
4087
|
* @param [properties] Properties to set
|
|
@@ -6591,6 +6597,9 @@ export interface IAccessGroupCreated {
|
|
|
6591
6597
|
|
|
6592
6598
|
/** AccessGroupCreated createdAt */
|
|
6593
6599
|
createdAt?: (number|Long|null);
|
|
6600
|
+
|
|
6601
|
+
/** AccessGroupCreated slug */
|
|
6602
|
+
slug?: (string|null);
|
|
6594
6603
|
}
|
|
6595
6604
|
|
|
6596
6605
|
/** Represents an AccessGroupCreated. */
|
|
@@ -6611,6 +6620,9 @@ export class AccessGroupCreated implements IAccessGroupCreated {
|
|
|
6611
6620
|
/** AccessGroupCreated createdAt. */
|
|
6612
6621
|
public createdAt: (number|Long);
|
|
6613
6622
|
|
|
6623
|
+
/** AccessGroupCreated slug. */
|
|
6624
|
+
public slug: string;
|
|
6625
|
+
|
|
6614
6626
|
/**
|
|
6615
6627
|
* Creates a new AccessGroupCreated instance using the specified properties.
|
|
6616
6628
|
* @param [properties] Properties to set
|
|
@@ -6682,6 +6694,114 @@ export class AccessGroupCreated implements IAccessGroupCreated {
|
|
|
6682
6694
|
public toJSON(): { [k: string]: any };
|
|
6683
6695
|
}
|
|
6684
6696
|
|
|
6697
|
+
/** Properties of an AccessGroupUpdated. */
|
|
6698
|
+
export interface IAccessGroupUpdated {
|
|
6699
|
+
|
|
6700
|
+
/** AccessGroupUpdated accessGroupName */
|
|
6701
|
+
accessGroupName?: (string|null);
|
|
6702
|
+
|
|
6703
|
+
/** AccessGroupUpdated description */
|
|
6704
|
+
description?: (string|null);
|
|
6705
|
+
|
|
6706
|
+
/** AccessGroupUpdated updatedAt */
|
|
6707
|
+
updatedAt?: (number|Long|null);
|
|
6708
|
+
|
|
6709
|
+
/** AccessGroupUpdated slug */
|
|
6710
|
+
slug?: (string|null);
|
|
6711
|
+
}
|
|
6712
|
+
|
|
6713
|
+
/** Represents an AccessGroupUpdated. */
|
|
6714
|
+
export class AccessGroupUpdated implements IAccessGroupUpdated {
|
|
6715
|
+
|
|
6716
|
+
/**
|
|
6717
|
+
* Constructs a new AccessGroupUpdated.
|
|
6718
|
+
* @param [properties] Properties to set
|
|
6719
|
+
*/
|
|
6720
|
+
constructor(properties?: IAccessGroupUpdated);
|
|
6721
|
+
|
|
6722
|
+
/** AccessGroupUpdated accessGroupName. */
|
|
6723
|
+
public accessGroupName: string;
|
|
6724
|
+
|
|
6725
|
+
/** AccessGroupUpdated description. */
|
|
6726
|
+
public description: string;
|
|
6727
|
+
|
|
6728
|
+
/** AccessGroupUpdated updatedAt. */
|
|
6729
|
+
public updatedAt: (number|Long);
|
|
6730
|
+
|
|
6731
|
+
/** AccessGroupUpdated slug. */
|
|
6732
|
+
public slug: string;
|
|
6733
|
+
|
|
6734
|
+
/**
|
|
6735
|
+
* Creates a new AccessGroupUpdated instance using the specified properties.
|
|
6736
|
+
* @param [properties] Properties to set
|
|
6737
|
+
* @returns AccessGroupUpdated instance
|
|
6738
|
+
*/
|
|
6739
|
+
public static create(properties?: IAccessGroupUpdated): AccessGroupUpdated;
|
|
6740
|
+
|
|
6741
|
+
/**
|
|
6742
|
+
* Encodes the specified AccessGroupUpdated message. Does not implicitly {@link AccessGroupUpdated.verify|verify} messages.
|
|
6743
|
+
* @param message AccessGroupUpdated message or plain object to encode
|
|
6744
|
+
* @param [writer] Writer to encode to
|
|
6745
|
+
* @returns Writer
|
|
6746
|
+
*/
|
|
6747
|
+
public static encode(message: IAccessGroupUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6748
|
+
|
|
6749
|
+
/**
|
|
6750
|
+
* Encodes the specified AccessGroupUpdated message, length delimited. Does not implicitly {@link AccessGroupUpdated.verify|verify} messages.
|
|
6751
|
+
* @param message AccessGroupUpdated message or plain object to encode
|
|
6752
|
+
* @param [writer] Writer to encode to
|
|
6753
|
+
* @returns Writer
|
|
6754
|
+
*/
|
|
6755
|
+
public static encodeDelimited(message: IAccessGroupUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6756
|
+
|
|
6757
|
+
/**
|
|
6758
|
+
* Decodes an AccessGroupUpdated message from the specified reader or buffer.
|
|
6759
|
+
* @param reader Reader or buffer to decode from
|
|
6760
|
+
* @param [length] Message length if known beforehand
|
|
6761
|
+
* @returns AccessGroupUpdated
|
|
6762
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6763
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6764
|
+
*/
|
|
6765
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AccessGroupUpdated;
|
|
6766
|
+
|
|
6767
|
+
/**
|
|
6768
|
+
* Decodes an AccessGroupUpdated message from the specified reader or buffer, length delimited.
|
|
6769
|
+
* @param reader Reader or buffer to decode from
|
|
6770
|
+
* @returns AccessGroupUpdated
|
|
6771
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6772
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6773
|
+
*/
|
|
6774
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AccessGroupUpdated;
|
|
6775
|
+
|
|
6776
|
+
/**
|
|
6777
|
+
* Verifies an AccessGroupUpdated message.
|
|
6778
|
+
* @param message Plain object to verify
|
|
6779
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6780
|
+
*/
|
|
6781
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6782
|
+
|
|
6783
|
+
/**
|
|
6784
|
+
* Creates an AccessGroupUpdated message from a plain object. Also converts values to their respective internal types.
|
|
6785
|
+
* @param object Plain object
|
|
6786
|
+
* @returns AccessGroupUpdated
|
|
6787
|
+
*/
|
|
6788
|
+
public static fromObject(object: { [k: string]: any }): AccessGroupUpdated;
|
|
6789
|
+
|
|
6790
|
+
/**
|
|
6791
|
+
* Creates a plain object from an AccessGroupUpdated message. Also converts values to other types if specified.
|
|
6792
|
+
* @param message AccessGroupUpdated
|
|
6793
|
+
* @param [options] Conversion options
|
|
6794
|
+
* @returns Plain object
|
|
6795
|
+
*/
|
|
6796
|
+
public static toObject(message: AccessGroupUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6797
|
+
|
|
6798
|
+
/**
|
|
6799
|
+
* Converts this AccessGroupUpdated to JSON.
|
|
6800
|
+
* @returns JSON object
|
|
6801
|
+
*/
|
|
6802
|
+
public toJSON(): { [k: string]: any };
|
|
6803
|
+
}
|
|
6804
|
+
|
|
6685
6805
|
/** Properties of an AccessGroupDeleted. */
|
|
6686
6806
|
export interface IAccessGroupDeleted {
|
|
6687
6807
|
|
|
@@ -6690,6 +6810,9 @@ export interface IAccessGroupDeleted {
|
|
|
6690
6810
|
|
|
6691
6811
|
/** AccessGroupDeleted deletedAt */
|
|
6692
6812
|
deletedAt?: (number|Long|null);
|
|
6813
|
+
|
|
6814
|
+
/** AccessGroupDeleted slug */
|
|
6815
|
+
slug?: (string|null);
|
|
6693
6816
|
}
|
|
6694
6817
|
|
|
6695
6818
|
/** Represents an AccessGroupDeleted. */
|
|
@@ -6707,6 +6830,9 @@ export class AccessGroupDeleted implements IAccessGroupDeleted {
|
|
|
6707
6830
|
/** AccessGroupDeleted deletedAt. */
|
|
6708
6831
|
public deletedAt: (number|Long);
|
|
6709
6832
|
|
|
6833
|
+
/** AccessGroupDeleted slug. */
|
|
6834
|
+
public slug: string;
|
|
6835
|
+
|
|
6710
6836
|
/**
|
|
6711
6837
|
* Creates a new AccessGroupDeleted instance using the specified properties.
|
|
6712
6838
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -10196,6 +10196,7 @@ $root.SurveyQuestion = (function() {
|
|
|
10196
10196
|
* @interface ISurveyQuestion
|
|
10197
10197
|
* @property {string|null} [title] SurveyQuestion title
|
|
10198
10198
|
* @property {Array.<ISurveyAnswer>|null} [answers] SurveyQuestion answers
|
|
10199
|
+
* @property {string|null} [shorthand] SurveyQuestion shorthand
|
|
10199
10200
|
*/
|
|
10200
10201
|
|
|
10201
10202
|
/**
|
|
@@ -10230,6 +10231,14 @@ $root.SurveyQuestion = (function() {
|
|
|
10230
10231
|
*/
|
|
10231
10232
|
SurveyQuestion.prototype.answers = $util.emptyArray;
|
|
10232
10233
|
|
|
10234
|
+
/**
|
|
10235
|
+
* SurveyQuestion shorthand.
|
|
10236
|
+
* @member {string} shorthand
|
|
10237
|
+
* @memberof SurveyQuestion
|
|
10238
|
+
* @instance
|
|
10239
|
+
*/
|
|
10240
|
+
SurveyQuestion.prototype.shorthand = "";
|
|
10241
|
+
|
|
10233
10242
|
/**
|
|
10234
10243
|
* Creates a new SurveyQuestion instance using the specified properties.
|
|
10235
10244
|
* @function create
|
|
@@ -10259,6 +10268,8 @@ $root.SurveyQuestion = (function() {
|
|
|
10259
10268
|
if (message.answers != null && message.answers.length)
|
|
10260
10269
|
for (var i = 0; i < message.answers.length; ++i)
|
|
10261
10270
|
$root.SurveyAnswer.encode(message.answers[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
10271
|
+
if (message.shorthand != null && message.hasOwnProperty("shorthand"))
|
|
10272
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.shorthand);
|
|
10262
10273
|
return writer;
|
|
10263
10274
|
};
|
|
10264
10275
|
|
|
@@ -10301,6 +10312,9 @@ $root.SurveyQuestion = (function() {
|
|
|
10301
10312
|
message.answers = [];
|
|
10302
10313
|
message.answers.push($root.SurveyAnswer.decode(reader, reader.uint32()));
|
|
10303
10314
|
break;
|
|
10315
|
+
case 3:
|
|
10316
|
+
message.shorthand = reader.string();
|
|
10317
|
+
break;
|
|
10304
10318
|
default:
|
|
10305
10319
|
reader.skipType(tag & 7);
|
|
10306
10320
|
break;
|
|
@@ -10348,6 +10362,9 @@ $root.SurveyQuestion = (function() {
|
|
|
10348
10362
|
return "answers." + error;
|
|
10349
10363
|
}
|
|
10350
10364
|
}
|
|
10365
|
+
if (message.shorthand != null && message.hasOwnProperty("shorthand"))
|
|
10366
|
+
if (!$util.isString(message.shorthand))
|
|
10367
|
+
return "shorthand: string expected";
|
|
10351
10368
|
return null;
|
|
10352
10369
|
};
|
|
10353
10370
|
|
|
@@ -10375,6 +10392,8 @@ $root.SurveyQuestion = (function() {
|
|
|
10375
10392
|
message.answers[i] = $root.SurveyAnswer.fromObject(object.answers[i]);
|
|
10376
10393
|
}
|
|
10377
10394
|
}
|
|
10395
|
+
if (object.shorthand != null)
|
|
10396
|
+
message.shorthand = String(object.shorthand);
|
|
10378
10397
|
return message;
|
|
10379
10398
|
};
|
|
10380
10399
|
|
|
@@ -10393,8 +10412,10 @@ $root.SurveyQuestion = (function() {
|
|
|
10393
10412
|
var object = {};
|
|
10394
10413
|
if (options.arrays || options.defaults)
|
|
10395
10414
|
object.answers = [];
|
|
10396
|
-
if (options.defaults)
|
|
10415
|
+
if (options.defaults) {
|
|
10397
10416
|
object.title = "";
|
|
10417
|
+
object.shorthand = "";
|
|
10418
|
+
}
|
|
10398
10419
|
if (message.title != null && message.hasOwnProperty("title"))
|
|
10399
10420
|
object.title = message.title;
|
|
10400
10421
|
if (message.answers && message.answers.length) {
|
|
@@ -10402,6 +10423,8 @@ $root.SurveyQuestion = (function() {
|
|
|
10402
10423
|
for (var j = 0; j < message.answers.length; ++j)
|
|
10403
10424
|
object.answers[j] = $root.SurveyAnswer.toObject(message.answers[j], options);
|
|
10404
10425
|
}
|
|
10426
|
+
if (message.shorthand != null && message.hasOwnProperty("shorthand"))
|
|
10427
|
+
object.shorthand = message.shorthand;
|
|
10405
10428
|
return object;
|
|
10406
10429
|
};
|
|
10407
10430
|
|
|
@@ -16734,6 +16757,7 @@ $root.AccessGroupCreated = (function() {
|
|
|
16734
16757
|
* @property {string|null} [accessGroupName] AccessGroupCreated accessGroupName
|
|
16735
16758
|
* @property {string|null} [description] AccessGroupCreated description
|
|
16736
16759
|
* @property {number|Long|null} [createdAt] AccessGroupCreated createdAt
|
|
16760
|
+
* @property {string|null} [slug] AccessGroupCreated slug
|
|
16737
16761
|
*/
|
|
16738
16762
|
|
|
16739
16763
|
/**
|
|
@@ -16775,6 +16799,14 @@ $root.AccessGroupCreated = (function() {
|
|
|
16775
16799
|
*/
|
|
16776
16800
|
AccessGroupCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
16777
16801
|
|
|
16802
|
+
/**
|
|
16803
|
+
* AccessGroupCreated slug.
|
|
16804
|
+
* @member {string} slug
|
|
16805
|
+
* @memberof AccessGroupCreated
|
|
16806
|
+
* @instance
|
|
16807
|
+
*/
|
|
16808
|
+
AccessGroupCreated.prototype.slug = "";
|
|
16809
|
+
|
|
16778
16810
|
/**
|
|
16779
16811
|
* Creates a new AccessGroupCreated instance using the specified properties.
|
|
16780
16812
|
* @function create
|
|
@@ -16805,6 +16837,8 @@ $root.AccessGroupCreated = (function() {
|
|
|
16805
16837
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.description);
|
|
16806
16838
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
16807
16839
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.createdAt);
|
|
16840
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
16841
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.slug);
|
|
16808
16842
|
return writer;
|
|
16809
16843
|
};
|
|
16810
16844
|
|
|
@@ -16848,6 +16882,9 @@ $root.AccessGroupCreated = (function() {
|
|
|
16848
16882
|
case 3:
|
|
16849
16883
|
message.createdAt = reader.uint64();
|
|
16850
16884
|
break;
|
|
16885
|
+
case 4:
|
|
16886
|
+
message.slug = reader.string();
|
|
16887
|
+
break;
|
|
16851
16888
|
default:
|
|
16852
16889
|
reader.skipType(tag & 7);
|
|
16853
16890
|
break;
|
|
@@ -16892,6 +16929,9 @@ $root.AccessGroupCreated = (function() {
|
|
|
16892
16929
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
16893
16930
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
16894
16931
|
return "createdAt: integer|Long expected";
|
|
16932
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
16933
|
+
if (!$util.isString(message.slug))
|
|
16934
|
+
return "slug: string expected";
|
|
16895
16935
|
return null;
|
|
16896
16936
|
};
|
|
16897
16937
|
|
|
@@ -16920,6 +16960,8 @@ $root.AccessGroupCreated = (function() {
|
|
|
16920
16960
|
message.createdAt = object.createdAt;
|
|
16921
16961
|
else if (typeof object.createdAt === "object")
|
|
16922
16962
|
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
16963
|
+
if (object.slug != null)
|
|
16964
|
+
message.slug = String(object.slug);
|
|
16923
16965
|
return message;
|
|
16924
16966
|
};
|
|
16925
16967
|
|
|
@@ -16944,6 +16986,7 @@ $root.AccessGroupCreated = (function() {
|
|
|
16944
16986
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
16945
16987
|
} else
|
|
16946
16988
|
object.createdAt = options.longs === String ? "0" : 0;
|
|
16989
|
+
object.slug = "";
|
|
16947
16990
|
}
|
|
16948
16991
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16949
16992
|
object.accessGroupName = message.accessGroupName;
|
|
@@ -16954,6 +16997,8 @@ $root.AccessGroupCreated = (function() {
|
|
|
16954
16997
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
16955
16998
|
else
|
|
16956
16999
|
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;
|
|
17000
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17001
|
+
object.slug = message.slug;
|
|
16957
17002
|
return object;
|
|
16958
17003
|
};
|
|
16959
17004
|
|
|
@@ -16971,6 +17016,274 @@ $root.AccessGroupCreated = (function() {
|
|
|
16971
17016
|
return AccessGroupCreated;
|
|
16972
17017
|
})();
|
|
16973
17018
|
|
|
17019
|
+
$root.AccessGroupUpdated = (function() {
|
|
17020
|
+
|
|
17021
|
+
/**
|
|
17022
|
+
* Properties of an AccessGroupUpdated.
|
|
17023
|
+
* @exports IAccessGroupUpdated
|
|
17024
|
+
* @interface IAccessGroupUpdated
|
|
17025
|
+
* @property {string|null} [accessGroupName] AccessGroupUpdated accessGroupName
|
|
17026
|
+
* @property {string|null} [description] AccessGroupUpdated description
|
|
17027
|
+
* @property {number|Long|null} [updatedAt] AccessGroupUpdated updatedAt
|
|
17028
|
+
* @property {string|null} [slug] AccessGroupUpdated slug
|
|
17029
|
+
*/
|
|
17030
|
+
|
|
17031
|
+
/**
|
|
17032
|
+
* Constructs a new AccessGroupUpdated.
|
|
17033
|
+
* @exports AccessGroupUpdated
|
|
17034
|
+
* @classdesc Represents an AccessGroupUpdated.
|
|
17035
|
+
* @implements IAccessGroupUpdated
|
|
17036
|
+
* @constructor
|
|
17037
|
+
* @param {IAccessGroupUpdated=} [properties] Properties to set
|
|
17038
|
+
*/
|
|
17039
|
+
function AccessGroupUpdated(properties) {
|
|
17040
|
+
if (properties)
|
|
17041
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
17042
|
+
if (properties[keys[i]] != null)
|
|
17043
|
+
this[keys[i]] = properties[keys[i]];
|
|
17044
|
+
}
|
|
17045
|
+
|
|
17046
|
+
/**
|
|
17047
|
+
* AccessGroupUpdated accessGroupName.
|
|
17048
|
+
* @member {string} accessGroupName
|
|
17049
|
+
* @memberof AccessGroupUpdated
|
|
17050
|
+
* @instance
|
|
17051
|
+
*/
|
|
17052
|
+
AccessGroupUpdated.prototype.accessGroupName = "";
|
|
17053
|
+
|
|
17054
|
+
/**
|
|
17055
|
+
* AccessGroupUpdated description.
|
|
17056
|
+
* @member {string} description
|
|
17057
|
+
* @memberof AccessGroupUpdated
|
|
17058
|
+
* @instance
|
|
17059
|
+
*/
|
|
17060
|
+
AccessGroupUpdated.prototype.description = "";
|
|
17061
|
+
|
|
17062
|
+
/**
|
|
17063
|
+
* AccessGroupUpdated updatedAt.
|
|
17064
|
+
* @member {number|Long} updatedAt
|
|
17065
|
+
* @memberof AccessGroupUpdated
|
|
17066
|
+
* @instance
|
|
17067
|
+
*/
|
|
17068
|
+
AccessGroupUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
17069
|
+
|
|
17070
|
+
/**
|
|
17071
|
+
* AccessGroupUpdated slug.
|
|
17072
|
+
* @member {string} slug
|
|
17073
|
+
* @memberof AccessGroupUpdated
|
|
17074
|
+
* @instance
|
|
17075
|
+
*/
|
|
17076
|
+
AccessGroupUpdated.prototype.slug = "";
|
|
17077
|
+
|
|
17078
|
+
/**
|
|
17079
|
+
* Creates a new AccessGroupUpdated instance using the specified properties.
|
|
17080
|
+
* @function create
|
|
17081
|
+
* @memberof AccessGroupUpdated
|
|
17082
|
+
* @static
|
|
17083
|
+
* @param {IAccessGroupUpdated=} [properties] Properties to set
|
|
17084
|
+
* @returns {AccessGroupUpdated} AccessGroupUpdated instance
|
|
17085
|
+
*/
|
|
17086
|
+
AccessGroupUpdated.create = function create(properties) {
|
|
17087
|
+
return new AccessGroupUpdated(properties);
|
|
17088
|
+
};
|
|
17089
|
+
|
|
17090
|
+
/**
|
|
17091
|
+
* Encodes the specified AccessGroupUpdated message. Does not implicitly {@link AccessGroupUpdated.verify|verify} messages.
|
|
17092
|
+
* @function encode
|
|
17093
|
+
* @memberof AccessGroupUpdated
|
|
17094
|
+
* @static
|
|
17095
|
+
* @param {IAccessGroupUpdated} message AccessGroupUpdated message or plain object to encode
|
|
17096
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17097
|
+
* @returns {$protobuf.Writer} Writer
|
|
17098
|
+
*/
|
|
17099
|
+
AccessGroupUpdated.encode = function encode(message, writer) {
|
|
17100
|
+
if (!writer)
|
|
17101
|
+
writer = $Writer.create();
|
|
17102
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17103
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.accessGroupName);
|
|
17104
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
17105
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.description);
|
|
17106
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
17107
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
|
|
17108
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17109
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.slug);
|
|
17110
|
+
return writer;
|
|
17111
|
+
};
|
|
17112
|
+
|
|
17113
|
+
/**
|
|
17114
|
+
* Encodes the specified AccessGroupUpdated message, length delimited. Does not implicitly {@link AccessGroupUpdated.verify|verify} messages.
|
|
17115
|
+
* @function encodeDelimited
|
|
17116
|
+
* @memberof AccessGroupUpdated
|
|
17117
|
+
* @static
|
|
17118
|
+
* @param {IAccessGroupUpdated} message AccessGroupUpdated message or plain object to encode
|
|
17119
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17120
|
+
* @returns {$protobuf.Writer} Writer
|
|
17121
|
+
*/
|
|
17122
|
+
AccessGroupUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
17123
|
+
return this.encode(message, writer).ldelim();
|
|
17124
|
+
};
|
|
17125
|
+
|
|
17126
|
+
/**
|
|
17127
|
+
* Decodes an AccessGroupUpdated message from the specified reader or buffer.
|
|
17128
|
+
* @function decode
|
|
17129
|
+
* @memberof AccessGroupUpdated
|
|
17130
|
+
* @static
|
|
17131
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17132
|
+
* @param {number} [length] Message length if known beforehand
|
|
17133
|
+
* @returns {AccessGroupUpdated} AccessGroupUpdated
|
|
17134
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17135
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17136
|
+
*/
|
|
17137
|
+
AccessGroupUpdated.decode = function decode(reader, length) {
|
|
17138
|
+
if (!(reader instanceof $Reader))
|
|
17139
|
+
reader = $Reader.create(reader);
|
|
17140
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AccessGroupUpdated();
|
|
17141
|
+
while (reader.pos < end) {
|
|
17142
|
+
var tag = reader.uint32();
|
|
17143
|
+
switch (tag >>> 3) {
|
|
17144
|
+
case 1:
|
|
17145
|
+
message.accessGroupName = reader.string();
|
|
17146
|
+
break;
|
|
17147
|
+
case 2:
|
|
17148
|
+
message.description = reader.string();
|
|
17149
|
+
break;
|
|
17150
|
+
case 3:
|
|
17151
|
+
message.updatedAt = reader.uint64();
|
|
17152
|
+
break;
|
|
17153
|
+
case 4:
|
|
17154
|
+
message.slug = reader.string();
|
|
17155
|
+
break;
|
|
17156
|
+
default:
|
|
17157
|
+
reader.skipType(tag & 7);
|
|
17158
|
+
break;
|
|
17159
|
+
}
|
|
17160
|
+
}
|
|
17161
|
+
return message;
|
|
17162
|
+
};
|
|
17163
|
+
|
|
17164
|
+
/**
|
|
17165
|
+
* Decodes an AccessGroupUpdated message from the specified reader or buffer, length delimited.
|
|
17166
|
+
* @function decodeDelimited
|
|
17167
|
+
* @memberof AccessGroupUpdated
|
|
17168
|
+
* @static
|
|
17169
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17170
|
+
* @returns {AccessGroupUpdated} AccessGroupUpdated
|
|
17171
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17172
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17173
|
+
*/
|
|
17174
|
+
AccessGroupUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
17175
|
+
if (!(reader instanceof $Reader))
|
|
17176
|
+
reader = new $Reader(reader);
|
|
17177
|
+
return this.decode(reader, reader.uint32());
|
|
17178
|
+
};
|
|
17179
|
+
|
|
17180
|
+
/**
|
|
17181
|
+
* Verifies an AccessGroupUpdated message.
|
|
17182
|
+
* @function verify
|
|
17183
|
+
* @memberof AccessGroupUpdated
|
|
17184
|
+
* @static
|
|
17185
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
17186
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
17187
|
+
*/
|
|
17188
|
+
AccessGroupUpdated.verify = function verify(message) {
|
|
17189
|
+
if (typeof message !== "object" || message === null)
|
|
17190
|
+
return "object expected";
|
|
17191
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17192
|
+
if (!$util.isString(message.accessGroupName))
|
|
17193
|
+
return "accessGroupName: string expected";
|
|
17194
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
17195
|
+
if (!$util.isString(message.description))
|
|
17196
|
+
return "description: string expected";
|
|
17197
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
17198
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
17199
|
+
return "updatedAt: integer|Long expected";
|
|
17200
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17201
|
+
if (!$util.isString(message.slug))
|
|
17202
|
+
return "slug: string expected";
|
|
17203
|
+
return null;
|
|
17204
|
+
};
|
|
17205
|
+
|
|
17206
|
+
/**
|
|
17207
|
+
* Creates an AccessGroupUpdated message from a plain object. Also converts values to their respective internal types.
|
|
17208
|
+
* @function fromObject
|
|
17209
|
+
* @memberof AccessGroupUpdated
|
|
17210
|
+
* @static
|
|
17211
|
+
* @param {Object.<string,*>} object Plain object
|
|
17212
|
+
* @returns {AccessGroupUpdated} AccessGroupUpdated
|
|
17213
|
+
*/
|
|
17214
|
+
AccessGroupUpdated.fromObject = function fromObject(object) {
|
|
17215
|
+
if (object instanceof $root.AccessGroupUpdated)
|
|
17216
|
+
return object;
|
|
17217
|
+
var message = new $root.AccessGroupUpdated();
|
|
17218
|
+
if (object.accessGroupName != null)
|
|
17219
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
17220
|
+
if (object.description != null)
|
|
17221
|
+
message.description = String(object.description);
|
|
17222
|
+
if (object.updatedAt != null)
|
|
17223
|
+
if ($util.Long)
|
|
17224
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
17225
|
+
else if (typeof object.updatedAt === "string")
|
|
17226
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
17227
|
+
else if (typeof object.updatedAt === "number")
|
|
17228
|
+
message.updatedAt = object.updatedAt;
|
|
17229
|
+
else if (typeof object.updatedAt === "object")
|
|
17230
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
17231
|
+
if (object.slug != null)
|
|
17232
|
+
message.slug = String(object.slug);
|
|
17233
|
+
return message;
|
|
17234
|
+
};
|
|
17235
|
+
|
|
17236
|
+
/**
|
|
17237
|
+
* Creates a plain object from an AccessGroupUpdated message. Also converts values to other types if specified.
|
|
17238
|
+
* @function toObject
|
|
17239
|
+
* @memberof AccessGroupUpdated
|
|
17240
|
+
* @static
|
|
17241
|
+
* @param {AccessGroupUpdated} message AccessGroupUpdated
|
|
17242
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
17243
|
+
* @returns {Object.<string,*>} Plain object
|
|
17244
|
+
*/
|
|
17245
|
+
AccessGroupUpdated.toObject = function toObject(message, options) {
|
|
17246
|
+
if (!options)
|
|
17247
|
+
options = {};
|
|
17248
|
+
var object = {};
|
|
17249
|
+
if (options.defaults) {
|
|
17250
|
+
object.accessGroupName = "";
|
|
17251
|
+
object.description = "";
|
|
17252
|
+
if ($util.Long) {
|
|
17253
|
+
var long = new $util.Long(0, 0, true);
|
|
17254
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
17255
|
+
} else
|
|
17256
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
17257
|
+
object.slug = "";
|
|
17258
|
+
}
|
|
17259
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17260
|
+
object.accessGroupName = message.accessGroupName;
|
|
17261
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
17262
|
+
object.description = message.description;
|
|
17263
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
17264
|
+
if (typeof message.updatedAt === "number")
|
|
17265
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
17266
|
+
else
|
|
17267
|
+
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
17268
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17269
|
+
object.slug = message.slug;
|
|
17270
|
+
return object;
|
|
17271
|
+
};
|
|
17272
|
+
|
|
17273
|
+
/**
|
|
17274
|
+
* Converts this AccessGroupUpdated to JSON.
|
|
17275
|
+
* @function toJSON
|
|
17276
|
+
* @memberof AccessGroupUpdated
|
|
17277
|
+
* @instance
|
|
17278
|
+
* @returns {Object.<string,*>} JSON object
|
|
17279
|
+
*/
|
|
17280
|
+
AccessGroupUpdated.prototype.toJSON = function toJSON() {
|
|
17281
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
17282
|
+
};
|
|
17283
|
+
|
|
17284
|
+
return AccessGroupUpdated;
|
|
17285
|
+
})();
|
|
17286
|
+
|
|
16974
17287
|
$root.AccessGroupDeleted = (function() {
|
|
16975
17288
|
|
|
16976
17289
|
/**
|
|
@@ -16979,6 +17292,7 @@ $root.AccessGroupDeleted = (function() {
|
|
|
16979
17292
|
* @interface IAccessGroupDeleted
|
|
16980
17293
|
* @property {string|null} [accessGroupName] AccessGroupDeleted accessGroupName
|
|
16981
17294
|
* @property {number|Long|null} [deletedAt] AccessGroupDeleted deletedAt
|
|
17295
|
+
* @property {string|null} [slug] AccessGroupDeleted slug
|
|
16982
17296
|
*/
|
|
16983
17297
|
|
|
16984
17298
|
/**
|
|
@@ -17012,6 +17326,14 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17012
17326
|
*/
|
|
17013
17327
|
AccessGroupDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
17014
17328
|
|
|
17329
|
+
/**
|
|
17330
|
+
* AccessGroupDeleted slug.
|
|
17331
|
+
* @member {string} slug
|
|
17332
|
+
* @memberof AccessGroupDeleted
|
|
17333
|
+
* @instance
|
|
17334
|
+
*/
|
|
17335
|
+
AccessGroupDeleted.prototype.slug = "";
|
|
17336
|
+
|
|
17015
17337
|
/**
|
|
17016
17338
|
* Creates a new AccessGroupDeleted instance using the specified properties.
|
|
17017
17339
|
* @function create
|
|
@@ -17040,6 +17362,8 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17040
17362
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.accessGroupName);
|
|
17041
17363
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
17042
17364
|
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.deletedAt);
|
|
17365
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17366
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
|
|
17043
17367
|
return writer;
|
|
17044
17368
|
};
|
|
17045
17369
|
|
|
@@ -17080,6 +17404,9 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17080
17404
|
case 2:
|
|
17081
17405
|
message.deletedAt = reader.uint64();
|
|
17082
17406
|
break;
|
|
17407
|
+
case 3:
|
|
17408
|
+
message.slug = reader.string();
|
|
17409
|
+
break;
|
|
17083
17410
|
default:
|
|
17084
17411
|
reader.skipType(tag & 7);
|
|
17085
17412
|
break;
|
|
@@ -17121,6 +17448,9 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17121
17448
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
17122
17449
|
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
17123
17450
|
return "deletedAt: integer|Long expected";
|
|
17451
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17452
|
+
if (!$util.isString(message.slug))
|
|
17453
|
+
return "slug: string expected";
|
|
17124
17454
|
return null;
|
|
17125
17455
|
};
|
|
17126
17456
|
|
|
@@ -17147,6 +17477,8 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17147
17477
|
message.deletedAt = object.deletedAt;
|
|
17148
17478
|
else if (typeof object.deletedAt === "object")
|
|
17149
17479
|
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
17480
|
+
if (object.slug != null)
|
|
17481
|
+
message.slug = String(object.slug);
|
|
17150
17482
|
return message;
|
|
17151
17483
|
};
|
|
17152
17484
|
|
|
@@ -17170,6 +17502,7 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17170
17502
|
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
17171
17503
|
} else
|
|
17172
17504
|
object.deletedAt = options.longs === String ? "0" : 0;
|
|
17505
|
+
object.slug = "";
|
|
17173
17506
|
}
|
|
17174
17507
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17175
17508
|
object.accessGroupName = message.accessGroupName;
|
|
@@ -17178,6 +17511,8 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17178
17511
|
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
17179
17512
|
else
|
|
17180
17513
|
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;
|
|
17514
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17515
|
+
object.slug = message.slug;
|
|
17181
17516
|
return object;
|
|
17182
17517
|
};
|
|
17183
17518
|
|
package/package.json
CHANGED