@headspace/protos-events 1.119.0 → 1.120.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
@@ -10894,6 +10894,9 @@ export interface ISubscriptionCreated {
10894
10894
 
10895
10895
  /** SubscriptionCreated labels */
10896
10896
  labels?: (subscription.SubscriptionLabels[]|null);
10897
+
10898
+ /** SubscriptionCreated isQueuedSubscription */
10899
+ isQueuedSubscription?: (boolean|null);
10897
10900
  }
10898
10901
 
10899
10902
  /** Represents a SubscriptionCreated. */
@@ -10941,6 +10944,9 @@ export class SubscriptionCreated implements ISubscriptionCreated {
10941
10944
  /** SubscriptionCreated labels. */
10942
10945
  public labels: subscription.SubscriptionLabels[];
10943
10946
 
10947
+ /** SubscriptionCreated isQueuedSubscription. */
10948
+ public isQueuedSubscription: boolean;
10949
+
10944
10950
  /**
10945
10951
  * Creates a new SubscriptionCreated instance using the specified properties.
10946
10952
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -27834,6 +27834,7 @@ $root.SubscriptionCreated = (function() {
27834
27834
  * @property {subscription.IPlan|null} [plan] SubscriptionCreated plan
27835
27835
  * @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionCreated subscriptionState
27836
27836
  * @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionCreated labels
27837
+ * @property {boolean|null} [isQueuedSubscription] SubscriptionCreated isQueuedSubscription
27837
27838
  */
27838
27839
 
27839
27840
  /**
@@ -27948,6 +27949,14 @@ $root.SubscriptionCreated = (function() {
27948
27949
  */
27949
27950
  SubscriptionCreated.prototype.labels = $util.emptyArray;
27950
27951
 
27952
+ /**
27953
+ * SubscriptionCreated isQueuedSubscription.
27954
+ * @member {boolean} isQueuedSubscription
27955
+ * @memberof SubscriptionCreated
27956
+ * @instance
27957
+ */
27958
+ SubscriptionCreated.prototype.isQueuedSubscription = false;
27959
+
27951
27960
  /**
27952
27961
  * Creates a new SubscriptionCreated instance using the specified properties.
27953
27962
  * @function create
@@ -28000,6 +28009,8 @@ $root.SubscriptionCreated = (function() {
28000
28009
  writer.int32(message.labels[i]);
28001
28010
  writer.ldelim();
28002
28011
  }
28012
+ if (message.isQueuedSubscription != null && message.hasOwnProperty("isQueuedSubscription"))
28013
+ writer.uint32(/* id 13, wireType 0 =*/104).bool(message.isQueuedSubscription);
28003
28014
  return writer;
28004
28015
  };
28005
28016
 
@@ -28077,6 +28088,9 @@ $root.SubscriptionCreated = (function() {
28077
28088
  } else
28078
28089
  message.labels.push(reader.int32());
28079
28090
  break;
28091
+ case 13:
28092
+ message.isQueuedSubscription = reader.bool();
28093
+ break;
28080
28094
  default:
28081
28095
  reader.skipType(tag & 7);
28082
28096
  break;
@@ -28183,6 +28197,9 @@ $root.SubscriptionCreated = (function() {
28183
28197
  break;
28184
28198
  }
28185
28199
  }
28200
+ if (message.isQueuedSubscription != null && message.hasOwnProperty("isQueuedSubscription"))
28201
+ if (typeof message.isQueuedSubscription !== "boolean")
28202
+ return "isQueuedSubscription: boolean expected";
28186
28203
  return null;
28187
28204
  };
28188
28205
 
@@ -28328,6 +28345,8 @@ $root.SubscriptionCreated = (function() {
28328
28345
  break;
28329
28346
  }
28330
28347
  }
28348
+ if (object.isQueuedSubscription != null)
28349
+ message.isQueuedSubscription = Boolean(object.isQueuedSubscription);
28331
28350
  return message;
28332
28351
  };
28333
28352
 
@@ -28374,6 +28393,7 @@ $root.SubscriptionCreated = (function() {
28374
28393
  object.autoRenewalStatus = options.enums === String ? "UNKNOWN_STATUS" : 0;
28375
28394
  object.plan = null;
28376
28395
  object.subscriptionState = options.enums === String ? "SUBSTATE_UNKNOWN" : 0;
28396
+ object.isQueuedSubscription = false;
28377
28397
  }
28378
28398
  if (message.id != null && message.hasOwnProperty("id"))
28379
28399
  object.id = message.id;
@@ -28414,6 +28434,8 @@ $root.SubscriptionCreated = (function() {
28414
28434
  for (var j = 0; j < message.labels.length; ++j)
28415
28435
  object.labels[j] = options.enums === String ? $root.subscription.SubscriptionLabels[message.labels[j]] : message.labels[j];
28416
28436
  }
28437
+ if (message.isQueuedSubscription != null && message.hasOwnProperty("isQueuedSubscription"))
28438
+ object.isQueuedSubscription = message.isQueuedSubscription;
28417
28439
  return object;
28418
28440
  };
28419
28441
 
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.119.0"
19
+ "version": "1.120.0"
20
20
  }