@headspace/protos-events 1.108.0 → 1.109.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 +12 -12
- package/lib/index.js +156 -102
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2750,7 +2750,7 @@ export interface IContentfulAssetCreated {
|
|
|
2750
2750
|
file?: ({ [k: string]: contentful.IMediaFile }|null);
|
|
2751
2751
|
|
|
2752
2752
|
/** ContentfulAssetCreated createdAt */
|
|
2753
|
-
createdAt?: (
|
|
2753
|
+
createdAt?: (number|Long|null);
|
|
2754
2754
|
}
|
|
2755
2755
|
|
|
2756
2756
|
/** Represents a ContentfulAssetCreated. */
|
|
@@ -2769,7 +2769,7 @@ export class ContentfulAssetCreated implements IContentfulAssetCreated {
|
|
|
2769
2769
|
public file: { [k: string]: contentful.IMediaFile };
|
|
2770
2770
|
|
|
2771
2771
|
/** ContentfulAssetCreated createdAt. */
|
|
2772
|
-
public createdAt
|
|
2772
|
+
public createdAt: (number|Long);
|
|
2773
2773
|
|
|
2774
2774
|
/**
|
|
2775
2775
|
* Creates a new ContentfulAssetCreated instance using the specified properties.
|
|
@@ -2852,7 +2852,7 @@ export interface IContentfulAssetUpdated {
|
|
|
2852
2852
|
file?: ({ [k: string]: contentful.IMediaFile }|null);
|
|
2853
2853
|
|
|
2854
2854
|
/** ContentfulAssetUpdated updatedAt */
|
|
2855
|
-
updatedAt?: (
|
|
2855
|
+
updatedAt?: (number|Long|null);
|
|
2856
2856
|
}
|
|
2857
2857
|
|
|
2858
2858
|
/** Represents a ContentfulAssetUpdated. */
|
|
@@ -2871,7 +2871,7 @@ export class ContentfulAssetUpdated implements IContentfulAssetUpdated {
|
|
|
2871
2871
|
public file: { [k: string]: contentful.IMediaFile };
|
|
2872
2872
|
|
|
2873
2873
|
/** ContentfulAssetUpdated updatedAt. */
|
|
2874
|
-
public updatedAt
|
|
2874
|
+
public updatedAt: (number|Long);
|
|
2875
2875
|
|
|
2876
2876
|
/**
|
|
2877
2877
|
* Creates a new ContentfulAssetUpdated instance using the specified properties.
|
|
@@ -2954,7 +2954,7 @@ export interface IContentfulAssetDeleted {
|
|
|
2954
2954
|
file?: ({ [k: string]: contentful.IMediaFile }|null);
|
|
2955
2955
|
|
|
2956
2956
|
/** ContentfulAssetDeleted deletedAt */
|
|
2957
|
-
deletedAt?: (
|
|
2957
|
+
deletedAt?: (number|Long|null);
|
|
2958
2958
|
}
|
|
2959
2959
|
|
|
2960
2960
|
/** Represents a ContentfulAssetDeleted. */
|
|
@@ -2973,7 +2973,7 @@ export class ContentfulAssetDeleted implements IContentfulAssetDeleted {
|
|
|
2973
2973
|
public file: { [k: string]: contentful.IMediaFile };
|
|
2974
2974
|
|
|
2975
2975
|
/** ContentfulAssetDeleted deletedAt. */
|
|
2976
|
-
public deletedAt
|
|
2976
|
+
public deletedAt: (number|Long);
|
|
2977
2977
|
|
|
2978
2978
|
/**
|
|
2979
2979
|
* Creates a new ContentfulAssetDeleted instance using the specified properties.
|
|
@@ -3056,7 +3056,7 @@ export interface IAccessGroupCreated {
|
|
|
3056
3056
|
description?: (string|null);
|
|
3057
3057
|
|
|
3058
3058
|
/** AccessGroupCreated createdAt */
|
|
3059
|
-
createdAt?: (
|
|
3059
|
+
createdAt?: (number|Long|null);
|
|
3060
3060
|
|
|
3061
3061
|
/** AccessGroupCreated slug */
|
|
3062
3062
|
slug?: (string|null);
|
|
@@ -3078,7 +3078,7 @@ export class AccessGroupCreated implements IAccessGroupCreated {
|
|
|
3078
3078
|
public description: string;
|
|
3079
3079
|
|
|
3080
3080
|
/** AccessGroupCreated createdAt. */
|
|
3081
|
-
public createdAt
|
|
3081
|
+
public createdAt: (number|Long);
|
|
3082
3082
|
|
|
3083
3083
|
/** AccessGroupCreated slug. */
|
|
3084
3084
|
public slug: string;
|
|
@@ -3164,7 +3164,7 @@ export interface IAccessGroupUpdated {
|
|
|
3164
3164
|
description?: (string|null);
|
|
3165
3165
|
|
|
3166
3166
|
/** AccessGroupUpdated updatedAt */
|
|
3167
|
-
updatedAt?: (
|
|
3167
|
+
updatedAt?: (number|Long|null);
|
|
3168
3168
|
|
|
3169
3169
|
/** AccessGroupUpdated slug */
|
|
3170
3170
|
slug?: (string|null);
|
|
@@ -3186,7 +3186,7 @@ export class AccessGroupUpdated implements IAccessGroupUpdated {
|
|
|
3186
3186
|
public description: string;
|
|
3187
3187
|
|
|
3188
3188
|
/** AccessGroupUpdated updatedAt. */
|
|
3189
|
-
public updatedAt
|
|
3189
|
+
public updatedAt: (number|Long);
|
|
3190
3190
|
|
|
3191
3191
|
/** AccessGroupUpdated slug. */
|
|
3192
3192
|
public slug: string;
|
|
@@ -3269,7 +3269,7 @@ export interface IAccessGroupDeleted {
|
|
|
3269
3269
|
accessGroupName?: (string|null);
|
|
3270
3270
|
|
|
3271
3271
|
/** AccessGroupDeleted deletedAt */
|
|
3272
|
-
deletedAt?: (
|
|
3272
|
+
deletedAt?: (number|Long|null);
|
|
3273
3273
|
|
|
3274
3274
|
/** AccessGroupDeleted slug */
|
|
3275
3275
|
slug?: (string|null);
|
|
@@ -3288,7 +3288,7 @@ export class AccessGroupDeleted implements IAccessGroupDeleted {
|
|
|
3288
3288
|
public accessGroupName: string;
|
|
3289
3289
|
|
|
3290
3290
|
/** AccessGroupDeleted deletedAt. */
|
|
3291
|
-
public deletedAt
|
|
3291
|
+
public deletedAt: (number|Long);
|
|
3292
3292
|
|
|
3293
3293
|
/** AccessGroupDeleted slug. */
|
|
3294
3294
|
public slug: string;
|
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
|
|
|
@@ -7531,7 +7558,7 @@ $root.AccessGroupCreated = (function() {
|
|
|
7531
7558
|
* @interface IAccessGroupCreated
|
|
7532
7559
|
* @property {string|null} [accessGroupName] AccessGroupCreated accessGroupName
|
|
7533
7560
|
* @property {string|null} [description] AccessGroupCreated description
|
|
7534
|
-
* @property {
|
|
7561
|
+
* @property {number|Long|null} [createdAt] AccessGroupCreated createdAt
|
|
7535
7562
|
* @property {string|null} [slug] AccessGroupCreated slug
|
|
7536
7563
|
*/
|
|
7537
7564
|
|
|
@@ -7568,11 +7595,11 @@ $root.AccessGroupCreated = (function() {
|
|
|
7568
7595
|
|
|
7569
7596
|
/**
|
|
7570
7597
|
* AccessGroupCreated createdAt.
|
|
7571
|
-
* @member {
|
|
7598
|
+
* @member {number|Long} createdAt
|
|
7572
7599
|
* @memberof AccessGroupCreated
|
|
7573
7600
|
* @instance
|
|
7574
7601
|
*/
|
|
7575
|
-
AccessGroupCreated.prototype.createdAt =
|
|
7602
|
+
AccessGroupCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
7576
7603
|
|
|
7577
7604
|
/**
|
|
7578
7605
|
* AccessGroupCreated slug.
|
|
@@ -7611,7 +7638,7 @@ $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;
|
|
@@ -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();
|
|
@@ -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";
|
|
@@ -7728,11 +7753,15 @@ $root.AccessGroupCreated = (function() {
|
|
|
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;
|
|
@@ -7754,7 +7783,11 @@ $root.AccessGroupCreated = (function() {
|
|
|
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,7 +7795,10 @@ $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;
|
|
@@ -7790,7 +7826,7 @@ $root.AccessGroupUpdated = (function() {
|
|
|
7790
7826
|
* @interface IAccessGroupUpdated
|
|
7791
7827
|
* @property {string|null} [accessGroupName] AccessGroupUpdated accessGroupName
|
|
7792
7828
|
* @property {string|null} [description] AccessGroupUpdated description
|
|
7793
|
-
* @property {
|
|
7829
|
+
* @property {number|Long|null} [updatedAt] AccessGroupUpdated updatedAt
|
|
7794
7830
|
* @property {string|null} [slug] AccessGroupUpdated slug
|
|
7795
7831
|
*/
|
|
7796
7832
|
|
|
@@ -7827,11 +7863,11 @@ $root.AccessGroupUpdated = (function() {
|
|
|
7827
7863
|
|
|
7828
7864
|
/**
|
|
7829
7865
|
* AccessGroupUpdated updatedAt.
|
|
7830
|
-
* @member {
|
|
7866
|
+
* @member {number|Long} updatedAt
|
|
7831
7867
|
* @memberof AccessGroupUpdated
|
|
7832
7868
|
* @instance
|
|
7833
7869
|
*/
|
|
7834
|
-
AccessGroupUpdated.prototype.updatedAt =
|
|
7870
|
+
AccessGroupUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
7835
7871
|
|
|
7836
7872
|
/**
|
|
7837
7873
|
* AccessGroupUpdated slug.
|
|
@@ -7870,7 +7906,7 @@ $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;
|
|
@@ -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();
|
|
@@ -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";
|
|
@@ -7987,11 +8021,15 @@ $root.AccessGroupUpdated = (function() {
|
|
|
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;
|
|
@@ -8013,7 +8051,11 @@ $root.AccessGroupUpdated = (function() {
|
|
|
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,7 +8063,10 @@ $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;
|
|
@@ -8048,7 +8093,7 @@ $root.AccessGroupDeleted = (function() {
|
|
|
8048
8093
|
* @exports IAccessGroupDeleted
|
|
8049
8094
|
* @interface IAccessGroupDeleted
|
|
8050
8095
|
* @property {string|null} [accessGroupName] AccessGroupDeleted accessGroupName
|
|
8051
|
-
* @property {
|
|
8096
|
+
* @property {number|Long|null} [deletedAt] AccessGroupDeleted deletedAt
|
|
8052
8097
|
* @property {string|null} [slug] AccessGroupDeleted slug
|
|
8053
8098
|
*/
|
|
8054
8099
|
|
|
@@ -8077,11 +8122,11 @@ $root.AccessGroupDeleted = (function() {
|
|
|
8077
8122
|
|
|
8078
8123
|
/**
|
|
8079
8124
|
* AccessGroupDeleted deletedAt.
|
|
8080
|
-
* @member {
|
|
8125
|
+
* @member {number|Long} deletedAt
|
|
8081
8126
|
* @memberof AccessGroupDeleted
|
|
8082
8127
|
* @instance
|
|
8083
8128
|
*/
|
|
8084
|
-
AccessGroupDeleted.prototype.deletedAt =
|
|
8129
|
+
AccessGroupDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
8085
8130
|
|
|
8086
8131
|
/**
|
|
8087
8132
|
* AccessGroupDeleted slug.
|
|
@@ -8118,7 +8163,7 @@ $root.AccessGroupDeleted = (function() {
|
|
|
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;
|
|
@@ -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();
|
|
@@ -8202,11 +8247,9 @@ $root.AccessGroupDeleted = (function() {
|
|
|
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";
|
|
@@ -8227,11 +8270,15 @@ $root.AccessGroupDeleted = (function() {
|
|
|
8227
8270
|
var message = new $root.AccessGroupDeleted();
|
|
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;
|
|
@@ -8252,13 +8299,20 @@ $root.AccessGroupDeleted = (function() {
|
|
|
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;
|
package/package.json
CHANGED