@headspace/protos-events 1.108.0 → 1.110.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 +121 -121
- package/lib/index.js +344 -290
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -6733,7 +6733,7 @@ $root.ContentfulAssetCreated = (function() {
|
|
|
6733
6733
|
* @interface IContentfulAssetCreated
|
|
6734
6734
|
* @property {string|null} [id] ContentfulAssetCreated id
|
|
6735
6735
|
* @property {Object.<string,contentful.IMediaFile>|null} [file] ContentfulAssetCreated file
|
|
6736
|
-
* @property {
|
|
6736
|
+
* @property {number|Long|null} [createdAt] ContentfulAssetCreated createdAt
|
|
6737
6737
|
*/
|
|
6738
6738
|
|
|
6739
6739
|
/**
|
|
@@ -6770,11 +6770,11 @@ $root.ContentfulAssetCreated = (function() {
|
|
|
6770
6770
|
|
|
6771
6771
|
/**
|
|
6772
6772
|
* ContentfulAssetCreated createdAt.
|
|
6773
|
-
* @member {
|
|
6773
|
+
* @member {number|Long} createdAt
|
|
6774
6774
|
* @memberof ContentfulAssetCreated
|
|
6775
6775
|
* @instance
|
|
6776
6776
|
*/
|
|
6777
|
-
ContentfulAssetCreated.prototype.createdAt =
|
|
6777
|
+
ContentfulAssetCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
6778
6778
|
|
|
6779
6779
|
/**
|
|
6780
6780
|
* Creates a new ContentfulAssetCreated instance using the specified properties.
|
|
@@ -6808,7 +6808,7 @@ $root.ContentfulAssetCreated = (function() {
|
|
|
6808
6808
|
$root.contentful.MediaFile.encode(message.file[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
6809
6809
|
}
|
|
6810
6810
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
6811
|
-
|
|
6811
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.createdAt);
|
|
6812
6812
|
return writer;
|
|
6813
6813
|
};
|
|
6814
6814
|
|
|
@@ -6855,7 +6855,7 @@ $root.ContentfulAssetCreated = (function() {
|
|
|
6855
6855
|
message.file[key] = $root.contentful.MediaFile.decode(reader, reader.uint32());
|
|
6856
6856
|
break;
|
|
6857
6857
|
case 3:
|
|
6858
|
-
message.createdAt =
|
|
6858
|
+
message.createdAt = reader.uint64();
|
|
6859
6859
|
break;
|
|
6860
6860
|
default:
|
|
6861
6861
|
reader.skipType(tag & 7);
|
|
@@ -6905,11 +6905,9 @@ $root.ContentfulAssetCreated = (function() {
|
|
|
6905
6905
|
return "file." + error;
|
|
6906
6906
|
}
|
|
6907
6907
|
}
|
|
6908
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
return "createdAt." + error;
|
|
6912
|
-
}
|
|
6908
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
6909
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
6910
|
+
return "createdAt: integer|Long expected";
|
|
6913
6911
|
return null;
|
|
6914
6912
|
};
|
|
6915
6913
|
|
|
@@ -6937,11 +6935,15 @@ $root.ContentfulAssetCreated = (function() {
|
|
|
6937
6935
|
message.file[keys[i]] = $root.contentful.MediaFile.fromObject(object.file[keys[i]]);
|
|
6938
6936
|
}
|
|
6939
6937
|
}
|
|
6940
|
-
if (object.createdAt != null)
|
|
6941
|
-
if (
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6938
|
+
if (object.createdAt != null)
|
|
6939
|
+
if ($util.Long)
|
|
6940
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
6941
|
+
else if (typeof object.createdAt === "string")
|
|
6942
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
6943
|
+
else if (typeof object.createdAt === "number")
|
|
6944
|
+
message.createdAt = object.createdAt;
|
|
6945
|
+
else if (typeof object.createdAt === "object")
|
|
6946
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
6945
6947
|
return message;
|
|
6946
6948
|
};
|
|
6947
6949
|
|
|
@@ -6962,7 +6964,11 @@ $root.ContentfulAssetCreated = (function() {
|
|
|
6962
6964
|
object.file = {};
|
|
6963
6965
|
if (options.defaults) {
|
|
6964
6966
|
object.id = "";
|
|
6965
|
-
|
|
6967
|
+
if ($util.Long) {
|
|
6968
|
+
var long = new $util.Long(0, 0, true);
|
|
6969
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
6970
|
+
} else
|
|
6971
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
6966
6972
|
}
|
|
6967
6973
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
6968
6974
|
object.id = message.id;
|
|
@@ -6973,7 +6979,10 @@ $root.ContentfulAssetCreated = (function() {
|
|
|
6973
6979
|
object.file[keys2[j]] = $root.contentful.MediaFile.toObject(message.file[keys2[j]], options);
|
|
6974
6980
|
}
|
|
6975
6981
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
6976
|
-
|
|
6982
|
+
if (typeof message.createdAt === "number")
|
|
6983
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
6984
|
+
else
|
|
6985
|
+
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;
|
|
6977
6986
|
return object;
|
|
6978
6987
|
};
|
|
6979
6988
|
|
|
@@ -6999,7 +7008,7 @@ $root.ContentfulAssetUpdated = (function() {
|
|
|
6999
7008
|
* @interface IContentfulAssetUpdated
|
|
7000
7009
|
* @property {string|null} [id] ContentfulAssetUpdated id
|
|
7001
7010
|
* @property {Object.<string,contentful.IMediaFile>|null} [file] ContentfulAssetUpdated file
|
|
7002
|
-
* @property {
|
|
7011
|
+
* @property {number|Long|null} [updatedAt] ContentfulAssetUpdated updatedAt
|
|
7003
7012
|
*/
|
|
7004
7013
|
|
|
7005
7014
|
/**
|
|
@@ -7036,11 +7045,11 @@ $root.ContentfulAssetUpdated = (function() {
|
|
|
7036
7045
|
|
|
7037
7046
|
/**
|
|
7038
7047
|
* ContentfulAssetUpdated updatedAt.
|
|
7039
|
-
* @member {
|
|
7048
|
+
* @member {number|Long} updatedAt
|
|
7040
7049
|
* @memberof ContentfulAssetUpdated
|
|
7041
7050
|
* @instance
|
|
7042
7051
|
*/
|
|
7043
|
-
ContentfulAssetUpdated.prototype.updatedAt =
|
|
7052
|
+
ContentfulAssetUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
7044
7053
|
|
|
7045
7054
|
/**
|
|
7046
7055
|
* Creates a new ContentfulAssetUpdated instance using the specified properties.
|
|
@@ -7074,7 +7083,7 @@ $root.ContentfulAssetUpdated = (function() {
|
|
|
7074
7083
|
$root.contentful.MediaFile.encode(message.file[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
7075
7084
|
}
|
|
7076
7085
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
7077
|
-
|
|
7086
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
|
|
7078
7087
|
return writer;
|
|
7079
7088
|
};
|
|
7080
7089
|
|
|
@@ -7121,7 +7130,7 @@ $root.ContentfulAssetUpdated = (function() {
|
|
|
7121
7130
|
message.file[key] = $root.contentful.MediaFile.decode(reader, reader.uint32());
|
|
7122
7131
|
break;
|
|
7123
7132
|
case 3:
|
|
7124
|
-
message.updatedAt =
|
|
7133
|
+
message.updatedAt = reader.uint64();
|
|
7125
7134
|
break;
|
|
7126
7135
|
default:
|
|
7127
7136
|
reader.skipType(tag & 7);
|
|
@@ -7171,11 +7180,9 @@ $root.ContentfulAssetUpdated = (function() {
|
|
|
7171
7180
|
return "file." + error;
|
|
7172
7181
|
}
|
|
7173
7182
|
}
|
|
7174
|
-
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
return "updatedAt." + error;
|
|
7178
|
-
}
|
|
7183
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
7184
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
7185
|
+
return "updatedAt: integer|Long expected";
|
|
7179
7186
|
return null;
|
|
7180
7187
|
};
|
|
7181
7188
|
|
|
@@ -7203,11 +7210,15 @@ $root.ContentfulAssetUpdated = (function() {
|
|
|
7203
7210
|
message.file[keys[i]] = $root.contentful.MediaFile.fromObject(object.file[keys[i]]);
|
|
7204
7211
|
}
|
|
7205
7212
|
}
|
|
7206
|
-
if (object.updatedAt != null)
|
|
7207
|
-
if (
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7213
|
+
if (object.updatedAt != null)
|
|
7214
|
+
if ($util.Long)
|
|
7215
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
7216
|
+
else if (typeof object.updatedAt === "string")
|
|
7217
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
7218
|
+
else if (typeof object.updatedAt === "number")
|
|
7219
|
+
message.updatedAt = object.updatedAt;
|
|
7220
|
+
else if (typeof object.updatedAt === "object")
|
|
7221
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
7211
7222
|
return message;
|
|
7212
7223
|
};
|
|
7213
7224
|
|
|
@@ -7228,7 +7239,11 @@ $root.ContentfulAssetUpdated = (function() {
|
|
|
7228
7239
|
object.file = {};
|
|
7229
7240
|
if (options.defaults) {
|
|
7230
7241
|
object.id = "";
|
|
7231
|
-
|
|
7242
|
+
if ($util.Long) {
|
|
7243
|
+
var long = new $util.Long(0, 0, true);
|
|
7244
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
7245
|
+
} else
|
|
7246
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
7232
7247
|
}
|
|
7233
7248
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
7234
7249
|
object.id = message.id;
|
|
@@ -7239,7 +7254,10 @@ $root.ContentfulAssetUpdated = (function() {
|
|
|
7239
7254
|
object.file[keys2[j]] = $root.contentful.MediaFile.toObject(message.file[keys2[j]], options);
|
|
7240
7255
|
}
|
|
7241
7256
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
7242
|
-
|
|
7257
|
+
if (typeof message.updatedAt === "number")
|
|
7258
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
7259
|
+
else
|
|
7260
|
+
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;
|
|
7243
7261
|
return object;
|
|
7244
7262
|
};
|
|
7245
7263
|
|
|
@@ -7265,7 +7283,7 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7265
7283
|
* @interface IContentfulAssetDeleted
|
|
7266
7284
|
* @property {string|null} [id] ContentfulAssetDeleted id
|
|
7267
7285
|
* @property {Object.<string,contentful.IMediaFile>|null} [file] ContentfulAssetDeleted file
|
|
7268
|
-
* @property {
|
|
7286
|
+
* @property {number|Long|null} [deletedAt] ContentfulAssetDeleted deletedAt
|
|
7269
7287
|
*/
|
|
7270
7288
|
|
|
7271
7289
|
/**
|
|
@@ -7302,11 +7320,11 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7302
7320
|
|
|
7303
7321
|
/**
|
|
7304
7322
|
* ContentfulAssetDeleted deletedAt.
|
|
7305
|
-
* @member {
|
|
7323
|
+
* @member {number|Long} deletedAt
|
|
7306
7324
|
* @memberof ContentfulAssetDeleted
|
|
7307
7325
|
* @instance
|
|
7308
7326
|
*/
|
|
7309
|
-
ContentfulAssetDeleted.prototype.deletedAt =
|
|
7327
|
+
ContentfulAssetDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
7310
7328
|
|
|
7311
7329
|
/**
|
|
7312
7330
|
* Creates a new ContentfulAssetDeleted instance using the specified properties.
|
|
@@ -7340,7 +7358,7 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7340
7358
|
$root.contentful.MediaFile.encode(message.file[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
7341
7359
|
}
|
|
7342
7360
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
7343
|
-
|
|
7361
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.deletedAt);
|
|
7344
7362
|
return writer;
|
|
7345
7363
|
};
|
|
7346
7364
|
|
|
@@ -7387,7 +7405,7 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7387
7405
|
message.file[key] = $root.contentful.MediaFile.decode(reader, reader.uint32());
|
|
7388
7406
|
break;
|
|
7389
7407
|
case 3:
|
|
7390
|
-
message.deletedAt =
|
|
7408
|
+
message.deletedAt = reader.uint64();
|
|
7391
7409
|
break;
|
|
7392
7410
|
default:
|
|
7393
7411
|
reader.skipType(tag & 7);
|
|
@@ -7437,11 +7455,9 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7437
7455
|
return "file." + error;
|
|
7438
7456
|
}
|
|
7439
7457
|
}
|
|
7440
|
-
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
return "deletedAt." + error;
|
|
7444
|
-
}
|
|
7458
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
7459
|
+
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
7460
|
+
return "deletedAt: integer|Long expected";
|
|
7445
7461
|
return null;
|
|
7446
7462
|
};
|
|
7447
7463
|
|
|
@@ -7469,11 +7485,15 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7469
7485
|
message.file[keys[i]] = $root.contentful.MediaFile.fromObject(object.file[keys[i]]);
|
|
7470
7486
|
}
|
|
7471
7487
|
}
|
|
7472
|
-
if (object.deletedAt != null)
|
|
7473
|
-
if (
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7488
|
+
if (object.deletedAt != null)
|
|
7489
|
+
if ($util.Long)
|
|
7490
|
+
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
7491
|
+
else if (typeof object.deletedAt === "string")
|
|
7492
|
+
message.deletedAt = parseInt(object.deletedAt, 10);
|
|
7493
|
+
else if (typeof object.deletedAt === "number")
|
|
7494
|
+
message.deletedAt = object.deletedAt;
|
|
7495
|
+
else if (typeof object.deletedAt === "object")
|
|
7496
|
+
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
7477
7497
|
return message;
|
|
7478
7498
|
};
|
|
7479
7499
|
|
|
@@ -7494,7 +7514,11 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7494
7514
|
object.file = {};
|
|
7495
7515
|
if (options.defaults) {
|
|
7496
7516
|
object.id = "";
|
|
7497
|
-
|
|
7517
|
+
if ($util.Long) {
|
|
7518
|
+
var long = new $util.Long(0, 0, true);
|
|
7519
|
+
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
7520
|
+
} else
|
|
7521
|
+
object.deletedAt = options.longs === String ? "0" : 0;
|
|
7498
7522
|
}
|
|
7499
7523
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
7500
7524
|
object.id = message.id;
|
|
@@ -7505,7 +7529,10 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7505
7529
|
object.file[keys2[j]] = $root.contentful.MediaFile.toObject(message.file[keys2[j]], options);
|
|
7506
7530
|
}
|
|
7507
7531
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
7508
|
-
|
|
7532
|
+
if (typeof message.deletedAt === "number")
|
|
7533
|
+
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
7534
|
+
else
|
|
7535
|
+
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;
|
|
7509
7536
|
return object;
|
|
7510
7537
|
};
|
|
7511
7538
|
|
|
@@ -7523,27 +7550,27 @@ $root.ContentfulAssetDeleted = (function() {
|
|
|
7523
7550
|
return ContentfulAssetDeleted;
|
|
7524
7551
|
})();
|
|
7525
7552
|
|
|
7526
|
-
$root.
|
|
7553
|
+
$root.ContentfulAccessGroupCreated = (function() {
|
|
7527
7554
|
|
|
7528
7555
|
/**
|
|
7529
|
-
* Properties of
|
|
7530
|
-
* @exports
|
|
7531
|
-
* @interface
|
|
7532
|
-
* @property {string|null} [accessGroupName]
|
|
7533
|
-
* @property {string|null} [description]
|
|
7534
|
-
* @property {
|
|
7535
|
-
* @property {string|null} [slug]
|
|
7556
|
+
* Properties of a ContentfulAccessGroupCreated.
|
|
7557
|
+
* @exports IContentfulAccessGroupCreated
|
|
7558
|
+
* @interface IContentfulAccessGroupCreated
|
|
7559
|
+
* @property {string|null} [accessGroupName] ContentfulAccessGroupCreated accessGroupName
|
|
7560
|
+
* @property {string|null} [description] ContentfulAccessGroupCreated description
|
|
7561
|
+
* @property {number|Long|null} [createdAt] ContentfulAccessGroupCreated createdAt
|
|
7562
|
+
* @property {string|null} [slug] ContentfulAccessGroupCreated slug
|
|
7536
7563
|
*/
|
|
7537
7564
|
|
|
7538
7565
|
/**
|
|
7539
|
-
* Constructs a new
|
|
7540
|
-
* @exports
|
|
7541
|
-
* @classdesc Represents
|
|
7542
|
-
* @implements
|
|
7566
|
+
* Constructs a new ContentfulAccessGroupCreated.
|
|
7567
|
+
* @exports ContentfulAccessGroupCreated
|
|
7568
|
+
* @classdesc Represents a ContentfulAccessGroupCreated.
|
|
7569
|
+
* @implements IContentfulAccessGroupCreated
|
|
7543
7570
|
* @constructor
|
|
7544
|
-
* @param {
|
|
7571
|
+
* @param {IContentfulAccessGroupCreated=} [properties] Properties to set
|
|
7545
7572
|
*/
|
|
7546
|
-
function
|
|
7573
|
+
function ContentfulAccessGroupCreated(properties) {
|
|
7547
7574
|
if (properties)
|
|
7548
7575
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
7549
7576
|
if (properties[keys[i]] != null)
|
|
@@ -7551,59 +7578,59 @@ $root.AccessGroupCreated = (function() {
|
|
|
7551
7578
|
}
|
|
7552
7579
|
|
|
7553
7580
|
/**
|
|
7554
|
-
*
|
|
7581
|
+
* ContentfulAccessGroupCreated accessGroupName.
|
|
7555
7582
|
* @member {string} accessGroupName
|
|
7556
|
-
* @memberof
|
|
7583
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7557
7584
|
* @instance
|
|
7558
7585
|
*/
|
|
7559
|
-
|
|
7586
|
+
ContentfulAccessGroupCreated.prototype.accessGroupName = "";
|
|
7560
7587
|
|
|
7561
7588
|
/**
|
|
7562
|
-
*
|
|
7589
|
+
* ContentfulAccessGroupCreated description.
|
|
7563
7590
|
* @member {string} description
|
|
7564
|
-
* @memberof
|
|
7591
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7565
7592
|
* @instance
|
|
7566
7593
|
*/
|
|
7567
|
-
|
|
7594
|
+
ContentfulAccessGroupCreated.prototype.description = "";
|
|
7568
7595
|
|
|
7569
7596
|
/**
|
|
7570
|
-
*
|
|
7571
|
-
* @member {
|
|
7572
|
-
* @memberof
|
|
7597
|
+
* ContentfulAccessGroupCreated createdAt.
|
|
7598
|
+
* @member {number|Long} createdAt
|
|
7599
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7573
7600
|
* @instance
|
|
7574
7601
|
*/
|
|
7575
|
-
|
|
7602
|
+
ContentfulAccessGroupCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
7576
7603
|
|
|
7577
7604
|
/**
|
|
7578
|
-
*
|
|
7605
|
+
* ContentfulAccessGroupCreated slug.
|
|
7579
7606
|
* @member {string} slug
|
|
7580
|
-
* @memberof
|
|
7607
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7581
7608
|
* @instance
|
|
7582
7609
|
*/
|
|
7583
|
-
|
|
7610
|
+
ContentfulAccessGroupCreated.prototype.slug = "";
|
|
7584
7611
|
|
|
7585
7612
|
/**
|
|
7586
|
-
* Creates a new
|
|
7613
|
+
* Creates a new ContentfulAccessGroupCreated instance using the specified properties.
|
|
7587
7614
|
* @function create
|
|
7588
|
-
* @memberof
|
|
7615
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7589
7616
|
* @static
|
|
7590
|
-
* @param {
|
|
7591
|
-
* @returns {
|
|
7617
|
+
* @param {IContentfulAccessGroupCreated=} [properties] Properties to set
|
|
7618
|
+
* @returns {ContentfulAccessGroupCreated} ContentfulAccessGroupCreated instance
|
|
7592
7619
|
*/
|
|
7593
|
-
|
|
7594
|
-
return new
|
|
7620
|
+
ContentfulAccessGroupCreated.create = function create(properties) {
|
|
7621
|
+
return new ContentfulAccessGroupCreated(properties);
|
|
7595
7622
|
};
|
|
7596
7623
|
|
|
7597
7624
|
/**
|
|
7598
|
-
* Encodes the specified
|
|
7625
|
+
* Encodes the specified ContentfulAccessGroupCreated message. Does not implicitly {@link ContentfulAccessGroupCreated.verify|verify} messages.
|
|
7599
7626
|
* @function encode
|
|
7600
|
-
* @memberof
|
|
7627
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7601
7628
|
* @static
|
|
7602
|
-
* @param {
|
|
7629
|
+
* @param {IContentfulAccessGroupCreated} message ContentfulAccessGroupCreated message or plain object to encode
|
|
7603
7630
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
7604
7631
|
* @returns {$protobuf.Writer} Writer
|
|
7605
7632
|
*/
|
|
7606
|
-
|
|
7633
|
+
ContentfulAccessGroupCreated.encode = function encode(message, writer) {
|
|
7607
7634
|
if (!writer)
|
|
7608
7635
|
writer = $Writer.create();
|
|
7609
7636
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
@@ -7611,40 +7638,40 @@ $root.AccessGroupCreated = (function() {
|
|
|
7611
7638
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
7612
7639
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.description);
|
|
7613
7640
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
7614
|
-
|
|
7641
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.createdAt);
|
|
7615
7642
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
7616
7643
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.slug);
|
|
7617
7644
|
return writer;
|
|
7618
7645
|
};
|
|
7619
7646
|
|
|
7620
7647
|
/**
|
|
7621
|
-
* Encodes the specified
|
|
7648
|
+
* Encodes the specified ContentfulAccessGroupCreated message, length delimited. Does not implicitly {@link ContentfulAccessGroupCreated.verify|verify} messages.
|
|
7622
7649
|
* @function encodeDelimited
|
|
7623
|
-
* @memberof
|
|
7650
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7624
7651
|
* @static
|
|
7625
|
-
* @param {
|
|
7652
|
+
* @param {IContentfulAccessGroupCreated} message ContentfulAccessGroupCreated message or plain object to encode
|
|
7626
7653
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
7627
7654
|
* @returns {$protobuf.Writer} Writer
|
|
7628
7655
|
*/
|
|
7629
|
-
|
|
7656
|
+
ContentfulAccessGroupCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7630
7657
|
return this.encode(message, writer).ldelim();
|
|
7631
7658
|
};
|
|
7632
7659
|
|
|
7633
7660
|
/**
|
|
7634
|
-
* Decodes
|
|
7661
|
+
* Decodes a ContentfulAccessGroupCreated message from the specified reader or buffer.
|
|
7635
7662
|
* @function decode
|
|
7636
|
-
* @memberof
|
|
7663
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7637
7664
|
* @static
|
|
7638
7665
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
7639
7666
|
* @param {number} [length] Message length if known beforehand
|
|
7640
|
-
* @returns {
|
|
7667
|
+
* @returns {ContentfulAccessGroupCreated} ContentfulAccessGroupCreated
|
|
7641
7668
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7642
7669
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7643
7670
|
*/
|
|
7644
|
-
|
|
7671
|
+
ContentfulAccessGroupCreated.decode = function decode(reader, length) {
|
|
7645
7672
|
if (!(reader instanceof $Reader))
|
|
7646
7673
|
reader = $Reader.create(reader);
|
|
7647
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
7674
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulAccessGroupCreated();
|
|
7648
7675
|
while (reader.pos < end) {
|
|
7649
7676
|
var tag = reader.uint32();
|
|
7650
7677
|
switch (tag >>> 3) {
|
|
@@ -7655,7 +7682,7 @@ $root.AccessGroupCreated = (function() {
|
|
|
7655
7682
|
message.description = reader.string();
|
|
7656
7683
|
break;
|
|
7657
7684
|
case 3:
|
|
7658
|
-
message.createdAt =
|
|
7685
|
+
message.createdAt = reader.uint64();
|
|
7659
7686
|
break;
|
|
7660
7687
|
case 4:
|
|
7661
7688
|
message.slug = reader.string();
|
|
@@ -7669,30 +7696,30 @@ $root.AccessGroupCreated = (function() {
|
|
|
7669
7696
|
};
|
|
7670
7697
|
|
|
7671
7698
|
/**
|
|
7672
|
-
* Decodes
|
|
7699
|
+
* Decodes a ContentfulAccessGroupCreated message from the specified reader or buffer, length delimited.
|
|
7673
7700
|
* @function decodeDelimited
|
|
7674
|
-
* @memberof
|
|
7701
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7675
7702
|
* @static
|
|
7676
7703
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
7677
|
-
* @returns {
|
|
7704
|
+
* @returns {ContentfulAccessGroupCreated} ContentfulAccessGroupCreated
|
|
7678
7705
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7679
7706
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7680
7707
|
*/
|
|
7681
|
-
|
|
7708
|
+
ContentfulAccessGroupCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
7682
7709
|
if (!(reader instanceof $Reader))
|
|
7683
7710
|
reader = new $Reader(reader);
|
|
7684
7711
|
return this.decode(reader, reader.uint32());
|
|
7685
7712
|
};
|
|
7686
7713
|
|
|
7687
7714
|
/**
|
|
7688
|
-
* Verifies
|
|
7715
|
+
* Verifies a ContentfulAccessGroupCreated message.
|
|
7689
7716
|
* @function verify
|
|
7690
|
-
* @memberof
|
|
7717
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7691
7718
|
* @static
|
|
7692
7719
|
* @param {Object.<string,*>} message Plain object to verify
|
|
7693
7720
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
7694
7721
|
*/
|
|
7695
|
-
|
|
7722
|
+
ContentfulAccessGroupCreated.verify = function verify(message) {
|
|
7696
7723
|
if (typeof message !== "object" || message === null)
|
|
7697
7724
|
return "object expected";
|
|
7698
7725
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
@@ -7701,11 +7728,9 @@ $root.AccessGroupCreated = (function() {
|
|
|
7701
7728
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
7702
7729
|
if (!$util.isString(message.description))
|
|
7703
7730
|
return "description: string expected";
|
|
7704
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
return "createdAt." + error;
|
|
7708
|
-
}
|
|
7731
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
7732
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
7733
|
+
return "createdAt: integer|Long expected";
|
|
7709
7734
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
7710
7735
|
if (!$util.isString(message.slug))
|
|
7711
7736
|
return "slug: string expected";
|
|
@@ -7713,48 +7738,56 @@ $root.AccessGroupCreated = (function() {
|
|
|
7713
7738
|
};
|
|
7714
7739
|
|
|
7715
7740
|
/**
|
|
7716
|
-
* Creates
|
|
7741
|
+
* Creates a ContentfulAccessGroupCreated message from a plain object. Also converts values to their respective internal types.
|
|
7717
7742
|
* @function fromObject
|
|
7718
|
-
* @memberof
|
|
7743
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7719
7744
|
* @static
|
|
7720
7745
|
* @param {Object.<string,*>} object Plain object
|
|
7721
|
-
* @returns {
|
|
7746
|
+
* @returns {ContentfulAccessGroupCreated} ContentfulAccessGroupCreated
|
|
7722
7747
|
*/
|
|
7723
|
-
|
|
7724
|
-
if (object instanceof $root.
|
|
7748
|
+
ContentfulAccessGroupCreated.fromObject = function fromObject(object) {
|
|
7749
|
+
if (object instanceof $root.ContentfulAccessGroupCreated)
|
|
7725
7750
|
return object;
|
|
7726
|
-
var message = new $root.
|
|
7751
|
+
var message = new $root.ContentfulAccessGroupCreated();
|
|
7727
7752
|
if (object.accessGroupName != null)
|
|
7728
7753
|
message.accessGroupName = String(object.accessGroupName);
|
|
7729
7754
|
if (object.description != null)
|
|
7730
7755
|
message.description = String(object.description);
|
|
7731
|
-
if (object.createdAt != null)
|
|
7732
|
-
if (
|
|
7733
|
-
|
|
7734
|
-
|
|
7735
|
-
|
|
7756
|
+
if (object.createdAt != null)
|
|
7757
|
+
if ($util.Long)
|
|
7758
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
7759
|
+
else if (typeof object.createdAt === "string")
|
|
7760
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
7761
|
+
else if (typeof object.createdAt === "number")
|
|
7762
|
+
message.createdAt = object.createdAt;
|
|
7763
|
+
else if (typeof object.createdAt === "object")
|
|
7764
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
7736
7765
|
if (object.slug != null)
|
|
7737
7766
|
message.slug = String(object.slug);
|
|
7738
7767
|
return message;
|
|
7739
7768
|
};
|
|
7740
7769
|
|
|
7741
7770
|
/**
|
|
7742
|
-
* Creates a plain object from
|
|
7771
|
+
* Creates a plain object from a ContentfulAccessGroupCreated message. Also converts values to other types if specified.
|
|
7743
7772
|
* @function toObject
|
|
7744
|
-
* @memberof
|
|
7773
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7745
7774
|
* @static
|
|
7746
|
-
* @param {
|
|
7775
|
+
* @param {ContentfulAccessGroupCreated} message ContentfulAccessGroupCreated
|
|
7747
7776
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
7748
7777
|
* @returns {Object.<string,*>} Plain object
|
|
7749
7778
|
*/
|
|
7750
|
-
|
|
7779
|
+
ContentfulAccessGroupCreated.toObject = function toObject(message, options) {
|
|
7751
7780
|
if (!options)
|
|
7752
7781
|
options = {};
|
|
7753
7782
|
var object = {};
|
|
7754
7783
|
if (options.defaults) {
|
|
7755
7784
|
object.accessGroupName = "";
|
|
7756
7785
|
object.description = "";
|
|
7757
|
-
|
|
7786
|
+
if ($util.Long) {
|
|
7787
|
+
var long = new $util.Long(0, 0, true);
|
|
7788
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
7789
|
+
} else
|
|
7790
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
7758
7791
|
object.slug = "";
|
|
7759
7792
|
}
|
|
7760
7793
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
@@ -7762,47 +7795,50 @@ $root.AccessGroupCreated = (function() {
|
|
|
7762
7795
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
7763
7796
|
object.description = message.description;
|
|
7764
7797
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
7765
|
-
|
|
7798
|
+
if (typeof message.createdAt === "number")
|
|
7799
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
7800
|
+
else
|
|
7801
|
+
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;
|
|
7766
7802
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
7767
7803
|
object.slug = message.slug;
|
|
7768
7804
|
return object;
|
|
7769
7805
|
};
|
|
7770
7806
|
|
|
7771
7807
|
/**
|
|
7772
|
-
* Converts this
|
|
7808
|
+
* Converts this ContentfulAccessGroupCreated to JSON.
|
|
7773
7809
|
* @function toJSON
|
|
7774
|
-
* @memberof
|
|
7810
|
+
* @memberof ContentfulAccessGroupCreated
|
|
7775
7811
|
* @instance
|
|
7776
7812
|
* @returns {Object.<string,*>} JSON object
|
|
7777
7813
|
*/
|
|
7778
|
-
|
|
7814
|
+
ContentfulAccessGroupCreated.prototype.toJSON = function toJSON() {
|
|
7779
7815
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7780
7816
|
};
|
|
7781
7817
|
|
|
7782
|
-
return
|
|
7818
|
+
return ContentfulAccessGroupCreated;
|
|
7783
7819
|
})();
|
|
7784
7820
|
|
|
7785
|
-
$root.
|
|
7821
|
+
$root.ContentfulAccessGroupUpdated = (function() {
|
|
7786
7822
|
|
|
7787
7823
|
/**
|
|
7788
|
-
* Properties of
|
|
7789
|
-
* @exports
|
|
7790
|
-
* @interface
|
|
7791
|
-
* @property {string|null} [accessGroupName]
|
|
7792
|
-
* @property {string|null} [description]
|
|
7793
|
-
* @property {
|
|
7794
|
-
* @property {string|null} [slug]
|
|
7824
|
+
* Properties of a ContentfulAccessGroupUpdated.
|
|
7825
|
+
* @exports IContentfulAccessGroupUpdated
|
|
7826
|
+
* @interface IContentfulAccessGroupUpdated
|
|
7827
|
+
* @property {string|null} [accessGroupName] ContentfulAccessGroupUpdated accessGroupName
|
|
7828
|
+
* @property {string|null} [description] ContentfulAccessGroupUpdated description
|
|
7829
|
+
* @property {number|Long|null} [updatedAt] ContentfulAccessGroupUpdated updatedAt
|
|
7830
|
+
* @property {string|null} [slug] ContentfulAccessGroupUpdated slug
|
|
7795
7831
|
*/
|
|
7796
7832
|
|
|
7797
7833
|
/**
|
|
7798
|
-
* Constructs a new
|
|
7799
|
-
* @exports
|
|
7800
|
-
* @classdesc Represents
|
|
7801
|
-
* @implements
|
|
7834
|
+
* Constructs a new ContentfulAccessGroupUpdated.
|
|
7835
|
+
* @exports ContentfulAccessGroupUpdated
|
|
7836
|
+
* @classdesc Represents a ContentfulAccessGroupUpdated.
|
|
7837
|
+
* @implements IContentfulAccessGroupUpdated
|
|
7802
7838
|
* @constructor
|
|
7803
|
-
* @param {
|
|
7839
|
+
* @param {IContentfulAccessGroupUpdated=} [properties] Properties to set
|
|
7804
7840
|
*/
|
|
7805
|
-
function
|
|
7841
|
+
function ContentfulAccessGroupUpdated(properties) {
|
|
7806
7842
|
if (properties)
|
|
7807
7843
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
7808
7844
|
if (properties[keys[i]] != null)
|
|
@@ -7810,59 +7846,59 @@ $root.AccessGroupUpdated = (function() {
|
|
|
7810
7846
|
}
|
|
7811
7847
|
|
|
7812
7848
|
/**
|
|
7813
|
-
*
|
|
7849
|
+
* ContentfulAccessGroupUpdated accessGroupName.
|
|
7814
7850
|
* @member {string} accessGroupName
|
|
7815
|
-
* @memberof
|
|
7851
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
7816
7852
|
* @instance
|
|
7817
7853
|
*/
|
|
7818
|
-
|
|
7854
|
+
ContentfulAccessGroupUpdated.prototype.accessGroupName = "";
|
|
7819
7855
|
|
|
7820
7856
|
/**
|
|
7821
|
-
*
|
|
7857
|
+
* ContentfulAccessGroupUpdated description.
|
|
7822
7858
|
* @member {string} description
|
|
7823
|
-
* @memberof
|
|
7859
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
7824
7860
|
* @instance
|
|
7825
7861
|
*/
|
|
7826
|
-
|
|
7862
|
+
ContentfulAccessGroupUpdated.prototype.description = "";
|
|
7827
7863
|
|
|
7828
7864
|
/**
|
|
7829
|
-
*
|
|
7830
|
-
* @member {
|
|
7831
|
-
* @memberof
|
|
7865
|
+
* ContentfulAccessGroupUpdated updatedAt.
|
|
7866
|
+
* @member {number|Long} updatedAt
|
|
7867
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
7832
7868
|
* @instance
|
|
7833
7869
|
*/
|
|
7834
|
-
|
|
7870
|
+
ContentfulAccessGroupUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
7835
7871
|
|
|
7836
7872
|
/**
|
|
7837
|
-
*
|
|
7873
|
+
* ContentfulAccessGroupUpdated slug.
|
|
7838
7874
|
* @member {string} slug
|
|
7839
|
-
* @memberof
|
|
7875
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
7840
7876
|
* @instance
|
|
7841
7877
|
*/
|
|
7842
|
-
|
|
7878
|
+
ContentfulAccessGroupUpdated.prototype.slug = "";
|
|
7843
7879
|
|
|
7844
7880
|
/**
|
|
7845
|
-
* Creates a new
|
|
7881
|
+
* Creates a new ContentfulAccessGroupUpdated instance using the specified properties.
|
|
7846
7882
|
* @function create
|
|
7847
|
-
* @memberof
|
|
7883
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
7848
7884
|
* @static
|
|
7849
|
-
* @param {
|
|
7850
|
-
* @returns {
|
|
7885
|
+
* @param {IContentfulAccessGroupUpdated=} [properties] Properties to set
|
|
7886
|
+
* @returns {ContentfulAccessGroupUpdated} ContentfulAccessGroupUpdated instance
|
|
7851
7887
|
*/
|
|
7852
|
-
|
|
7853
|
-
return new
|
|
7888
|
+
ContentfulAccessGroupUpdated.create = function create(properties) {
|
|
7889
|
+
return new ContentfulAccessGroupUpdated(properties);
|
|
7854
7890
|
};
|
|
7855
7891
|
|
|
7856
7892
|
/**
|
|
7857
|
-
* Encodes the specified
|
|
7893
|
+
* Encodes the specified ContentfulAccessGroupUpdated message. Does not implicitly {@link ContentfulAccessGroupUpdated.verify|verify} messages.
|
|
7858
7894
|
* @function encode
|
|
7859
|
-
* @memberof
|
|
7895
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
7860
7896
|
* @static
|
|
7861
|
-
* @param {
|
|
7897
|
+
* @param {IContentfulAccessGroupUpdated} message ContentfulAccessGroupUpdated message or plain object to encode
|
|
7862
7898
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
7863
7899
|
* @returns {$protobuf.Writer} Writer
|
|
7864
7900
|
*/
|
|
7865
|
-
|
|
7901
|
+
ContentfulAccessGroupUpdated.encode = function encode(message, writer) {
|
|
7866
7902
|
if (!writer)
|
|
7867
7903
|
writer = $Writer.create();
|
|
7868
7904
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
@@ -7870,40 +7906,40 @@ $root.AccessGroupUpdated = (function() {
|
|
|
7870
7906
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
7871
7907
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.description);
|
|
7872
7908
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
7873
|
-
|
|
7909
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
|
|
7874
7910
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
7875
7911
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.slug);
|
|
7876
7912
|
return writer;
|
|
7877
7913
|
};
|
|
7878
7914
|
|
|
7879
7915
|
/**
|
|
7880
|
-
* Encodes the specified
|
|
7916
|
+
* Encodes the specified ContentfulAccessGroupUpdated message, length delimited. Does not implicitly {@link ContentfulAccessGroupUpdated.verify|verify} messages.
|
|
7881
7917
|
* @function encodeDelimited
|
|
7882
|
-
* @memberof
|
|
7918
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
7883
7919
|
* @static
|
|
7884
|
-
* @param {
|
|
7920
|
+
* @param {IContentfulAccessGroupUpdated} message ContentfulAccessGroupUpdated message or plain object to encode
|
|
7885
7921
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
7886
7922
|
* @returns {$protobuf.Writer} Writer
|
|
7887
7923
|
*/
|
|
7888
|
-
|
|
7924
|
+
ContentfulAccessGroupUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7889
7925
|
return this.encode(message, writer).ldelim();
|
|
7890
7926
|
};
|
|
7891
7927
|
|
|
7892
7928
|
/**
|
|
7893
|
-
* Decodes
|
|
7929
|
+
* Decodes a ContentfulAccessGroupUpdated message from the specified reader or buffer.
|
|
7894
7930
|
* @function decode
|
|
7895
|
-
* @memberof
|
|
7931
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
7896
7932
|
* @static
|
|
7897
7933
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
7898
7934
|
* @param {number} [length] Message length if known beforehand
|
|
7899
|
-
* @returns {
|
|
7935
|
+
* @returns {ContentfulAccessGroupUpdated} ContentfulAccessGroupUpdated
|
|
7900
7936
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7901
7937
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7902
7938
|
*/
|
|
7903
|
-
|
|
7939
|
+
ContentfulAccessGroupUpdated.decode = function decode(reader, length) {
|
|
7904
7940
|
if (!(reader instanceof $Reader))
|
|
7905
7941
|
reader = $Reader.create(reader);
|
|
7906
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
7942
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulAccessGroupUpdated();
|
|
7907
7943
|
while (reader.pos < end) {
|
|
7908
7944
|
var tag = reader.uint32();
|
|
7909
7945
|
switch (tag >>> 3) {
|
|
@@ -7914,7 +7950,7 @@ $root.AccessGroupUpdated = (function() {
|
|
|
7914
7950
|
message.description = reader.string();
|
|
7915
7951
|
break;
|
|
7916
7952
|
case 3:
|
|
7917
|
-
message.updatedAt =
|
|
7953
|
+
message.updatedAt = reader.uint64();
|
|
7918
7954
|
break;
|
|
7919
7955
|
case 4:
|
|
7920
7956
|
message.slug = reader.string();
|
|
@@ -7928,30 +7964,30 @@ $root.AccessGroupUpdated = (function() {
|
|
|
7928
7964
|
};
|
|
7929
7965
|
|
|
7930
7966
|
/**
|
|
7931
|
-
* Decodes
|
|
7967
|
+
* Decodes a ContentfulAccessGroupUpdated message from the specified reader or buffer, length delimited.
|
|
7932
7968
|
* @function decodeDelimited
|
|
7933
|
-
* @memberof
|
|
7969
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
7934
7970
|
* @static
|
|
7935
7971
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
7936
|
-
* @returns {
|
|
7972
|
+
* @returns {ContentfulAccessGroupUpdated} ContentfulAccessGroupUpdated
|
|
7937
7973
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7938
7974
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7939
7975
|
*/
|
|
7940
|
-
|
|
7976
|
+
ContentfulAccessGroupUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
7941
7977
|
if (!(reader instanceof $Reader))
|
|
7942
7978
|
reader = new $Reader(reader);
|
|
7943
7979
|
return this.decode(reader, reader.uint32());
|
|
7944
7980
|
};
|
|
7945
7981
|
|
|
7946
7982
|
/**
|
|
7947
|
-
* Verifies
|
|
7983
|
+
* Verifies a ContentfulAccessGroupUpdated message.
|
|
7948
7984
|
* @function verify
|
|
7949
|
-
* @memberof
|
|
7985
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
7950
7986
|
* @static
|
|
7951
7987
|
* @param {Object.<string,*>} message Plain object to verify
|
|
7952
7988
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
7953
7989
|
*/
|
|
7954
|
-
|
|
7990
|
+
ContentfulAccessGroupUpdated.verify = function verify(message) {
|
|
7955
7991
|
if (typeof message !== "object" || message === null)
|
|
7956
7992
|
return "object expected";
|
|
7957
7993
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
@@ -7960,11 +7996,9 @@ $root.AccessGroupUpdated = (function() {
|
|
|
7960
7996
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
7961
7997
|
if (!$util.isString(message.description))
|
|
7962
7998
|
return "description: string expected";
|
|
7963
|
-
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
7964
|
-
|
|
7965
|
-
|
|
7966
|
-
return "updatedAt." + error;
|
|
7967
|
-
}
|
|
7999
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
8000
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
8001
|
+
return "updatedAt: integer|Long expected";
|
|
7968
8002
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
7969
8003
|
if (!$util.isString(message.slug))
|
|
7970
8004
|
return "slug: string expected";
|
|
@@ -7972,48 +8006,56 @@ $root.AccessGroupUpdated = (function() {
|
|
|
7972
8006
|
};
|
|
7973
8007
|
|
|
7974
8008
|
/**
|
|
7975
|
-
* Creates
|
|
8009
|
+
* Creates a ContentfulAccessGroupUpdated message from a plain object. Also converts values to their respective internal types.
|
|
7976
8010
|
* @function fromObject
|
|
7977
|
-
* @memberof
|
|
8011
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
7978
8012
|
* @static
|
|
7979
8013
|
* @param {Object.<string,*>} object Plain object
|
|
7980
|
-
* @returns {
|
|
8014
|
+
* @returns {ContentfulAccessGroupUpdated} ContentfulAccessGroupUpdated
|
|
7981
8015
|
*/
|
|
7982
|
-
|
|
7983
|
-
if (object instanceof $root.
|
|
8016
|
+
ContentfulAccessGroupUpdated.fromObject = function fromObject(object) {
|
|
8017
|
+
if (object instanceof $root.ContentfulAccessGroupUpdated)
|
|
7984
8018
|
return object;
|
|
7985
|
-
var message = new $root.
|
|
8019
|
+
var message = new $root.ContentfulAccessGroupUpdated();
|
|
7986
8020
|
if (object.accessGroupName != null)
|
|
7987
8021
|
message.accessGroupName = String(object.accessGroupName);
|
|
7988
8022
|
if (object.description != null)
|
|
7989
8023
|
message.description = String(object.description);
|
|
7990
|
-
if (object.updatedAt != null)
|
|
7991
|
-
if (
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
8024
|
+
if (object.updatedAt != null)
|
|
8025
|
+
if ($util.Long)
|
|
8026
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
8027
|
+
else if (typeof object.updatedAt === "string")
|
|
8028
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
8029
|
+
else if (typeof object.updatedAt === "number")
|
|
8030
|
+
message.updatedAt = object.updatedAt;
|
|
8031
|
+
else if (typeof object.updatedAt === "object")
|
|
8032
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
7995
8033
|
if (object.slug != null)
|
|
7996
8034
|
message.slug = String(object.slug);
|
|
7997
8035
|
return message;
|
|
7998
8036
|
};
|
|
7999
8037
|
|
|
8000
8038
|
/**
|
|
8001
|
-
* Creates a plain object from
|
|
8039
|
+
* Creates a plain object from a ContentfulAccessGroupUpdated message. Also converts values to other types if specified.
|
|
8002
8040
|
* @function toObject
|
|
8003
|
-
* @memberof
|
|
8041
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
8004
8042
|
* @static
|
|
8005
|
-
* @param {
|
|
8043
|
+
* @param {ContentfulAccessGroupUpdated} message ContentfulAccessGroupUpdated
|
|
8006
8044
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
8007
8045
|
* @returns {Object.<string,*>} Plain object
|
|
8008
8046
|
*/
|
|
8009
|
-
|
|
8047
|
+
ContentfulAccessGroupUpdated.toObject = function toObject(message, options) {
|
|
8010
8048
|
if (!options)
|
|
8011
8049
|
options = {};
|
|
8012
8050
|
var object = {};
|
|
8013
8051
|
if (options.defaults) {
|
|
8014
8052
|
object.accessGroupName = "";
|
|
8015
8053
|
object.description = "";
|
|
8016
|
-
|
|
8054
|
+
if ($util.Long) {
|
|
8055
|
+
var long = new $util.Long(0, 0, true);
|
|
8056
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
8057
|
+
} else
|
|
8058
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
8017
8059
|
object.slug = "";
|
|
8018
8060
|
}
|
|
8019
8061
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
@@ -8021,46 +8063,49 @@ $root.AccessGroupUpdated = (function() {
|
|
|
8021
8063
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
8022
8064
|
object.description = message.description;
|
|
8023
8065
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
8024
|
-
|
|
8066
|
+
if (typeof message.updatedAt === "number")
|
|
8067
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
8068
|
+
else
|
|
8069
|
+
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;
|
|
8025
8070
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
8026
8071
|
object.slug = message.slug;
|
|
8027
8072
|
return object;
|
|
8028
8073
|
};
|
|
8029
8074
|
|
|
8030
8075
|
/**
|
|
8031
|
-
* Converts this
|
|
8076
|
+
* Converts this ContentfulAccessGroupUpdated to JSON.
|
|
8032
8077
|
* @function toJSON
|
|
8033
|
-
* @memberof
|
|
8078
|
+
* @memberof ContentfulAccessGroupUpdated
|
|
8034
8079
|
* @instance
|
|
8035
8080
|
* @returns {Object.<string,*>} JSON object
|
|
8036
8081
|
*/
|
|
8037
|
-
|
|
8082
|
+
ContentfulAccessGroupUpdated.prototype.toJSON = function toJSON() {
|
|
8038
8083
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
8039
8084
|
};
|
|
8040
8085
|
|
|
8041
|
-
return
|
|
8086
|
+
return ContentfulAccessGroupUpdated;
|
|
8042
8087
|
})();
|
|
8043
8088
|
|
|
8044
|
-
$root.
|
|
8089
|
+
$root.ContentfulAccessGroupDeleted = (function() {
|
|
8045
8090
|
|
|
8046
8091
|
/**
|
|
8047
|
-
* Properties of
|
|
8048
|
-
* @exports
|
|
8049
|
-
* @interface
|
|
8050
|
-
* @property {string|null} [accessGroupName]
|
|
8051
|
-
* @property {
|
|
8052
|
-
* @property {string|null} [slug]
|
|
8092
|
+
* Properties of a ContentfulAccessGroupDeleted.
|
|
8093
|
+
* @exports IContentfulAccessGroupDeleted
|
|
8094
|
+
* @interface IContentfulAccessGroupDeleted
|
|
8095
|
+
* @property {string|null} [accessGroupName] ContentfulAccessGroupDeleted accessGroupName
|
|
8096
|
+
* @property {number|Long|null} [deletedAt] ContentfulAccessGroupDeleted deletedAt
|
|
8097
|
+
* @property {string|null} [slug] ContentfulAccessGroupDeleted slug
|
|
8053
8098
|
*/
|
|
8054
8099
|
|
|
8055
8100
|
/**
|
|
8056
|
-
* Constructs a new
|
|
8057
|
-
* @exports
|
|
8058
|
-
* @classdesc Represents
|
|
8059
|
-
* @implements
|
|
8101
|
+
* Constructs a new ContentfulAccessGroupDeleted.
|
|
8102
|
+
* @exports ContentfulAccessGroupDeleted
|
|
8103
|
+
* @classdesc Represents a ContentfulAccessGroupDeleted.
|
|
8104
|
+
* @implements IContentfulAccessGroupDeleted
|
|
8060
8105
|
* @constructor
|
|
8061
|
-
* @param {
|
|
8106
|
+
* @param {IContentfulAccessGroupDeleted=} [properties] Properties to set
|
|
8062
8107
|
*/
|
|
8063
|
-
function
|
|
8108
|
+
function ContentfulAccessGroupDeleted(properties) {
|
|
8064
8109
|
if (properties)
|
|
8065
8110
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
8066
8111
|
if (properties[keys[i]] != null)
|
|
@@ -8068,90 +8113,90 @@ $root.AccessGroupDeleted = (function() {
|
|
|
8068
8113
|
}
|
|
8069
8114
|
|
|
8070
8115
|
/**
|
|
8071
|
-
*
|
|
8116
|
+
* ContentfulAccessGroupDeleted accessGroupName.
|
|
8072
8117
|
* @member {string} accessGroupName
|
|
8073
|
-
* @memberof
|
|
8118
|
+
* @memberof ContentfulAccessGroupDeleted
|
|
8074
8119
|
* @instance
|
|
8075
8120
|
*/
|
|
8076
|
-
|
|
8121
|
+
ContentfulAccessGroupDeleted.prototype.accessGroupName = "";
|
|
8077
8122
|
|
|
8078
8123
|
/**
|
|
8079
|
-
*
|
|
8080
|
-
* @member {
|
|
8081
|
-
* @memberof
|
|
8124
|
+
* ContentfulAccessGroupDeleted deletedAt.
|
|
8125
|
+
* @member {number|Long} deletedAt
|
|
8126
|
+
* @memberof ContentfulAccessGroupDeleted
|
|
8082
8127
|
* @instance
|
|
8083
8128
|
*/
|
|
8084
|
-
|
|
8129
|
+
ContentfulAccessGroupDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
8085
8130
|
|
|
8086
8131
|
/**
|
|
8087
|
-
*
|
|
8132
|
+
* ContentfulAccessGroupDeleted slug.
|
|
8088
8133
|
* @member {string} slug
|
|
8089
|
-
* @memberof
|
|
8134
|
+
* @memberof ContentfulAccessGroupDeleted
|
|
8090
8135
|
* @instance
|
|
8091
8136
|
*/
|
|
8092
|
-
|
|
8137
|
+
ContentfulAccessGroupDeleted.prototype.slug = "";
|
|
8093
8138
|
|
|
8094
8139
|
/**
|
|
8095
|
-
* Creates a new
|
|
8140
|
+
* Creates a new ContentfulAccessGroupDeleted instance using the specified properties.
|
|
8096
8141
|
* @function create
|
|
8097
|
-
* @memberof
|
|
8142
|
+
* @memberof ContentfulAccessGroupDeleted
|
|
8098
8143
|
* @static
|
|
8099
|
-
* @param {
|
|
8100
|
-
* @returns {
|
|
8144
|
+
* @param {IContentfulAccessGroupDeleted=} [properties] Properties to set
|
|
8145
|
+
* @returns {ContentfulAccessGroupDeleted} ContentfulAccessGroupDeleted instance
|
|
8101
8146
|
*/
|
|
8102
|
-
|
|
8103
|
-
return new
|
|
8147
|
+
ContentfulAccessGroupDeleted.create = function create(properties) {
|
|
8148
|
+
return new ContentfulAccessGroupDeleted(properties);
|
|
8104
8149
|
};
|
|
8105
8150
|
|
|
8106
8151
|
/**
|
|
8107
|
-
* Encodes the specified
|
|
8152
|
+
* Encodes the specified ContentfulAccessGroupDeleted message. Does not implicitly {@link ContentfulAccessGroupDeleted.verify|verify} messages.
|
|
8108
8153
|
* @function encode
|
|
8109
|
-
* @memberof
|
|
8154
|
+
* @memberof ContentfulAccessGroupDeleted
|
|
8110
8155
|
* @static
|
|
8111
|
-
* @param {
|
|
8156
|
+
* @param {IContentfulAccessGroupDeleted} message ContentfulAccessGroupDeleted message or plain object to encode
|
|
8112
8157
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
8113
8158
|
* @returns {$protobuf.Writer} Writer
|
|
8114
8159
|
*/
|
|
8115
|
-
|
|
8160
|
+
ContentfulAccessGroupDeleted.encode = function encode(message, writer) {
|
|
8116
8161
|
if (!writer)
|
|
8117
8162
|
writer = $Writer.create();
|
|
8118
8163
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
8119
8164
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.accessGroupName);
|
|
8120
8165
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
8121
|
-
|
|
8166
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.deletedAt);
|
|
8122
8167
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
8123
8168
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
|
|
8124
8169
|
return writer;
|
|
8125
8170
|
};
|
|
8126
8171
|
|
|
8127
8172
|
/**
|
|
8128
|
-
* Encodes the specified
|
|
8173
|
+
* Encodes the specified ContentfulAccessGroupDeleted message, length delimited. Does not implicitly {@link ContentfulAccessGroupDeleted.verify|verify} messages.
|
|
8129
8174
|
* @function encodeDelimited
|
|
8130
|
-
* @memberof
|
|
8175
|
+
* @memberof ContentfulAccessGroupDeleted
|
|
8131
8176
|
* @static
|
|
8132
|
-
* @param {
|
|
8177
|
+
* @param {IContentfulAccessGroupDeleted} message ContentfulAccessGroupDeleted message or plain object to encode
|
|
8133
8178
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
8134
8179
|
* @returns {$protobuf.Writer} Writer
|
|
8135
8180
|
*/
|
|
8136
|
-
|
|
8181
|
+
ContentfulAccessGroupDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
8137
8182
|
return this.encode(message, writer).ldelim();
|
|
8138
8183
|
};
|
|
8139
8184
|
|
|
8140
8185
|
/**
|
|
8141
|
-
* Decodes
|
|
8186
|
+
* Decodes a ContentfulAccessGroupDeleted message from the specified reader or buffer.
|
|
8142
8187
|
* @function decode
|
|
8143
|
-
* @memberof
|
|
8188
|
+
* @memberof ContentfulAccessGroupDeleted
|
|
8144
8189
|
* @static
|
|
8145
8190
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
8146
8191
|
* @param {number} [length] Message length if known beforehand
|
|
8147
|
-
* @returns {
|
|
8192
|
+
* @returns {ContentfulAccessGroupDeleted} ContentfulAccessGroupDeleted
|
|
8148
8193
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8149
8194
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8150
8195
|
*/
|
|
8151
|
-
|
|
8196
|
+
ContentfulAccessGroupDeleted.decode = function decode(reader, length) {
|
|
8152
8197
|
if (!(reader instanceof $Reader))
|
|
8153
8198
|
reader = $Reader.create(reader);
|
|
8154
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
8199
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ContentfulAccessGroupDeleted();
|
|
8155
8200
|
while (reader.pos < end) {
|
|
8156
8201
|
var tag = reader.uint32();
|
|
8157
8202
|
switch (tag >>> 3) {
|
|
@@ -8159,7 +8204,7 @@ $root.AccessGroupDeleted = (function() {
|
|
|
8159
8204
|
message.accessGroupName = reader.string();
|
|
8160
8205
|
break;
|
|
8161
8206
|
case 2:
|
|
8162
|
-
message.deletedAt =
|
|
8207
|
+
message.deletedAt = reader.uint64();
|
|
8163
8208
|
break;
|
|
8164
8209
|
case 3:
|
|
8165
8210
|
message.slug = reader.string();
|
|
@@ -8173,40 +8218,38 @@ $root.AccessGroupDeleted = (function() {
|
|
|
8173
8218
|
};
|
|
8174
8219
|
|
|
8175
8220
|
/**
|
|
8176
|
-
* Decodes
|
|
8221
|
+
* Decodes a ContentfulAccessGroupDeleted message from the specified reader or buffer, length delimited.
|
|
8177
8222
|
* @function decodeDelimited
|
|
8178
|
-
* @memberof
|
|
8223
|
+
* @memberof ContentfulAccessGroupDeleted
|
|
8179
8224
|
* @static
|
|
8180
8225
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
8181
|
-
* @returns {
|
|
8226
|
+
* @returns {ContentfulAccessGroupDeleted} ContentfulAccessGroupDeleted
|
|
8182
8227
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8183
8228
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8184
8229
|
*/
|
|
8185
|
-
|
|
8230
|
+
ContentfulAccessGroupDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
8186
8231
|
if (!(reader instanceof $Reader))
|
|
8187
8232
|
reader = new $Reader(reader);
|
|
8188
8233
|
return this.decode(reader, reader.uint32());
|
|
8189
8234
|
};
|
|
8190
8235
|
|
|
8191
8236
|
/**
|
|
8192
|
-
* Verifies
|
|
8237
|
+
* Verifies a ContentfulAccessGroupDeleted message.
|
|
8193
8238
|
* @function verify
|
|
8194
|
-
* @memberof
|
|
8239
|
+
* @memberof ContentfulAccessGroupDeleted
|
|
8195
8240
|
* @static
|
|
8196
8241
|
* @param {Object.<string,*>} message Plain object to verify
|
|
8197
8242
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
8198
8243
|
*/
|
|
8199
|
-
|
|
8244
|
+
ContentfulAccessGroupDeleted.verify = function verify(message) {
|
|
8200
8245
|
if (typeof message !== "object" || message === null)
|
|
8201
8246
|
return "object expected";
|
|
8202
8247
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
8203
8248
|
if (!$util.isString(message.accessGroupName))
|
|
8204
8249
|
return "accessGroupName: string expected";
|
|
8205
|
-
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
return "deletedAt." + error;
|
|
8209
|
-
}
|
|
8250
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
8251
|
+
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
8252
|
+
return "deletedAt: integer|Long expected";
|
|
8210
8253
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
8211
8254
|
if (!$util.isString(message.slug))
|
|
8212
8255
|
return "slug: string expected";
|
|
@@ -8214,68 +8257,79 @@ $root.AccessGroupDeleted = (function() {
|
|
|
8214
8257
|
};
|
|
8215
8258
|
|
|
8216
8259
|
/**
|
|
8217
|
-
* Creates
|
|
8260
|
+
* Creates a ContentfulAccessGroupDeleted message from a plain object. Also converts values to their respective internal types.
|
|
8218
8261
|
* @function fromObject
|
|
8219
|
-
* @memberof
|
|
8262
|
+
* @memberof ContentfulAccessGroupDeleted
|
|
8220
8263
|
* @static
|
|
8221
8264
|
* @param {Object.<string,*>} object Plain object
|
|
8222
|
-
* @returns {
|
|
8265
|
+
* @returns {ContentfulAccessGroupDeleted} ContentfulAccessGroupDeleted
|
|
8223
8266
|
*/
|
|
8224
|
-
|
|
8225
|
-
if (object instanceof $root.
|
|
8267
|
+
ContentfulAccessGroupDeleted.fromObject = function fromObject(object) {
|
|
8268
|
+
if (object instanceof $root.ContentfulAccessGroupDeleted)
|
|
8226
8269
|
return object;
|
|
8227
|
-
var message = new $root.
|
|
8270
|
+
var message = new $root.ContentfulAccessGroupDeleted();
|
|
8228
8271
|
if (object.accessGroupName != null)
|
|
8229
8272
|
message.accessGroupName = String(object.accessGroupName);
|
|
8230
|
-
if (object.deletedAt != null)
|
|
8231
|
-
if (
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8273
|
+
if (object.deletedAt != null)
|
|
8274
|
+
if ($util.Long)
|
|
8275
|
+
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
8276
|
+
else if (typeof object.deletedAt === "string")
|
|
8277
|
+
message.deletedAt = parseInt(object.deletedAt, 10);
|
|
8278
|
+
else if (typeof object.deletedAt === "number")
|
|
8279
|
+
message.deletedAt = object.deletedAt;
|
|
8280
|
+
else if (typeof object.deletedAt === "object")
|
|
8281
|
+
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
8235
8282
|
if (object.slug != null)
|
|
8236
8283
|
message.slug = String(object.slug);
|
|
8237
8284
|
return message;
|
|
8238
8285
|
};
|
|
8239
8286
|
|
|
8240
8287
|
/**
|
|
8241
|
-
* Creates a plain object from
|
|
8288
|
+
* Creates a plain object from a ContentfulAccessGroupDeleted message. Also converts values to other types if specified.
|
|
8242
8289
|
* @function toObject
|
|
8243
|
-
* @memberof
|
|
8290
|
+
* @memberof ContentfulAccessGroupDeleted
|
|
8244
8291
|
* @static
|
|
8245
|
-
* @param {
|
|
8292
|
+
* @param {ContentfulAccessGroupDeleted} message ContentfulAccessGroupDeleted
|
|
8246
8293
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
8247
8294
|
* @returns {Object.<string,*>} Plain object
|
|
8248
8295
|
*/
|
|
8249
|
-
|
|
8296
|
+
ContentfulAccessGroupDeleted.toObject = function toObject(message, options) {
|
|
8250
8297
|
if (!options)
|
|
8251
8298
|
options = {};
|
|
8252
8299
|
var object = {};
|
|
8253
8300
|
if (options.defaults) {
|
|
8254
8301
|
object.accessGroupName = "";
|
|
8255
|
-
|
|
8302
|
+
if ($util.Long) {
|
|
8303
|
+
var long = new $util.Long(0, 0, true);
|
|
8304
|
+
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
8305
|
+
} else
|
|
8306
|
+
object.deletedAt = options.longs === String ? "0" : 0;
|
|
8256
8307
|
object.slug = "";
|
|
8257
8308
|
}
|
|
8258
8309
|
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
8259
8310
|
object.accessGroupName = message.accessGroupName;
|
|
8260
8311
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
8261
|
-
|
|
8312
|
+
if (typeof message.deletedAt === "number")
|
|
8313
|
+
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
8314
|
+
else
|
|
8315
|
+
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;
|
|
8262
8316
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
8263
8317
|
object.slug = message.slug;
|
|
8264
8318
|
return object;
|
|
8265
8319
|
};
|
|
8266
8320
|
|
|
8267
8321
|
/**
|
|
8268
|
-
* Converts this
|
|
8322
|
+
* Converts this ContentfulAccessGroupDeleted to JSON.
|
|
8269
8323
|
* @function toJSON
|
|
8270
|
-
* @memberof
|
|
8324
|
+
* @memberof ContentfulAccessGroupDeleted
|
|
8271
8325
|
* @instance
|
|
8272
8326
|
* @returns {Object.<string,*>} JSON object
|
|
8273
8327
|
*/
|
|
8274
|
-
|
|
8328
|
+
ContentfulAccessGroupDeleted.prototype.toJSON = function toJSON() {
|
|
8275
8329
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
8276
8330
|
};
|
|
8277
8331
|
|
|
8278
|
-
return
|
|
8332
|
+
return ContentfulAccessGroupDeleted;
|
|
8279
8333
|
})();
|
|
8280
8334
|
|
|
8281
8335
|
$root.UserRoleUpdated = (function() {
|