@headspace/protos-events 1.298.0 → 1.300.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 +24 -0
- package/lib/index.js +116 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -11827,6 +11827,12 @@ export namespace scim {
|
|
|
11827
11827
|
|
|
11828
11828
|
/** SCIMUser oldWorkEmail */
|
|
11829
11829
|
oldWorkEmail?: (string|null);
|
|
11830
|
+
|
|
11831
|
+
/** SCIMUser department */
|
|
11832
|
+
department?: (string|null);
|
|
11833
|
+
|
|
11834
|
+
/** SCIMUser location */
|
|
11835
|
+
location?: (string|null);
|
|
11830
11836
|
}
|
|
11831
11837
|
|
|
11832
11838
|
/** Represents a SCIMUser. */
|
|
@@ -11856,6 +11862,12 @@ export namespace scim {
|
|
|
11856
11862
|
/** SCIMUser oldWorkEmail. */
|
|
11857
11863
|
public oldWorkEmail: string;
|
|
11858
11864
|
|
|
11865
|
+
/** SCIMUser department. */
|
|
11866
|
+
public department: string;
|
|
11867
|
+
|
|
11868
|
+
/** SCIMUser location. */
|
|
11869
|
+
public location: string;
|
|
11870
|
+
|
|
11859
11871
|
/**
|
|
11860
11872
|
* Creates a new SCIMUser instance using the specified properties.
|
|
11861
11873
|
* @param [properties] Properties to set
|
|
@@ -23075,6 +23087,9 @@ export interface ICollectionCreated {
|
|
|
23075
23087
|
|
|
23076
23088
|
/** CollectionCreated related */
|
|
23077
23089
|
related?: (contentful.ISlugReference[]|null);
|
|
23090
|
+
|
|
23091
|
+
/** CollectionCreated entityId */
|
|
23092
|
+
entityId?: (number|Long|null);
|
|
23078
23093
|
}
|
|
23079
23094
|
|
|
23080
23095
|
/** Represents a CollectionCreated. */
|
|
@@ -23131,6 +23146,9 @@ export class CollectionCreated implements ICollectionCreated {
|
|
|
23131
23146
|
/** CollectionCreated related. */
|
|
23132
23147
|
public related: contentful.ISlugReference[];
|
|
23133
23148
|
|
|
23149
|
+
/** CollectionCreated entityId. */
|
|
23150
|
+
public entityId: (number|Long);
|
|
23151
|
+
|
|
23134
23152
|
/**
|
|
23135
23153
|
* Creates a new CollectionCreated instance using the specified properties.
|
|
23136
23154
|
* @param [properties] Properties to set
|
|
@@ -23249,6 +23267,9 @@ export interface ICollectionUpdated {
|
|
|
23249
23267
|
|
|
23250
23268
|
/** CollectionUpdated related */
|
|
23251
23269
|
related?: (contentful.ISlugReference[]|null);
|
|
23270
|
+
|
|
23271
|
+
/** CollectionUpdated entityId */
|
|
23272
|
+
entityId?: (number|Long|null);
|
|
23252
23273
|
}
|
|
23253
23274
|
|
|
23254
23275
|
/** Represents a CollectionUpdated. */
|
|
@@ -23305,6 +23326,9 @@ export class CollectionUpdated implements ICollectionUpdated {
|
|
|
23305
23326
|
/** CollectionUpdated related. */
|
|
23306
23327
|
public related: contentful.ISlugReference[];
|
|
23307
23328
|
|
|
23329
|
+
/** CollectionUpdated entityId. */
|
|
23330
|
+
public entityId: (number|Long);
|
|
23331
|
+
|
|
23308
23332
|
/**
|
|
23309
23333
|
* Creates a new CollectionUpdated instance using the specified properties.
|
|
23310
23334
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -28707,6 +28707,8 @@ $root.scim = (function() {
|
|
|
28707
28707
|
* @property {string|null} [workEmail] SCIMUser workEmail
|
|
28708
28708
|
* @property {boolean|null} [isActive] SCIMUser isActive
|
|
28709
28709
|
* @property {string|null} [oldWorkEmail] SCIMUser oldWorkEmail
|
|
28710
|
+
* @property {string|null} [department] SCIMUser department
|
|
28711
|
+
* @property {string|null} [location] SCIMUser location
|
|
28710
28712
|
*/
|
|
28711
28713
|
|
|
28712
28714
|
/**
|
|
@@ -28772,6 +28774,22 @@ $root.scim = (function() {
|
|
|
28772
28774
|
*/
|
|
28773
28775
|
SCIMUser.prototype.oldWorkEmail = "";
|
|
28774
28776
|
|
|
28777
|
+
/**
|
|
28778
|
+
* SCIMUser department.
|
|
28779
|
+
* @member {string} department
|
|
28780
|
+
* @memberof scim.SCIMUser
|
|
28781
|
+
* @instance
|
|
28782
|
+
*/
|
|
28783
|
+
SCIMUser.prototype.department = "";
|
|
28784
|
+
|
|
28785
|
+
/**
|
|
28786
|
+
* SCIMUser location.
|
|
28787
|
+
* @member {string} location
|
|
28788
|
+
* @memberof scim.SCIMUser
|
|
28789
|
+
* @instance
|
|
28790
|
+
*/
|
|
28791
|
+
SCIMUser.prototype.location = "";
|
|
28792
|
+
|
|
28775
28793
|
/**
|
|
28776
28794
|
* Creates a new SCIMUser instance using the specified properties.
|
|
28777
28795
|
* @function create
|
|
@@ -28808,6 +28826,10 @@ $root.scim = (function() {
|
|
|
28808
28826
|
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isActive);
|
|
28809
28827
|
if (message.oldWorkEmail != null && message.hasOwnProperty("oldWorkEmail"))
|
|
28810
28828
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.oldWorkEmail);
|
|
28829
|
+
if (message.department != null && message.hasOwnProperty("department"))
|
|
28830
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.department);
|
|
28831
|
+
if (message.location != null && message.hasOwnProperty("location"))
|
|
28832
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.location);
|
|
28811
28833
|
return writer;
|
|
28812
28834
|
};
|
|
28813
28835
|
|
|
@@ -28860,6 +28882,12 @@ $root.scim = (function() {
|
|
|
28860
28882
|
case 6:
|
|
28861
28883
|
message.oldWorkEmail = reader.string();
|
|
28862
28884
|
break;
|
|
28885
|
+
case 7:
|
|
28886
|
+
message.department = reader.string();
|
|
28887
|
+
break;
|
|
28888
|
+
case 8:
|
|
28889
|
+
message.location = reader.string();
|
|
28890
|
+
break;
|
|
28863
28891
|
default:
|
|
28864
28892
|
reader.skipType(tag & 7);
|
|
28865
28893
|
break;
|
|
@@ -28913,6 +28941,12 @@ $root.scim = (function() {
|
|
|
28913
28941
|
if (message.oldWorkEmail != null && message.hasOwnProperty("oldWorkEmail"))
|
|
28914
28942
|
if (!$util.isString(message.oldWorkEmail))
|
|
28915
28943
|
return "oldWorkEmail: string expected";
|
|
28944
|
+
if (message.department != null && message.hasOwnProperty("department"))
|
|
28945
|
+
if (!$util.isString(message.department))
|
|
28946
|
+
return "department: string expected";
|
|
28947
|
+
if (message.location != null && message.hasOwnProperty("location"))
|
|
28948
|
+
if (!$util.isString(message.location))
|
|
28949
|
+
return "location: string expected";
|
|
28916
28950
|
return null;
|
|
28917
28951
|
};
|
|
28918
28952
|
|
|
@@ -28940,6 +28974,10 @@ $root.scim = (function() {
|
|
|
28940
28974
|
message.isActive = Boolean(object.isActive);
|
|
28941
28975
|
if (object.oldWorkEmail != null)
|
|
28942
28976
|
message.oldWorkEmail = String(object.oldWorkEmail);
|
|
28977
|
+
if (object.department != null)
|
|
28978
|
+
message.department = String(object.department);
|
|
28979
|
+
if (object.location != null)
|
|
28980
|
+
message.location = String(object.location);
|
|
28943
28981
|
return message;
|
|
28944
28982
|
};
|
|
28945
28983
|
|
|
@@ -28963,6 +29001,8 @@ $root.scim = (function() {
|
|
|
28963
29001
|
object.workEmail = "";
|
|
28964
29002
|
object.isActive = false;
|
|
28965
29003
|
object.oldWorkEmail = "";
|
|
29004
|
+
object.department = "";
|
|
29005
|
+
object.location = "";
|
|
28966
29006
|
}
|
|
28967
29007
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
28968
29008
|
object.orgId = message.orgId;
|
|
@@ -28976,6 +29016,10 @@ $root.scim = (function() {
|
|
|
28976
29016
|
object.isActive = message.isActive;
|
|
28977
29017
|
if (message.oldWorkEmail != null && message.hasOwnProperty("oldWorkEmail"))
|
|
28978
29018
|
object.oldWorkEmail = message.oldWorkEmail;
|
|
29019
|
+
if (message.department != null && message.hasOwnProperty("department"))
|
|
29020
|
+
object.department = message.department;
|
|
29021
|
+
if (message.location != null && message.hasOwnProperty("location"))
|
|
29022
|
+
object.location = message.location;
|
|
28979
29023
|
return object;
|
|
28980
29024
|
};
|
|
28981
29025
|
|
|
@@ -62576,6 +62620,7 @@ $root.CollectionCreated = (function() {
|
|
|
62576
62620
|
* @property {Object.<string,contentful.ITags>|null} [tags] CollectionCreated tags
|
|
62577
62621
|
* @property {Array.<contentful.ISlugReference>|null} [techniques] CollectionCreated techniques
|
|
62578
62622
|
* @property {Array.<contentful.ISlugReference>|null} [related] CollectionCreated related
|
|
62623
|
+
* @property {number|Long|null} [entityId] CollectionCreated entityId
|
|
62579
62624
|
*/
|
|
62580
62625
|
|
|
62581
62626
|
/**
|
|
@@ -62722,6 +62767,14 @@ $root.CollectionCreated = (function() {
|
|
|
62722
62767
|
*/
|
|
62723
62768
|
CollectionCreated.prototype.related = $util.emptyArray;
|
|
62724
62769
|
|
|
62770
|
+
/**
|
|
62771
|
+
* CollectionCreated entityId.
|
|
62772
|
+
* @member {number|Long} entityId
|
|
62773
|
+
* @memberof CollectionCreated
|
|
62774
|
+
* @instance
|
|
62775
|
+
*/
|
|
62776
|
+
CollectionCreated.prototype.entityId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
62777
|
+
|
|
62725
62778
|
/**
|
|
62726
62779
|
* Creates a new CollectionCreated instance using the specified properties.
|
|
62727
62780
|
* @function create
|
|
@@ -62789,6 +62842,8 @@ $root.CollectionCreated = (function() {
|
|
|
62789
62842
|
if (message.related != null && message.related.length)
|
|
62790
62843
|
for (var i = 0; i < message.related.length; ++i)
|
|
62791
62844
|
$root.contentful.SlugReference.encode(message.related[i], writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
62845
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
62846
|
+
writer.uint32(/* id 16, wireType 0 =*/128).int64(message.entityId);
|
|
62792
62847
|
return writer;
|
|
62793
62848
|
};
|
|
62794
62849
|
|
|
@@ -62901,6 +62956,9 @@ $root.CollectionCreated = (function() {
|
|
|
62901
62956
|
message.related = [];
|
|
62902
62957
|
message.related.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
62903
62958
|
break;
|
|
62959
|
+
case 16:
|
|
62960
|
+
message.entityId = reader.int64();
|
|
62961
|
+
break;
|
|
62904
62962
|
default:
|
|
62905
62963
|
reader.skipType(tag & 7);
|
|
62906
62964
|
break;
|
|
@@ -63039,6 +63097,9 @@ $root.CollectionCreated = (function() {
|
|
|
63039
63097
|
return "related." + error;
|
|
63040
63098
|
}
|
|
63041
63099
|
}
|
|
63100
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
63101
|
+
if (!$util.isInteger(message.entityId) && !(message.entityId && $util.isInteger(message.entityId.low) && $util.isInteger(message.entityId.high)))
|
|
63102
|
+
return "entityId: integer|Long expected";
|
|
63042
63103
|
return null;
|
|
63043
63104
|
};
|
|
63044
63105
|
|
|
@@ -63162,6 +63223,15 @@ $root.CollectionCreated = (function() {
|
|
|
63162
63223
|
message.related[i] = $root.contentful.SlugReference.fromObject(object.related[i]);
|
|
63163
63224
|
}
|
|
63164
63225
|
}
|
|
63226
|
+
if (object.entityId != null)
|
|
63227
|
+
if ($util.Long)
|
|
63228
|
+
(message.entityId = $util.Long.fromValue(object.entityId)).unsigned = false;
|
|
63229
|
+
else if (typeof object.entityId === "string")
|
|
63230
|
+
message.entityId = parseInt(object.entityId, 10);
|
|
63231
|
+
else if (typeof object.entityId === "number")
|
|
63232
|
+
message.entityId = object.entityId;
|
|
63233
|
+
else if (typeof object.entityId === "object")
|
|
63234
|
+
message.entityId = new $util.LongBits(object.entityId.low >>> 0, object.entityId.high >>> 0).toNumber();
|
|
63165
63235
|
return message;
|
|
63166
63236
|
};
|
|
63167
63237
|
|
|
@@ -63202,6 +63272,11 @@ $root.CollectionCreated = (function() {
|
|
|
63202
63272
|
object.createdAt = options.longs === String ? "0" : 0;
|
|
63203
63273
|
object.enabled = false;
|
|
63204
63274
|
object.isInternationalOnly = false;
|
|
63275
|
+
if ($util.Long) {
|
|
63276
|
+
var long = new $util.Long(0, 0, false);
|
|
63277
|
+
object.entityId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
63278
|
+
} else
|
|
63279
|
+
object.entityId = options.longs === String ? "0" : 0;
|
|
63205
63280
|
}
|
|
63206
63281
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
63207
63282
|
object.slug = message.slug;
|
|
@@ -63264,6 +63339,11 @@ $root.CollectionCreated = (function() {
|
|
|
63264
63339
|
for (var j = 0; j < message.related.length; ++j)
|
|
63265
63340
|
object.related[j] = $root.contentful.SlugReference.toObject(message.related[j], options);
|
|
63266
63341
|
}
|
|
63342
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
63343
|
+
if (typeof message.entityId === "number")
|
|
63344
|
+
object.entityId = options.longs === String ? String(message.entityId) : message.entityId;
|
|
63345
|
+
else
|
|
63346
|
+
object.entityId = options.longs === String ? $util.Long.prototype.toString.call(message.entityId) : options.longs === Number ? new $util.LongBits(message.entityId.low >>> 0, message.entityId.high >>> 0).toNumber() : message.entityId;
|
|
63267
63347
|
return object;
|
|
63268
63348
|
};
|
|
63269
63349
|
|
|
@@ -63302,6 +63382,7 @@ $root.CollectionUpdated = (function() {
|
|
|
63302
63382
|
* @property {Object.<string,contentful.ITags>|null} [tags] CollectionUpdated tags
|
|
63303
63383
|
* @property {Array.<contentful.ISlugReference>|null} [techniques] CollectionUpdated techniques
|
|
63304
63384
|
* @property {Array.<contentful.ISlugReference>|null} [related] CollectionUpdated related
|
|
63385
|
+
* @property {number|Long|null} [entityId] CollectionUpdated entityId
|
|
63305
63386
|
*/
|
|
63306
63387
|
|
|
63307
63388
|
/**
|
|
@@ -63448,6 +63529,14 @@ $root.CollectionUpdated = (function() {
|
|
|
63448
63529
|
*/
|
|
63449
63530
|
CollectionUpdated.prototype.related = $util.emptyArray;
|
|
63450
63531
|
|
|
63532
|
+
/**
|
|
63533
|
+
* CollectionUpdated entityId.
|
|
63534
|
+
* @member {number|Long} entityId
|
|
63535
|
+
* @memberof CollectionUpdated
|
|
63536
|
+
* @instance
|
|
63537
|
+
*/
|
|
63538
|
+
CollectionUpdated.prototype.entityId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
63539
|
+
|
|
63451
63540
|
/**
|
|
63452
63541
|
* Creates a new CollectionUpdated instance using the specified properties.
|
|
63453
63542
|
* @function create
|
|
@@ -63515,6 +63604,8 @@ $root.CollectionUpdated = (function() {
|
|
|
63515
63604
|
if (message.related != null && message.related.length)
|
|
63516
63605
|
for (var i = 0; i < message.related.length; ++i)
|
|
63517
63606
|
$root.contentful.SlugReference.encode(message.related[i], writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
63607
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
63608
|
+
writer.uint32(/* id 16, wireType 0 =*/128).int64(message.entityId);
|
|
63518
63609
|
return writer;
|
|
63519
63610
|
};
|
|
63520
63611
|
|
|
@@ -63627,6 +63718,9 @@ $root.CollectionUpdated = (function() {
|
|
|
63627
63718
|
message.related = [];
|
|
63628
63719
|
message.related.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
|
|
63629
63720
|
break;
|
|
63721
|
+
case 16:
|
|
63722
|
+
message.entityId = reader.int64();
|
|
63723
|
+
break;
|
|
63630
63724
|
default:
|
|
63631
63725
|
reader.skipType(tag & 7);
|
|
63632
63726
|
break;
|
|
@@ -63765,6 +63859,9 @@ $root.CollectionUpdated = (function() {
|
|
|
63765
63859
|
return "related." + error;
|
|
63766
63860
|
}
|
|
63767
63861
|
}
|
|
63862
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
63863
|
+
if (!$util.isInteger(message.entityId) && !(message.entityId && $util.isInteger(message.entityId.low) && $util.isInteger(message.entityId.high)))
|
|
63864
|
+
return "entityId: integer|Long expected";
|
|
63768
63865
|
return null;
|
|
63769
63866
|
};
|
|
63770
63867
|
|
|
@@ -63888,6 +63985,15 @@ $root.CollectionUpdated = (function() {
|
|
|
63888
63985
|
message.related[i] = $root.contentful.SlugReference.fromObject(object.related[i]);
|
|
63889
63986
|
}
|
|
63890
63987
|
}
|
|
63988
|
+
if (object.entityId != null)
|
|
63989
|
+
if ($util.Long)
|
|
63990
|
+
(message.entityId = $util.Long.fromValue(object.entityId)).unsigned = false;
|
|
63991
|
+
else if (typeof object.entityId === "string")
|
|
63992
|
+
message.entityId = parseInt(object.entityId, 10);
|
|
63993
|
+
else if (typeof object.entityId === "number")
|
|
63994
|
+
message.entityId = object.entityId;
|
|
63995
|
+
else if (typeof object.entityId === "object")
|
|
63996
|
+
message.entityId = new $util.LongBits(object.entityId.low >>> 0, object.entityId.high >>> 0).toNumber();
|
|
63891
63997
|
return message;
|
|
63892
63998
|
};
|
|
63893
63999
|
|
|
@@ -63928,6 +64034,11 @@ $root.CollectionUpdated = (function() {
|
|
|
63928
64034
|
object.updatedAt = options.longs === String ? "0" : 0;
|
|
63929
64035
|
object.enabled = false;
|
|
63930
64036
|
object.isInternationalOnly = false;
|
|
64037
|
+
if ($util.Long) {
|
|
64038
|
+
var long = new $util.Long(0, 0, false);
|
|
64039
|
+
object.entityId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
64040
|
+
} else
|
|
64041
|
+
object.entityId = options.longs === String ? "0" : 0;
|
|
63931
64042
|
}
|
|
63932
64043
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
63933
64044
|
object.slug = message.slug;
|
|
@@ -63990,6 +64101,11 @@ $root.CollectionUpdated = (function() {
|
|
|
63990
64101
|
for (var j = 0; j < message.related.length; ++j)
|
|
63991
64102
|
object.related[j] = $root.contentful.SlugReference.toObject(message.related[j], options);
|
|
63992
64103
|
}
|
|
64104
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
64105
|
+
if (typeof message.entityId === "number")
|
|
64106
|
+
object.entityId = options.longs === String ? String(message.entityId) : message.entityId;
|
|
64107
|
+
else
|
|
64108
|
+
object.entityId = options.longs === String ? $util.Long.prototype.toString.call(message.entityId) : options.longs === Number ? new $util.LongBits(message.entityId.low >>> 0, message.entityId.high >>> 0).toNumber() : message.entityId;
|
|
63993
64109
|
return object;
|
|
63994
64110
|
};
|
|
63995
64111
|
|
package/package.json
CHANGED