@headspace/protos-events 1.222.0 → 1.224.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 CHANGED
@@ -3568,6 +3568,9 @@ export namespace b2b {
3568
3568
 
3569
3569
  /** B2BSubscriptionManagement isPilot */
3570
3570
  isPilot?: (boolean|null);
3571
+
3572
+ /** B2BSubscriptionManagement orgSubscriptionId */
3573
+ orgSubscriptionId?: (number|null);
3571
3574
  }
3572
3575
 
3573
3576
  /** Represents a B2BSubscriptionManagement. */
@@ -3600,6 +3603,9 @@ export namespace b2b {
3600
3603
  /** B2BSubscriptionManagement isPilot. */
3601
3604
  public isPilot: boolean;
3602
3605
 
3606
+ /** B2BSubscriptionManagement orgSubscriptionId. */
3607
+ public orgSubscriptionId: number;
3608
+
3603
3609
  /**
3604
3610
  * Creates a new B2BSubscriptionManagement instance using the specified properties.
3605
3611
  * @param [properties] Properties to set
@@ -6055,9 +6061,6 @@ export interface IContentfulPlaylistCreated {
6055
6061
 
6056
6062
  /** ContentfulPlaylistCreated variationContainer */
6057
6063
  variationContainer?: (contentful.ISlugReference|null);
6058
-
6059
- /** ContentfulPlaylistCreated tags */
6060
- tags?: ({ [k: string]: contentful.ITags }|null);
6061
6064
  }
6062
6065
 
6063
6066
  /** Represents a ContentfulPlaylistCreated. */
@@ -6108,9 +6111,6 @@ export class ContentfulPlaylistCreated implements IContentfulPlaylistCreated {
6108
6111
  /** ContentfulPlaylistCreated variationContainer. */
6109
6112
  public variationContainer?: (contentful.ISlugReference|null);
6110
6113
 
6111
- /** ContentfulPlaylistCreated tags. */
6112
- public tags: { [k: string]: contentful.ITags };
6113
-
6114
6114
  /**
6115
6115
  * Creates a new ContentfulPlaylistCreated instance using the specified properties.
6116
6116
  * @param [properties] Properties to set
@@ -6223,9 +6223,6 @@ export interface IContentfulPlaylistUpdated {
6223
6223
 
6224
6224
  /** ContentfulPlaylistUpdated variationContainer */
6225
6225
  variationContainer?: (contentful.ISlugReference|null);
6226
-
6227
- /** ContentfulPlaylistUpdated tags */
6228
- tags?: ({ [k: string]: contentful.ITags }|null);
6229
6226
  }
6230
6227
 
6231
6228
  /** Represents a ContentfulPlaylistUpdated. */
@@ -6276,9 +6273,6 @@ export class ContentfulPlaylistUpdated implements IContentfulPlaylistUpdated {
6276
6273
  /** ContentfulPlaylistUpdated variationContainer. */
6277
6274
  public variationContainer?: (contentful.ISlugReference|null);
6278
6275
 
6279
- /** ContentfulPlaylistUpdated tags. */
6280
- public tags: { [k: string]: contentful.ITags };
6281
-
6282
6276
  /**
6283
6277
  * Creates a new ContentfulPlaylistUpdated instance using the specified properties.
6284
6278
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -8135,6 +8135,7 @@ $root.b2b = (function() {
8135
8135
  * @property {number|Long|null} [dependentsPerEmployee] B2BSubscriptionManagement dependentsPerEmployee
8136
8136
  * @property {boolean|null} [isPartialPay] B2BSubscriptionManagement isPartialPay
8137
8137
  * @property {boolean|null} [isPilot] B2BSubscriptionManagement isPilot
8138
+ * @property {number|null} [orgSubscriptionId] B2BSubscriptionManagement orgSubscriptionId
8138
8139
  */
8139
8140
 
8140
8141
  /**
@@ -8208,6 +8209,14 @@ $root.b2b = (function() {
8208
8209
  */
8209
8210
  B2BSubscriptionManagement.prototype.isPilot = false;
8210
8211
 
8212
+ /**
8213
+ * B2BSubscriptionManagement orgSubscriptionId.
8214
+ * @member {number} orgSubscriptionId
8215
+ * @memberof b2b.B2BSubscriptionManagement
8216
+ * @instance
8217
+ */
8218
+ B2BSubscriptionManagement.prototype.orgSubscriptionId = 0;
8219
+
8211
8220
  /**
8212
8221
  * Creates a new B2BSubscriptionManagement instance using the specified properties.
8213
8222
  * @function create
@@ -8246,6 +8255,8 @@ $root.b2b = (function() {
8246
8255
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.isPartialPay);
8247
8256
  if (message.isPilot != null && message.hasOwnProperty("isPilot"))
8248
8257
  writer.uint32(/* id 7, wireType 0 =*/56).bool(message.isPilot);
8258
+ if (message.orgSubscriptionId != null && message.hasOwnProperty("orgSubscriptionId"))
8259
+ writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.orgSubscriptionId);
8249
8260
  return writer;
8250
8261
  };
8251
8262
 
@@ -8301,6 +8312,9 @@ $root.b2b = (function() {
8301
8312
  case 7:
8302
8313
  message.isPilot = reader.bool();
8303
8314
  break;
8315
+ case 8:
8316
+ message.orgSubscriptionId = reader.uint32();
8317
+ break;
8304
8318
  default:
8305
8319
  reader.skipType(tag & 7);
8306
8320
  break;
@@ -8357,6 +8371,9 @@ $root.b2b = (function() {
8357
8371
  if (message.isPilot != null && message.hasOwnProperty("isPilot"))
8358
8372
  if (typeof message.isPilot !== "boolean")
8359
8373
  return "isPilot: boolean expected";
8374
+ if (message.orgSubscriptionId != null && message.hasOwnProperty("orgSubscriptionId"))
8375
+ if (!$util.isInteger(message.orgSubscriptionId))
8376
+ return "orgSubscriptionId: integer expected";
8360
8377
  return null;
8361
8378
  };
8362
8379
 
@@ -8407,6 +8424,8 @@ $root.b2b = (function() {
8407
8424
  message.isPartialPay = Boolean(object.isPartialPay);
8408
8425
  if (object.isPilot != null)
8409
8426
  message.isPilot = Boolean(object.isPilot);
8427
+ if (object.orgSubscriptionId != null)
8428
+ message.orgSubscriptionId = object.orgSubscriptionId >>> 0;
8410
8429
  return message;
8411
8430
  };
8412
8431
 
@@ -8443,6 +8462,7 @@ $root.b2b = (function() {
8443
8462
  object.dependentsPerEmployee = options.longs === String ? "0" : 0;
8444
8463
  object.isPartialPay = false;
8445
8464
  object.isPilot = false;
8465
+ object.orgSubscriptionId = 0;
8446
8466
  }
8447
8467
  if (message.salesforceOpportunityId != null && message.hasOwnProperty("salesforceOpportunityId"))
8448
8468
  object.salesforceOpportunityId = message.salesforceOpportunityId;
@@ -8467,6 +8487,8 @@ $root.b2b = (function() {
8467
8487
  object.isPartialPay = message.isPartialPay;
8468
8488
  if (message.isPilot != null && message.hasOwnProperty("isPilot"))
8469
8489
  object.isPilot = message.isPilot;
8490
+ if (message.orgSubscriptionId != null && message.hasOwnProperty("orgSubscriptionId"))
8491
+ object.orgSubscriptionId = message.orgSubscriptionId;
8470
8492
  return object;
8471
8493
  };
8472
8494
 
@@ -14791,7 +14813,6 @@ $root.ContentfulPlaylistCreated = (function() {
14791
14813
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulPlaylistCreated accessGroups
14792
14814
  * @property {number|Long|null} [createdAt] ContentfulPlaylistCreated createdAt
14793
14815
  * @property {contentful.ISlugReference|null} [variationContainer] ContentfulPlaylistCreated variationContainer
14794
- * @property {Object.<string,contentful.ITags>|null} [tags] ContentfulPlaylistCreated tags
14795
14816
  */
14796
14817
 
14797
14818
  /**
@@ -14812,7 +14833,6 @@ $root.ContentfulPlaylistCreated = (function() {
14812
14833
  this.videoSegments = {};
14813
14834
  this.schedule = {};
14814
14835
  this.accessGroups = [];
14815
- this.tags = {};
14816
14836
  if (properties)
14817
14837
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
14818
14838
  if (properties[keys[i]] != null)
@@ -14923,14 +14943,6 @@ $root.ContentfulPlaylistCreated = (function() {
14923
14943
  */
14924
14944
  ContentfulPlaylistCreated.prototype.variationContainer = null;
14925
14945
 
14926
- /**
14927
- * ContentfulPlaylistCreated tags.
14928
- * @member {Object.<string,contentful.ITags>} tags
14929
- * @memberof ContentfulPlaylistCreated
14930
- * @instance
14931
- */
14932
- ContentfulPlaylistCreated.prototype.tags = $util.emptyObject;
14933
-
14934
14946
  /**
14935
14947
  * Creates a new ContentfulPlaylistCreated instance using the specified properties.
14936
14948
  * @function create
@@ -14994,11 +15006,6 @@ $root.ContentfulPlaylistCreated = (function() {
14994
15006
  writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.createdAt);
14995
15007
  if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
14996
15008
  $root.contentful.SlugReference.encode(message.variationContainer, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
14997
- if (message.tags != null && message.hasOwnProperty("tags"))
14998
- for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) {
14999
- writer.uint32(/* id 14, wireType 2 =*/114).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
15000
- $root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
15001
- }
15002
15009
  return writer;
15003
15010
  };
15004
15011
 
@@ -15114,14 +15121,6 @@ $root.ContentfulPlaylistCreated = (function() {
15114
15121
  case 13:
15115
15122
  message.variationContainer = $root.contentful.SlugReference.decode(reader, reader.uint32());
15116
15123
  break;
15117
- case 14:
15118
- reader.skip().pos++;
15119
- if (message.tags === $util.emptyObject)
15120
- message.tags = {};
15121
- key = reader.string();
15122
- reader.pos++;
15123
- message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
15124
- break;
15125
15124
  default:
15126
15125
  reader.skipType(tag & 7);
15127
15126
  break;
@@ -15248,16 +15247,6 @@ $root.ContentfulPlaylistCreated = (function() {
15248
15247
  if (error)
15249
15248
  return "variationContainer." + error;
15250
15249
  }
15251
- if (message.tags != null && message.hasOwnProperty("tags")) {
15252
- if (!$util.isObject(message.tags))
15253
- return "tags: object expected";
15254
- var key = Object.keys(message.tags);
15255
- for (var i = 0; i < key.length; ++i) {
15256
- var error = $root.contentful.Tags.verify(message.tags[key[i]]);
15257
- if (error)
15258
- return "tags." + error;
15259
- }
15260
- }
15261
15250
  return null;
15262
15251
  };
15263
15252
 
@@ -15363,16 +15352,6 @@ $root.ContentfulPlaylistCreated = (function() {
15363
15352
  throw TypeError(".ContentfulPlaylistCreated.variationContainer: object expected");
15364
15353
  message.variationContainer = $root.contentful.SlugReference.fromObject(object.variationContainer);
15365
15354
  }
15366
- if (object.tags) {
15367
- if (typeof object.tags !== "object")
15368
- throw TypeError(".ContentfulPlaylistCreated.tags: object expected");
15369
- message.tags = {};
15370
- for (var keys = Object.keys(object.tags), i = 0; i < keys.length; ++i) {
15371
- if (typeof object.tags[keys[i]] !== "object")
15372
- throw TypeError(".ContentfulPlaylistCreated.tags: object expected");
15373
- message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
15374
- }
15375
- }
15376
15355
  return message;
15377
15356
  };
15378
15357
 
@@ -15400,7 +15379,6 @@ $root.ContentfulPlaylistCreated = (function() {
15400
15379
  object.previewMedia = {};
15401
15380
  object.videoSegments = {};
15402
15381
  object.schedule = {};
15403
- object.tags = {};
15404
15382
  }
15405
15383
  if (options.defaults) {
15406
15384
  object.slug = "";
@@ -15469,11 +15447,6 @@ $root.ContentfulPlaylistCreated = (function() {
15469
15447
  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;
15470
15448
  if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
15471
15449
  object.variationContainer = $root.contentful.SlugReference.toObject(message.variationContainer, options);
15472
- if (message.tags && (keys2 = Object.keys(message.tags)).length) {
15473
- object.tags = {};
15474
- for (var j = 0; j < keys2.length; ++j)
15475
- object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
15476
- }
15477
15450
  return object;
15478
15451
  };
15479
15452
 
@@ -15510,7 +15483,6 @@ $root.ContentfulPlaylistUpdated = (function() {
15510
15483
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulPlaylistUpdated accessGroups
15511
15484
  * @property {number|Long|null} [updatedAt] ContentfulPlaylistUpdated updatedAt
15512
15485
  * @property {contentful.ISlugReference|null} [variationContainer] ContentfulPlaylistUpdated variationContainer
15513
- * @property {Object.<string,contentful.ITags>|null} [tags] ContentfulPlaylistUpdated tags
15514
15486
  */
15515
15487
 
15516
15488
  /**
@@ -15531,7 +15503,6 @@ $root.ContentfulPlaylistUpdated = (function() {
15531
15503
  this.videoSegments = {};
15532
15504
  this.schedule = {};
15533
15505
  this.accessGroups = [];
15534
- this.tags = {};
15535
15506
  if (properties)
15536
15507
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
15537
15508
  if (properties[keys[i]] != null)
@@ -15642,14 +15613,6 @@ $root.ContentfulPlaylistUpdated = (function() {
15642
15613
  */
15643
15614
  ContentfulPlaylistUpdated.prototype.variationContainer = null;
15644
15615
 
15645
- /**
15646
- * ContentfulPlaylistUpdated tags.
15647
- * @member {Object.<string,contentful.ITags>} tags
15648
- * @memberof ContentfulPlaylistUpdated
15649
- * @instance
15650
- */
15651
- ContentfulPlaylistUpdated.prototype.tags = $util.emptyObject;
15652
-
15653
15616
  /**
15654
15617
  * Creates a new ContentfulPlaylistUpdated instance using the specified properties.
15655
15618
  * @function create
@@ -15713,11 +15676,6 @@ $root.ContentfulPlaylistUpdated = (function() {
15713
15676
  writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.updatedAt);
15714
15677
  if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
15715
15678
  $root.contentful.SlugReference.encode(message.variationContainer, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
15716
- if (message.tags != null && message.hasOwnProperty("tags"))
15717
- for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) {
15718
- writer.uint32(/* id 14, wireType 2 =*/114).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
15719
- $root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
15720
- }
15721
15679
  return writer;
15722
15680
  };
15723
15681
 
@@ -15833,14 +15791,6 @@ $root.ContentfulPlaylistUpdated = (function() {
15833
15791
  case 13:
15834
15792
  message.variationContainer = $root.contentful.SlugReference.decode(reader, reader.uint32());
15835
15793
  break;
15836
- case 14:
15837
- reader.skip().pos++;
15838
- if (message.tags === $util.emptyObject)
15839
- message.tags = {};
15840
- key = reader.string();
15841
- reader.pos++;
15842
- message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
15843
- break;
15844
15794
  default:
15845
15795
  reader.skipType(tag & 7);
15846
15796
  break;
@@ -15967,16 +15917,6 @@ $root.ContentfulPlaylistUpdated = (function() {
15967
15917
  if (error)
15968
15918
  return "variationContainer." + error;
15969
15919
  }
15970
- if (message.tags != null && message.hasOwnProperty("tags")) {
15971
- if (!$util.isObject(message.tags))
15972
- return "tags: object expected";
15973
- var key = Object.keys(message.tags);
15974
- for (var i = 0; i < key.length; ++i) {
15975
- var error = $root.contentful.Tags.verify(message.tags[key[i]]);
15976
- if (error)
15977
- return "tags." + error;
15978
- }
15979
- }
15980
15920
  return null;
15981
15921
  };
15982
15922
 
@@ -16082,16 +16022,6 @@ $root.ContentfulPlaylistUpdated = (function() {
16082
16022
  throw TypeError(".ContentfulPlaylistUpdated.variationContainer: object expected");
16083
16023
  message.variationContainer = $root.contentful.SlugReference.fromObject(object.variationContainer);
16084
16024
  }
16085
- if (object.tags) {
16086
- if (typeof object.tags !== "object")
16087
- throw TypeError(".ContentfulPlaylistUpdated.tags: object expected");
16088
- message.tags = {};
16089
- for (var keys = Object.keys(object.tags), i = 0; i < keys.length; ++i) {
16090
- if (typeof object.tags[keys[i]] !== "object")
16091
- throw TypeError(".ContentfulPlaylistUpdated.tags: object expected");
16092
- message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
16093
- }
16094
- }
16095
16025
  return message;
16096
16026
  };
16097
16027
 
@@ -16119,7 +16049,6 @@ $root.ContentfulPlaylistUpdated = (function() {
16119
16049
  object.previewMedia = {};
16120
16050
  object.videoSegments = {};
16121
16051
  object.schedule = {};
16122
- object.tags = {};
16123
16052
  }
16124
16053
  if (options.defaults) {
16125
16054
  object.slug = "";
@@ -16188,11 +16117,6 @@ $root.ContentfulPlaylistUpdated = (function() {
16188
16117
  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;
16189
16118
  if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
16190
16119
  object.variationContainer = $root.contentful.SlugReference.toObject(message.variationContainer, options);
16191
- if (message.tags && (keys2 = Object.keys(message.tags)).length) {
16192
- object.tags = {};
16193
- for (var j = 0; j < keys2.length; ++j)
16194
- object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
16195
- }
16196
16120
  return object;
16197
16121
  };
16198
16122
 
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.222.0"
19
+ "version": "1.224.0"
20
20
  }