@headspace/protos-events 1.474.0 → 1.476.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 +9 -2
- package/lib/index.js +30 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -32922,6 +32922,9 @@ export interface IFamilyMemberSynced {
|
|
|
32922
32922
|
/** FamilyMemberSynced userId */
|
|
32923
32923
|
userId?: (string|null);
|
|
32924
32924
|
|
|
32925
|
+
/** FamilyMemberSynced ownerUserId */
|
|
32926
|
+
ownerUserId?: (string|null);
|
|
32927
|
+
|
|
32925
32928
|
/** FamilyMemberSynced userGroupId */
|
|
32926
32929
|
userGroupId?: (number|null);
|
|
32927
32930
|
|
|
@@ -32932,7 +32935,7 @@ export interface IFamilyMemberSynced {
|
|
|
32932
32935
|
orgId?: (number|null);
|
|
32933
32936
|
}
|
|
32934
32937
|
|
|
32935
|
-
/** Event published
|
|
32938
|
+
/** Event published for each group member when a change (created, amended) to the owner's subscription observed */
|
|
32936
32939
|
export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
32937
32940
|
|
|
32938
32941
|
/**
|
|
@@ -32950,6 +32953,9 @@ export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
|
32950
32953
|
/** FamilyMemberSynced userId. */
|
|
32951
32954
|
public userId: string;
|
|
32952
32955
|
|
|
32956
|
+
/** FamilyMemberSynced ownerUserId. */
|
|
32957
|
+
public ownerUserId: string;
|
|
32958
|
+
|
|
32953
32959
|
/** FamilyMemberSynced userGroupId. */
|
|
32954
32960
|
public userGroupId: number;
|
|
32955
32961
|
|
|
@@ -39086,7 +39092,8 @@ export namespace ModerationActionPerformed {
|
|
|
39086
39092
|
REPORT_CATEGORY_SEXUAL = 8,
|
|
39087
39093
|
REPORT_CATEGORY_SEXUAL_MINORS = 9,
|
|
39088
39094
|
REPORT_CATEGORY_VIOLENCE = 10,
|
|
39089
|
-
REPORT_CATEGORY_VIOLENCE_GRAPHIC = 11
|
|
39095
|
+
REPORT_CATEGORY_VIOLENCE_GRAPHIC = 11,
|
|
39096
|
+
REPORT_CATEGORY_GREETING = 12
|
|
39090
39097
|
}
|
|
39091
39098
|
|
|
39092
39099
|
/** ModerationSource enum. */
|
package/lib/index.js
CHANGED
|
@@ -91535,6 +91535,7 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91535
91535
|
* @property {number|Long|null} [timestamp] FamilyMemberSynced timestamp
|
|
91536
91536
|
* @property {number|null} [userGroupEntryId] FamilyMemberSynced userGroupEntryId
|
|
91537
91537
|
* @property {string|null} [userId] FamilyMemberSynced userId
|
|
91538
|
+
* @property {string|null} [ownerUserId] FamilyMemberSynced ownerUserId
|
|
91538
91539
|
* @property {number|null} [userGroupId] FamilyMemberSynced userGroupId
|
|
91539
91540
|
* @property {community.FamilyPlanRole|null} [role] FamilyMemberSynced role
|
|
91540
91541
|
* @property {number|null} [orgId] FamilyMemberSynced orgId
|
|
@@ -91543,7 +91544,7 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91543
91544
|
/**
|
|
91544
91545
|
* Constructs a new FamilyMemberSynced.
|
|
91545
91546
|
* @name FamilyMemberSynced
|
|
91546
|
-
* @classdesc Event published
|
|
91547
|
+
* @classdesc Event published for each group member when a change (created, amended) to the owner's subscription observed
|
|
91547
91548
|
* @implements IFamilyMemberSynced
|
|
91548
91549
|
* @constructor
|
|
91549
91550
|
* @param {IFamilyMemberSynced=} [properties] Properties to set
|
|
@@ -91579,6 +91580,14 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91579
91580
|
*/
|
|
91580
91581
|
FamilyMemberSynced.prototype.userId = "";
|
|
91581
91582
|
|
|
91583
|
+
/**
|
|
91584
|
+
* FamilyMemberSynced ownerUserId.
|
|
91585
|
+
* @member {string} ownerUserId
|
|
91586
|
+
* @memberof FamilyMemberSynced
|
|
91587
|
+
* @instance
|
|
91588
|
+
*/
|
|
91589
|
+
FamilyMemberSynced.prototype.ownerUserId = "";
|
|
91590
|
+
|
|
91582
91591
|
/**
|
|
91583
91592
|
* FamilyMemberSynced userGroupId.
|
|
91584
91593
|
* @member {number} userGroupId
|
|
@@ -91639,6 +91648,8 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91639
91648
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.role);
|
|
91640
91649
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
91641
91650
|
writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.orgId);
|
|
91651
|
+
if (message.ownerUserId != null && message.hasOwnProperty("ownerUserId"))
|
|
91652
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.ownerUserId);
|
|
91642
91653
|
return writer;
|
|
91643
91654
|
};
|
|
91644
91655
|
|
|
@@ -91682,6 +91693,9 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91682
91693
|
case 3:
|
|
91683
91694
|
message.userId = reader.string();
|
|
91684
91695
|
break;
|
|
91696
|
+
case 7:
|
|
91697
|
+
message.ownerUserId = reader.string();
|
|
91698
|
+
break;
|
|
91685
91699
|
case 4:
|
|
91686
91700
|
message.userGroupId = reader.uint32();
|
|
91687
91701
|
break;
|
|
@@ -91735,6 +91749,9 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91735
91749
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
91736
91750
|
if (!$util.isString(message.userId))
|
|
91737
91751
|
return "userId: string expected";
|
|
91752
|
+
if (message.ownerUserId != null && message.hasOwnProperty("ownerUserId"))
|
|
91753
|
+
if (!$util.isString(message.ownerUserId))
|
|
91754
|
+
return "ownerUserId: string expected";
|
|
91738
91755
|
if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
|
|
91739
91756
|
if (!$util.isInteger(message.userGroupId))
|
|
91740
91757
|
return "userGroupId: integer expected";
|
|
@@ -91778,6 +91795,8 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91778
91795
|
message.userGroupEntryId = object.userGroupEntryId >>> 0;
|
|
91779
91796
|
if (object.userId != null)
|
|
91780
91797
|
message.userId = String(object.userId);
|
|
91798
|
+
if (object.ownerUserId != null)
|
|
91799
|
+
message.ownerUserId = String(object.ownerUserId);
|
|
91781
91800
|
if (object.userGroupId != null)
|
|
91782
91801
|
message.userGroupId = object.userGroupId >>> 0;
|
|
91783
91802
|
switch (object.role) {
|
|
@@ -91823,6 +91842,7 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91823
91842
|
object.userGroupId = 0;
|
|
91824
91843
|
object.role = options.enums === String ? "FAMILYPLAN_UNKNOWN" : 0;
|
|
91825
91844
|
object.orgId = 0;
|
|
91845
|
+
object.ownerUserId = "";
|
|
91826
91846
|
}
|
|
91827
91847
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
91828
91848
|
if (typeof message.timestamp === "number")
|
|
@@ -91839,6 +91859,8 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91839
91859
|
object.role = options.enums === String ? $root.community.FamilyPlanRole[message.role] : message.role;
|
|
91840
91860
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
91841
91861
|
object.orgId = message.orgId;
|
|
91862
|
+
if (message.ownerUserId != null && message.hasOwnProperty("ownerUserId"))
|
|
91863
|
+
object.ownerUserId = message.ownerUserId;
|
|
91842
91864
|
return object;
|
|
91843
91865
|
};
|
|
91844
91866
|
|
|
@@ -110009,6 +110031,7 @@ $root.ModerationActionPerformed = (function() {
|
|
|
110009
110031
|
case 9:
|
|
110010
110032
|
case 10:
|
|
110011
110033
|
case 11:
|
|
110034
|
+
case 12:
|
|
110012
110035
|
break;
|
|
110013
110036
|
}
|
|
110014
110037
|
}
|
|
@@ -110132,6 +110155,10 @@ $root.ModerationActionPerformed = (function() {
|
|
|
110132
110155
|
case 11:
|
|
110133
110156
|
message.proposedReportCategories[i] = 11;
|
|
110134
110157
|
break;
|
|
110158
|
+
case "REPORT_CATEGORY_GREETING":
|
|
110159
|
+
case 12:
|
|
110160
|
+
message.proposedReportCategories[i] = 12;
|
|
110161
|
+
break;
|
|
110135
110162
|
}
|
|
110136
110163
|
}
|
|
110137
110164
|
if (object.createdAt != null)
|
|
@@ -110269,6 +110296,7 @@ $root.ModerationActionPerformed = (function() {
|
|
|
110269
110296
|
* @property {number} REPORT_CATEGORY_SEXUAL_MINORS=9 REPORT_CATEGORY_SEXUAL_MINORS value
|
|
110270
110297
|
* @property {number} REPORT_CATEGORY_VIOLENCE=10 REPORT_CATEGORY_VIOLENCE value
|
|
110271
110298
|
* @property {number} REPORT_CATEGORY_VIOLENCE_GRAPHIC=11 REPORT_CATEGORY_VIOLENCE_GRAPHIC value
|
|
110299
|
+
* @property {number} REPORT_CATEGORY_GREETING=12 REPORT_CATEGORY_GREETING value
|
|
110272
110300
|
*/
|
|
110273
110301
|
ModerationActionPerformed.ReportCategory = (function() {
|
|
110274
110302
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -110284,6 +110312,7 @@ $root.ModerationActionPerformed = (function() {
|
|
|
110284
110312
|
values[valuesById[9] = "REPORT_CATEGORY_SEXUAL_MINORS"] = 9;
|
|
110285
110313
|
values[valuesById[10] = "REPORT_CATEGORY_VIOLENCE"] = 10;
|
|
110286
110314
|
values[valuesById[11] = "REPORT_CATEGORY_VIOLENCE_GRAPHIC"] = 11;
|
|
110315
|
+
values[valuesById[12] = "REPORT_CATEGORY_GREETING"] = 12;
|
|
110287
110316
|
return values;
|
|
110288
110317
|
})();
|
|
110289
110318
|
|
package/package.json
CHANGED