@headspace/protos-events 1.104.0 → 1.105.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 +120 -0
- package/lib/index.js +312 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6591,6 +6591,9 @@ export interface IAccessGroupCreated {
|
|
|
6591
6591
|
|
|
6592
6592
|
/** AccessGroupCreated createdAt */
|
|
6593
6593
|
createdAt?: (number|Long|null);
|
|
6594
|
+
|
|
6595
|
+
/** AccessGroupCreated slug */
|
|
6596
|
+
slug?: (string|null);
|
|
6594
6597
|
}
|
|
6595
6598
|
|
|
6596
6599
|
/** Represents an AccessGroupCreated. */
|
|
@@ -6611,6 +6614,9 @@ export class AccessGroupCreated implements IAccessGroupCreated {
|
|
|
6611
6614
|
/** AccessGroupCreated createdAt. */
|
|
6612
6615
|
public createdAt: (number|Long);
|
|
6613
6616
|
|
|
6617
|
+
/** AccessGroupCreated slug. */
|
|
6618
|
+
public slug: string;
|
|
6619
|
+
|
|
6614
6620
|
/**
|
|
6615
6621
|
* Creates a new AccessGroupCreated instance using the specified properties.
|
|
6616
6622
|
* @param [properties] Properties to set
|
|
@@ -6682,6 +6688,114 @@ export class AccessGroupCreated implements IAccessGroupCreated {
|
|
|
6682
6688
|
public toJSON(): { [k: string]: any };
|
|
6683
6689
|
}
|
|
6684
6690
|
|
|
6691
|
+
/** Properties of an AccessGroupUpdated. */
|
|
6692
|
+
export interface IAccessGroupUpdated {
|
|
6693
|
+
|
|
6694
|
+
/** AccessGroupUpdated accessGroupName */
|
|
6695
|
+
accessGroupName?: (string|null);
|
|
6696
|
+
|
|
6697
|
+
/** AccessGroupUpdated description */
|
|
6698
|
+
description?: (string|null);
|
|
6699
|
+
|
|
6700
|
+
/** AccessGroupUpdated updatedAt */
|
|
6701
|
+
updatedAt?: (number|Long|null);
|
|
6702
|
+
|
|
6703
|
+
/** AccessGroupUpdated slug */
|
|
6704
|
+
slug?: (string|null);
|
|
6705
|
+
}
|
|
6706
|
+
|
|
6707
|
+
/** Represents an AccessGroupUpdated. */
|
|
6708
|
+
export class AccessGroupUpdated implements IAccessGroupUpdated {
|
|
6709
|
+
|
|
6710
|
+
/**
|
|
6711
|
+
* Constructs a new AccessGroupUpdated.
|
|
6712
|
+
* @param [properties] Properties to set
|
|
6713
|
+
*/
|
|
6714
|
+
constructor(properties?: IAccessGroupUpdated);
|
|
6715
|
+
|
|
6716
|
+
/** AccessGroupUpdated accessGroupName. */
|
|
6717
|
+
public accessGroupName: string;
|
|
6718
|
+
|
|
6719
|
+
/** AccessGroupUpdated description. */
|
|
6720
|
+
public description: string;
|
|
6721
|
+
|
|
6722
|
+
/** AccessGroupUpdated updatedAt. */
|
|
6723
|
+
public updatedAt: (number|Long);
|
|
6724
|
+
|
|
6725
|
+
/** AccessGroupUpdated slug. */
|
|
6726
|
+
public slug: string;
|
|
6727
|
+
|
|
6728
|
+
/**
|
|
6729
|
+
* Creates a new AccessGroupUpdated instance using the specified properties.
|
|
6730
|
+
* @param [properties] Properties to set
|
|
6731
|
+
* @returns AccessGroupUpdated instance
|
|
6732
|
+
*/
|
|
6733
|
+
public static create(properties?: IAccessGroupUpdated): AccessGroupUpdated;
|
|
6734
|
+
|
|
6735
|
+
/**
|
|
6736
|
+
* Encodes the specified AccessGroupUpdated message. Does not implicitly {@link AccessGroupUpdated.verify|verify} messages.
|
|
6737
|
+
* @param message AccessGroupUpdated message or plain object to encode
|
|
6738
|
+
* @param [writer] Writer to encode to
|
|
6739
|
+
* @returns Writer
|
|
6740
|
+
*/
|
|
6741
|
+
public static encode(message: IAccessGroupUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6742
|
+
|
|
6743
|
+
/**
|
|
6744
|
+
* Encodes the specified AccessGroupUpdated message, length delimited. Does not implicitly {@link AccessGroupUpdated.verify|verify} messages.
|
|
6745
|
+
* @param message AccessGroupUpdated message or plain object to encode
|
|
6746
|
+
* @param [writer] Writer to encode to
|
|
6747
|
+
* @returns Writer
|
|
6748
|
+
*/
|
|
6749
|
+
public static encodeDelimited(message: IAccessGroupUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6750
|
+
|
|
6751
|
+
/**
|
|
6752
|
+
* Decodes an AccessGroupUpdated message from the specified reader or buffer.
|
|
6753
|
+
* @param reader Reader or buffer to decode from
|
|
6754
|
+
* @param [length] Message length if known beforehand
|
|
6755
|
+
* @returns AccessGroupUpdated
|
|
6756
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6757
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6758
|
+
*/
|
|
6759
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AccessGroupUpdated;
|
|
6760
|
+
|
|
6761
|
+
/**
|
|
6762
|
+
* Decodes an AccessGroupUpdated message from the specified reader or buffer, length delimited.
|
|
6763
|
+
* @param reader Reader or buffer to decode from
|
|
6764
|
+
* @returns AccessGroupUpdated
|
|
6765
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6766
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6767
|
+
*/
|
|
6768
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AccessGroupUpdated;
|
|
6769
|
+
|
|
6770
|
+
/**
|
|
6771
|
+
* Verifies an AccessGroupUpdated message.
|
|
6772
|
+
* @param message Plain object to verify
|
|
6773
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6774
|
+
*/
|
|
6775
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6776
|
+
|
|
6777
|
+
/**
|
|
6778
|
+
* Creates an AccessGroupUpdated message from a plain object. Also converts values to their respective internal types.
|
|
6779
|
+
* @param object Plain object
|
|
6780
|
+
* @returns AccessGroupUpdated
|
|
6781
|
+
*/
|
|
6782
|
+
public static fromObject(object: { [k: string]: any }): AccessGroupUpdated;
|
|
6783
|
+
|
|
6784
|
+
/**
|
|
6785
|
+
* Creates a plain object from an AccessGroupUpdated message. Also converts values to other types if specified.
|
|
6786
|
+
* @param message AccessGroupUpdated
|
|
6787
|
+
* @param [options] Conversion options
|
|
6788
|
+
* @returns Plain object
|
|
6789
|
+
*/
|
|
6790
|
+
public static toObject(message: AccessGroupUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6791
|
+
|
|
6792
|
+
/**
|
|
6793
|
+
* Converts this AccessGroupUpdated to JSON.
|
|
6794
|
+
* @returns JSON object
|
|
6795
|
+
*/
|
|
6796
|
+
public toJSON(): { [k: string]: any };
|
|
6797
|
+
}
|
|
6798
|
+
|
|
6685
6799
|
/** Properties of an AccessGroupDeleted. */
|
|
6686
6800
|
export interface IAccessGroupDeleted {
|
|
6687
6801
|
|
|
@@ -6690,6 +6804,9 @@ export interface IAccessGroupDeleted {
|
|
|
6690
6804
|
|
|
6691
6805
|
/** AccessGroupDeleted deletedAt */
|
|
6692
6806
|
deletedAt?: (number|Long|null);
|
|
6807
|
+
|
|
6808
|
+
/** AccessGroupDeleted slug */
|
|
6809
|
+
slug?: (string|null);
|
|
6693
6810
|
}
|
|
6694
6811
|
|
|
6695
6812
|
/** Represents an AccessGroupDeleted. */
|
|
@@ -6707,6 +6824,9 @@ export class AccessGroupDeleted implements IAccessGroupDeleted {
|
|
|
6707
6824
|
/** AccessGroupDeleted deletedAt. */
|
|
6708
6825
|
public deletedAt: (number|Long);
|
|
6709
6826
|
|
|
6827
|
+
/** AccessGroupDeleted slug. */
|
|
6828
|
+
public slug: string;
|
|
6829
|
+
|
|
6710
6830
|
/**
|
|
6711
6831
|
* Creates a new AccessGroupDeleted instance using the specified properties.
|
|
6712
6832
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -16734,6 +16734,7 @@ $root.AccessGroupCreated = (function() {
|
|
|
16734
16734
|
* @property {string|null} [accessGroupName] AccessGroupCreated accessGroupName
|
|
16735
16735
|
* @property {string|null} [description] AccessGroupCreated description
|
|
16736
16736
|
* @property {number|Long|null} [createdAt] AccessGroupCreated createdAt
|
|
16737
|
+
* @property {string|null} [slug] AccessGroupCreated slug
|
|
16737
16738
|
*/
|
|
16738
16739
|
|
|
16739
16740
|
/**
|
|
@@ -16775,6 +16776,14 @@ $root.AccessGroupCreated = (function() {
|
|
|
16775
16776
|
*/
|
|
16776
16777
|
AccessGroupCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
16777
16778
|
|
|
16779
|
+
/**
|
|
16780
|
+
* AccessGroupCreated slug.
|
|
16781
|
+
* @member {string} slug
|
|
16782
|
+
* @memberof AccessGroupCreated
|
|
16783
|
+
* @instance
|
|
16784
|
+
*/
|
|
16785
|
+
AccessGroupCreated.prototype.slug = "";
|
|
16786
|
+
|
|
16778
16787
|
/**
|
|
16779
16788
|
* Creates a new AccessGroupCreated instance using the specified properties.
|
|
16780
16789
|
* @function create
|
|
@@ -16805,6 +16814,8 @@ $root.AccessGroupCreated = (function() {
|
|
|
16805
16814
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.description);
|
|
16806
16815
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
16807
16816
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.createdAt);
|
|
16817
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
16818
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.slug);
|
|
16808
16819
|
return writer;
|
|
16809
16820
|
};
|
|
16810
16821
|
|
|
@@ -16848,6 +16859,9 @@ $root.AccessGroupCreated = (function() {
|
|
|
16848
16859
|
case 3:
|
|
16849
16860
|
message.createdAt = reader.uint64();
|
|
16850
16861
|
break;
|
|
16862
|
+
case 4:
|
|
16863
|
+
message.slug = reader.string();
|
|
16864
|
+
break;
|
|
16851
16865
|
default:
|
|
16852
16866
|
reader.skipType(tag & 7);
|
|
16853
16867
|
break;
|
|
@@ -16892,6 +16906,9 @@ $root.AccessGroupCreated = (function() {
|
|
|
16892
16906
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
16893
16907
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
16894
16908
|
return "createdAt: integer|Long expected";
|
|
16909
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
16910
|
+
if (!$util.isString(message.slug))
|
|
16911
|
+
return "slug: string expected";
|
|
16895
16912
|
return null;
|
|
16896
16913
|
};
|
|
16897
16914
|
|
|
@@ -16920,6 +16937,8 @@ $root.AccessGroupCreated = (function() {
|
|
|
16920
16937
|
message.createdAt = object.createdAt;
|
|
16921
16938
|
else if (typeof object.createdAt === "object")
|
|
16922
16939
|
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
16940
|
+
if (object.slug != null)
|
|
16941
|
+
message.slug = String(object.slug);
|
|
16923
16942
|
return message;
|
|
16924
16943
|
};
|
|
16925
16944
|
|
|
@@ -16944,6 +16963,7 @@ $root.AccessGroupCreated = (function() {
|
|
|
16944
16963
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
16945
16964
|
} else
|
|
16946
16965
|
object.createdAt = options.longs === String ? "0" : 0;
|
|
16966
|
+
object.slug = "";
|
|
16947
16967
|
}
|
|
16948
16968
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16949
16969
|
object.accessGroupName = message.accessGroupName;
|
|
@@ -16954,6 +16974,8 @@ $root.AccessGroupCreated = (function() {
|
|
|
16954
16974
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
16955
16975
|
else
|
|
16956
16976
|
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;
|
|
16977
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
16978
|
+
object.slug = message.slug;
|
|
16957
16979
|
return object;
|
|
16958
16980
|
};
|
|
16959
16981
|
|
|
@@ -16971,6 +16993,274 @@ $root.AccessGroupCreated = (function() {
|
|
|
16971
16993
|
return AccessGroupCreated;
|
|
16972
16994
|
})();
|
|
16973
16995
|
|
|
16996
|
+
$root.AccessGroupUpdated = (function() {
|
|
16997
|
+
|
|
16998
|
+
/**
|
|
16999
|
+
* Properties of an AccessGroupUpdated.
|
|
17000
|
+
* @exports IAccessGroupUpdated
|
|
17001
|
+
* @interface IAccessGroupUpdated
|
|
17002
|
+
* @property {string|null} [accessGroupName] AccessGroupUpdated accessGroupName
|
|
17003
|
+
* @property {string|null} [description] AccessGroupUpdated description
|
|
17004
|
+
* @property {number|Long|null} [updatedAt] AccessGroupUpdated updatedAt
|
|
17005
|
+
* @property {string|null} [slug] AccessGroupUpdated slug
|
|
17006
|
+
*/
|
|
17007
|
+
|
|
17008
|
+
/**
|
|
17009
|
+
* Constructs a new AccessGroupUpdated.
|
|
17010
|
+
* @exports AccessGroupUpdated
|
|
17011
|
+
* @classdesc Represents an AccessGroupUpdated.
|
|
17012
|
+
* @implements IAccessGroupUpdated
|
|
17013
|
+
* @constructor
|
|
17014
|
+
* @param {IAccessGroupUpdated=} [properties] Properties to set
|
|
17015
|
+
*/
|
|
17016
|
+
function AccessGroupUpdated(properties) {
|
|
17017
|
+
if (properties)
|
|
17018
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
17019
|
+
if (properties[keys[i]] != null)
|
|
17020
|
+
this[keys[i]] = properties[keys[i]];
|
|
17021
|
+
}
|
|
17022
|
+
|
|
17023
|
+
/**
|
|
17024
|
+
* AccessGroupUpdated accessGroupName.
|
|
17025
|
+
* @member {string} accessGroupName
|
|
17026
|
+
* @memberof AccessGroupUpdated
|
|
17027
|
+
* @instance
|
|
17028
|
+
*/
|
|
17029
|
+
AccessGroupUpdated.prototype.accessGroupName = "";
|
|
17030
|
+
|
|
17031
|
+
/**
|
|
17032
|
+
* AccessGroupUpdated description.
|
|
17033
|
+
* @member {string} description
|
|
17034
|
+
* @memberof AccessGroupUpdated
|
|
17035
|
+
* @instance
|
|
17036
|
+
*/
|
|
17037
|
+
AccessGroupUpdated.prototype.description = "";
|
|
17038
|
+
|
|
17039
|
+
/**
|
|
17040
|
+
* AccessGroupUpdated updatedAt.
|
|
17041
|
+
* @member {number|Long} updatedAt
|
|
17042
|
+
* @memberof AccessGroupUpdated
|
|
17043
|
+
* @instance
|
|
17044
|
+
*/
|
|
17045
|
+
AccessGroupUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
17046
|
+
|
|
17047
|
+
/**
|
|
17048
|
+
* AccessGroupUpdated slug.
|
|
17049
|
+
* @member {string} slug
|
|
17050
|
+
* @memberof AccessGroupUpdated
|
|
17051
|
+
* @instance
|
|
17052
|
+
*/
|
|
17053
|
+
AccessGroupUpdated.prototype.slug = "";
|
|
17054
|
+
|
|
17055
|
+
/**
|
|
17056
|
+
* Creates a new AccessGroupUpdated instance using the specified properties.
|
|
17057
|
+
* @function create
|
|
17058
|
+
* @memberof AccessGroupUpdated
|
|
17059
|
+
* @static
|
|
17060
|
+
* @param {IAccessGroupUpdated=} [properties] Properties to set
|
|
17061
|
+
* @returns {AccessGroupUpdated} AccessGroupUpdated instance
|
|
17062
|
+
*/
|
|
17063
|
+
AccessGroupUpdated.create = function create(properties) {
|
|
17064
|
+
return new AccessGroupUpdated(properties);
|
|
17065
|
+
};
|
|
17066
|
+
|
|
17067
|
+
/**
|
|
17068
|
+
* Encodes the specified AccessGroupUpdated message. Does not implicitly {@link AccessGroupUpdated.verify|verify} messages.
|
|
17069
|
+
* @function encode
|
|
17070
|
+
* @memberof AccessGroupUpdated
|
|
17071
|
+
* @static
|
|
17072
|
+
* @param {IAccessGroupUpdated} message AccessGroupUpdated message or plain object to encode
|
|
17073
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17074
|
+
* @returns {$protobuf.Writer} Writer
|
|
17075
|
+
*/
|
|
17076
|
+
AccessGroupUpdated.encode = function encode(message, writer) {
|
|
17077
|
+
if (!writer)
|
|
17078
|
+
writer = $Writer.create();
|
|
17079
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17080
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.accessGroupName);
|
|
17081
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
17082
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.description);
|
|
17083
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
17084
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
|
|
17085
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17086
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.slug);
|
|
17087
|
+
return writer;
|
|
17088
|
+
};
|
|
17089
|
+
|
|
17090
|
+
/**
|
|
17091
|
+
* Encodes the specified AccessGroupUpdated message, length delimited. Does not implicitly {@link AccessGroupUpdated.verify|verify} messages.
|
|
17092
|
+
* @function encodeDelimited
|
|
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.encodeDelimited = function encodeDelimited(message, writer) {
|
|
17100
|
+
return this.encode(message, writer).ldelim();
|
|
17101
|
+
};
|
|
17102
|
+
|
|
17103
|
+
/**
|
|
17104
|
+
* Decodes an AccessGroupUpdated message from the specified reader or buffer.
|
|
17105
|
+
* @function decode
|
|
17106
|
+
* @memberof AccessGroupUpdated
|
|
17107
|
+
* @static
|
|
17108
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17109
|
+
* @param {number} [length] Message length if known beforehand
|
|
17110
|
+
* @returns {AccessGroupUpdated} AccessGroupUpdated
|
|
17111
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17112
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17113
|
+
*/
|
|
17114
|
+
AccessGroupUpdated.decode = function decode(reader, length) {
|
|
17115
|
+
if (!(reader instanceof $Reader))
|
|
17116
|
+
reader = $Reader.create(reader);
|
|
17117
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AccessGroupUpdated();
|
|
17118
|
+
while (reader.pos < end) {
|
|
17119
|
+
var tag = reader.uint32();
|
|
17120
|
+
switch (tag >>> 3) {
|
|
17121
|
+
case 1:
|
|
17122
|
+
message.accessGroupName = reader.string();
|
|
17123
|
+
break;
|
|
17124
|
+
case 2:
|
|
17125
|
+
message.description = reader.string();
|
|
17126
|
+
break;
|
|
17127
|
+
case 3:
|
|
17128
|
+
message.updatedAt = reader.uint64();
|
|
17129
|
+
break;
|
|
17130
|
+
case 4:
|
|
17131
|
+
message.slug = reader.string();
|
|
17132
|
+
break;
|
|
17133
|
+
default:
|
|
17134
|
+
reader.skipType(tag & 7);
|
|
17135
|
+
break;
|
|
17136
|
+
}
|
|
17137
|
+
}
|
|
17138
|
+
return message;
|
|
17139
|
+
};
|
|
17140
|
+
|
|
17141
|
+
/**
|
|
17142
|
+
* Decodes an AccessGroupUpdated message from the specified reader or buffer, length delimited.
|
|
17143
|
+
* @function decodeDelimited
|
|
17144
|
+
* @memberof AccessGroupUpdated
|
|
17145
|
+
* @static
|
|
17146
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17147
|
+
* @returns {AccessGroupUpdated} AccessGroupUpdated
|
|
17148
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17149
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17150
|
+
*/
|
|
17151
|
+
AccessGroupUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
17152
|
+
if (!(reader instanceof $Reader))
|
|
17153
|
+
reader = new $Reader(reader);
|
|
17154
|
+
return this.decode(reader, reader.uint32());
|
|
17155
|
+
};
|
|
17156
|
+
|
|
17157
|
+
/**
|
|
17158
|
+
* Verifies an AccessGroupUpdated message.
|
|
17159
|
+
* @function verify
|
|
17160
|
+
* @memberof AccessGroupUpdated
|
|
17161
|
+
* @static
|
|
17162
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
17163
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
17164
|
+
*/
|
|
17165
|
+
AccessGroupUpdated.verify = function verify(message) {
|
|
17166
|
+
if (typeof message !== "object" || message === null)
|
|
17167
|
+
return "object expected";
|
|
17168
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17169
|
+
if (!$util.isString(message.accessGroupName))
|
|
17170
|
+
return "accessGroupName: string expected";
|
|
17171
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
17172
|
+
if (!$util.isString(message.description))
|
|
17173
|
+
return "description: string expected";
|
|
17174
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
17175
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
17176
|
+
return "updatedAt: integer|Long expected";
|
|
17177
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17178
|
+
if (!$util.isString(message.slug))
|
|
17179
|
+
return "slug: string expected";
|
|
17180
|
+
return null;
|
|
17181
|
+
};
|
|
17182
|
+
|
|
17183
|
+
/**
|
|
17184
|
+
* Creates an AccessGroupUpdated message from a plain object. Also converts values to their respective internal types.
|
|
17185
|
+
* @function fromObject
|
|
17186
|
+
* @memberof AccessGroupUpdated
|
|
17187
|
+
* @static
|
|
17188
|
+
* @param {Object.<string,*>} object Plain object
|
|
17189
|
+
* @returns {AccessGroupUpdated} AccessGroupUpdated
|
|
17190
|
+
*/
|
|
17191
|
+
AccessGroupUpdated.fromObject = function fromObject(object) {
|
|
17192
|
+
if (object instanceof $root.AccessGroupUpdated)
|
|
17193
|
+
return object;
|
|
17194
|
+
var message = new $root.AccessGroupUpdated();
|
|
17195
|
+
if (object.accessGroupName != null)
|
|
17196
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
17197
|
+
if (object.description != null)
|
|
17198
|
+
message.description = String(object.description);
|
|
17199
|
+
if (object.updatedAt != null)
|
|
17200
|
+
if ($util.Long)
|
|
17201
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
17202
|
+
else if (typeof object.updatedAt === "string")
|
|
17203
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
17204
|
+
else if (typeof object.updatedAt === "number")
|
|
17205
|
+
message.updatedAt = object.updatedAt;
|
|
17206
|
+
else if (typeof object.updatedAt === "object")
|
|
17207
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
17208
|
+
if (object.slug != null)
|
|
17209
|
+
message.slug = String(object.slug);
|
|
17210
|
+
return message;
|
|
17211
|
+
};
|
|
17212
|
+
|
|
17213
|
+
/**
|
|
17214
|
+
* Creates a plain object from an AccessGroupUpdated message. Also converts values to other types if specified.
|
|
17215
|
+
* @function toObject
|
|
17216
|
+
* @memberof AccessGroupUpdated
|
|
17217
|
+
* @static
|
|
17218
|
+
* @param {AccessGroupUpdated} message AccessGroupUpdated
|
|
17219
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
17220
|
+
* @returns {Object.<string,*>} Plain object
|
|
17221
|
+
*/
|
|
17222
|
+
AccessGroupUpdated.toObject = function toObject(message, options) {
|
|
17223
|
+
if (!options)
|
|
17224
|
+
options = {};
|
|
17225
|
+
var object = {};
|
|
17226
|
+
if (options.defaults) {
|
|
17227
|
+
object.accessGroupName = "";
|
|
17228
|
+
object.description = "";
|
|
17229
|
+
if ($util.Long) {
|
|
17230
|
+
var long = new $util.Long(0, 0, true);
|
|
17231
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
17232
|
+
} else
|
|
17233
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
17234
|
+
object.slug = "";
|
|
17235
|
+
}
|
|
17236
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17237
|
+
object.accessGroupName = message.accessGroupName;
|
|
17238
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
17239
|
+
object.description = message.description;
|
|
17240
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
17241
|
+
if (typeof message.updatedAt === "number")
|
|
17242
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
17243
|
+
else
|
|
17244
|
+
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;
|
|
17245
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17246
|
+
object.slug = message.slug;
|
|
17247
|
+
return object;
|
|
17248
|
+
};
|
|
17249
|
+
|
|
17250
|
+
/**
|
|
17251
|
+
* Converts this AccessGroupUpdated to JSON.
|
|
17252
|
+
* @function toJSON
|
|
17253
|
+
* @memberof AccessGroupUpdated
|
|
17254
|
+
* @instance
|
|
17255
|
+
* @returns {Object.<string,*>} JSON object
|
|
17256
|
+
*/
|
|
17257
|
+
AccessGroupUpdated.prototype.toJSON = function toJSON() {
|
|
17258
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
17259
|
+
};
|
|
17260
|
+
|
|
17261
|
+
return AccessGroupUpdated;
|
|
17262
|
+
})();
|
|
17263
|
+
|
|
16974
17264
|
$root.AccessGroupDeleted = (function() {
|
|
16975
17265
|
|
|
16976
17266
|
/**
|
|
@@ -16979,6 +17269,7 @@ $root.AccessGroupDeleted = (function() {
|
|
|
16979
17269
|
* @interface IAccessGroupDeleted
|
|
16980
17270
|
* @property {string|null} [accessGroupName] AccessGroupDeleted accessGroupName
|
|
16981
17271
|
* @property {number|Long|null} [deletedAt] AccessGroupDeleted deletedAt
|
|
17272
|
+
* @property {string|null} [slug] AccessGroupDeleted slug
|
|
16982
17273
|
*/
|
|
16983
17274
|
|
|
16984
17275
|
/**
|
|
@@ -17012,6 +17303,14 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17012
17303
|
*/
|
|
17013
17304
|
AccessGroupDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
17014
17305
|
|
|
17306
|
+
/**
|
|
17307
|
+
* AccessGroupDeleted slug.
|
|
17308
|
+
* @member {string} slug
|
|
17309
|
+
* @memberof AccessGroupDeleted
|
|
17310
|
+
* @instance
|
|
17311
|
+
*/
|
|
17312
|
+
AccessGroupDeleted.prototype.slug = "";
|
|
17313
|
+
|
|
17015
17314
|
/**
|
|
17016
17315
|
* Creates a new AccessGroupDeleted instance using the specified properties.
|
|
17017
17316
|
* @function create
|
|
@@ -17040,6 +17339,8 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17040
17339
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.accessGroupName);
|
|
17041
17340
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
17042
17341
|
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.deletedAt);
|
|
17342
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17343
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
|
|
17043
17344
|
return writer;
|
|
17044
17345
|
};
|
|
17045
17346
|
|
|
@@ -17080,6 +17381,9 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17080
17381
|
case 2:
|
|
17081
17382
|
message.deletedAt = reader.uint64();
|
|
17082
17383
|
break;
|
|
17384
|
+
case 3:
|
|
17385
|
+
message.slug = reader.string();
|
|
17386
|
+
break;
|
|
17083
17387
|
default:
|
|
17084
17388
|
reader.skipType(tag & 7);
|
|
17085
17389
|
break;
|
|
@@ -17121,6 +17425,9 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17121
17425
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
17122
17426
|
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
17123
17427
|
return "deletedAt: integer|Long expected";
|
|
17428
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17429
|
+
if (!$util.isString(message.slug))
|
|
17430
|
+
return "slug: string expected";
|
|
17124
17431
|
return null;
|
|
17125
17432
|
};
|
|
17126
17433
|
|
|
@@ -17147,6 +17454,8 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17147
17454
|
message.deletedAt = object.deletedAt;
|
|
17148
17455
|
else if (typeof object.deletedAt === "object")
|
|
17149
17456
|
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
17457
|
+
if (object.slug != null)
|
|
17458
|
+
message.slug = String(object.slug);
|
|
17150
17459
|
return message;
|
|
17151
17460
|
};
|
|
17152
17461
|
|
|
@@ -17170,6 +17479,7 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17170
17479
|
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
17171
17480
|
} else
|
|
17172
17481
|
object.deletedAt = options.longs === String ? "0" : 0;
|
|
17482
|
+
object.slug = "";
|
|
17173
17483
|
}
|
|
17174
17484
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
17175
17485
|
object.accessGroupName = message.accessGroupName;
|
|
@@ -17178,6 +17488,8 @@ $root.AccessGroupDeleted = (function() {
|
|
|
17178
17488
|
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
17179
17489
|
else
|
|
17180
17490
|
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;
|
|
17491
|
+
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
17492
|
+
object.slug = message.slug;
|
|
17181
17493
|
return object;
|
|
17182
17494
|
};
|
|
17183
17495
|
|
package/package.json
CHANGED