@headspace/protos-events 1.633.0 → 1.635.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 +36 -294
- package/lib/index.js +216 -679
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -118480,6 +118480,7 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
118480
118480
|
* @property {b2b.ClinicalCoverageProvider|null} [clinicalCoverageProvider] ClinicalCoverageCreated clinicalCoverageProvider
|
|
118481
118481
|
* @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] ClinicalCoverageCreated clinicalCoverageType
|
|
118482
118482
|
* @property {string|null} [externalOrgId] ClinicalCoverageCreated externalOrgId
|
|
118483
|
+
* @property {number|Long|null} [orgSubscriptionStartDate] ClinicalCoverageCreated orgSubscriptionStartDate
|
|
118483
118484
|
*/
|
|
118484
118485
|
|
|
118485
118486
|
/**
|
|
@@ -118561,6 +118562,14 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
118561
118562
|
*/
|
|
118562
118563
|
ClinicalCoverageCreated.prototype.externalOrgId = "";
|
|
118563
118564
|
|
|
118565
|
+
/**
|
|
118566
|
+
* ClinicalCoverageCreated orgSubscriptionStartDate.
|
|
118567
|
+
* @member {number|Long} orgSubscriptionStartDate
|
|
118568
|
+
* @memberof ClinicalCoverageCreated
|
|
118569
|
+
* @instance
|
|
118570
|
+
*/
|
|
118571
|
+
ClinicalCoverageCreated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
118572
|
+
|
|
118564
118573
|
/**
|
|
118565
118574
|
* Creates a new ClinicalCoverageCreated instance using the specified properties.
|
|
118566
118575
|
* @function create
|
|
@@ -118601,6 +118610,8 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
118601
118610
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.clinicalCoverageType);
|
|
118602
118611
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
118603
118612
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.externalOrgId);
|
|
118613
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
118614
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.orgSubscriptionStartDate);
|
|
118604
118615
|
return writer;
|
|
118605
118616
|
};
|
|
118606
118617
|
|
|
@@ -118659,6 +118670,9 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
118659
118670
|
case 8:
|
|
118660
118671
|
message.externalOrgId = reader.string();
|
|
118661
118672
|
break;
|
|
118673
|
+
case 9:
|
|
118674
|
+
message.orgSubscriptionStartDate = reader.uint64();
|
|
118675
|
+
break;
|
|
118662
118676
|
default:
|
|
118663
118677
|
reader.skipType(tag & 7);
|
|
118664
118678
|
break;
|
|
@@ -118739,6 +118753,9 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
118739
118753
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
118740
118754
|
if (!$util.isString(message.externalOrgId))
|
|
118741
118755
|
return "externalOrgId: string expected";
|
|
118756
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
118757
|
+
if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
|
|
118758
|
+
return "orgSubscriptionStartDate: integer|Long expected";
|
|
118742
118759
|
return null;
|
|
118743
118760
|
};
|
|
118744
118761
|
|
|
@@ -118846,6 +118863,15 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
118846
118863
|
}
|
|
118847
118864
|
if (object.externalOrgId != null)
|
|
118848
118865
|
message.externalOrgId = String(object.externalOrgId);
|
|
118866
|
+
if (object.orgSubscriptionStartDate != null)
|
|
118867
|
+
if ($util.Long)
|
|
118868
|
+
(message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
|
|
118869
|
+
else if (typeof object.orgSubscriptionStartDate === "string")
|
|
118870
|
+
message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
|
|
118871
|
+
else if (typeof object.orgSubscriptionStartDate === "number")
|
|
118872
|
+
message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
|
|
118873
|
+
else if (typeof object.orgSubscriptionStartDate === "object")
|
|
118874
|
+
message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
|
|
118849
118875
|
return message;
|
|
118850
118876
|
};
|
|
118851
118877
|
|
|
@@ -118887,6 +118913,11 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
118887
118913
|
object.clinicalCoverageProvider = options.enums === String ? "CLINICAL_COVERAGE_PROVIDER_UNKNOWN" : 0;
|
|
118888
118914
|
object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
|
|
118889
118915
|
object.externalOrgId = "";
|
|
118916
|
+
if ($util.Long) {
|
|
118917
|
+
var long = new $util.Long(0, 0, true);
|
|
118918
|
+
object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
118919
|
+
} else
|
|
118920
|
+
object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
|
|
118890
118921
|
}
|
|
118891
118922
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
118892
118923
|
if (typeof message.orgId === "number")
|
|
@@ -118916,6 +118947,11 @@ $root.ClinicalCoverageCreated = (function() {
|
|
|
118916
118947
|
object.clinicalCoverageType = options.enums === String ? $root.b2b.ClinicalCoverageType[message.clinicalCoverageType] : message.clinicalCoverageType;
|
|
118917
118948
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
118918
118949
|
object.externalOrgId = message.externalOrgId;
|
|
118950
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
118951
|
+
if (typeof message.orgSubscriptionStartDate === "number")
|
|
118952
|
+
object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
|
|
118953
|
+
else
|
|
118954
|
+
object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
|
|
118919
118955
|
return object;
|
|
118920
118956
|
};
|
|
118921
118957
|
|
|
@@ -118947,6 +118983,7 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
118947
118983
|
* @property {b2b.ClinicalCoverageProvider|null} [clinicalCoverageProvider] ClinicalCoverageUpdated clinicalCoverageProvider
|
|
118948
118984
|
* @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] ClinicalCoverageUpdated clinicalCoverageType
|
|
118949
118985
|
* @property {string|null} [externalOrgId] ClinicalCoverageUpdated externalOrgId
|
|
118986
|
+
* @property {number|Long|null} [orgSubscriptionStartDate] ClinicalCoverageUpdated orgSubscriptionStartDate
|
|
118950
118987
|
*/
|
|
118951
118988
|
|
|
118952
118989
|
/**
|
|
@@ -119028,6 +119065,14 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
119028
119065
|
*/
|
|
119029
119066
|
ClinicalCoverageUpdated.prototype.externalOrgId = "";
|
|
119030
119067
|
|
|
119068
|
+
/**
|
|
119069
|
+
* ClinicalCoverageUpdated orgSubscriptionStartDate.
|
|
119070
|
+
* @member {number|Long} orgSubscriptionStartDate
|
|
119071
|
+
* @memberof ClinicalCoverageUpdated
|
|
119072
|
+
* @instance
|
|
119073
|
+
*/
|
|
119074
|
+
ClinicalCoverageUpdated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
119075
|
+
|
|
119031
119076
|
/**
|
|
119032
119077
|
* Creates a new ClinicalCoverageUpdated instance using the specified properties.
|
|
119033
119078
|
* @function create
|
|
@@ -119068,6 +119113,8 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
119068
119113
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.clinicalCoverageType);
|
|
119069
119114
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
119070
119115
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.externalOrgId);
|
|
119116
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
119117
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.orgSubscriptionStartDate);
|
|
119071
119118
|
return writer;
|
|
119072
119119
|
};
|
|
119073
119120
|
|
|
@@ -119126,6 +119173,9 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
119126
119173
|
case 8:
|
|
119127
119174
|
message.externalOrgId = reader.string();
|
|
119128
119175
|
break;
|
|
119176
|
+
case 9:
|
|
119177
|
+
message.orgSubscriptionStartDate = reader.uint64();
|
|
119178
|
+
break;
|
|
119129
119179
|
default:
|
|
119130
119180
|
reader.skipType(tag & 7);
|
|
119131
119181
|
break;
|
|
@@ -119206,6 +119256,9 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
119206
119256
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
119207
119257
|
if (!$util.isString(message.externalOrgId))
|
|
119208
119258
|
return "externalOrgId: string expected";
|
|
119259
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
119260
|
+
if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
|
|
119261
|
+
return "orgSubscriptionStartDate: integer|Long expected";
|
|
119209
119262
|
return null;
|
|
119210
119263
|
};
|
|
119211
119264
|
|
|
@@ -119313,6 +119366,15 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
119313
119366
|
}
|
|
119314
119367
|
if (object.externalOrgId != null)
|
|
119315
119368
|
message.externalOrgId = String(object.externalOrgId);
|
|
119369
|
+
if (object.orgSubscriptionStartDate != null)
|
|
119370
|
+
if ($util.Long)
|
|
119371
|
+
(message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
|
|
119372
|
+
else if (typeof object.orgSubscriptionStartDate === "string")
|
|
119373
|
+
message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
|
|
119374
|
+
else if (typeof object.orgSubscriptionStartDate === "number")
|
|
119375
|
+
message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
|
|
119376
|
+
else if (typeof object.orgSubscriptionStartDate === "object")
|
|
119377
|
+
message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
|
|
119316
119378
|
return message;
|
|
119317
119379
|
};
|
|
119318
119380
|
|
|
@@ -119354,6 +119416,11 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
119354
119416
|
object.clinicalCoverageProvider = options.enums === String ? "CLINICAL_COVERAGE_PROVIDER_UNKNOWN" : 0;
|
|
119355
119417
|
object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
|
|
119356
119418
|
object.externalOrgId = "";
|
|
119419
|
+
if ($util.Long) {
|
|
119420
|
+
var long = new $util.Long(0, 0, true);
|
|
119421
|
+
object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
119422
|
+
} else
|
|
119423
|
+
object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
|
|
119357
119424
|
}
|
|
119358
119425
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
119359
119426
|
if (typeof message.orgId === "number")
|
|
@@ -119383,6 +119450,11 @@ $root.ClinicalCoverageUpdated = (function() {
|
|
|
119383
119450
|
object.clinicalCoverageType = options.enums === String ? $root.b2b.ClinicalCoverageType[message.clinicalCoverageType] : message.clinicalCoverageType;
|
|
119384
119451
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
119385
119452
|
object.externalOrgId = message.externalOrgId;
|
|
119453
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
119454
|
+
if (typeof message.orgSubscriptionStartDate === "number")
|
|
119455
|
+
object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
|
|
119456
|
+
else
|
|
119457
|
+
object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
|
|
119386
119458
|
return object;
|
|
119387
119459
|
};
|
|
119388
119460
|
|
|
@@ -119414,6 +119486,7 @@ $root.ClinicalCoverageDeleted = (function() {
|
|
|
119414
119486
|
* @property {b2b.ClinicalCoverageProvider|null} [clinicalCoverageProvider] ClinicalCoverageDeleted clinicalCoverageProvider
|
|
119415
119487
|
* @property {b2b.ClinicalCoverageType|null} [clinicalCoverageType] ClinicalCoverageDeleted clinicalCoverageType
|
|
119416
119488
|
* @property {string|null} [externalOrgId] ClinicalCoverageDeleted externalOrgId
|
|
119489
|
+
* @property {number|Long|null} [orgSubscriptionStartDate] ClinicalCoverageDeleted orgSubscriptionStartDate
|
|
119417
119490
|
*/
|
|
119418
119491
|
|
|
119419
119492
|
/**
|
|
@@ -119495,6 +119568,14 @@ $root.ClinicalCoverageDeleted = (function() {
|
|
|
119495
119568
|
*/
|
|
119496
119569
|
ClinicalCoverageDeleted.prototype.externalOrgId = "";
|
|
119497
119570
|
|
|
119571
|
+
/**
|
|
119572
|
+
* ClinicalCoverageDeleted orgSubscriptionStartDate.
|
|
119573
|
+
* @member {number|Long} orgSubscriptionStartDate
|
|
119574
|
+
* @memberof ClinicalCoverageDeleted
|
|
119575
|
+
* @instance
|
|
119576
|
+
*/
|
|
119577
|
+
ClinicalCoverageDeleted.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
119578
|
+
|
|
119498
119579
|
/**
|
|
119499
119580
|
* Creates a new ClinicalCoverageDeleted instance using the specified properties.
|
|
119500
119581
|
* @function create
|
|
@@ -119535,6 +119616,8 @@ $root.ClinicalCoverageDeleted = (function() {
|
|
|
119535
119616
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.clinicalCoverageType);
|
|
119536
119617
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
119537
119618
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.externalOrgId);
|
|
119619
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
119620
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.orgSubscriptionStartDate);
|
|
119538
119621
|
return writer;
|
|
119539
119622
|
};
|
|
119540
119623
|
|
|
@@ -119593,6 +119676,9 @@ $root.ClinicalCoverageDeleted = (function() {
|
|
|
119593
119676
|
case 8:
|
|
119594
119677
|
message.externalOrgId = reader.string();
|
|
119595
119678
|
break;
|
|
119679
|
+
case 9:
|
|
119680
|
+
message.orgSubscriptionStartDate = reader.uint64();
|
|
119681
|
+
break;
|
|
119596
119682
|
default:
|
|
119597
119683
|
reader.skipType(tag & 7);
|
|
119598
119684
|
break;
|
|
@@ -119673,6 +119759,9 @@ $root.ClinicalCoverageDeleted = (function() {
|
|
|
119673
119759
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
119674
119760
|
if (!$util.isString(message.externalOrgId))
|
|
119675
119761
|
return "externalOrgId: string expected";
|
|
119762
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
119763
|
+
if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
|
|
119764
|
+
return "orgSubscriptionStartDate: integer|Long expected";
|
|
119676
119765
|
return null;
|
|
119677
119766
|
};
|
|
119678
119767
|
|
|
@@ -119780,6 +119869,15 @@ $root.ClinicalCoverageDeleted = (function() {
|
|
|
119780
119869
|
}
|
|
119781
119870
|
if (object.externalOrgId != null)
|
|
119782
119871
|
message.externalOrgId = String(object.externalOrgId);
|
|
119872
|
+
if (object.orgSubscriptionStartDate != null)
|
|
119873
|
+
if ($util.Long)
|
|
119874
|
+
(message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
|
|
119875
|
+
else if (typeof object.orgSubscriptionStartDate === "string")
|
|
119876
|
+
message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
|
|
119877
|
+
else if (typeof object.orgSubscriptionStartDate === "number")
|
|
119878
|
+
message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
|
|
119879
|
+
else if (typeof object.orgSubscriptionStartDate === "object")
|
|
119880
|
+
message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
|
|
119783
119881
|
return message;
|
|
119784
119882
|
};
|
|
119785
119883
|
|
|
@@ -119821,6 +119919,11 @@ $root.ClinicalCoverageDeleted = (function() {
|
|
|
119821
119919
|
object.clinicalCoverageProvider = options.enums === String ? "CLINICAL_COVERAGE_PROVIDER_UNKNOWN" : 0;
|
|
119822
119920
|
object.clinicalCoverageType = options.enums === String ? "CLINICAL_COVERAGE_TYPE_UNKNOWN" : 0;
|
|
119823
119921
|
object.externalOrgId = "";
|
|
119922
|
+
if ($util.Long) {
|
|
119923
|
+
var long = new $util.Long(0, 0, true);
|
|
119924
|
+
object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
119925
|
+
} else
|
|
119926
|
+
object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
|
|
119824
119927
|
}
|
|
119825
119928
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
119826
119929
|
if (typeof message.orgId === "number")
|
|
@@ -119850,6 +119953,11 @@ $root.ClinicalCoverageDeleted = (function() {
|
|
|
119850
119953
|
object.clinicalCoverageType = options.enums === String ? $root.b2b.ClinicalCoverageType[message.clinicalCoverageType] : message.clinicalCoverageType;
|
|
119851
119954
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
119852
119955
|
object.externalOrgId = message.externalOrgId;
|
|
119956
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
119957
|
+
if (typeof message.orgSubscriptionStartDate === "number")
|
|
119958
|
+
object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
|
|
119959
|
+
else
|
|
119960
|
+
object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
|
|
119853
119961
|
return object;
|
|
119854
119962
|
};
|
|
119855
119963
|
|
|
@@ -119880,6 +119988,7 @@ $root.EapCoverageCreated = (function() {
|
|
|
119880
119988
|
* @property {number|Long|null} [updatedAt] EapCoverageCreated updatedAt
|
|
119881
119989
|
* @property {b2b.EapCoverage|null} [eapCoverage] EapCoverageCreated eapCoverage
|
|
119882
119990
|
* @property {string|null} [externalOrgId] EapCoverageCreated externalOrgId
|
|
119991
|
+
* @property {number|Long|null} [orgSubscriptionStartDate] EapCoverageCreated orgSubscriptionStartDate
|
|
119883
119992
|
*/
|
|
119884
119993
|
|
|
119885
119994
|
/**
|
|
@@ -119953,6 +120062,14 @@ $root.EapCoverageCreated = (function() {
|
|
|
119953
120062
|
*/
|
|
119954
120063
|
EapCoverageCreated.prototype.externalOrgId = "";
|
|
119955
120064
|
|
|
120065
|
+
/**
|
|
120066
|
+
* EapCoverageCreated orgSubscriptionStartDate.
|
|
120067
|
+
* @member {number|Long} orgSubscriptionStartDate
|
|
120068
|
+
* @memberof EapCoverageCreated
|
|
120069
|
+
* @instance
|
|
120070
|
+
*/
|
|
120071
|
+
EapCoverageCreated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
120072
|
+
|
|
119956
120073
|
/**
|
|
119957
120074
|
* Creates a new EapCoverageCreated instance using the specified properties.
|
|
119958
120075
|
* @function create
|
|
@@ -119991,6 +120108,8 @@ $root.EapCoverageCreated = (function() {
|
|
|
119991
120108
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.eapCoverage);
|
|
119992
120109
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
119993
120110
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.externalOrgId);
|
|
120111
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
120112
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.orgSubscriptionStartDate);
|
|
119994
120113
|
return writer;
|
|
119995
120114
|
};
|
|
119996
120115
|
|
|
@@ -120046,6 +120165,9 @@ $root.EapCoverageCreated = (function() {
|
|
|
120046
120165
|
case 7:
|
|
120047
120166
|
message.externalOrgId = reader.string();
|
|
120048
120167
|
break;
|
|
120168
|
+
case 8:
|
|
120169
|
+
message.orgSubscriptionStartDate = reader.uint64();
|
|
120170
|
+
break;
|
|
120049
120171
|
default:
|
|
120050
120172
|
reader.skipType(tag & 7);
|
|
120051
120173
|
break;
|
|
@@ -120116,6 +120238,9 @@ $root.EapCoverageCreated = (function() {
|
|
|
120116
120238
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
120117
120239
|
if (!$util.isString(message.externalOrgId))
|
|
120118
120240
|
return "externalOrgId: string expected";
|
|
120241
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
120242
|
+
if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
|
|
120243
|
+
return "orgSubscriptionStartDate: integer|Long expected";
|
|
120119
120244
|
return null;
|
|
120120
120245
|
};
|
|
120121
120246
|
|
|
@@ -120205,6 +120330,15 @@ $root.EapCoverageCreated = (function() {
|
|
|
120205
120330
|
}
|
|
120206
120331
|
if (object.externalOrgId != null)
|
|
120207
120332
|
message.externalOrgId = String(object.externalOrgId);
|
|
120333
|
+
if (object.orgSubscriptionStartDate != null)
|
|
120334
|
+
if ($util.Long)
|
|
120335
|
+
(message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
|
|
120336
|
+
else if (typeof object.orgSubscriptionStartDate === "string")
|
|
120337
|
+
message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
|
|
120338
|
+
else if (typeof object.orgSubscriptionStartDate === "number")
|
|
120339
|
+
message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
|
|
120340
|
+
else if (typeof object.orgSubscriptionStartDate === "object")
|
|
120341
|
+
message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
|
|
120208
120342
|
return message;
|
|
120209
120343
|
};
|
|
120210
120344
|
|
|
@@ -120245,6 +120379,11 @@ $root.EapCoverageCreated = (function() {
|
|
|
120245
120379
|
object.updatedAt = options.longs === String ? "0" : 0;
|
|
120246
120380
|
object.eapCoverage = options.enums === String ? "EAP_COVERAGE_UNKNOWN" : 0;
|
|
120247
120381
|
object.externalOrgId = "";
|
|
120382
|
+
if ($util.Long) {
|
|
120383
|
+
var long = new $util.Long(0, 0, true);
|
|
120384
|
+
object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
120385
|
+
} else
|
|
120386
|
+
object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
|
|
120248
120387
|
}
|
|
120249
120388
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120250
120389
|
if (typeof message.orgId === "number")
|
|
@@ -120272,6 +120411,11 @@ $root.EapCoverageCreated = (function() {
|
|
|
120272
120411
|
object.eapCoverage = options.enums === String ? $root.b2b.EapCoverage[message.eapCoverage] : message.eapCoverage;
|
|
120273
120412
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
120274
120413
|
object.externalOrgId = message.externalOrgId;
|
|
120414
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
120415
|
+
if (typeof message.orgSubscriptionStartDate === "number")
|
|
120416
|
+
object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
|
|
120417
|
+
else
|
|
120418
|
+
object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
|
|
120275
120419
|
return object;
|
|
120276
120420
|
};
|
|
120277
120421
|
|
|
@@ -120302,6 +120446,7 @@ $root.EapCoverageUpdated = (function() {
|
|
|
120302
120446
|
* @property {number|Long|null} [updatedAt] EapCoverageUpdated updatedAt
|
|
120303
120447
|
* @property {b2b.EapCoverage|null} [eapCoverage] EapCoverageUpdated eapCoverage
|
|
120304
120448
|
* @property {string|null} [externalOrgId] EapCoverageUpdated externalOrgId
|
|
120449
|
+
* @property {number|Long|null} [orgSubscriptionStartDate] EapCoverageUpdated orgSubscriptionStartDate
|
|
120305
120450
|
*/
|
|
120306
120451
|
|
|
120307
120452
|
/**
|
|
@@ -120375,6 +120520,14 @@ $root.EapCoverageUpdated = (function() {
|
|
|
120375
120520
|
*/
|
|
120376
120521
|
EapCoverageUpdated.prototype.externalOrgId = "";
|
|
120377
120522
|
|
|
120523
|
+
/**
|
|
120524
|
+
* EapCoverageUpdated orgSubscriptionStartDate.
|
|
120525
|
+
* @member {number|Long} orgSubscriptionStartDate
|
|
120526
|
+
* @memberof EapCoverageUpdated
|
|
120527
|
+
* @instance
|
|
120528
|
+
*/
|
|
120529
|
+
EapCoverageUpdated.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
120530
|
+
|
|
120378
120531
|
/**
|
|
120379
120532
|
* Creates a new EapCoverageUpdated instance using the specified properties.
|
|
120380
120533
|
* @function create
|
|
@@ -120413,6 +120566,8 @@ $root.EapCoverageUpdated = (function() {
|
|
|
120413
120566
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.eapCoverage);
|
|
120414
120567
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
120415
120568
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.externalOrgId);
|
|
120569
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
120570
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.orgSubscriptionStartDate);
|
|
120416
120571
|
return writer;
|
|
120417
120572
|
};
|
|
120418
120573
|
|
|
@@ -120468,6 +120623,9 @@ $root.EapCoverageUpdated = (function() {
|
|
|
120468
120623
|
case 7:
|
|
120469
120624
|
message.externalOrgId = reader.string();
|
|
120470
120625
|
break;
|
|
120626
|
+
case 8:
|
|
120627
|
+
message.orgSubscriptionStartDate = reader.uint64();
|
|
120628
|
+
break;
|
|
120471
120629
|
default:
|
|
120472
120630
|
reader.skipType(tag & 7);
|
|
120473
120631
|
break;
|
|
@@ -120538,6 +120696,9 @@ $root.EapCoverageUpdated = (function() {
|
|
|
120538
120696
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
120539
120697
|
if (!$util.isString(message.externalOrgId))
|
|
120540
120698
|
return "externalOrgId: string expected";
|
|
120699
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
120700
|
+
if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
|
|
120701
|
+
return "orgSubscriptionStartDate: integer|Long expected";
|
|
120541
120702
|
return null;
|
|
120542
120703
|
};
|
|
120543
120704
|
|
|
@@ -120627,6 +120788,15 @@ $root.EapCoverageUpdated = (function() {
|
|
|
120627
120788
|
}
|
|
120628
120789
|
if (object.externalOrgId != null)
|
|
120629
120790
|
message.externalOrgId = String(object.externalOrgId);
|
|
120791
|
+
if (object.orgSubscriptionStartDate != null)
|
|
120792
|
+
if ($util.Long)
|
|
120793
|
+
(message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
|
|
120794
|
+
else if (typeof object.orgSubscriptionStartDate === "string")
|
|
120795
|
+
message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
|
|
120796
|
+
else if (typeof object.orgSubscriptionStartDate === "number")
|
|
120797
|
+
message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
|
|
120798
|
+
else if (typeof object.orgSubscriptionStartDate === "object")
|
|
120799
|
+
message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
|
|
120630
120800
|
return message;
|
|
120631
120801
|
};
|
|
120632
120802
|
|
|
@@ -120667,6 +120837,11 @@ $root.EapCoverageUpdated = (function() {
|
|
|
120667
120837
|
object.updatedAt = options.longs === String ? "0" : 0;
|
|
120668
120838
|
object.eapCoverage = options.enums === String ? "EAP_COVERAGE_UNKNOWN" : 0;
|
|
120669
120839
|
object.externalOrgId = "";
|
|
120840
|
+
if ($util.Long) {
|
|
120841
|
+
var long = new $util.Long(0, 0, true);
|
|
120842
|
+
object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
120843
|
+
} else
|
|
120844
|
+
object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
|
|
120670
120845
|
}
|
|
120671
120846
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120672
120847
|
if (typeof message.orgId === "number")
|
|
@@ -120694,6 +120869,11 @@ $root.EapCoverageUpdated = (function() {
|
|
|
120694
120869
|
object.eapCoverage = options.enums === String ? $root.b2b.EapCoverage[message.eapCoverage] : message.eapCoverage;
|
|
120695
120870
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
120696
120871
|
object.externalOrgId = message.externalOrgId;
|
|
120872
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
120873
|
+
if (typeof message.orgSubscriptionStartDate === "number")
|
|
120874
|
+
object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
|
|
120875
|
+
else
|
|
120876
|
+
object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
|
|
120697
120877
|
return object;
|
|
120698
120878
|
};
|
|
120699
120879
|
|
|
@@ -120724,6 +120904,7 @@ $root.EapCoverageDeleted = (function() {
|
|
|
120724
120904
|
* @property {number|Long|null} [updatedAt] EapCoverageDeleted updatedAt
|
|
120725
120905
|
* @property {b2b.EapCoverage|null} [eapCoverage] EapCoverageDeleted eapCoverage
|
|
120726
120906
|
* @property {string|null} [externalOrgId] EapCoverageDeleted externalOrgId
|
|
120907
|
+
* @property {number|Long|null} [orgSubscriptionStartDate] EapCoverageDeleted orgSubscriptionStartDate
|
|
120727
120908
|
*/
|
|
120728
120909
|
|
|
120729
120910
|
/**
|
|
@@ -120797,6 +120978,14 @@ $root.EapCoverageDeleted = (function() {
|
|
|
120797
120978
|
*/
|
|
120798
120979
|
EapCoverageDeleted.prototype.externalOrgId = "";
|
|
120799
120980
|
|
|
120981
|
+
/**
|
|
120982
|
+
* EapCoverageDeleted orgSubscriptionStartDate.
|
|
120983
|
+
* @member {number|Long} orgSubscriptionStartDate
|
|
120984
|
+
* @memberof EapCoverageDeleted
|
|
120985
|
+
* @instance
|
|
120986
|
+
*/
|
|
120987
|
+
EapCoverageDeleted.prototype.orgSubscriptionStartDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
120988
|
+
|
|
120800
120989
|
/**
|
|
120801
120990
|
* Creates a new EapCoverageDeleted instance using the specified properties.
|
|
120802
120991
|
* @function create
|
|
@@ -120835,6 +121024,8 @@ $root.EapCoverageDeleted = (function() {
|
|
|
120835
121024
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.eapCoverage);
|
|
120836
121025
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
120837
121026
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.externalOrgId);
|
|
121027
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
121028
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.orgSubscriptionStartDate);
|
|
120838
121029
|
return writer;
|
|
120839
121030
|
};
|
|
120840
121031
|
|
|
@@ -120890,6 +121081,9 @@ $root.EapCoverageDeleted = (function() {
|
|
|
120890
121081
|
case 7:
|
|
120891
121082
|
message.externalOrgId = reader.string();
|
|
120892
121083
|
break;
|
|
121084
|
+
case 8:
|
|
121085
|
+
message.orgSubscriptionStartDate = reader.uint64();
|
|
121086
|
+
break;
|
|
120893
121087
|
default:
|
|
120894
121088
|
reader.skipType(tag & 7);
|
|
120895
121089
|
break;
|
|
@@ -120960,6 +121154,9 @@ $root.EapCoverageDeleted = (function() {
|
|
|
120960
121154
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
120961
121155
|
if (!$util.isString(message.externalOrgId))
|
|
120962
121156
|
return "externalOrgId: string expected";
|
|
121157
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
121158
|
+
if (!$util.isInteger(message.orgSubscriptionStartDate) && !(message.orgSubscriptionStartDate && $util.isInteger(message.orgSubscriptionStartDate.low) && $util.isInteger(message.orgSubscriptionStartDate.high)))
|
|
121159
|
+
return "orgSubscriptionStartDate: integer|Long expected";
|
|
120963
121160
|
return null;
|
|
120964
121161
|
};
|
|
120965
121162
|
|
|
@@ -121049,6 +121246,15 @@ $root.EapCoverageDeleted = (function() {
|
|
|
121049
121246
|
}
|
|
121050
121247
|
if (object.externalOrgId != null)
|
|
121051
121248
|
message.externalOrgId = String(object.externalOrgId);
|
|
121249
|
+
if (object.orgSubscriptionStartDate != null)
|
|
121250
|
+
if ($util.Long)
|
|
121251
|
+
(message.orgSubscriptionStartDate = $util.Long.fromValue(object.orgSubscriptionStartDate)).unsigned = true;
|
|
121252
|
+
else if (typeof object.orgSubscriptionStartDate === "string")
|
|
121253
|
+
message.orgSubscriptionStartDate = parseInt(object.orgSubscriptionStartDate, 10);
|
|
121254
|
+
else if (typeof object.orgSubscriptionStartDate === "number")
|
|
121255
|
+
message.orgSubscriptionStartDate = object.orgSubscriptionStartDate;
|
|
121256
|
+
else if (typeof object.orgSubscriptionStartDate === "object")
|
|
121257
|
+
message.orgSubscriptionStartDate = new $util.LongBits(object.orgSubscriptionStartDate.low >>> 0, object.orgSubscriptionStartDate.high >>> 0).toNumber(true);
|
|
121052
121258
|
return message;
|
|
121053
121259
|
};
|
|
121054
121260
|
|
|
@@ -121089,6 +121295,11 @@ $root.EapCoverageDeleted = (function() {
|
|
|
121089
121295
|
object.updatedAt = options.longs === String ? "0" : 0;
|
|
121090
121296
|
object.eapCoverage = options.enums === String ? "EAP_COVERAGE_UNKNOWN" : 0;
|
|
121091
121297
|
object.externalOrgId = "";
|
|
121298
|
+
if ($util.Long) {
|
|
121299
|
+
var long = new $util.Long(0, 0, true);
|
|
121300
|
+
object.orgSubscriptionStartDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
121301
|
+
} else
|
|
121302
|
+
object.orgSubscriptionStartDate = options.longs === String ? "0" : 0;
|
|
121092
121303
|
}
|
|
121093
121304
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
121094
121305
|
if (typeof message.orgId === "number")
|
|
@@ -121116,6 +121327,11 @@ $root.EapCoverageDeleted = (function() {
|
|
|
121116
121327
|
object.eapCoverage = options.enums === String ? $root.b2b.EapCoverage[message.eapCoverage] : message.eapCoverage;
|
|
121117
121328
|
if (message.externalOrgId != null && message.hasOwnProperty("externalOrgId"))
|
|
121118
121329
|
object.externalOrgId = message.externalOrgId;
|
|
121330
|
+
if (message.orgSubscriptionStartDate != null && message.hasOwnProperty("orgSubscriptionStartDate"))
|
|
121331
|
+
if (typeof message.orgSubscriptionStartDate === "number")
|
|
121332
|
+
object.orgSubscriptionStartDate = options.longs === String ? String(message.orgSubscriptionStartDate) : message.orgSubscriptionStartDate;
|
|
121333
|
+
else
|
|
121334
|
+
object.orgSubscriptionStartDate = options.longs === String ? $util.Long.prototype.toString.call(message.orgSubscriptionStartDate) : options.longs === Number ? new $util.LongBits(message.orgSubscriptionStartDate.low >>> 0, message.orgSubscriptionStartDate.high >>> 0).toNumber(true) : message.orgSubscriptionStartDate;
|
|
121119
121335
|
return object;
|
|
121120
121336
|
};
|
|
121121
121337
|
|
|
@@ -160472,685 +160688,6 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
160472
160688
|
return GoogleSubscriptionExpired;
|
|
160473
160689
|
})();
|
|
160474
160690
|
|
|
160475
|
-
$root.GuidedProgramCreated = (function() {
|
|
160476
|
-
|
|
160477
|
-
/**
|
|
160478
|
-
* Properties of a GuidedProgramCreated.
|
|
160479
|
-
* @name IGuidedProgramCreated
|
|
160480
|
-
* @interface IGuidedProgramCreated
|
|
160481
|
-
* @property {string|null} [slug] GuidedProgramCreated slug
|
|
160482
|
-
* @property {number|Long|null} [createdAt] GuidedProgramCreated createdAt
|
|
160483
|
-
* @property {number|null} [thumbnailMediaId] GuidedProgramCreated thumbnailMediaId
|
|
160484
|
-
*/
|
|
160485
|
-
|
|
160486
|
-
/**
|
|
160487
|
-
* Constructs a new GuidedProgramCreated.
|
|
160488
|
-
* @name GuidedProgramCreated
|
|
160489
|
-
* @classdesc Represents a GuidedProgramCreated.
|
|
160490
|
-
* @implements IGuidedProgramCreated
|
|
160491
|
-
* @constructor
|
|
160492
|
-
* @param {IGuidedProgramCreated=} [properties] Properties to set
|
|
160493
|
-
*/
|
|
160494
|
-
function GuidedProgramCreated(properties) {
|
|
160495
|
-
if (properties)
|
|
160496
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
160497
|
-
if (properties[keys[i]] != null)
|
|
160498
|
-
this[keys[i]] = properties[keys[i]];
|
|
160499
|
-
}
|
|
160500
|
-
|
|
160501
|
-
/**
|
|
160502
|
-
* GuidedProgramCreated slug.
|
|
160503
|
-
* @member {string} slug
|
|
160504
|
-
* @memberof GuidedProgramCreated
|
|
160505
|
-
* @instance
|
|
160506
|
-
*/
|
|
160507
|
-
GuidedProgramCreated.prototype.slug = "";
|
|
160508
|
-
|
|
160509
|
-
/**
|
|
160510
|
-
* GuidedProgramCreated createdAt.
|
|
160511
|
-
* @member {number|Long} createdAt
|
|
160512
|
-
* @memberof GuidedProgramCreated
|
|
160513
|
-
* @instance
|
|
160514
|
-
*/
|
|
160515
|
-
GuidedProgramCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
160516
|
-
|
|
160517
|
-
/**
|
|
160518
|
-
* GuidedProgramCreated thumbnailMediaId.
|
|
160519
|
-
* @member {number} thumbnailMediaId
|
|
160520
|
-
* @memberof GuidedProgramCreated
|
|
160521
|
-
* @instance
|
|
160522
|
-
*/
|
|
160523
|
-
GuidedProgramCreated.prototype.thumbnailMediaId = 0;
|
|
160524
|
-
|
|
160525
|
-
/**
|
|
160526
|
-
* Creates a new GuidedProgramCreated instance using the specified properties.
|
|
160527
|
-
* @function create
|
|
160528
|
-
* @memberof GuidedProgramCreated
|
|
160529
|
-
* @static
|
|
160530
|
-
* @param {IGuidedProgramCreated=} [properties] Properties to set
|
|
160531
|
-
* @returns {GuidedProgramCreated} GuidedProgramCreated instance
|
|
160532
|
-
*/
|
|
160533
|
-
GuidedProgramCreated.create = function create(properties) {
|
|
160534
|
-
return new GuidedProgramCreated(properties);
|
|
160535
|
-
};
|
|
160536
|
-
|
|
160537
|
-
/**
|
|
160538
|
-
* Encodes the specified GuidedProgramCreated message. Does not implicitly {@link GuidedProgramCreated.verify|verify} messages.
|
|
160539
|
-
* @function encode
|
|
160540
|
-
* @memberof GuidedProgramCreated
|
|
160541
|
-
* @static
|
|
160542
|
-
* @param {IGuidedProgramCreated} message GuidedProgramCreated message or plain object to encode
|
|
160543
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
160544
|
-
* @returns {$protobuf.Writer} Writer
|
|
160545
|
-
*/
|
|
160546
|
-
GuidedProgramCreated.encode = function encode(message, writer) {
|
|
160547
|
-
if (!writer)
|
|
160548
|
-
writer = $Writer.create();
|
|
160549
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
160550
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
160551
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
160552
|
-
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.createdAt);
|
|
160553
|
-
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
160554
|
-
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.thumbnailMediaId);
|
|
160555
|
-
return writer;
|
|
160556
|
-
};
|
|
160557
|
-
|
|
160558
|
-
/**
|
|
160559
|
-
* Encodes the specified GuidedProgramCreated message, length delimited. Does not implicitly {@link GuidedProgramCreated.verify|verify} messages.
|
|
160560
|
-
* @function encodeDelimited
|
|
160561
|
-
* @memberof GuidedProgramCreated
|
|
160562
|
-
* @static
|
|
160563
|
-
* @param {IGuidedProgramCreated} message GuidedProgramCreated message or plain object to encode
|
|
160564
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
160565
|
-
* @returns {$protobuf.Writer} Writer
|
|
160566
|
-
*/
|
|
160567
|
-
GuidedProgramCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
160568
|
-
return this.encode(message, writer).ldelim();
|
|
160569
|
-
};
|
|
160570
|
-
|
|
160571
|
-
/**
|
|
160572
|
-
* Decodes a GuidedProgramCreated message from the specified reader or buffer.
|
|
160573
|
-
* @function decode
|
|
160574
|
-
* @memberof GuidedProgramCreated
|
|
160575
|
-
* @static
|
|
160576
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
160577
|
-
* @param {number} [length] Message length if known beforehand
|
|
160578
|
-
* @returns {GuidedProgramCreated} GuidedProgramCreated
|
|
160579
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
160580
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
160581
|
-
*/
|
|
160582
|
-
GuidedProgramCreated.decode = function decode(reader, length) {
|
|
160583
|
-
if (!(reader instanceof $Reader))
|
|
160584
|
-
reader = $Reader.create(reader);
|
|
160585
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GuidedProgramCreated();
|
|
160586
|
-
while (reader.pos < end) {
|
|
160587
|
-
var tag = reader.uint32();
|
|
160588
|
-
switch (tag >>> 3) {
|
|
160589
|
-
case 1:
|
|
160590
|
-
message.slug = reader.string();
|
|
160591
|
-
break;
|
|
160592
|
-
case 2:
|
|
160593
|
-
message.createdAt = reader.uint64();
|
|
160594
|
-
break;
|
|
160595
|
-
case 3:
|
|
160596
|
-
message.thumbnailMediaId = reader.uint32();
|
|
160597
|
-
break;
|
|
160598
|
-
default:
|
|
160599
|
-
reader.skipType(tag & 7);
|
|
160600
|
-
break;
|
|
160601
|
-
}
|
|
160602
|
-
}
|
|
160603
|
-
return message;
|
|
160604
|
-
};
|
|
160605
|
-
|
|
160606
|
-
/**
|
|
160607
|
-
* Decodes a GuidedProgramCreated message from the specified reader or buffer, length delimited.
|
|
160608
|
-
* @function decodeDelimited
|
|
160609
|
-
* @memberof GuidedProgramCreated
|
|
160610
|
-
* @static
|
|
160611
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
160612
|
-
* @returns {GuidedProgramCreated} GuidedProgramCreated
|
|
160613
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
160614
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
160615
|
-
*/
|
|
160616
|
-
GuidedProgramCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
160617
|
-
if (!(reader instanceof $Reader))
|
|
160618
|
-
reader = new $Reader(reader);
|
|
160619
|
-
return this.decode(reader, reader.uint32());
|
|
160620
|
-
};
|
|
160621
|
-
|
|
160622
|
-
/**
|
|
160623
|
-
* Verifies a GuidedProgramCreated message.
|
|
160624
|
-
* @function verify
|
|
160625
|
-
* @memberof GuidedProgramCreated
|
|
160626
|
-
* @static
|
|
160627
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
160628
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
160629
|
-
*/
|
|
160630
|
-
GuidedProgramCreated.verify = function verify(message) {
|
|
160631
|
-
if (typeof message !== "object" || message === null)
|
|
160632
|
-
return "object expected";
|
|
160633
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
160634
|
-
if (!$util.isString(message.slug))
|
|
160635
|
-
return "slug: string expected";
|
|
160636
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
160637
|
-
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
160638
|
-
return "createdAt: integer|Long expected";
|
|
160639
|
-
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
160640
|
-
if (!$util.isInteger(message.thumbnailMediaId))
|
|
160641
|
-
return "thumbnailMediaId: integer expected";
|
|
160642
|
-
return null;
|
|
160643
|
-
};
|
|
160644
|
-
|
|
160645
|
-
/**
|
|
160646
|
-
* Creates a GuidedProgramCreated message from a plain object. Also converts values to their respective internal types.
|
|
160647
|
-
* @function fromObject
|
|
160648
|
-
* @memberof GuidedProgramCreated
|
|
160649
|
-
* @static
|
|
160650
|
-
* @param {Object.<string,*>} object Plain object
|
|
160651
|
-
* @returns {GuidedProgramCreated} GuidedProgramCreated
|
|
160652
|
-
*/
|
|
160653
|
-
GuidedProgramCreated.fromObject = function fromObject(object) {
|
|
160654
|
-
if (object instanceof $root.GuidedProgramCreated)
|
|
160655
|
-
return object;
|
|
160656
|
-
var message = new $root.GuidedProgramCreated();
|
|
160657
|
-
if (object.slug != null)
|
|
160658
|
-
message.slug = String(object.slug);
|
|
160659
|
-
if (object.createdAt != null)
|
|
160660
|
-
if ($util.Long)
|
|
160661
|
-
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
160662
|
-
else if (typeof object.createdAt === "string")
|
|
160663
|
-
message.createdAt = parseInt(object.createdAt, 10);
|
|
160664
|
-
else if (typeof object.createdAt === "number")
|
|
160665
|
-
message.createdAt = object.createdAt;
|
|
160666
|
-
else if (typeof object.createdAt === "object")
|
|
160667
|
-
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
160668
|
-
if (object.thumbnailMediaId != null)
|
|
160669
|
-
message.thumbnailMediaId = object.thumbnailMediaId >>> 0;
|
|
160670
|
-
return message;
|
|
160671
|
-
};
|
|
160672
|
-
|
|
160673
|
-
/**
|
|
160674
|
-
* Creates a plain object from a GuidedProgramCreated message. Also converts values to other types if specified.
|
|
160675
|
-
* @function toObject
|
|
160676
|
-
* @memberof GuidedProgramCreated
|
|
160677
|
-
* @static
|
|
160678
|
-
* @param {GuidedProgramCreated} message GuidedProgramCreated
|
|
160679
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
160680
|
-
* @returns {Object.<string,*>} Plain object
|
|
160681
|
-
*/
|
|
160682
|
-
GuidedProgramCreated.toObject = function toObject(message, options) {
|
|
160683
|
-
if (!options)
|
|
160684
|
-
options = {};
|
|
160685
|
-
var object = {};
|
|
160686
|
-
if (options.defaults) {
|
|
160687
|
-
object.slug = "";
|
|
160688
|
-
if ($util.Long) {
|
|
160689
|
-
var long = new $util.Long(0, 0, true);
|
|
160690
|
-
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
160691
|
-
} else
|
|
160692
|
-
object.createdAt = options.longs === String ? "0" : 0;
|
|
160693
|
-
object.thumbnailMediaId = 0;
|
|
160694
|
-
}
|
|
160695
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
160696
|
-
object.slug = message.slug;
|
|
160697
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
160698
|
-
if (typeof message.createdAt === "number")
|
|
160699
|
-
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
160700
|
-
else
|
|
160701
|
-
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;
|
|
160702
|
-
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
160703
|
-
object.thumbnailMediaId = message.thumbnailMediaId;
|
|
160704
|
-
return object;
|
|
160705
|
-
};
|
|
160706
|
-
|
|
160707
|
-
/**
|
|
160708
|
-
* Converts this GuidedProgramCreated to JSON.
|
|
160709
|
-
* @function toJSON
|
|
160710
|
-
* @memberof GuidedProgramCreated
|
|
160711
|
-
* @instance
|
|
160712
|
-
* @returns {Object.<string,*>} JSON object
|
|
160713
|
-
*/
|
|
160714
|
-
GuidedProgramCreated.prototype.toJSON = function toJSON() {
|
|
160715
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
160716
|
-
};
|
|
160717
|
-
|
|
160718
|
-
return GuidedProgramCreated;
|
|
160719
|
-
})();
|
|
160720
|
-
|
|
160721
|
-
$root.GuidedProgramUpdated = (function() {
|
|
160722
|
-
|
|
160723
|
-
/**
|
|
160724
|
-
* Properties of a GuidedProgramUpdated.
|
|
160725
|
-
* @name IGuidedProgramUpdated
|
|
160726
|
-
* @interface IGuidedProgramUpdated
|
|
160727
|
-
* @property {string|null} [slug] GuidedProgramUpdated slug
|
|
160728
|
-
* @property {number|Long|null} [updatedAt] GuidedProgramUpdated updatedAt
|
|
160729
|
-
* @property {number|null} [thumbnailMediaId] GuidedProgramUpdated thumbnailMediaId
|
|
160730
|
-
*/
|
|
160731
|
-
|
|
160732
|
-
/**
|
|
160733
|
-
* Constructs a new GuidedProgramUpdated.
|
|
160734
|
-
* @name GuidedProgramUpdated
|
|
160735
|
-
* @classdesc Represents a GuidedProgramUpdated.
|
|
160736
|
-
* @implements IGuidedProgramUpdated
|
|
160737
|
-
* @constructor
|
|
160738
|
-
* @param {IGuidedProgramUpdated=} [properties] Properties to set
|
|
160739
|
-
*/
|
|
160740
|
-
function GuidedProgramUpdated(properties) {
|
|
160741
|
-
if (properties)
|
|
160742
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
160743
|
-
if (properties[keys[i]] != null)
|
|
160744
|
-
this[keys[i]] = properties[keys[i]];
|
|
160745
|
-
}
|
|
160746
|
-
|
|
160747
|
-
/**
|
|
160748
|
-
* GuidedProgramUpdated slug.
|
|
160749
|
-
* @member {string} slug
|
|
160750
|
-
* @memberof GuidedProgramUpdated
|
|
160751
|
-
* @instance
|
|
160752
|
-
*/
|
|
160753
|
-
GuidedProgramUpdated.prototype.slug = "";
|
|
160754
|
-
|
|
160755
|
-
/**
|
|
160756
|
-
* GuidedProgramUpdated updatedAt.
|
|
160757
|
-
* @member {number|Long} updatedAt
|
|
160758
|
-
* @memberof GuidedProgramUpdated
|
|
160759
|
-
* @instance
|
|
160760
|
-
*/
|
|
160761
|
-
GuidedProgramUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
160762
|
-
|
|
160763
|
-
/**
|
|
160764
|
-
* GuidedProgramUpdated thumbnailMediaId.
|
|
160765
|
-
* @member {number} thumbnailMediaId
|
|
160766
|
-
* @memberof GuidedProgramUpdated
|
|
160767
|
-
* @instance
|
|
160768
|
-
*/
|
|
160769
|
-
GuidedProgramUpdated.prototype.thumbnailMediaId = 0;
|
|
160770
|
-
|
|
160771
|
-
/**
|
|
160772
|
-
* Creates a new GuidedProgramUpdated instance using the specified properties.
|
|
160773
|
-
* @function create
|
|
160774
|
-
* @memberof GuidedProgramUpdated
|
|
160775
|
-
* @static
|
|
160776
|
-
* @param {IGuidedProgramUpdated=} [properties] Properties to set
|
|
160777
|
-
* @returns {GuidedProgramUpdated} GuidedProgramUpdated instance
|
|
160778
|
-
*/
|
|
160779
|
-
GuidedProgramUpdated.create = function create(properties) {
|
|
160780
|
-
return new GuidedProgramUpdated(properties);
|
|
160781
|
-
};
|
|
160782
|
-
|
|
160783
|
-
/**
|
|
160784
|
-
* Encodes the specified GuidedProgramUpdated message. Does not implicitly {@link GuidedProgramUpdated.verify|verify} messages.
|
|
160785
|
-
* @function encode
|
|
160786
|
-
* @memberof GuidedProgramUpdated
|
|
160787
|
-
* @static
|
|
160788
|
-
* @param {IGuidedProgramUpdated} message GuidedProgramUpdated message or plain object to encode
|
|
160789
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
160790
|
-
* @returns {$protobuf.Writer} Writer
|
|
160791
|
-
*/
|
|
160792
|
-
GuidedProgramUpdated.encode = function encode(message, writer) {
|
|
160793
|
-
if (!writer)
|
|
160794
|
-
writer = $Writer.create();
|
|
160795
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
160796
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
160797
|
-
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
160798
|
-
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.updatedAt);
|
|
160799
|
-
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
160800
|
-
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.thumbnailMediaId);
|
|
160801
|
-
return writer;
|
|
160802
|
-
};
|
|
160803
|
-
|
|
160804
|
-
/**
|
|
160805
|
-
* Encodes the specified GuidedProgramUpdated message, length delimited. Does not implicitly {@link GuidedProgramUpdated.verify|verify} messages.
|
|
160806
|
-
* @function encodeDelimited
|
|
160807
|
-
* @memberof GuidedProgramUpdated
|
|
160808
|
-
* @static
|
|
160809
|
-
* @param {IGuidedProgramUpdated} message GuidedProgramUpdated message or plain object to encode
|
|
160810
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
160811
|
-
* @returns {$protobuf.Writer} Writer
|
|
160812
|
-
*/
|
|
160813
|
-
GuidedProgramUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
160814
|
-
return this.encode(message, writer).ldelim();
|
|
160815
|
-
};
|
|
160816
|
-
|
|
160817
|
-
/**
|
|
160818
|
-
* Decodes a GuidedProgramUpdated message from the specified reader or buffer.
|
|
160819
|
-
* @function decode
|
|
160820
|
-
* @memberof GuidedProgramUpdated
|
|
160821
|
-
* @static
|
|
160822
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
160823
|
-
* @param {number} [length] Message length if known beforehand
|
|
160824
|
-
* @returns {GuidedProgramUpdated} GuidedProgramUpdated
|
|
160825
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
160826
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
160827
|
-
*/
|
|
160828
|
-
GuidedProgramUpdated.decode = function decode(reader, length) {
|
|
160829
|
-
if (!(reader instanceof $Reader))
|
|
160830
|
-
reader = $Reader.create(reader);
|
|
160831
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GuidedProgramUpdated();
|
|
160832
|
-
while (reader.pos < end) {
|
|
160833
|
-
var tag = reader.uint32();
|
|
160834
|
-
switch (tag >>> 3) {
|
|
160835
|
-
case 1:
|
|
160836
|
-
message.slug = reader.string();
|
|
160837
|
-
break;
|
|
160838
|
-
case 2:
|
|
160839
|
-
message.updatedAt = reader.uint64();
|
|
160840
|
-
break;
|
|
160841
|
-
case 3:
|
|
160842
|
-
message.thumbnailMediaId = reader.uint32();
|
|
160843
|
-
break;
|
|
160844
|
-
default:
|
|
160845
|
-
reader.skipType(tag & 7);
|
|
160846
|
-
break;
|
|
160847
|
-
}
|
|
160848
|
-
}
|
|
160849
|
-
return message;
|
|
160850
|
-
};
|
|
160851
|
-
|
|
160852
|
-
/**
|
|
160853
|
-
* Decodes a GuidedProgramUpdated message from the specified reader or buffer, length delimited.
|
|
160854
|
-
* @function decodeDelimited
|
|
160855
|
-
* @memberof GuidedProgramUpdated
|
|
160856
|
-
* @static
|
|
160857
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
160858
|
-
* @returns {GuidedProgramUpdated} GuidedProgramUpdated
|
|
160859
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
160860
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
160861
|
-
*/
|
|
160862
|
-
GuidedProgramUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
160863
|
-
if (!(reader instanceof $Reader))
|
|
160864
|
-
reader = new $Reader(reader);
|
|
160865
|
-
return this.decode(reader, reader.uint32());
|
|
160866
|
-
};
|
|
160867
|
-
|
|
160868
|
-
/**
|
|
160869
|
-
* Verifies a GuidedProgramUpdated message.
|
|
160870
|
-
* @function verify
|
|
160871
|
-
* @memberof GuidedProgramUpdated
|
|
160872
|
-
* @static
|
|
160873
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
160874
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
160875
|
-
*/
|
|
160876
|
-
GuidedProgramUpdated.verify = function verify(message) {
|
|
160877
|
-
if (typeof message !== "object" || message === null)
|
|
160878
|
-
return "object expected";
|
|
160879
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
160880
|
-
if (!$util.isString(message.slug))
|
|
160881
|
-
return "slug: string expected";
|
|
160882
|
-
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
160883
|
-
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
160884
|
-
return "updatedAt: integer|Long expected";
|
|
160885
|
-
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
160886
|
-
if (!$util.isInteger(message.thumbnailMediaId))
|
|
160887
|
-
return "thumbnailMediaId: integer expected";
|
|
160888
|
-
return null;
|
|
160889
|
-
};
|
|
160890
|
-
|
|
160891
|
-
/**
|
|
160892
|
-
* Creates a GuidedProgramUpdated message from a plain object. Also converts values to their respective internal types.
|
|
160893
|
-
* @function fromObject
|
|
160894
|
-
* @memberof GuidedProgramUpdated
|
|
160895
|
-
* @static
|
|
160896
|
-
* @param {Object.<string,*>} object Plain object
|
|
160897
|
-
* @returns {GuidedProgramUpdated} GuidedProgramUpdated
|
|
160898
|
-
*/
|
|
160899
|
-
GuidedProgramUpdated.fromObject = function fromObject(object) {
|
|
160900
|
-
if (object instanceof $root.GuidedProgramUpdated)
|
|
160901
|
-
return object;
|
|
160902
|
-
var message = new $root.GuidedProgramUpdated();
|
|
160903
|
-
if (object.slug != null)
|
|
160904
|
-
message.slug = String(object.slug);
|
|
160905
|
-
if (object.updatedAt != null)
|
|
160906
|
-
if ($util.Long)
|
|
160907
|
-
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
160908
|
-
else if (typeof object.updatedAt === "string")
|
|
160909
|
-
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
160910
|
-
else if (typeof object.updatedAt === "number")
|
|
160911
|
-
message.updatedAt = object.updatedAt;
|
|
160912
|
-
else if (typeof object.updatedAt === "object")
|
|
160913
|
-
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
160914
|
-
if (object.thumbnailMediaId != null)
|
|
160915
|
-
message.thumbnailMediaId = object.thumbnailMediaId >>> 0;
|
|
160916
|
-
return message;
|
|
160917
|
-
};
|
|
160918
|
-
|
|
160919
|
-
/**
|
|
160920
|
-
* Creates a plain object from a GuidedProgramUpdated message. Also converts values to other types if specified.
|
|
160921
|
-
* @function toObject
|
|
160922
|
-
* @memberof GuidedProgramUpdated
|
|
160923
|
-
* @static
|
|
160924
|
-
* @param {GuidedProgramUpdated} message GuidedProgramUpdated
|
|
160925
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
160926
|
-
* @returns {Object.<string,*>} Plain object
|
|
160927
|
-
*/
|
|
160928
|
-
GuidedProgramUpdated.toObject = function toObject(message, options) {
|
|
160929
|
-
if (!options)
|
|
160930
|
-
options = {};
|
|
160931
|
-
var object = {};
|
|
160932
|
-
if (options.defaults) {
|
|
160933
|
-
object.slug = "";
|
|
160934
|
-
if ($util.Long) {
|
|
160935
|
-
var long = new $util.Long(0, 0, true);
|
|
160936
|
-
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
160937
|
-
} else
|
|
160938
|
-
object.updatedAt = options.longs === String ? "0" : 0;
|
|
160939
|
-
object.thumbnailMediaId = 0;
|
|
160940
|
-
}
|
|
160941
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
160942
|
-
object.slug = message.slug;
|
|
160943
|
-
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
160944
|
-
if (typeof message.updatedAt === "number")
|
|
160945
|
-
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
160946
|
-
else
|
|
160947
|
-
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;
|
|
160948
|
-
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
160949
|
-
object.thumbnailMediaId = message.thumbnailMediaId;
|
|
160950
|
-
return object;
|
|
160951
|
-
};
|
|
160952
|
-
|
|
160953
|
-
/**
|
|
160954
|
-
* Converts this GuidedProgramUpdated to JSON.
|
|
160955
|
-
* @function toJSON
|
|
160956
|
-
* @memberof GuidedProgramUpdated
|
|
160957
|
-
* @instance
|
|
160958
|
-
* @returns {Object.<string,*>} JSON object
|
|
160959
|
-
*/
|
|
160960
|
-
GuidedProgramUpdated.prototype.toJSON = function toJSON() {
|
|
160961
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
160962
|
-
};
|
|
160963
|
-
|
|
160964
|
-
return GuidedProgramUpdated;
|
|
160965
|
-
})();
|
|
160966
|
-
|
|
160967
|
-
$root.GuidedProgramDeleted = (function() {
|
|
160968
|
-
|
|
160969
|
-
/**
|
|
160970
|
-
* Properties of a GuidedProgramDeleted.
|
|
160971
|
-
* @name IGuidedProgramDeleted
|
|
160972
|
-
* @interface IGuidedProgramDeleted
|
|
160973
|
-
* @property {string|null} [slug] GuidedProgramDeleted slug
|
|
160974
|
-
*/
|
|
160975
|
-
|
|
160976
|
-
/**
|
|
160977
|
-
* Constructs a new GuidedProgramDeleted.
|
|
160978
|
-
* @name GuidedProgramDeleted
|
|
160979
|
-
* @classdesc Represents a GuidedProgramDeleted.
|
|
160980
|
-
* @implements IGuidedProgramDeleted
|
|
160981
|
-
* @constructor
|
|
160982
|
-
* @param {IGuidedProgramDeleted=} [properties] Properties to set
|
|
160983
|
-
*/
|
|
160984
|
-
function GuidedProgramDeleted(properties) {
|
|
160985
|
-
if (properties)
|
|
160986
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
160987
|
-
if (properties[keys[i]] != null)
|
|
160988
|
-
this[keys[i]] = properties[keys[i]];
|
|
160989
|
-
}
|
|
160990
|
-
|
|
160991
|
-
/**
|
|
160992
|
-
* GuidedProgramDeleted slug.
|
|
160993
|
-
* @member {string} slug
|
|
160994
|
-
* @memberof GuidedProgramDeleted
|
|
160995
|
-
* @instance
|
|
160996
|
-
*/
|
|
160997
|
-
GuidedProgramDeleted.prototype.slug = "";
|
|
160998
|
-
|
|
160999
|
-
/**
|
|
161000
|
-
* Creates a new GuidedProgramDeleted instance using the specified properties.
|
|
161001
|
-
* @function create
|
|
161002
|
-
* @memberof GuidedProgramDeleted
|
|
161003
|
-
* @static
|
|
161004
|
-
* @param {IGuidedProgramDeleted=} [properties] Properties to set
|
|
161005
|
-
* @returns {GuidedProgramDeleted} GuidedProgramDeleted instance
|
|
161006
|
-
*/
|
|
161007
|
-
GuidedProgramDeleted.create = function create(properties) {
|
|
161008
|
-
return new GuidedProgramDeleted(properties);
|
|
161009
|
-
};
|
|
161010
|
-
|
|
161011
|
-
/**
|
|
161012
|
-
* Encodes the specified GuidedProgramDeleted message. Does not implicitly {@link GuidedProgramDeleted.verify|verify} messages.
|
|
161013
|
-
* @function encode
|
|
161014
|
-
* @memberof GuidedProgramDeleted
|
|
161015
|
-
* @static
|
|
161016
|
-
* @param {IGuidedProgramDeleted} message GuidedProgramDeleted message or plain object to encode
|
|
161017
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
161018
|
-
* @returns {$protobuf.Writer} Writer
|
|
161019
|
-
*/
|
|
161020
|
-
GuidedProgramDeleted.encode = function encode(message, writer) {
|
|
161021
|
-
if (!writer)
|
|
161022
|
-
writer = $Writer.create();
|
|
161023
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
161024
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.slug);
|
|
161025
|
-
return writer;
|
|
161026
|
-
};
|
|
161027
|
-
|
|
161028
|
-
/**
|
|
161029
|
-
* Encodes the specified GuidedProgramDeleted message, length delimited. Does not implicitly {@link GuidedProgramDeleted.verify|verify} messages.
|
|
161030
|
-
* @function encodeDelimited
|
|
161031
|
-
* @memberof GuidedProgramDeleted
|
|
161032
|
-
* @static
|
|
161033
|
-
* @param {IGuidedProgramDeleted} message GuidedProgramDeleted message or plain object to encode
|
|
161034
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
161035
|
-
* @returns {$protobuf.Writer} Writer
|
|
161036
|
-
*/
|
|
161037
|
-
GuidedProgramDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
161038
|
-
return this.encode(message, writer).ldelim();
|
|
161039
|
-
};
|
|
161040
|
-
|
|
161041
|
-
/**
|
|
161042
|
-
* Decodes a GuidedProgramDeleted message from the specified reader or buffer.
|
|
161043
|
-
* @function decode
|
|
161044
|
-
* @memberof GuidedProgramDeleted
|
|
161045
|
-
* @static
|
|
161046
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
161047
|
-
* @param {number} [length] Message length if known beforehand
|
|
161048
|
-
* @returns {GuidedProgramDeleted} GuidedProgramDeleted
|
|
161049
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
161050
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
161051
|
-
*/
|
|
161052
|
-
GuidedProgramDeleted.decode = function decode(reader, length) {
|
|
161053
|
-
if (!(reader instanceof $Reader))
|
|
161054
|
-
reader = $Reader.create(reader);
|
|
161055
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GuidedProgramDeleted();
|
|
161056
|
-
while (reader.pos < end) {
|
|
161057
|
-
var tag = reader.uint32();
|
|
161058
|
-
switch (tag >>> 3) {
|
|
161059
|
-
case 1:
|
|
161060
|
-
message.slug = reader.string();
|
|
161061
|
-
break;
|
|
161062
|
-
default:
|
|
161063
|
-
reader.skipType(tag & 7);
|
|
161064
|
-
break;
|
|
161065
|
-
}
|
|
161066
|
-
}
|
|
161067
|
-
return message;
|
|
161068
|
-
};
|
|
161069
|
-
|
|
161070
|
-
/**
|
|
161071
|
-
* Decodes a GuidedProgramDeleted message from the specified reader or buffer, length delimited.
|
|
161072
|
-
* @function decodeDelimited
|
|
161073
|
-
* @memberof GuidedProgramDeleted
|
|
161074
|
-
* @static
|
|
161075
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
161076
|
-
* @returns {GuidedProgramDeleted} GuidedProgramDeleted
|
|
161077
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
161078
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
161079
|
-
*/
|
|
161080
|
-
GuidedProgramDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
161081
|
-
if (!(reader instanceof $Reader))
|
|
161082
|
-
reader = new $Reader(reader);
|
|
161083
|
-
return this.decode(reader, reader.uint32());
|
|
161084
|
-
};
|
|
161085
|
-
|
|
161086
|
-
/**
|
|
161087
|
-
* Verifies a GuidedProgramDeleted message.
|
|
161088
|
-
* @function verify
|
|
161089
|
-
* @memberof GuidedProgramDeleted
|
|
161090
|
-
* @static
|
|
161091
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
161092
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
161093
|
-
*/
|
|
161094
|
-
GuidedProgramDeleted.verify = function verify(message) {
|
|
161095
|
-
if (typeof message !== "object" || message === null)
|
|
161096
|
-
return "object expected";
|
|
161097
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
161098
|
-
if (!$util.isString(message.slug))
|
|
161099
|
-
return "slug: string expected";
|
|
161100
|
-
return null;
|
|
161101
|
-
};
|
|
161102
|
-
|
|
161103
|
-
/**
|
|
161104
|
-
* Creates a GuidedProgramDeleted message from a plain object. Also converts values to their respective internal types.
|
|
161105
|
-
* @function fromObject
|
|
161106
|
-
* @memberof GuidedProgramDeleted
|
|
161107
|
-
* @static
|
|
161108
|
-
* @param {Object.<string,*>} object Plain object
|
|
161109
|
-
* @returns {GuidedProgramDeleted} GuidedProgramDeleted
|
|
161110
|
-
*/
|
|
161111
|
-
GuidedProgramDeleted.fromObject = function fromObject(object) {
|
|
161112
|
-
if (object instanceof $root.GuidedProgramDeleted)
|
|
161113
|
-
return object;
|
|
161114
|
-
var message = new $root.GuidedProgramDeleted();
|
|
161115
|
-
if (object.slug != null)
|
|
161116
|
-
message.slug = String(object.slug);
|
|
161117
|
-
return message;
|
|
161118
|
-
};
|
|
161119
|
-
|
|
161120
|
-
/**
|
|
161121
|
-
* Creates a plain object from a GuidedProgramDeleted message. Also converts values to other types if specified.
|
|
161122
|
-
* @function toObject
|
|
161123
|
-
* @memberof GuidedProgramDeleted
|
|
161124
|
-
* @static
|
|
161125
|
-
* @param {GuidedProgramDeleted} message GuidedProgramDeleted
|
|
161126
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
161127
|
-
* @returns {Object.<string,*>} Plain object
|
|
161128
|
-
*/
|
|
161129
|
-
GuidedProgramDeleted.toObject = function toObject(message, options) {
|
|
161130
|
-
if (!options)
|
|
161131
|
-
options = {};
|
|
161132
|
-
var object = {};
|
|
161133
|
-
if (options.defaults)
|
|
161134
|
-
object.slug = "";
|
|
161135
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
161136
|
-
object.slug = message.slug;
|
|
161137
|
-
return object;
|
|
161138
|
-
};
|
|
161139
|
-
|
|
161140
|
-
/**
|
|
161141
|
-
* Converts this GuidedProgramDeleted to JSON.
|
|
161142
|
-
* @function toJSON
|
|
161143
|
-
* @memberof GuidedProgramDeleted
|
|
161144
|
-
* @instance
|
|
161145
|
-
* @returns {Object.<string,*>} JSON object
|
|
161146
|
-
*/
|
|
161147
|
-
GuidedProgramDeleted.prototype.toJSON = function toJSON() {
|
|
161148
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
161149
|
-
};
|
|
161150
|
-
|
|
161151
|
-
return GuidedProgramDeleted;
|
|
161152
|
-
})();
|
|
161153
|
-
|
|
161154
160691
|
$root.InteractiveJournalingParticipant = (function() {
|
|
161155
160692
|
|
|
161156
160693
|
/**
|