@headspace/protos-events 1.537.0 → 1.539.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 +42 -0
- package/lib/index.js +154 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10026,6 +10026,9 @@ export namespace b2b {
|
|
|
10026
10026
|
|
|
10027
10027
|
/** Organization country */
|
|
10028
10028
|
country?: (string|null);
|
|
10029
|
+
|
|
10030
|
+
/** Organization hasEapCoverage */
|
|
10031
|
+
hasEapCoverage?: (boolean|null);
|
|
10029
10032
|
}
|
|
10030
10033
|
|
|
10031
10034
|
/** Represents an Organization. */
|
|
@@ -10100,6 +10103,9 @@ export namespace b2b {
|
|
|
10100
10103
|
/** Organization country. */
|
|
10101
10104
|
public country: string;
|
|
10102
10105
|
|
|
10106
|
+
/** Organization hasEapCoverage. */
|
|
10107
|
+
public hasEapCoverage: boolean;
|
|
10108
|
+
|
|
10103
10109
|
/**
|
|
10104
10110
|
* Creates a new Organization instance using the specified properties.
|
|
10105
10111
|
* @param [properties] Properties to set
|
|
@@ -23587,6 +23593,24 @@ export interface ICompletedActivity {
|
|
|
23587
23593
|
|
|
23588
23594
|
/** CompletedActivity isFirstEdhsCompletion */
|
|
23589
23595
|
isFirstEdhsCompletion?: (boolean|null);
|
|
23596
|
+
|
|
23597
|
+
/** CompletedActivity activityGroupId */
|
|
23598
|
+
activityGroupId?: (number|null);
|
|
23599
|
+
|
|
23600
|
+
/** CompletedActivity groupCollectionId */
|
|
23601
|
+
groupCollectionId?: (number|null);
|
|
23602
|
+
|
|
23603
|
+
/** CompletedActivity groupCollectionCategory */
|
|
23604
|
+
groupCollectionCategory?: (string|null);
|
|
23605
|
+
|
|
23606
|
+
/** CompletedActivity platform */
|
|
23607
|
+
platform?: (string|null);
|
|
23608
|
+
|
|
23609
|
+
/** CompletedActivity activityGroupName */
|
|
23610
|
+
activityGroupName?: (string|null);
|
|
23611
|
+
|
|
23612
|
+
/** CompletedActivity activityName */
|
|
23613
|
+
activityName?: (string|null);
|
|
23590
23614
|
}
|
|
23591
23615
|
|
|
23592
23616
|
/** Represents a CompletedActivity. */
|
|
@@ -23616,6 +23640,24 @@ export class CompletedActivity implements ICompletedActivity {
|
|
|
23616
23640
|
/** CompletedActivity isFirstEdhsCompletion. */
|
|
23617
23641
|
public isFirstEdhsCompletion: boolean;
|
|
23618
23642
|
|
|
23643
|
+
/** CompletedActivity activityGroupId. */
|
|
23644
|
+
public activityGroupId: number;
|
|
23645
|
+
|
|
23646
|
+
/** CompletedActivity groupCollectionId. */
|
|
23647
|
+
public groupCollectionId: number;
|
|
23648
|
+
|
|
23649
|
+
/** CompletedActivity groupCollectionCategory. */
|
|
23650
|
+
public groupCollectionCategory: string;
|
|
23651
|
+
|
|
23652
|
+
/** CompletedActivity platform. */
|
|
23653
|
+
public platform: string;
|
|
23654
|
+
|
|
23655
|
+
/** CompletedActivity activityGroupName. */
|
|
23656
|
+
public activityGroupName: string;
|
|
23657
|
+
|
|
23658
|
+
/** CompletedActivity activityName. */
|
|
23659
|
+
public activityName: string;
|
|
23660
|
+
|
|
23619
23661
|
/**
|
|
23620
23662
|
* Creates a new CompletedActivity instance using the specified properties.
|
|
23621
23663
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -23883,6 +23883,7 @@ $root.b2b = (function() {
|
|
|
23883
23883
|
* @property {number|null} [rootOrgId] Organization rootOrgId
|
|
23884
23884
|
* @property {number|null} [parentOrgId] Organization parentOrgId
|
|
23885
23885
|
* @property {string|null} [country] Organization country
|
|
23886
|
+
* @property {boolean|null} [hasEapCoverage] Organization hasEapCoverage
|
|
23886
23887
|
*/
|
|
23887
23888
|
|
|
23888
23889
|
/**
|
|
@@ -24069,6 +24070,14 @@ $root.b2b = (function() {
|
|
|
24069
24070
|
*/
|
|
24070
24071
|
Organization.prototype.country = "";
|
|
24071
24072
|
|
|
24073
|
+
/**
|
|
24074
|
+
* Organization hasEapCoverage.
|
|
24075
|
+
* @member {boolean} hasEapCoverage
|
|
24076
|
+
* @memberof b2b.Organization
|
|
24077
|
+
* @instance
|
|
24078
|
+
*/
|
|
24079
|
+
Organization.prototype.hasEapCoverage = false;
|
|
24080
|
+
|
|
24072
24081
|
/**
|
|
24073
24082
|
* Creates a new Organization instance using the specified properties.
|
|
24074
24083
|
* @function create
|
|
@@ -24139,6 +24148,8 @@ $root.b2b = (function() {
|
|
|
24139
24148
|
writer.uint32(/* id 20, wireType 0 =*/160).uint32(message.parentOrgId);
|
|
24140
24149
|
if (message.country != null && message.hasOwnProperty("country"))
|
|
24141
24150
|
writer.uint32(/* id 21, wireType 2 =*/170).string(message.country);
|
|
24151
|
+
if (message.hasEapCoverage != null && message.hasOwnProperty("hasEapCoverage"))
|
|
24152
|
+
writer.uint32(/* id 22, wireType 0 =*/176).bool(message.hasEapCoverage);
|
|
24142
24153
|
return writer;
|
|
24143
24154
|
};
|
|
24144
24155
|
|
|
@@ -24243,6 +24254,9 @@ $root.b2b = (function() {
|
|
|
24243
24254
|
case 21:
|
|
24244
24255
|
message.country = reader.string();
|
|
24245
24256
|
break;
|
|
24257
|
+
case 22:
|
|
24258
|
+
message.hasEapCoverage = reader.bool();
|
|
24259
|
+
break;
|
|
24246
24260
|
default:
|
|
24247
24261
|
reader.skipType(tag & 7);
|
|
24248
24262
|
break;
|
|
@@ -24375,6 +24389,9 @@ $root.b2b = (function() {
|
|
|
24375
24389
|
if (message.country != null && message.hasOwnProperty("country"))
|
|
24376
24390
|
if (!$util.isString(message.country))
|
|
24377
24391
|
return "country: string expected";
|
|
24392
|
+
if (message.hasEapCoverage != null && message.hasOwnProperty("hasEapCoverage"))
|
|
24393
|
+
if (typeof message.hasEapCoverage !== "boolean")
|
|
24394
|
+
return "hasEapCoverage: boolean expected";
|
|
24378
24395
|
return null;
|
|
24379
24396
|
};
|
|
24380
24397
|
|
|
@@ -24523,6 +24540,8 @@ $root.b2b = (function() {
|
|
|
24523
24540
|
message.parentOrgId = object.parentOrgId >>> 0;
|
|
24524
24541
|
if (object.country != null)
|
|
24525
24542
|
message.country = String(object.country);
|
|
24543
|
+
if (object.hasEapCoverage != null)
|
|
24544
|
+
message.hasEapCoverage = Boolean(object.hasEapCoverage);
|
|
24526
24545
|
return message;
|
|
24527
24546
|
};
|
|
24528
24547
|
|
|
@@ -24562,6 +24581,7 @@ $root.b2b = (function() {
|
|
|
24562
24581
|
object.rootOrgId = 0;
|
|
24563
24582
|
object.parentOrgId = 0;
|
|
24564
24583
|
object.country = "";
|
|
24584
|
+
object.hasEapCoverage = false;
|
|
24565
24585
|
}
|
|
24566
24586
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
24567
24587
|
object.orgId = message.orgId;
|
|
@@ -24608,6 +24628,8 @@ $root.b2b = (function() {
|
|
|
24608
24628
|
object.parentOrgId = message.parentOrgId;
|
|
24609
24629
|
if (message.country != null && message.hasOwnProperty("country"))
|
|
24610
24630
|
object.country = message.country;
|
|
24631
|
+
if (message.hasEapCoverage != null && message.hasOwnProperty("hasEapCoverage"))
|
|
24632
|
+
object.hasEapCoverage = message.hasEapCoverage;
|
|
24611
24633
|
return object;
|
|
24612
24634
|
};
|
|
24613
24635
|
|
|
@@ -64260,6 +64282,12 @@ $root.CompletedActivity = (function() {
|
|
|
64260
64282
|
* @property {number|null} [activityVariationId] CompletedActivity activityVariationId
|
|
64261
64283
|
* @property {string|null} [completedAtIsoDate] CompletedActivity completedAtIsoDate
|
|
64262
64284
|
* @property {boolean|null} [isFirstEdhsCompletion] CompletedActivity isFirstEdhsCompletion
|
|
64285
|
+
* @property {number|null} [activityGroupId] CompletedActivity activityGroupId
|
|
64286
|
+
* @property {number|null} [groupCollectionId] CompletedActivity groupCollectionId
|
|
64287
|
+
* @property {string|null} [groupCollectionCategory] CompletedActivity groupCollectionCategory
|
|
64288
|
+
* @property {string|null} [platform] CompletedActivity platform
|
|
64289
|
+
* @property {string|null} [activityGroupName] CompletedActivity activityGroupName
|
|
64290
|
+
* @property {string|null} [activityName] CompletedActivity activityName
|
|
64263
64291
|
*/
|
|
64264
64292
|
|
|
64265
64293
|
/**
|
|
@@ -64325,6 +64353,54 @@ $root.CompletedActivity = (function() {
|
|
|
64325
64353
|
*/
|
|
64326
64354
|
CompletedActivity.prototype.isFirstEdhsCompletion = false;
|
|
64327
64355
|
|
|
64356
|
+
/**
|
|
64357
|
+
* CompletedActivity activityGroupId.
|
|
64358
|
+
* @member {number} activityGroupId
|
|
64359
|
+
* @memberof CompletedActivity
|
|
64360
|
+
* @instance
|
|
64361
|
+
*/
|
|
64362
|
+
CompletedActivity.prototype.activityGroupId = 0;
|
|
64363
|
+
|
|
64364
|
+
/**
|
|
64365
|
+
* CompletedActivity groupCollectionId.
|
|
64366
|
+
* @member {number} groupCollectionId
|
|
64367
|
+
* @memberof CompletedActivity
|
|
64368
|
+
* @instance
|
|
64369
|
+
*/
|
|
64370
|
+
CompletedActivity.prototype.groupCollectionId = 0;
|
|
64371
|
+
|
|
64372
|
+
/**
|
|
64373
|
+
* CompletedActivity groupCollectionCategory.
|
|
64374
|
+
* @member {string} groupCollectionCategory
|
|
64375
|
+
* @memberof CompletedActivity
|
|
64376
|
+
* @instance
|
|
64377
|
+
*/
|
|
64378
|
+
CompletedActivity.prototype.groupCollectionCategory = "";
|
|
64379
|
+
|
|
64380
|
+
/**
|
|
64381
|
+
* CompletedActivity platform.
|
|
64382
|
+
* @member {string} platform
|
|
64383
|
+
* @memberof CompletedActivity
|
|
64384
|
+
* @instance
|
|
64385
|
+
*/
|
|
64386
|
+
CompletedActivity.prototype.platform = "";
|
|
64387
|
+
|
|
64388
|
+
/**
|
|
64389
|
+
* CompletedActivity activityGroupName.
|
|
64390
|
+
* @member {string} activityGroupName
|
|
64391
|
+
* @memberof CompletedActivity
|
|
64392
|
+
* @instance
|
|
64393
|
+
*/
|
|
64394
|
+
CompletedActivity.prototype.activityGroupName = "";
|
|
64395
|
+
|
|
64396
|
+
/**
|
|
64397
|
+
* CompletedActivity activityName.
|
|
64398
|
+
* @member {string} activityName
|
|
64399
|
+
* @memberof CompletedActivity
|
|
64400
|
+
* @instance
|
|
64401
|
+
*/
|
|
64402
|
+
CompletedActivity.prototype.activityName = "";
|
|
64403
|
+
|
|
64328
64404
|
/**
|
|
64329
64405
|
* Creates a new CompletedActivity instance using the specified properties.
|
|
64330
64406
|
* @function create
|
|
@@ -64361,6 +64437,18 @@ $root.CompletedActivity = (function() {
|
|
|
64361
64437
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.completedAtIsoDate);
|
|
64362
64438
|
if (message.isFirstEdhsCompletion != null && message.hasOwnProperty("isFirstEdhsCompletion"))
|
|
64363
64439
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.isFirstEdhsCompletion);
|
|
64440
|
+
if (message.activityGroupId != null && message.hasOwnProperty("activityGroupId"))
|
|
64441
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.activityGroupId);
|
|
64442
|
+
if (message.groupCollectionId != null && message.hasOwnProperty("groupCollectionId"))
|
|
64443
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.groupCollectionId);
|
|
64444
|
+
if (message.groupCollectionCategory != null && message.hasOwnProperty("groupCollectionCategory"))
|
|
64445
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.groupCollectionCategory);
|
|
64446
|
+
if (message.platform != null && message.hasOwnProperty("platform"))
|
|
64447
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.platform);
|
|
64448
|
+
if (message.activityGroupName != null && message.hasOwnProperty("activityGroupName"))
|
|
64449
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.activityGroupName);
|
|
64450
|
+
if (message.activityName != null && message.hasOwnProperty("activityName"))
|
|
64451
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.activityName);
|
|
64364
64452
|
return writer;
|
|
64365
64453
|
};
|
|
64366
64454
|
|
|
@@ -64413,6 +64501,24 @@ $root.CompletedActivity = (function() {
|
|
|
64413
64501
|
case 6:
|
|
64414
64502
|
message.isFirstEdhsCompletion = reader.bool();
|
|
64415
64503
|
break;
|
|
64504
|
+
case 7:
|
|
64505
|
+
message.activityGroupId = reader.uint32();
|
|
64506
|
+
break;
|
|
64507
|
+
case 8:
|
|
64508
|
+
message.groupCollectionId = reader.uint32();
|
|
64509
|
+
break;
|
|
64510
|
+
case 9:
|
|
64511
|
+
message.groupCollectionCategory = reader.string();
|
|
64512
|
+
break;
|
|
64513
|
+
case 10:
|
|
64514
|
+
message.platform = reader.string();
|
|
64515
|
+
break;
|
|
64516
|
+
case 11:
|
|
64517
|
+
message.activityGroupName = reader.string();
|
|
64518
|
+
break;
|
|
64519
|
+
case 12:
|
|
64520
|
+
message.activityName = reader.string();
|
|
64521
|
+
break;
|
|
64416
64522
|
default:
|
|
64417
64523
|
reader.skipType(tag & 7);
|
|
64418
64524
|
break;
|
|
@@ -64466,6 +64572,24 @@ $root.CompletedActivity = (function() {
|
|
|
64466
64572
|
if (message.isFirstEdhsCompletion != null && message.hasOwnProperty("isFirstEdhsCompletion"))
|
|
64467
64573
|
if (typeof message.isFirstEdhsCompletion !== "boolean")
|
|
64468
64574
|
return "isFirstEdhsCompletion: boolean expected";
|
|
64575
|
+
if (message.activityGroupId != null && message.hasOwnProperty("activityGroupId"))
|
|
64576
|
+
if (!$util.isInteger(message.activityGroupId))
|
|
64577
|
+
return "activityGroupId: integer expected";
|
|
64578
|
+
if (message.groupCollectionId != null && message.hasOwnProperty("groupCollectionId"))
|
|
64579
|
+
if (!$util.isInteger(message.groupCollectionId))
|
|
64580
|
+
return "groupCollectionId: integer expected";
|
|
64581
|
+
if (message.groupCollectionCategory != null && message.hasOwnProperty("groupCollectionCategory"))
|
|
64582
|
+
if (!$util.isString(message.groupCollectionCategory))
|
|
64583
|
+
return "groupCollectionCategory: string expected";
|
|
64584
|
+
if (message.platform != null && message.hasOwnProperty("platform"))
|
|
64585
|
+
if (!$util.isString(message.platform))
|
|
64586
|
+
return "platform: string expected";
|
|
64587
|
+
if (message.activityGroupName != null && message.hasOwnProperty("activityGroupName"))
|
|
64588
|
+
if (!$util.isString(message.activityGroupName))
|
|
64589
|
+
return "activityGroupName: string expected";
|
|
64590
|
+
if (message.activityName != null && message.hasOwnProperty("activityName"))
|
|
64591
|
+
if (!$util.isString(message.activityName))
|
|
64592
|
+
return "activityName: string expected";
|
|
64469
64593
|
return null;
|
|
64470
64594
|
};
|
|
64471
64595
|
|
|
@@ -64493,6 +64617,18 @@ $root.CompletedActivity = (function() {
|
|
|
64493
64617
|
message.completedAtIsoDate = String(object.completedAtIsoDate);
|
|
64494
64618
|
if (object.isFirstEdhsCompletion != null)
|
|
64495
64619
|
message.isFirstEdhsCompletion = Boolean(object.isFirstEdhsCompletion);
|
|
64620
|
+
if (object.activityGroupId != null)
|
|
64621
|
+
message.activityGroupId = object.activityGroupId >>> 0;
|
|
64622
|
+
if (object.groupCollectionId != null)
|
|
64623
|
+
message.groupCollectionId = object.groupCollectionId >>> 0;
|
|
64624
|
+
if (object.groupCollectionCategory != null)
|
|
64625
|
+
message.groupCollectionCategory = String(object.groupCollectionCategory);
|
|
64626
|
+
if (object.platform != null)
|
|
64627
|
+
message.platform = String(object.platform);
|
|
64628
|
+
if (object.activityGroupName != null)
|
|
64629
|
+
message.activityGroupName = String(object.activityGroupName);
|
|
64630
|
+
if (object.activityName != null)
|
|
64631
|
+
message.activityName = String(object.activityName);
|
|
64496
64632
|
return message;
|
|
64497
64633
|
};
|
|
64498
64634
|
|
|
@@ -64516,6 +64652,12 @@ $root.CompletedActivity = (function() {
|
|
|
64516
64652
|
object.activityVariationId = 0;
|
|
64517
64653
|
object.completedAtIsoDate = "";
|
|
64518
64654
|
object.isFirstEdhsCompletion = false;
|
|
64655
|
+
object.activityGroupId = 0;
|
|
64656
|
+
object.groupCollectionId = 0;
|
|
64657
|
+
object.groupCollectionCategory = "";
|
|
64658
|
+
object.platform = "";
|
|
64659
|
+
object.activityGroupName = "";
|
|
64660
|
+
object.activityName = "";
|
|
64519
64661
|
}
|
|
64520
64662
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
64521
64663
|
object.userId = message.userId;
|
|
@@ -64529,6 +64671,18 @@ $root.CompletedActivity = (function() {
|
|
|
64529
64671
|
object.completedAtIsoDate = message.completedAtIsoDate;
|
|
64530
64672
|
if (message.isFirstEdhsCompletion != null && message.hasOwnProperty("isFirstEdhsCompletion"))
|
|
64531
64673
|
object.isFirstEdhsCompletion = message.isFirstEdhsCompletion;
|
|
64674
|
+
if (message.activityGroupId != null && message.hasOwnProperty("activityGroupId"))
|
|
64675
|
+
object.activityGroupId = message.activityGroupId;
|
|
64676
|
+
if (message.groupCollectionId != null && message.hasOwnProperty("groupCollectionId"))
|
|
64677
|
+
object.groupCollectionId = message.groupCollectionId;
|
|
64678
|
+
if (message.groupCollectionCategory != null && message.hasOwnProperty("groupCollectionCategory"))
|
|
64679
|
+
object.groupCollectionCategory = message.groupCollectionCategory;
|
|
64680
|
+
if (message.platform != null && message.hasOwnProperty("platform"))
|
|
64681
|
+
object.platform = message.platform;
|
|
64682
|
+
if (message.activityGroupName != null && message.hasOwnProperty("activityGroupName"))
|
|
64683
|
+
object.activityGroupName = message.activityGroupName;
|
|
64684
|
+
if (message.activityName != null && message.hasOwnProperty("activityName"))
|
|
64685
|
+
object.activityName = message.activityName;
|
|
64532
64686
|
return object;
|
|
64533
64687
|
};
|
|
64534
64688
|
|
package/package.json
CHANGED