@headspace/protos-events 1.477.0 → 1.479.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 +5 -19
- package/lib/index.js +68 -66
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -24717,7 +24717,11 @@ export enum ContentTypeDisplayValue {
|
|
|
24717
24717
|
CONTENT_TYPE_DISPLAY_VALUE_STRETCH = 22,
|
|
24718
24718
|
CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN = 23,
|
|
24719
24719
|
CONTENT_TYPE_DISPLAY_VALUE_SESSION = 24,
|
|
24720
|
-
CONTENT_TYPE_DISPLAY_VALUE_COLLECTION = 25
|
|
24720
|
+
CONTENT_TYPE_DISPLAY_VALUE_COLLECTION = 25,
|
|
24721
|
+
CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SEGMENT = 26,
|
|
24722
|
+
CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SESSION = 27,
|
|
24723
|
+
CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT = 28,
|
|
24724
|
+
CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT = 29
|
|
24721
24725
|
}
|
|
24722
24726
|
|
|
24723
24727
|
/** Properties of a ContentPlayedMetadata. */
|
|
@@ -42791,9 +42795,6 @@ export interface ISubscriptionCreated {
|
|
|
42791
42795
|
|
|
42792
42796
|
/** SubscriptionCreated productSku */
|
|
42793
42797
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42794
|
-
|
|
42795
|
-
/** SubscriptionCreated orgId */
|
|
42796
|
-
orgId?: (number|null);
|
|
42797
42798
|
}
|
|
42798
42799
|
|
|
42799
42800
|
/** Represents a SubscriptionCreated. */
|
|
@@ -42853,9 +42854,6 @@ export class SubscriptionCreated implements ISubscriptionCreated {
|
|
|
42853
42854
|
/** SubscriptionCreated productSku. */
|
|
42854
42855
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42855
42856
|
|
|
42856
|
-
/** SubscriptionCreated orgId. */
|
|
42857
|
-
public orgId: number;
|
|
42858
|
-
|
|
42859
42857
|
/**
|
|
42860
42858
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
42861
42859
|
* @param [properties] Properties to set
|
|
@@ -42983,9 +42981,6 @@ export interface ISubscriptionCancelled {
|
|
|
42983
42981
|
|
|
42984
42982
|
/** SubscriptionCancelled productSku */
|
|
42985
42983
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42986
|
-
|
|
42987
|
-
/** SubscriptionCancelled orgId */
|
|
42988
|
-
orgId?: (number|null);
|
|
42989
42984
|
}
|
|
42990
42985
|
|
|
42991
42986
|
/** Represents a SubscriptionCancelled. */
|
|
@@ -43051,9 +43046,6 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
43051
43046
|
/** SubscriptionCancelled productSku. */
|
|
43052
43047
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
43053
43048
|
|
|
43054
|
-
/** SubscriptionCancelled orgId. */
|
|
43055
|
-
public orgId: number;
|
|
43056
|
-
|
|
43057
43049
|
/**
|
|
43058
43050
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
43059
43051
|
* @param [properties] Properties to set
|
|
@@ -44447,9 +44439,6 @@ export interface ISubscriptionAmended {
|
|
|
44447
44439
|
|
|
44448
44440
|
/** SubscriptionAmended productSku */
|
|
44449
44441
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
44450
|
-
|
|
44451
|
-
/** SubscriptionAmended orgId */
|
|
44452
|
-
orgId?: (number|null);
|
|
44453
44442
|
}
|
|
44454
44443
|
|
|
44455
44444
|
/** Represents a SubscriptionAmended. */
|
|
@@ -44509,9 +44498,6 @@ export class SubscriptionAmended implements ISubscriptionAmended {
|
|
|
44509
44498
|
/** SubscriptionAmended productSku. */
|
|
44510
44499
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
44511
44500
|
|
|
44512
|
-
/** SubscriptionAmended orgId. */
|
|
44513
|
-
public orgId: number;
|
|
44514
|
-
|
|
44515
44501
|
/**
|
|
44516
44502
|
* Creates a new SubscriptionAmended instance using the specified properties.
|
|
44517
44503
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -67803,6 +67803,10 @@ $root.ColorTheme = (function() {
|
|
|
67803
67803
|
* @property {number} CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN=23 CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN value
|
|
67804
67804
|
* @property {number} CONTENT_TYPE_DISPLAY_VALUE_SESSION=24 CONTENT_TYPE_DISPLAY_VALUE_SESSION value
|
|
67805
67805
|
* @property {number} CONTENT_TYPE_DISPLAY_VALUE_COLLECTION=25 CONTENT_TYPE_DISPLAY_VALUE_COLLECTION value
|
|
67806
|
+
* @property {number} CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SEGMENT=26 CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SEGMENT value
|
|
67807
|
+
* @property {number} CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SESSION=27 CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SESSION value
|
|
67808
|
+
* @property {number} CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT=28 CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT value
|
|
67809
|
+
* @property {number} CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT=29 CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT value
|
|
67806
67810
|
*/
|
|
67807
67811
|
$root.ContentTypeDisplayValue = (function() {
|
|
67808
67812
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -67832,6 +67836,10 @@ $root.ContentTypeDisplayValue = (function() {
|
|
|
67832
67836
|
values[valuesById[23] = "CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN"] = 23;
|
|
67833
67837
|
values[valuesById[24] = "CONTENT_TYPE_DISPLAY_VALUE_SESSION"] = 24;
|
|
67834
67838
|
values[valuesById[25] = "CONTENT_TYPE_DISPLAY_VALUE_COLLECTION"] = 25;
|
|
67839
|
+
values[valuesById[26] = "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SEGMENT"] = 26;
|
|
67840
|
+
values[valuesById[27] = "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SESSION"] = 27;
|
|
67841
|
+
values[valuesById[28] = "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT"] = 28;
|
|
67842
|
+
values[valuesById[29] = "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT"] = 29;
|
|
67835
67843
|
return values;
|
|
67836
67844
|
})();
|
|
67837
67845
|
|
|
@@ -69970,6 +69978,10 @@ $root.ContentEntityCreated = (function() {
|
|
|
69970
69978
|
case 23:
|
|
69971
69979
|
case 24:
|
|
69972
69980
|
case 25:
|
|
69981
|
+
case 26:
|
|
69982
|
+
case 27:
|
|
69983
|
+
case 28:
|
|
69984
|
+
case 29:
|
|
69973
69985
|
break;
|
|
69974
69986
|
}
|
|
69975
69987
|
if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
|
|
@@ -70259,6 +70271,22 @@ $root.ContentEntityCreated = (function() {
|
|
|
70259
70271
|
case 25:
|
|
70260
70272
|
message.contentTypeDisplayValue = 25;
|
|
70261
70273
|
break;
|
|
70274
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SEGMENT":
|
|
70275
|
+
case 26:
|
|
70276
|
+
message.contentTypeDisplayValue = 26;
|
|
70277
|
+
break;
|
|
70278
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SESSION":
|
|
70279
|
+
case 27:
|
|
70280
|
+
message.contentTypeDisplayValue = 27;
|
|
70281
|
+
break;
|
|
70282
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT":
|
|
70283
|
+
case 28:
|
|
70284
|
+
message.contentTypeDisplayValue = 28;
|
|
70285
|
+
break;
|
|
70286
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT":
|
|
70287
|
+
case 29:
|
|
70288
|
+
message.contentTypeDisplayValue = 29;
|
|
70289
|
+
break;
|
|
70262
70290
|
}
|
|
70263
70291
|
switch (object.contentInfoScreenTheme) {
|
|
70264
70292
|
case "COLOR_THEME_UNRECOGNIZED":
|
|
@@ -71010,6 +71038,10 @@ $root.ContentEntityUpdated = (function() {
|
|
|
71010
71038
|
case 23:
|
|
71011
71039
|
case 24:
|
|
71012
71040
|
case 25:
|
|
71041
|
+
case 26:
|
|
71042
|
+
case 27:
|
|
71043
|
+
case 28:
|
|
71044
|
+
case 29:
|
|
71013
71045
|
break;
|
|
71014
71046
|
}
|
|
71015
71047
|
if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
|
|
@@ -71299,6 +71331,22 @@ $root.ContentEntityUpdated = (function() {
|
|
|
71299
71331
|
case 25:
|
|
71300
71332
|
message.contentTypeDisplayValue = 25;
|
|
71301
71333
|
break;
|
|
71334
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SEGMENT":
|
|
71335
|
+
case 26:
|
|
71336
|
+
message.contentTypeDisplayValue = 26;
|
|
71337
|
+
break;
|
|
71338
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SESSION":
|
|
71339
|
+
case 27:
|
|
71340
|
+
message.contentTypeDisplayValue = 27;
|
|
71341
|
+
break;
|
|
71342
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT":
|
|
71343
|
+
case 28:
|
|
71344
|
+
message.contentTypeDisplayValue = 28;
|
|
71345
|
+
break;
|
|
71346
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT":
|
|
71347
|
+
case 29:
|
|
71348
|
+
message.contentTypeDisplayValue = 29;
|
|
71349
|
+
break;
|
|
71302
71350
|
}
|
|
71303
71351
|
switch (object.contentInfoScreenTheme) {
|
|
71304
71352
|
case "COLOR_THEME_UNRECOGNIZED":
|
|
@@ -72050,6 +72098,10 @@ $root.ContentEntityDeleted = (function() {
|
|
|
72050
72098
|
case 23:
|
|
72051
72099
|
case 24:
|
|
72052
72100
|
case 25:
|
|
72101
|
+
case 26:
|
|
72102
|
+
case 27:
|
|
72103
|
+
case 28:
|
|
72104
|
+
case 29:
|
|
72053
72105
|
break;
|
|
72054
72106
|
}
|
|
72055
72107
|
if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
|
|
@@ -72339,6 +72391,22 @@ $root.ContentEntityDeleted = (function() {
|
|
|
72339
72391
|
case 25:
|
|
72340
72392
|
message.contentTypeDisplayValue = 25;
|
|
72341
72393
|
break;
|
|
72394
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SEGMENT":
|
|
72395
|
+
case 26:
|
|
72396
|
+
message.contentTypeDisplayValue = 26;
|
|
72397
|
+
break;
|
|
72398
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_SESSION":
|
|
72399
|
+
case 27:
|
|
72400
|
+
message.contentTypeDisplayValue = 27;
|
|
72401
|
+
break;
|
|
72402
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_REQUIRED_CONTENT":
|
|
72403
|
+
case 28:
|
|
72404
|
+
message.contentTypeDisplayValue = 28;
|
|
72405
|
+
break;
|
|
72406
|
+
case "CONTENT_TYPE_DISPLAY_VALUE_GUIDED_PROGRAM_BONUS_CONTENT":
|
|
72407
|
+
case 29:
|
|
72408
|
+
message.contentTypeDisplayValue = 29;
|
|
72409
|
+
break;
|
|
72342
72410
|
}
|
|
72343
72411
|
switch (object.contentInfoScreenTheme) {
|
|
72344
72412
|
case "COLOR_THEME_UNRECOGNIZED":
|
|
@@ -119932,7 +120000,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
119932
120000
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCreated terms
|
|
119933
120001
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCreated membership
|
|
119934
120002
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCreated productSku
|
|
119935
|
-
* @property {number|null} [orgId] SubscriptionCreated orgId
|
|
119936
120003
|
*/
|
|
119937
120004
|
|
|
119938
120005
|
/**
|
|
@@ -120080,14 +120147,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120080
120147
|
*/
|
|
120081
120148
|
SubscriptionCreated.prototype.productSku = null;
|
|
120082
120149
|
|
|
120083
|
-
/**
|
|
120084
|
-
* SubscriptionCreated orgId.
|
|
120085
|
-
* @member {number} orgId
|
|
120086
|
-
* @memberof SubscriptionCreated
|
|
120087
|
-
* @instance
|
|
120088
|
-
*/
|
|
120089
|
-
SubscriptionCreated.prototype.orgId = 0;
|
|
120090
|
-
|
|
120091
120150
|
/**
|
|
120092
120151
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
120093
120152
|
* @function create
|
|
@@ -120149,8 +120208,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120149
120208
|
writer.uint32(/* id 15, wireType 0 =*/120).int32(message.membership);
|
|
120150
120209
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
120151
120210
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
120152
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120153
|
-
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.orgId);
|
|
120154
120211
|
return writer;
|
|
120155
120212
|
};
|
|
120156
120213
|
|
|
@@ -120242,9 +120299,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120242
120299
|
case 16:
|
|
120243
120300
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
120244
120301
|
break;
|
|
120245
|
-
case 17:
|
|
120246
|
-
message.orgId = reader.int32();
|
|
120247
|
-
break;
|
|
120248
120302
|
default:
|
|
120249
120303
|
reader.skipType(tag & 7);
|
|
120250
120304
|
break;
|
|
@@ -120377,9 +120431,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120377
120431
|
if (error)
|
|
120378
120432
|
return "productSku." + error;
|
|
120379
120433
|
}
|
|
120380
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120381
|
-
if (!$util.isInteger(message.orgId))
|
|
120382
|
-
return "orgId: integer expected";
|
|
120383
120434
|
return null;
|
|
120384
120435
|
};
|
|
120385
120436
|
|
|
@@ -120556,8 +120607,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120556
120607
|
throw TypeError(".SubscriptionCreated.productSku: object expected");
|
|
120557
120608
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
120558
120609
|
}
|
|
120559
|
-
if (object.orgId != null)
|
|
120560
|
-
message.orgId = object.orgId | 0;
|
|
120561
120610
|
return message;
|
|
120562
120611
|
};
|
|
120563
120612
|
|
|
@@ -120609,7 +120658,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120609
120658
|
object.isQueuedSubscription = false;
|
|
120610
120659
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
120611
120660
|
object.productSku = null;
|
|
120612
|
-
object.orgId = 0;
|
|
120613
120661
|
}
|
|
120614
120662
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
120615
120663
|
object.id = message.id;
|
|
@@ -120661,8 +120709,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120661
120709
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
120662
120710
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
120663
120711
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
120664
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120665
|
-
object.orgId = message.orgId;
|
|
120666
120712
|
return object;
|
|
120667
120713
|
};
|
|
120668
120714
|
|
|
@@ -120704,7 +120750,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
120704
120750
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCancelled terms
|
|
120705
120751
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCancelled membership
|
|
120706
120752
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCancelled productSku
|
|
120707
|
-
* @property {number|null} [orgId] SubscriptionCancelled orgId
|
|
120708
120753
|
*/
|
|
120709
120754
|
|
|
120710
120755
|
/**
|
|
@@ -120868,14 +120913,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
120868
120913
|
*/
|
|
120869
120914
|
SubscriptionCancelled.prototype.productSku = null;
|
|
120870
120915
|
|
|
120871
|
-
/**
|
|
120872
|
-
* SubscriptionCancelled orgId.
|
|
120873
|
-
* @member {number} orgId
|
|
120874
|
-
* @memberof SubscriptionCancelled
|
|
120875
|
-
* @instance
|
|
120876
|
-
*/
|
|
120877
|
-
SubscriptionCancelled.prototype.orgId = 0;
|
|
120878
|
-
|
|
120879
120916
|
/**
|
|
120880
120917
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
120881
120918
|
* @function create
|
|
@@ -120941,8 +120978,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
120941
120978
|
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.membership);
|
|
120942
120979
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
120943
120980
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
120944
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120945
|
-
writer.uint32(/* id 19, wireType 0 =*/152).int32(message.orgId);
|
|
120946
120981
|
return writer;
|
|
120947
120982
|
};
|
|
120948
120983
|
|
|
@@ -121040,9 +121075,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121040
121075
|
case 18:
|
|
121041
121076
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
121042
121077
|
break;
|
|
121043
|
-
case 19:
|
|
121044
|
-
message.orgId = reader.int32();
|
|
121045
|
-
break;
|
|
121046
121078
|
default:
|
|
121047
121079
|
reader.skipType(tag & 7);
|
|
121048
121080
|
break;
|
|
@@ -121189,9 +121221,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121189
121221
|
if (error)
|
|
121190
121222
|
return "productSku." + error;
|
|
121191
121223
|
}
|
|
121192
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
121193
|
-
if (!$util.isInteger(message.orgId))
|
|
121194
|
-
return "orgId: integer expected";
|
|
121195
121224
|
return null;
|
|
121196
121225
|
};
|
|
121197
121226
|
|
|
@@ -121394,8 +121423,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121394
121423
|
throw TypeError(".SubscriptionCancelled.productSku: object expected");
|
|
121395
121424
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
121396
121425
|
}
|
|
121397
|
-
if (object.orgId != null)
|
|
121398
|
-
message.orgId = object.orgId | 0;
|
|
121399
121426
|
return message;
|
|
121400
121427
|
};
|
|
121401
121428
|
|
|
@@ -121453,7 +121480,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121453
121480
|
object.renewalCount = options.longs === String ? "0" : 0;
|
|
121454
121481
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
121455
121482
|
object.productSku = null;
|
|
121456
|
-
object.orgId = 0;
|
|
121457
121483
|
}
|
|
121458
121484
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
121459
121485
|
object.id = message.id;
|
|
@@ -121512,8 +121538,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121512
121538
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
121513
121539
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
121514
121540
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
121515
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
121516
|
-
object.orgId = message.orgId;
|
|
121517
121541
|
return object;
|
|
121518
121542
|
};
|
|
121519
121543
|
|
|
@@ -126425,7 +126449,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126425
126449
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionAmended terms
|
|
126426
126450
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionAmended membership
|
|
126427
126451
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionAmended productSku
|
|
126428
|
-
* @property {number|null} [orgId] SubscriptionAmended orgId
|
|
126429
126452
|
*/
|
|
126430
126453
|
|
|
126431
126454
|
/**
|
|
@@ -126573,14 +126596,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126573
126596
|
*/
|
|
126574
126597
|
SubscriptionAmended.prototype.productSku = null;
|
|
126575
126598
|
|
|
126576
|
-
/**
|
|
126577
|
-
* SubscriptionAmended orgId.
|
|
126578
|
-
* @member {number} orgId
|
|
126579
|
-
* @memberof SubscriptionAmended
|
|
126580
|
-
* @instance
|
|
126581
|
-
*/
|
|
126582
|
-
SubscriptionAmended.prototype.orgId = 0;
|
|
126583
|
-
|
|
126584
126599
|
/**
|
|
126585
126600
|
* Creates a new SubscriptionAmended instance using the specified properties.
|
|
126586
126601
|
* @function create
|
|
@@ -126642,8 +126657,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126642
126657
|
writer.uint32(/* id 16, wireType 0 =*/128).int32(message.membership);
|
|
126643
126658
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
126644
126659
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
126645
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
126646
|
-
writer.uint32(/* id 18, wireType 0 =*/144).int32(message.orgId);
|
|
126647
126660
|
return writer;
|
|
126648
126661
|
};
|
|
126649
126662
|
|
|
@@ -126735,9 +126748,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126735
126748
|
case 17:
|
|
126736
126749
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
126737
126750
|
break;
|
|
126738
|
-
case 18:
|
|
126739
|
-
message.orgId = reader.int32();
|
|
126740
|
-
break;
|
|
126741
126751
|
default:
|
|
126742
126752
|
reader.skipType(tag & 7);
|
|
126743
126753
|
break;
|
|
@@ -126870,9 +126880,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126870
126880
|
if (error)
|
|
126871
126881
|
return "productSku." + error;
|
|
126872
126882
|
}
|
|
126873
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
126874
|
-
if (!$util.isInteger(message.orgId))
|
|
126875
|
-
return "orgId: integer expected";
|
|
126876
126883
|
return null;
|
|
126877
126884
|
};
|
|
126878
126885
|
|
|
@@ -127056,8 +127063,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
127056
127063
|
throw TypeError(".SubscriptionAmended.productSku: object expected");
|
|
127057
127064
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
127058
127065
|
}
|
|
127059
|
-
if (object.orgId != null)
|
|
127060
|
-
message.orgId = object.orgId | 0;
|
|
127061
127066
|
return message;
|
|
127062
127067
|
};
|
|
127063
127068
|
|
|
@@ -127113,7 +127118,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
127113
127118
|
object.id = 0;
|
|
127114
127119
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
127115
127120
|
object.productSku = null;
|
|
127116
|
-
object.orgId = 0;
|
|
127117
127121
|
}
|
|
127118
127122
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
127119
127123
|
if (typeof message.updatedOn === "number")
|
|
@@ -127168,8 +127172,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
127168
127172
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
127169
127173
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
127170
127174
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
127171
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
127172
|
-
object.orgId = message.orgId;
|
|
127173
127175
|
return object;
|
|
127174
127176
|
};
|
|
127175
127177
|
|
package/package.json
CHANGED