@headspace/protos-events 1.433.0 → 1.435.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 +38 -0
- package/lib/index.js +192 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -33196,6 +33196,13 @@ export class ElfProcessingStats implements IElfProcessingStats {
|
|
|
33196
33196
|
public toJSON(): { [k: string]: any };
|
|
33197
33197
|
}
|
|
33198
33198
|
|
|
33199
|
+
/** EnrollmentFlow enum. */
|
|
33200
|
+
export enum EnrollmentFlow {
|
|
33201
|
+
ENROLLMENT_FLOW_HEADSPACE = 0,
|
|
33202
|
+
ENROLLMENT_FLOW_CONNECTED = 1,
|
|
33203
|
+
ENROLLMENT_FLOW_UMD = 2
|
|
33204
|
+
}
|
|
33205
|
+
|
|
33199
33206
|
/** Properties of an EnterpriseUserOnboarded. */
|
|
33200
33207
|
export interface IEnterpriseUserOnboarded {
|
|
33201
33208
|
|
|
@@ -33402,6 +33409,9 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
33402
33409
|
|
|
33403
33410
|
/** EnterpriseUserEnrollmentCreated ssoType */
|
|
33404
33411
|
ssoType?: (string|null);
|
|
33412
|
+
|
|
33413
|
+
/** EnterpriseUserEnrollmentCreated enrollmentFlow */
|
|
33414
|
+
enrollmentFlow?: (EnrollmentFlow|null);
|
|
33405
33415
|
}
|
|
33406
33416
|
|
|
33407
33417
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -33491,6 +33501,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
33491
33501
|
/** EnterpriseUserEnrollmentCreated ssoType. */
|
|
33492
33502
|
public ssoType: string;
|
|
33493
33503
|
|
|
33504
|
+
/** EnterpriseUserEnrollmentCreated enrollmentFlow. */
|
|
33505
|
+
public enrollmentFlow: EnrollmentFlow;
|
|
33506
|
+
|
|
33494
33507
|
/**
|
|
33495
33508
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
33496
33509
|
* @param [properties] Properties to set
|
|
@@ -33645,6 +33658,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
|
|
|
33645
33658
|
|
|
33646
33659
|
/** EnterpriseUserEnrollmentRemoved ssoType */
|
|
33647
33660
|
ssoType?: (string|null);
|
|
33661
|
+
|
|
33662
|
+
/** EnterpriseUserEnrollmentRemoved enrollmentFlow */
|
|
33663
|
+
enrollmentFlow?: (EnrollmentFlow|null);
|
|
33648
33664
|
}
|
|
33649
33665
|
|
|
33650
33666
|
/** Represents an EnterpriseUserEnrollmentRemoved. */
|
|
@@ -33737,6 +33753,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
|
|
|
33737
33753
|
/** EnterpriseUserEnrollmentRemoved ssoType. */
|
|
33738
33754
|
public ssoType: string;
|
|
33739
33755
|
|
|
33756
|
+
/** EnterpriseUserEnrollmentRemoved enrollmentFlow. */
|
|
33757
|
+
public enrollmentFlow: EnrollmentFlow;
|
|
33758
|
+
|
|
33740
33759
|
/**
|
|
33741
33760
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
33742
33761
|
* @param [properties] Properties to set
|
|
@@ -33888,6 +33907,9 @@ export interface IEnterpriseUserEnrollmentAmended {
|
|
|
33888
33907
|
|
|
33889
33908
|
/** EnterpriseUserEnrollmentAmended ssoType */
|
|
33890
33909
|
ssoType?: (string|null);
|
|
33910
|
+
|
|
33911
|
+
/** EnterpriseUserEnrollmentAmended enrollmentFlow */
|
|
33912
|
+
enrollmentFlow?: (EnrollmentFlow|null);
|
|
33891
33913
|
}
|
|
33892
33914
|
|
|
33893
33915
|
/** Represents an EnterpriseUserEnrollmentAmended. */
|
|
@@ -33977,6 +33999,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
33977
33999
|
/** EnterpriseUserEnrollmentAmended ssoType. */
|
|
33978
34000
|
public ssoType: string;
|
|
33979
34001
|
|
|
34002
|
+
/** EnterpriseUserEnrollmentAmended enrollmentFlow. */
|
|
34003
|
+
public enrollmentFlow: EnrollmentFlow;
|
|
34004
|
+
|
|
33980
34005
|
/**
|
|
33981
34006
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
33982
34007
|
* @param [properties] Properties to set
|
|
@@ -37176,6 +37201,9 @@ export interface IModerationActionPerformed {
|
|
|
37176
37201
|
|
|
37177
37202
|
/** ModerationActionPerformed createdAt */
|
|
37178
37203
|
createdAt?: (number|Long|null);
|
|
37204
|
+
|
|
37205
|
+
/** ModerationActionPerformed moderationSource */
|
|
37206
|
+
moderationSource?: (ModerationActionPerformed.ModerationSource|null);
|
|
37179
37207
|
}
|
|
37180
37208
|
|
|
37181
37209
|
/** Represents a ModerationActionPerformed. */
|
|
@@ -37205,6 +37233,9 @@ export class ModerationActionPerformed implements IModerationActionPerformed {
|
|
|
37205
37233
|
/** ModerationActionPerformed createdAt. */
|
|
37206
37234
|
public createdAt: (number|Long);
|
|
37207
37235
|
|
|
37236
|
+
/** ModerationActionPerformed moderationSource. */
|
|
37237
|
+
public moderationSource: ModerationActionPerformed.ModerationSource;
|
|
37238
|
+
|
|
37208
37239
|
/**
|
|
37209
37240
|
* Creates a new ModerationActionPerformed instance using the specified properties.
|
|
37210
37241
|
* @param [properties] Properties to set
|
|
@@ -37303,6 +37334,13 @@ export namespace ModerationActionPerformed {
|
|
|
37303
37334
|
REPORT_CATEGORY_VIOLENCE = 10,
|
|
37304
37335
|
REPORT_CATEGORY_VIOLENCE_GRAPHIC = 11
|
|
37305
37336
|
}
|
|
37337
|
+
|
|
37338
|
+
/** ModerationSource enum. */
|
|
37339
|
+
enum ModerationSource {
|
|
37340
|
+
MODERATION_SOURCE_UNKNOWN = 0,
|
|
37341
|
+
MODERATION_SOURCE_DISCUSSION_POST = 1,
|
|
37342
|
+
MODERATION_SOURCE_COMMUNITY_USER_NAME = 2
|
|
37343
|
+
}
|
|
37306
37344
|
}
|
|
37307
37345
|
|
|
37308
37346
|
/** Properties of a WakeupPlaylistCreated. */
|
package/lib/index.js
CHANGED
|
@@ -92137,6 +92137,22 @@ $root.ElfProcessingStats = (function() {
|
|
|
92137
92137
|
return ElfProcessingStats;
|
|
92138
92138
|
})();
|
|
92139
92139
|
|
|
92140
|
+
/**
|
|
92141
|
+
* EnrollmentFlow enum.
|
|
92142
|
+
* @exports EnrollmentFlow
|
|
92143
|
+
* @enum {string}
|
|
92144
|
+
* @property {number} ENROLLMENT_FLOW_HEADSPACE=0 ENROLLMENT_FLOW_HEADSPACE value
|
|
92145
|
+
* @property {number} ENROLLMENT_FLOW_CONNECTED=1 ENROLLMENT_FLOW_CONNECTED value
|
|
92146
|
+
* @property {number} ENROLLMENT_FLOW_UMD=2 ENROLLMENT_FLOW_UMD value
|
|
92147
|
+
*/
|
|
92148
|
+
$root.EnrollmentFlow = (function() {
|
|
92149
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
92150
|
+
values[valuesById[0] = "ENROLLMENT_FLOW_HEADSPACE"] = 0;
|
|
92151
|
+
values[valuesById[1] = "ENROLLMENT_FLOW_CONNECTED"] = 1;
|
|
92152
|
+
values[valuesById[2] = "ENROLLMENT_FLOW_UMD"] = 2;
|
|
92153
|
+
return values;
|
|
92154
|
+
})();
|
|
92155
|
+
|
|
92140
92156
|
$root.EnterpriseUserOnboarded = (function() {
|
|
92141
92157
|
|
|
92142
92158
|
/**
|
|
@@ -92520,6 +92536,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
92520
92536
|
* @property {string|null} [orgHeadspaceHealthId] EnterpriseUserEnrollmentCreated orgHeadspaceHealthId
|
|
92521
92537
|
* @property {boolean|null} [gingerBundlingEnabled] EnterpriseUserEnrollmentCreated gingerBundlingEnabled
|
|
92522
92538
|
* @property {string|null} [ssoType] EnterpriseUserEnrollmentCreated ssoType
|
|
92539
|
+
* @property {EnrollmentFlow|null} [enrollmentFlow] EnterpriseUserEnrollmentCreated enrollmentFlow
|
|
92523
92540
|
*/
|
|
92524
92541
|
|
|
92525
92542
|
/**
|
|
@@ -92745,6 +92762,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
92745
92762
|
*/
|
|
92746
92763
|
EnterpriseUserEnrollmentCreated.prototype.ssoType = "";
|
|
92747
92764
|
|
|
92765
|
+
/**
|
|
92766
|
+
* EnterpriseUserEnrollmentCreated enrollmentFlow.
|
|
92767
|
+
* @member {EnrollmentFlow} enrollmentFlow
|
|
92768
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
92769
|
+
* @instance
|
|
92770
|
+
*/
|
|
92771
|
+
EnterpriseUserEnrollmentCreated.prototype.enrollmentFlow = 0;
|
|
92772
|
+
|
|
92748
92773
|
/**
|
|
92749
92774
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
92750
92775
|
* @function create
|
|
@@ -92821,6 +92846,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
92821
92846
|
writer.uint32(/* id 29, wireType 0 =*/232).bool(message.gingerBundlingEnabled);
|
|
92822
92847
|
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
92823
92848
|
writer.uint32(/* id 30, wireType 2 =*/242).string(message.ssoType);
|
|
92849
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
92850
|
+
writer.uint32(/* id 31, wireType 0 =*/248).int32(message.enrollmentFlow);
|
|
92824
92851
|
return writer;
|
|
92825
92852
|
};
|
|
92826
92853
|
|
|
@@ -92933,6 +92960,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
92933
92960
|
case 30:
|
|
92934
92961
|
message.ssoType = reader.string();
|
|
92935
92962
|
break;
|
|
92963
|
+
case 31:
|
|
92964
|
+
message.enrollmentFlow = reader.int32();
|
|
92965
|
+
break;
|
|
92936
92966
|
default:
|
|
92937
92967
|
reader.skipType(tag & 7);
|
|
92938
92968
|
break;
|
|
@@ -93068,6 +93098,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
93068
93098
|
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
93069
93099
|
if (!$util.isString(message.ssoType))
|
|
93070
93100
|
return "ssoType: string expected";
|
|
93101
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
93102
|
+
switch (message.enrollmentFlow) {
|
|
93103
|
+
default:
|
|
93104
|
+
return "enrollmentFlow: enum value expected";
|
|
93105
|
+
case 0:
|
|
93106
|
+
case 1:
|
|
93107
|
+
case 2:
|
|
93108
|
+
break;
|
|
93109
|
+
}
|
|
93071
93110
|
return null;
|
|
93072
93111
|
};
|
|
93073
93112
|
|
|
@@ -93222,6 +93261,20 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
93222
93261
|
message.gingerBundlingEnabled = Boolean(object.gingerBundlingEnabled);
|
|
93223
93262
|
if (object.ssoType != null)
|
|
93224
93263
|
message.ssoType = String(object.ssoType);
|
|
93264
|
+
switch (object.enrollmentFlow) {
|
|
93265
|
+
case "ENROLLMENT_FLOW_HEADSPACE":
|
|
93266
|
+
case 0:
|
|
93267
|
+
message.enrollmentFlow = 0;
|
|
93268
|
+
break;
|
|
93269
|
+
case "ENROLLMENT_FLOW_CONNECTED":
|
|
93270
|
+
case 1:
|
|
93271
|
+
message.enrollmentFlow = 1;
|
|
93272
|
+
break;
|
|
93273
|
+
case "ENROLLMENT_FLOW_UMD":
|
|
93274
|
+
case 2:
|
|
93275
|
+
message.enrollmentFlow = 2;
|
|
93276
|
+
break;
|
|
93277
|
+
}
|
|
93225
93278
|
return message;
|
|
93226
93279
|
};
|
|
93227
93280
|
|
|
@@ -93285,6 +93338,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
93285
93338
|
object.orgHeadspaceHealthId = "";
|
|
93286
93339
|
object.gingerBundlingEnabled = false;
|
|
93287
93340
|
object.ssoType = "";
|
|
93341
|
+
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_HEADSPACE" : 0;
|
|
93288
93342
|
}
|
|
93289
93343
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
93290
93344
|
object.userId = message.userId;
|
|
@@ -93353,6 +93407,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
93353
93407
|
object.gingerBundlingEnabled = message.gingerBundlingEnabled;
|
|
93354
93408
|
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
93355
93409
|
object.ssoType = message.ssoType;
|
|
93410
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
93411
|
+
object.enrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
|
|
93356
93412
|
return object;
|
|
93357
93413
|
};
|
|
93358
93414
|
|
|
@@ -93403,6 +93459,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
93403
93459
|
* @property {string|null} [orgHeadspaceHealthId] EnterpriseUserEnrollmentRemoved orgHeadspaceHealthId
|
|
93404
93460
|
* @property {boolean|null} [gingerBundlingEnabled] EnterpriseUserEnrollmentRemoved gingerBundlingEnabled
|
|
93405
93461
|
* @property {string|null} [ssoType] EnterpriseUserEnrollmentRemoved ssoType
|
|
93462
|
+
* @property {EnrollmentFlow|null} [enrollmentFlow] EnterpriseUserEnrollmentRemoved enrollmentFlow
|
|
93406
93463
|
*/
|
|
93407
93464
|
|
|
93408
93465
|
/**
|
|
@@ -93636,6 +93693,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
93636
93693
|
*/
|
|
93637
93694
|
EnterpriseUserEnrollmentRemoved.prototype.ssoType = "";
|
|
93638
93695
|
|
|
93696
|
+
/**
|
|
93697
|
+
* EnterpriseUserEnrollmentRemoved enrollmentFlow.
|
|
93698
|
+
* @member {EnrollmentFlow} enrollmentFlow
|
|
93699
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
93700
|
+
* @instance
|
|
93701
|
+
*/
|
|
93702
|
+
EnterpriseUserEnrollmentRemoved.prototype.enrollmentFlow = 0;
|
|
93703
|
+
|
|
93639
93704
|
/**
|
|
93640
93705
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
93641
93706
|
* @function create
|
|
@@ -93714,6 +93779,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
93714
93779
|
writer.uint32(/* id 30, wireType 0 =*/240).bool(message.gingerBundlingEnabled);
|
|
93715
93780
|
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
93716
93781
|
writer.uint32(/* id 31, wireType 2 =*/250).string(message.ssoType);
|
|
93782
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
93783
|
+
writer.uint32(/* id 32, wireType 0 =*/256).int32(message.enrollmentFlow);
|
|
93717
93784
|
return writer;
|
|
93718
93785
|
};
|
|
93719
93786
|
|
|
@@ -93829,6 +93896,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
93829
93896
|
case 31:
|
|
93830
93897
|
message.ssoType = reader.string();
|
|
93831
93898
|
break;
|
|
93899
|
+
case 32:
|
|
93900
|
+
message.enrollmentFlow = reader.int32();
|
|
93901
|
+
break;
|
|
93832
93902
|
default:
|
|
93833
93903
|
reader.skipType(tag & 7);
|
|
93834
93904
|
break;
|
|
@@ -93982,6 +94052,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
93982
94052
|
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
93983
94053
|
if (!$util.isString(message.ssoType))
|
|
93984
94054
|
return "ssoType: string expected";
|
|
94055
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
94056
|
+
switch (message.enrollmentFlow) {
|
|
94057
|
+
default:
|
|
94058
|
+
return "enrollmentFlow: enum value expected";
|
|
94059
|
+
case 0:
|
|
94060
|
+
case 1:
|
|
94061
|
+
case 2:
|
|
94062
|
+
break;
|
|
94063
|
+
}
|
|
93985
94064
|
return null;
|
|
93986
94065
|
};
|
|
93987
94066
|
|
|
@@ -94186,6 +94265,20 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
94186
94265
|
message.gingerBundlingEnabled = Boolean(object.gingerBundlingEnabled);
|
|
94187
94266
|
if (object.ssoType != null)
|
|
94188
94267
|
message.ssoType = String(object.ssoType);
|
|
94268
|
+
switch (object.enrollmentFlow) {
|
|
94269
|
+
case "ENROLLMENT_FLOW_HEADSPACE":
|
|
94270
|
+
case 0:
|
|
94271
|
+
message.enrollmentFlow = 0;
|
|
94272
|
+
break;
|
|
94273
|
+
case "ENROLLMENT_FLOW_CONNECTED":
|
|
94274
|
+
case 1:
|
|
94275
|
+
message.enrollmentFlow = 1;
|
|
94276
|
+
break;
|
|
94277
|
+
case "ENROLLMENT_FLOW_UMD":
|
|
94278
|
+
case 2:
|
|
94279
|
+
message.enrollmentFlow = 2;
|
|
94280
|
+
break;
|
|
94281
|
+
}
|
|
94189
94282
|
return message;
|
|
94190
94283
|
};
|
|
94191
94284
|
|
|
@@ -94250,6 +94343,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
94250
94343
|
object.orgHeadspaceHealthId = "";
|
|
94251
94344
|
object.gingerBundlingEnabled = false;
|
|
94252
94345
|
object.ssoType = "";
|
|
94346
|
+
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_HEADSPACE" : 0;
|
|
94253
94347
|
}
|
|
94254
94348
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
94255
94349
|
object.userId = message.userId;
|
|
@@ -94320,6 +94414,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
94320
94414
|
object.gingerBundlingEnabled = message.gingerBundlingEnabled;
|
|
94321
94415
|
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
94322
94416
|
object.ssoType = message.ssoType;
|
|
94417
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
94418
|
+
object.enrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
|
|
94323
94419
|
return object;
|
|
94324
94420
|
};
|
|
94325
94421
|
|
|
@@ -94369,6 +94465,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
94369
94465
|
* @property {string|null} [orgHeadspaceHealthId] EnterpriseUserEnrollmentAmended orgHeadspaceHealthId
|
|
94370
94466
|
* @property {boolean|null} [gingerBundlingEnabled] EnterpriseUserEnrollmentAmended gingerBundlingEnabled
|
|
94371
94467
|
* @property {string|null} [ssoType] EnterpriseUserEnrollmentAmended ssoType
|
|
94468
|
+
* @property {EnrollmentFlow|null} [enrollmentFlow] EnterpriseUserEnrollmentAmended enrollmentFlow
|
|
94372
94469
|
*/
|
|
94373
94470
|
|
|
94374
94471
|
/**
|
|
@@ -94594,6 +94691,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
94594
94691
|
*/
|
|
94595
94692
|
EnterpriseUserEnrollmentAmended.prototype.ssoType = "";
|
|
94596
94693
|
|
|
94694
|
+
/**
|
|
94695
|
+
* EnterpriseUserEnrollmentAmended enrollmentFlow.
|
|
94696
|
+
* @member {EnrollmentFlow} enrollmentFlow
|
|
94697
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
94698
|
+
* @instance
|
|
94699
|
+
*/
|
|
94700
|
+
EnterpriseUserEnrollmentAmended.prototype.enrollmentFlow = 0;
|
|
94701
|
+
|
|
94597
94702
|
/**
|
|
94598
94703
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
94599
94704
|
* @function create
|
|
@@ -94670,6 +94775,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
94670
94775
|
writer.uint32(/* id 29, wireType 0 =*/232).bool(message.gingerBundlingEnabled);
|
|
94671
94776
|
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
94672
94777
|
writer.uint32(/* id 30, wireType 2 =*/242).string(message.ssoType);
|
|
94778
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
94779
|
+
writer.uint32(/* id 31, wireType 0 =*/248).int32(message.enrollmentFlow);
|
|
94673
94780
|
return writer;
|
|
94674
94781
|
};
|
|
94675
94782
|
|
|
@@ -94782,6 +94889,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
94782
94889
|
case 30:
|
|
94783
94890
|
message.ssoType = reader.string();
|
|
94784
94891
|
break;
|
|
94892
|
+
case 31:
|
|
94893
|
+
message.enrollmentFlow = reader.int32();
|
|
94894
|
+
break;
|
|
94785
94895
|
default:
|
|
94786
94896
|
reader.skipType(tag & 7);
|
|
94787
94897
|
break;
|
|
@@ -94917,6 +95027,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
94917
95027
|
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
94918
95028
|
if (!$util.isString(message.ssoType))
|
|
94919
95029
|
return "ssoType: string expected";
|
|
95030
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
95031
|
+
switch (message.enrollmentFlow) {
|
|
95032
|
+
default:
|
|
95033
|
+
return "enrollmentFlow: enum value expected";
|
|
95034
|
+
case 0:
|
|
95035
|
+
case 1:
|
|
95036
|
+
case 2:
|
|
95037
|
+
break;
|
|
95038
|
+
}
|
|
94920
95039
|
return null;
|
|
94921
95040
|
};
|
|
94922
95041
|
|
|
@@ -95071,6 +95190,20 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
95071
95190
|
message.gingerBundlingEnabled = Boolean(object.gingerBundlingEnabled);
|
|
95072
95191
|
if (object.ssoType != null)
|
|
95073
95192
|
message.ssoType = String(object.ssoType);
|
|
95193
|
+
switch (object.enrollmentFlow) {
|
|
95194
|
+
case "ENROLLMENT_FLOW_HEADSPACE":
|
|
95195
|
+
case 0:
|
|
95196
|
+
message.enrollmentFlow = 0;
|
|
95197
|
+
break;
|
|
95198
|
+
case "ENROLLMENT_FLOW_CONNECTED":
|
|
95199
|
+
case 1:
|
|
95200
|
+
message.enrollmentFlow = 1;
|
|
95201
|
+
break;
|
|
95202
|
+
case "ENROLLMENT_FLOW_UMD":
|
|
95203
|
+
case 2:
|
|
95204
|
+
message.enrollmentFlow = 2;
|
|
95205
|
+
break;
|
|
95206
|
+
}
|
|
95074
95207
|
return message;
|
|
95075
95208
|
};
|
|
95076
95209
|
|
|
@@ -95134,6 +95267,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
95134
95267
|
object.orgHeadspaceHealthId = "";
|
|
95135
95268
|
object.gingerBundlingEnabled = false;
|
|
95136
95269
|
object.ssoType = "";
|
|
95270
|
+
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_HEADSPACE" : 0;
|
|
95137
95271
|
}
|
|
95138
95272
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
95139
95273
|
object.userId = message.userId;
|
|
@@ -95202,6 +95336,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
95202
95336
|
object.gingerBundlingEnabled = message.gingerBundlingEnabled;
|
|
95203
95337
|
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
95204
95338
|
object.ssoType = message.ssoType;
|
|
95339
|
+
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
95340
|
+
object.enrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
|
|
95205
95341
|
return object;
|
|
95206
95342
|
};
|
|
95207
95343
|
|
|
@@ -104585,6 +104721,7 @@ $root.ModerationActionPerformed = (function() {
|
|
|
104585
104721
|
* @property {string|null} [actionDescription] ModerationActionPerformed actionDescription
|
|
104586
104722
|
* @property {Array.<ModerationActionPerformed.ReportCategory>|null} [proposedReportCategories] ModerationActionPerformed proposedReportCategories
|
|
104587
104723
|
* @property {number|Long|null} [createdAt] ModerationActionPerformed createdAt
|
|
104724
|
+
* @property {ModerationActionPerformed.ModerationSource|null} [moderationSource] ModerationActionPerformed moderationSource
|
|
104588
104725
|
*/
|
|
104589
104726
|
|
|
104590
104727
|
/**
|
|
@@ -104651,6 +104788,14 @@ $root.ModerationActionPerformed = (function() {
|
|
|
104651
104788
|
*/
|
|
104652
104789
|
ModerationActionPerformed.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
104653
104790
|
|
|
104791
|
+
/**
|
|
104792
|
+
* ModerationActionPerformed moderationSource.
|
|
104793
|
+
* @member {ModerationActionPerformed.ModerationSource} moderationSource
|
|
104794
|
+
* @memberof ModerationActionPerformed
|
|
104795
|
+
* @instance
|
|
104796
|
+
*/
|
|
104797
|
+
ModerationActionPerformed.prototype.moderationSource = 0;
|
|
104798
|
+
|
|
104654
104799
|
/**
|
|
104655
104800
|
* Creates a new ModerationActionPerformed instance using the specified properties.
|
|
104656
104801
|
* @function create
|
|
@@ -104691,6 +104836,8 @@ $root.ModerationActionPerformed = (function() {
|
|
|
104691
104836
|
}
|
|
104692
104837
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
104693
104838
|
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.createdAt);
|
|
104839
|
+
if (message.moderationSource != null && message.hasOwnProperty("moderationSource"))
|
|
104840
|
+
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.moderationSource);
|
|
104694
104841
|
return writer;
|
|
104695
104842
|
};
|
|
104696
104843
|
|
|
@@ -104750,6 +104897,9 @@ $root.ModerationActionPerformed = (function() {
|
|
|
104750
104897
|
case 6:
|
|
104751
104898
|
message.createdAt = reader.uint64();
|
|
104752
104899
|
break;
|
|
104900
|
+
case 7:
|
|
104901
|
+
message.moderationSource = reader.int32();
|
|
104902
|
+
break;
|
|
104753
104903
|
default:
|
|
104754
104904
|
reader.skipType(tag & 7);
|
|
104755
104905
|
break;
|
|
@@ -104831,6 +104981,15 @@ $root.ModerationActionPerformed = (function() {
|
|
|
104831
104981
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
104832
104982
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
104833
104983
|
return "createdAt: integer|Long expected";
|
|
104984
|
+
if (message.moderationSource != null && message.hasOwnProperty("moderationSource"))
|
|
104985
|
+
switch (message.moderationSource) {
|
|
104986
|
+
default:
|
|
104987
|
+
return "moderationSource: enum value expected";
|
|
104988
|
+
case 0:
|
|
104989
|
+
case 1:
|
|
104990
|
+
case 2:
|
|
104991
|
+
break;
|
|
104992
|
+
}
|
|
104834
104993
|
return null;
|
|
104835
104994
|
};
|
|
104836
104995
|
|
|
@@ -104944,6 +105103,20 @@ $root.ModerationActionPerformed = (function() {
|
|
|
104944
105103
|
message.createdAt = object.createdAt;
|
|
104945
105104
|
else if (typeof object.createdAt === "object")
|
|
104946
105105
|
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
105106
|
+
switch (object.moderationSource) {
|
|
105107
|
+
case "MODERATION_SOURCE_UNKNOWN":
|
|
105108
|
+
case 0:
|
|
105109
|
+
message.moderationSource = 0;
|
|
105110
|
+
break;
|
|
105111
|
+
case "MODERATION_SOURCE_DISCUSSION_POST":
|
|
105112
|
+
case 1:
|
|
105113
|
+
message.moderationSource = 1;
|
|
105114
|
+
break;
|
|
105115
|
+
case "MODERATION_SOURCE_COMMUNITY_USER_NAME":
|
|
105116
|
+
case 2:
|
|
105117
|
+
message.moderationSource = 2;
|
|
105118
|
+
break;
|
|
105119
|
+
}
|
|
104947
105120
|
return message;
|
|
104948
105121
|
};
|
|
104949
105122
|
|
|
@@ -104972,6 +105145,7 @@ $root.ModerationActionPerformed = (function() {
|
|
|
104972
105145
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
104973
105146
|
} else
|
|
104974
105147
|
object.createdAt = options.longs === String ? "0" : 0;
|
|
105148
|
+
object.moderationSource = options.enums === String ? "MODERATION_SOURCE_UNKNOWN" : 0;
|
|
104975
105149
|
}
|
|
104976
105150
|
if (message.reportId != null && message.hasOwnProperty("reportId"))
|
|
104977
105151
|
object.reportId = message.reportId;
|
|
@@ -104991,6 +105165,8 @@ $root.ModerationActionPerformed = (function() {
|
|
|
104991
105165
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
104992
105166
|
else
|
|
104993
105167
|
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;
|
|
105168
|
+
if (message.moderationSource != null && message.hasOwnProperty("moderationSource"))
|
|
105169
|
+
object.moderationSource = options.enums === String ? $root.ModerationActionPerformed.ModerationSource[message.moderationSource] : message.moderationSource;
|
|
104994
105170
|
return object;
|
|
104995
105171
|
};
|
|
104996
105172
|
|
|
@@ -105061,6 +105237,22 @@ $root.ModerationActionPerformed = (function() {
|
|
|
105061
105237
|
return values;
|
|
105062
105238
|
})();
|
|
105063
105239
|
|
|
105240
|
+
/**
|
|
105241
|
+
* ModerationSource enum.
|
|
105242
|
+
* @name ModerationActionPerformed.ModerationSource
|
|
105243
|
+
* @enum {string}
|
|
105244
|
+
* @property {number} MODERATION_SOURCE_UNKNOWN=0 MODERATION_SOURCE_UNKNOWN value
|
|
105245
|
+
* @property {number} MODERATION_SOURCE_DISCUSSION_POST=1 MODERATION_SOURCE_DISCUSSION_POST value
|
|
105246
|
+
* @property {number} MODERATION_SOURCE_COMMUNITY_USER_NAME=2 MODERATION_SOURCE_COMMUNITY_USER_NAME value
|
|
105247
|
+
*/
|
|
105248
|
+
ModerationActionPerformed.ModerationSource = (function() {
|
|
105249
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
105250
|
+
values[valuesById[0] = "MODERATION_SOURCE_UNKNOWN"] = 0;
|
|
105251
|
+
values[valuesById[1] = "MODERATION_SOURCE_DISCUSSION_POST"] = 1;
|
|
105252
|
+
values[valuesById[2] = "MODERATION_SOURCE_COMMUNITY_USER_NAME"] = 2;
|
|
105253
|
+
return values;
|
|
105254
|
+
})();
|
|
105255
|
+
|
|
105064
105256
|
return ModerationActionPerformed;
|
|
105065
105257
|
})();
|
|
105066
105258
|
|
package/package.json
CHANGED