@headspace/protos-events 1.466.0 → 1.468.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
@@ -33516,6 +33516,9 @@ export interface IElfRecordPresent {
33516
33516
  /** ElfRecordPresent isMemberMigrated */
33517
33517
  isMemberMigrated?: (boolean|null);
33518
33518
 
33519
+ /** ElfRecordPresent priorB2bOrgId */
33520
+ priorB2bOrgId?: (string|null);
33521
+
33519
33522
  /** ElfRecordPresent isDryRun */
33520
33523
  isDryRun?: (boolean|null);
33521
33524
 
@@ -33604,6 +33607,9 @@ export class ElfRecordPresent implements IElfRecordPresent {
33604
33607
  /** ElfRecordPresent isMemberMigrated. */
33605
33608
  public isMemberMigrated: boolean;
33606
33609
 
33610
+ /** ElfRecordPresent priorB2bOrgId. */
33611
+ public priorB2bOrgId: string;
33612
+
33607
33613
  /** ElfRecordPresent isDryRun. */
33608
33614
  public isDryRun: boolean;
33609
33615
 
@@ -42324,6 +42330,9 @@ export interface ISubscriptionCreated {
42324
42330
 
42325
42331
  /** SubscriptionCreated productSku */
42326
42332
  productSku?: (subscription.ISubscriptionProductSku|null);
42333
+
42334
+ /** SubscriptionCreated orgId */
42335
+ orgId?: (number|null);
42327
42336
  }
42328
42337
 
42329
42338
  /** Represents a SubscriptionCreated. */
@@ -42383,6 +42392,9 @@ export class SubscriptionCreated implements ISubscriptionCreated {
42383
42392
  /** SubscriptionCreated productSku. */
42384
42393
  public productSku?: (subscription.ISubscriptionProductSku|null);
42385
42394
 
42395
+ /** SubscriptionCreated orgId. */
42396
+ public orgId: number;
42397
+
42386
42398
  /**
42387
42399
  * Creates a new SubscriptionCreated instance using the specified properties.
42388
42400
  * @param [properties] Properties to set
@@ -42510,6 +42522,9 @@ export interface ISubscriptionCancelled {
42510
42522
 
42511
42523
  /** SubscriptionCancelled productSku */
42512
42524
  productSku?: (subscription.ISubscriptionProductSku|null);
42525
+
42526
+ /** SubscriptionCancelled orgId */
42527
+ orgId?: (number|null);
42513
42528
  }
42514
42529
 
42515
42530
  /** Represents a SubscriptionCancelled. */
@@ -42575,6 +42590,9 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
42575
42590
  /** SubscriptionCancelled productSku. */
42576
42591
  public productSku?: (subscription.ISubscriptionProductSku|null);
42577
42592
 
42593
+ /** SubscriptionCancelled orgId. */
42594
+ public orgId: number;
42595
+
42578
42596
  /**
42579
42597
  * Creates a new SubscriptionCancelled instance using the specified properties.
42580
42598
  * @param [properties] Properties to set
@@ -43968,6 +43986,9 @@ export interface ISubscriptionAmended {
43968
43986
 
43969
43987
  /** SubscriptionAmended productSku */
43970
43988
  productSku?: (subscription.ISubscriptionProductSku|null);
43989
+
43990
+ /** SubscriptionAmended orgId */
43991
+ orgId?: (number|null);
43971
43992
  }
43972
43993
 
43973
43994
  /** Represents a SubscriptionAmended. */
@@ -44027,6 +44048,9 @@ export class SubscriptionAmended implements ISubscriptionAmended {
44027
44048
  /** SubscriptionAmended productSku. */
44028
44049
  public productSku?: (subscription.ISubscriptionProductSku|null);
44029
44050
 
44051
+ /** SubscriptionAmended orgId. */
44052
+ public orgId: number;
44053
+
44030
44054
  /**
44031
44055
  * Creates a new SubscriptionAmended instance using the specified properties.
44032
44056
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -92544,6 +92544,7 @@ $root.ElfRecordPresent = (function() {
92544
92544
  * @property {string|null} [rootOrgHeadspaceHealthId] ElfRecordPresent rootOrgHeadspaceHealthId
92545
92545
  * @property {string|null} [rootOrgId] ElfRecordPresent rootOrgId
92546
92546
  * @property {boolean|null} [isMemberMigrated] ElfRecordPresent isMemberMigrated
92547
+ * @property {string|null} [priorB2bOrgId] ElfRecordPresent priorB2bOrgId
92547
92548
  * @property {boolean|null} [isDryRun] ElfRecordPresent isDryRun
92548
92549
  * @property {boolean|null} [gingerShouldProcess] ElfRecordPresent gingerShouldProcess
92549
92550
  * @property {boolean|null} [headspaceShouldProcess] ElfRecordPresent headspaceShouldProcess
@@ -92742,6 +92743,14 @@ $root.ElfRecordPresent = (function() {
92742
92743
  */
92743
92744
  ElfRecordPresent.prototype.isMemberMigrated = false;
92744
92745
 
92746
+ /**
92747
+ * ElfRecordPresent priorB2bOrgId.
92748
+ * @member {string} priorB2bOrgId
92749
+ * @memberof ElfRecordPresent
92750
+ * @instance
92751
+ */
92752
+ ElfRecordPresent.prototype.priorB2bOrgId = "";
92753
+
92745
92754
  /**
92746
92755
  * ElfRecordPresent isDryRun.
92747
92756
  * @member {boolean} isDryRun
@@ -92854,6 +92863,8 @@ $root.ElfRecordPresent = (function() {
92854
92863
  writer.uint32(/* id 25, wireType 2 =*/202).string(message.rootOrgId);
92855
92864
  if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
92856
92865
  writer.uint32(/* id 26, wireType 0 =*/208).bool(message.isMemberMigrated);
92866
+ if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
92867
+ writer.uint32(/* id 27, wireType 2 =*/218).string(message.priorB2bOrgId);
92857
92868
  return writer;
92858
92869
  };
92859
92870
 
@@ -92961,6 +92972,9 @@ $root.ElfRecordPresent = (function() {
92961
92972
  case 26:
92962
92973
  message.isMemberMigrated = reader.bool();
92963
92974
  break;
92975
+ case 27:
92976
+ message.priorB2bOrgId = reader.string();
92977
+ break;
92964
92978
  case 18:
92965
92979
  message.isDryRun = reader.bool();
92966
92980
  break;
@@ -93089,6 +93103,9 @@ $root.ElfRecordPresent = (function() {
93089
93103
  if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
93090
93104
  if (typeof message.isMemberMigrated !== "boolean")
93091
93105
  return "isMemberMigrated: boolean expected";
93106
+ if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
93107
+ if (!$util.isString(message.priorB2bOrgId))
93108
+ return "priorB2bOrgId: string expected";
93092
93109
  if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
93093
93110
  if (typeof message.isDryRun !== "boolean")
93094
93111
  return "isDryRun: boolean expected";
@@ -93194,6 +93211,8 @@ $root.ElfRecordPresent = (function() {
93194
93211
  message.rootOrgId = String(object.rootOrgId);
93195
93212
  if (object.isMemberMigrated != null)
93196
93213
  message.isMemberMigrated = Boolean(object.isMemberMigrated);
93214
+ if (object.priorB2bOrgId != null)
93215
+ message.priorB2bOrgId = String(object.priorB2bOrgId);
93197
93216
  if (object.isDryRun != null)
93198
93217
  message.isDryRun = Boolean(object.isDryRun);
93199
93218
  if (object.gingerShouldProcess != null)
@@ -93250,6 +93269,7 @@ $root.ElfRecordPresent = (function() {
93250
93269
  object.rootOrgHeadspaceHealthId = "";
93251
93270
  object.rootOrgId = "";
93252
93271
  object.isMemberMigrated = false;
93272
+ object.priorB2bOrgId = "";
93253
93273
  }
93254
93274
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
93255
93275
  object.headspaceHealthOrgId = message.headspaceHealthOrgId;
@@ -93309,6 +93329,8 @@ $root.ElfRecordPresent = (function() {
93309
93329
  object.rootOrgId = message.rootOrgId;
93310
93330
  if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
93311
93331
  object.isMemberMigrated = message.isMemberMigrated;
93332
+ if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
93333
+ object.priorB2bOrgId = message.priorB2bOrgId;
93312
93334
  return object;
93313
93335
  };
93314
93336
 
@@ -118359,6 +118381,7 @@ $root.SubscriptionCreated = (function() {
118359
118381
  * @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCreated terms
118360
118382
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCreated membership
118361
118383
  * @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCreated productSku
118384
+ * @property {number|null} [orgId] SubscriptionCreated orgId
118362
118385
  */
118363
118386
 
118364
118387
  /**
@@ -118506,6 +118529,14 @@ $root.SubscriptionCreated = (function() {
118506
118529
  */
118507
118530
  SubscriptionCreated.prototype.productSku = null;
118508
118531
 
118532
+ /**
118533
+ * SubscriptionCreated orgId.
118534
+ * @member {number} orgId
118535
+ * @memberof SubscriptionCreated
118536
+ * @instance
118537
+ */
118538
+ SubscriptionCreated.prototype.orgId = 0;
118539
+
118509
118540
  /**
118510
118541
  * Creates a new SubscriptionCreated instance using the specified properties.
118511
118542
  * @function create
@@ -118567,6 +118598,8 @@ $root.SubscriptionCreated = (function() {
118567
118598
  writer.uint32(/* id 15, wireType 0 =*/120).int32(message.membership);
118568
118599
  if (message.productSku != null && message.hasOwnProperty("productSku"))
118569
118600
  $root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
118601
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
118602
+ writer.uint32(/* id 17, wireType 0 =*/136).int32(message.orgId);
118570
118603
  return writer;
118571
118604
  };
118572
118605
 
@@ -118658,6 +118691,9 @@ $root.SubscriptionCreated = (function() {
118658
118691
  case 16:
118659
118692
  message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
118660
118693
  break;
118694
+ case 17:
118695
+ message.orgId = reader.int32();
118696
+ break;
118661
118697
  default:
118662
118698
  reader.skipType(tag & 7);
118663
118699
  break;
@@ -118790,6 +118826,9 @@ $root.SubscriptionCreated = (function() {
118790
118826
  if (error)
118791
118827
  return "productSku." + error;
118792
118828
  }
118829
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
118830
+ if (!$util.isInteger(message.orgId))
118831
+ return "orgId: integer expected";
118793
118832
  return null;
118794
118833
  };
118795
118834
 
@@ -118966,6 +119005,8 @@ $root.SubscriptionCreated = (function() {
118966
119005
  throw TypeError(".SubscriptionCreated.productSku: object expected");
118967
119006
  message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
118968
119007
  }
119008
+ if (object.orgId != null)
119009
+ message.orgId = object.orgId | 0;
118969
119010
  return message;
118970
119011
  };
118971
119012
 
@@ -119017,6 +119058,7 @@ $root.SubscriptionCreated = (function() {
119017
119058
  object.isQueuedSubscription = false;
119018
119059
  object.membership = options.enums === String ? "PRIMARY" : 0;
119019
119060
  object.productSku = null;
119061
+ object.orgId = 0;
119020
119062
  }
119021
119063
  if (message.id != null && message.hasOwnProperty("id"))
119022
119064
  object.id = message.id;
@@ -119068,6 +119110,8 @@ $root.SubscriptionCreated = (function() {
119068
119110
  object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
119069
119111
  if (message.productSku != null && message.hasOwnProperty("productSku"))
119070
119112
  object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
119113
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
119114
+ object.orgId = message.orgId;
119071
119115
  return object;
119072
119116
  };
119073
119117
 
@@ -119109,6 +119153,7 @@ $root.SubscriptionCancelled = (function() {
119109
119153
  * @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCancelled terms
119110
119154
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCancelled membership
119111
119155
  * @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCancelled productSku
119156
+ * @property {number|null} [orgId] SubscriptionCancelled orgId
119112
119157
  */
119113
119158
 
119114
119159
  /**
@@ -119272,6 +119317,14 @@ $root.SubscriptionCancelled = (function() {
119272
119317
  */
119273
119318
  SubscriptionCancelled.prototype.productSku = null;
119274
119319
 
119320
+ /**
119321
+ * SubscriptionCancelled orgId.
119322
+ * @member {number} orgId
119323
+ * @memberof SubscriptionCancelled
119324
+ * @instance
119325
+ */
119326
+ SubscriptionCancelled.prototype.orgId = 0;
119327
+
119275
119328
  /**
119276
119329
  * Creates a new SubscriptionCancelled instance using the specified properties.
119277
119330
  * @function create
@@ -119337,6 +119390,8 @@ $root.SubscriptionCancelled = (function() {
119337
119390
  writer.uint32(/* id 17, wireType 0 =*/136).int32(message.membership);
119338
119391
  if (message.productSku != null && message.hasOwnProperty("productSku"))
119339
119392
  $root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
119393
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
119394
+ writer.uint32(/* id 19, wireType 0 =*/152).int32(message.orgId);
119340
119395
  return writer;
119341
119396
  };
119342
119397
 
@@ -119434,6 +119489,9 @@ $root.SubscriptionCancelled = (function() {
119434
119489
  case 18:
119435
119490
  message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
119436
119491
  break;
119492
+ case 19:
119493
+ message.orgId = reader.int32();
119494
+ break;
119437
119495
  default:
119438
119496
  reader.skipType(tag & 7);
119439
119497
  break;
@@ -119580,6 +119638,9 @@ $root.SubscriptionCancelled = (function() {
119580
119638
  if (error)
119581
119639
  return "productSku." + error;
119582
119640
  }
119641
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
119642
+ if (!$util.isInteger(message.orgId))
119643
+ return "orgId: integer expected";
119583
119644
  return null;
119584
119645
  };
119585
119646
 
@@ -119782,6 +119843,8 @@ $root.SubscriptionCancelled = (function() {
119782
119843
  throw TypeError(".SubscriptionCancelled.productSku: object expected");
119783
119844
  message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
119784
119845
  }
119846
+ if (object.orgId != null)
119847
+ message.orgId = object.orgId | 0;
119785
119848
  return message;
119786
119849
  };
119787
119850
 
@@ -119839,6 +119902,7 @@ $root.SubscriptionCancelled = (function() {
119839
119902
  object.renewalCount = options.longs === String ? "0" : 0;
119840
119903
  object.membership = options.enums === String ? "PRIMARY" : 0;
119841
119904
  object.productSku = null;
119905
+ object.orgId = 0;
119842
119906
  }
119843
119907
  if (message.id != null && message.hasOwnProperty("id"))
119844
119908
  object.id = message.id;
@@ -119897,6 +119961,8 @@ $root.SubscriptionCancelled = (function() {
119897
119961
  object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
119898
119962
  if (message.productSku != null && message.hasOwnProperty("productSku"))
119899
119963
  object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
119964
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
119965
+ object.orgId = message.orgId;
119900
119966
  return object;
119901
119967
  };
119902
119968
 
@@ -124808,6 +124874,7 @@ $root.SubscriptionAmended = (function() {
124808
124874
  * @property {Array.<subscription.ITerm>|null} [terms] SubscriptionAmended terms
124809
124875
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionAmended membership
124810
124876
  * @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionAmended productSku
124877
+ * @property {number|null} [orgId] SubscriptionAmended orgId
124811
124878
  */
124812
124879
 
124813
124880
  /**
@@ -124955,6 +125022,14 @@ $root.SubscriptionAmended = (function() {
124955
125022
  */
124956
125023
  SubscriptionAmended.prototype.productSku = null;
124957
125024
 
125025
+ /**
125026
+ * SubscriptionAmended orgId.
125027
+ * @member {number} orgId
125028
+ * @memberof SubscriptionAmended
125029
+ * @instance
125030
+ */
125031
+ SubscriptionAmended.prototype.orgId = 0;
125032
+
124958
125033
  /**
124959
125034
  * Creates a new SubscriptionAmended instance using the specified properties.
124960
125035
  * @function create
@@ -125016,6 +125091,8 @@ $root.SubscriptionAmended = (function() {
125016
125091
  writer.uint32(/* id 16, wireType 0 =*/128).int32(message.membership);
125017
125092
  if (message.productSku != null && message.hasOwnProperty("productSku"))
125018
125093
  $root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
125094
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
125095
+ writer.uint32(/* id 18, wireType 0 =*/144).int32(message.orgId);
125019
125096
  return writer;
125020
125097
  };
125021
125098
 
@@ -125107,6 +125184,9 @@ $root.SubscriptionAmended = (function() {
125107
125184
  case 17:
125108
125185
  message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
125109
125186
  break;
125187
+ case 18:
125188
+ message.orgId = reader.int32();
125189
+ break;
125110
125190
  default:
125111
125191
  reader.skipType(tag & 7);
125112
125192
  break;
@@ -125239,6 +125319,9 @@ $root.SubscriptionAmended = (function() {
125239
125319
  if (error)
125240
125320
  return "productSku." + error;
125241
125321
  }
125322
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
125323
+ if (!$util.isInteger(message.orgId))
125324
+ return "orgId: integer expected";
125242
125325
  return null;
125243
125326
  };
125244
125327
 
@@ -125422,6 +125505,8 @@ $root.SubscriptionAmended = (function() {
125422
125505
  throw TypeError(".SubscriptionAmended.productSku: object expected");
125423
125506
  message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
125424
125507
  }
125508
+ if (object.orgId != null)
125509
+ message.orgId = object.orgId | 0;
125425
125510
  return message;
125426
125511
  };
125427
125512
 
@@ -125477,6 +125562,7 @@ $root.SubscriptionAmended = (function() {
125477
125562
  object.id = 0;
125478
125563
  object.membership = options.enums === String ? "PRIMARY" : 0;
125479
125564
  object.productSku = null;
125565
+ object.orgId = 0;
125480
125566
  }
125481
125567
  if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
125482
125568
  if (typeof message.updatedOn === "number")
@@ -125531,6 +125617,8 @@ $root.SubscriptionAmended = (function() {
125531
125617
  object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
125532
125618
  if (message.productSku != null && message.hasOwnProperty("productSku"))
125533
125619
  object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
125620
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
125621
+ object.orgId = message.orgId;
125534
125622
  return object;
125535
125623
  };
125536
125624
 
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.466.0"
19
+ "version": "1.468.0"
20
20
  }