@headspace/protos-events 1.408.0 → 1.410.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
@@ -13108,9 +13108,6 @@ export interface IUnlinkedConnection {
13108
13108
  /** UnlinkedConnection hsId */
13109
13109
  hsId?: (string|null);
13110
13110
 
13111
- /** UnlinkedConnection connection */
13112
- connection?: (auth0.connections.Connection|null);
13113
-
13114
13111
  /** UnlinkedConnection unlinkedAt */
13115
13112
  unlinkedAt?: (number|Long|null);
13116
13113
 
@@ -13133,9 +13130,6 @@ export class UnlinkedConnection implements IUnlinkedConnection {
13133
13130
  /** UnlinkedConnection hsId. */
13134
13131
  public hsId: string;
13135
13132
 
13136
- /** UnlinkedConnection connection. */
13137
- public connection: auth0.connections.Connection;
13138
-
13139
13133
  /** UnlinkedConnection unlinkedAt. */
13140
13134
  public unlinkedAt: (number|Long);
13141
13135
 
@@ -13222,9 +13216,6 @@ export interface IConnectionLinked {
13222
13216
  /** ConnectionLinked hsId */
13223
13217
  hsId?: (string|null);
13224
13218
 
13225
- /** ConnectionLinked connection */
13226
- connection?: (auth0.connections.Connection|null);
13227
-
13228
13219
  /** ConnectionLinked linkedAt */
13229
13220
  linkedAt?: (number|Long|null);
13230
13221
 
@@ -13253,9 +13244,6 @@ export class ConnectionLinked implements IConnectionLinked {
13253
13244
  /** ConnectionLinked hsId. */
13254
13245
  public hsId: string;
13255
13246
 
13256
- /** ConnectionLinked connection. */
13257
- public connection: auth0.connections.Connection;
13258
-
13259
13247
  /** ConnectionLinked linkedAt. */
13260
13248
  public linkedAt: (number|Long);
13261
13249
 
@@ -33755,6 +33743,9 @@ export interface IGiftPurchased {
33755
33743
 
33756
33744
  /** GiftPurchased productSkuTaxMode */
33757
33745
  productSkuTaxMode?: (gift.GiftProductSkuTaxMode|null);
33746
+
33747
+ /** GiftPurchased giftRecipientEmailSendOn */
33748
+ giftRecipientEmailSendOn?: (number|Long|null);
33758
33749
  }
33759
33750
 
33760
33751
  /** Represents a GiftPurchased. */
@@ -33796,6 +33787,9 @@ export class GiftPurchased implements IGiftPurchased {
33796
33787
  /** GiftPurchased productSkuTaxMode. */
33797
33788
  public productSkuTaxMode: gift.GiftProductSkuTaxMode;
33798
33789
 
33790
+ /** GiftPurchased giftRecipientEmailSendOn. */
33791
+ public giftRecipientEmailSendOn: (number|Long);
33792
+
33799
33793
  /**
33800
33794
  * Creates a new GiftPurchased instance using the specified properties.
33801
33795
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -32527,7 +32527,6 @@ $root.UnlinkedConnection = (function() {
32527
32527
  * @exports IUnlinkedConnection
32528
32528
  * @interface IUnlinkedConnection
32529
32529
  * @property {string|null} [hsId] UnlinkedConnection hsId
32530
- * @property {auth0.connections.Connection|null} [connection] UnlinkedConnection connection
32531
32530
  * @property {number|Long|null} [unlinkedAt] UnlinkedConnection unlinkedAt
32532
32531
  * @property {auth0.connections.ConnectionType|null} [connectionType] UnlinkedConnection connectionType
32533
32532
  * @property {string|null} [connectionName] UnlinkedConnection connectionName
@@ -32556,14 +32555,6 @@ $root.UnlinkedConnection = (function() {
32556
32555
  */
32557
32556
  UnlinkedConnection.prototype.hsId = "";
32558
32557
 
32559
- /**
32560
- * UnlinkedConnection connection.
32561
- * @member {auth0.connections.Connection} connection
32562
- * @memberof UnlinkedConnection
32563
- * @instance
32564
- */
32565
- UnlinkedConnection.prototype.connection = 0;
32566
-
32567
32558
  /**
32568
32559
  * UnlinkedConnection unlinkedAt.
32569
32560
  * @member {number|Long} unlinkedAt
@@ -32614,8 +32605,6 @@ $root.UnlinkedConnection = (function() {
32614
32605
  writer = $Writer.create();
32615
32606
  if (message.hsId != null && message.hasOwnProperty("hsId"))
32616
32607
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
32617
- if (message.connection != null && message.hasOwnProperty("connection"))
32618
- writer.uint32(/* id 2, wireType 0 =*/16).int32(message.connection);
32619
32608
  if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
32620
32609
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.unlinkedAt);
32621
32610
  if (message.connectionType != null && message.hasOwnProperty("connectionType"))
@@ -32659,9 +32648,6 @@ $root.UnlinkedConnection = (function() {
32659
32648
  case 1:
32660
32649
  message.hsId = reader.string();
32661
32650
  break;
32662
- case 2:
32663
- message.connection = reader.int32();
32664
- break;
32665
32651
  case 3:
32666
32652
  message.unlinkedAt = reader.uint64();
32667
32653
  break;
@@ -32709,44 +32695,6 @@ $root.UnlinkedConnection = (function() {
32709
32695
  if (message.hsId != null && message.hasOwnProperty("hsId"))
32710
32696
  if (!$util.isString(message.hsId))
32711
32697
  return "hsId: string expected";
32712
- if (message.connection != null && message.hasOwnProperty("connection"))
32713
- switch (message.connection) {
32714
- default:
32715
- return "connection: enum value expected";
32716
- case 0:
32717
- case 1:
32718
- case 2:
32719
- case 3:
32720
- case 4:
32721
- case 5:
32722
- case 6:
32723
- case 7:
32724
- case 9:
32725
- case 10:
32726
- case 11:
32727
- case 12:
32728
- case 13:
32729
- case 14:
32730
- case 15:
32731
- case 16:
32732
- case 17:
32733
- case 18:
32734
- case 19:
32735
- case 20:
32736
- case 21:
32737
- case 22:
32738
- case 23:
32739
- case 24:
32740
- case 25:
32741
- case 26:
32742
- case 27:
32743
- case 28:
32744
- case 29:
32745
- case 30:
32746
- case 31:
32747
- case 32:
32748
- break;
32749
- }
32750
32698
  if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
32751
32699
  if (!$util.isInteger(message.unlinkedAt) && !(message.unlinkedAt && $util.isInteger(message.unlinkedAt.low) && $util.isInteger(message.unlinkedAt.high)))
32752
32700
  return "unlinkedAt: integer|Long expected";
@@ -32780,136 +32728,6 @@ $root.UnlinkedConnection = (function() {
32780
32728
  var message = new $root.UnlinkedConnection();
32781
32729
  if (object.hsId != null)
32782
32730
  message.hsId = String(object.hsId);
32783
- switch (object.connection) {
32784
- case "UNKNOWN_CONNECTION":
32785
- case 0:
32786
- message.connection = 0;
32787
- break;
32788
- case "APPLE":
32789
- case 1:
32790
- message.connection = 1;
32791
- break;
32792
- case "FACEBOOK":
32793
- case 2:
32794
- message.connection = 2;
32795
- break;
32796
- case "ONELOGIN":
32797
- case 3:
32798
- message.connection = 3;
32799
- break;
32800
- case "SPOTIFY":
32801
- case 4:
32802
- message.connection = 4;
32803
- break;
32804
- case "USER_PASSWORD_HEADSPACE":
32805
- case 5:
32806
- message.connection = 5;
32807
- break;
32808
- case "VIRGINPULSE":
32809
- case 6:
32810
- message.connection = 6;
32811
- break;
32812
- case "GOOGLE":
32813
- case 7:
32814
- message.connection = 7;
32815
- break;
32816
- case "HEADSPACE_OKTA_SSO":
32817
- case 9:
32818
- message.connection = 9;
32819
- break;
32820
- case "EXTERNAL_OKTA_QA":
32821
- case 10:
32822
- message.connection = 10;
32823
- break;
32824
- case "THOUGHTWORKS_OKTA_SSO":
32825
- case 11:
32826
- message.connection = 11;
32827
- break;
32828
- case "TEST_ORG_MIGRATION_OKTA_SSO":
32829
- case 12:
32830
- message.connection = 12;
32831
- break;
32832
- case "MX_TECHNOLOGIES_INC_OKTA_SSO":
32833
- case 13:
32834
- message.connection = 13;
32835
- break;
32836
- case "FLUTTER_INT_OKTA_SSO":
32837
- case 14:
32838
- message.connection = 14;
32839
- break;
32840
- case "LUMINOUS_OKTA_SSO":
32841
- case 15:
32842
- message.connection = 15;
32843
- break;
32844
- case "OKTA_OKTA_SSO":
32845
- case 16:
32846
- message.connection = 16;
32847
- break;
32848
- case "JUSTWORKS_OKTA_SSO":
32849
- case 17:
32850
- message.connection = 17;
32851
- break;
32852
- case "GENPACT_OKTA_SSO":
32853
- case 18:
32854
- message.connection = 18;
32855
- break;
32856
- case "THEHARRISCENTER_OKTA_SSO":
32857
- case 19:
32858
- message.connection = 19;
32859
- break;
32860
- case "BILLGO_OKTA_SSO":
32861
- case 20:
32862
- message.connection = 20;
32863
- break;
32864
- case "HEADSPACE_TEST_AZURE_SSO":
32865
- case 21:
32866
- message.connection = 21;
32867
- break;
32868
- case "SMSASSIST_OKTA_SSO":
32869
- case 22:
32870
- message.connection = 22;
32871
- break;
32872
- case "BOOKINGHOLDINGS_OKTA_SSO":
32873
- case 23:
32874
- message.connection = 23;
32875
- break;
32876
- case "MSFT_TEST_AZURE_SSO":
32877
- case 24:
32878
- message.connection = 24;
32879
- break;
32880
- case "CITADEL_OKTA_SSO":
32881
- case 25:
32882
- message.connection = 25;
32883
- break;
32884
- case "HEADSPACE_E2E_OKTA_SSO":
32885
- case 26:
32886
- message.connection = 26;
32887
- break;
32888
- case "MICROSOFT_AZURE_SSO":
32889
- case 27:
32890
- message.connection = 27;
32891
- break;
32892
- case "HOOTSUITE_OKTA_SSO":
32893
- case 28:
32894
- message.connection = 28;
32895
- break;
32896
- case "MOONPAY_OKTA_SSO":
32897
- case 29:
32898
- message.connection = 29;
32899
- break;
32900
- case "ROOT_INSURANCE_OKTA_SSO":
32901
- case 30:
32902
- message.connection = 30;
32903
- break;
32904
- case "HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO":
32905
- case 31:
32906
- message.connection = 31;
32907
- break;
32908
- case "HEADSPACE_E2E_NO_SEATS_OKTA_SSO":
32909
- case 32:
32910
- message.connection = 32;
32911
- break;
32912
- }
32913
32731
  if (object.unlinkedAt != null)
32914
32732
  if ($util.Long)
32915
32733
  (message.unlinkedAt = $util.Long.fromValue(object.unlinkedAt)).unsigned = true;
@@ -32957,7 +32775,6 @@ $root.UnlinkedConnection = (function() {
32957
32775
  var object = {};
32958
32776
  if (options.defaults) {
32959
32777
  object.hsId = "";
32960
- object.connection = options.enums === String ? "UNKNOWN_CONNECTION" : 0;
32961
32778
  if ($util.Long) {
32962
32779
  var long = new $util.Long(0, 0, true);
32963
32780
  object.unlinkedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -32968,8 +32785,6 @@ $root.UnlinkedConnection = (function() {
32968
32785
  }
32969
32786
  if (message.hsId != null && message.hasOwnProperty("hsId"))
32970
32787
  object.hsId = message.hsId;
32971
- if (message.connection != null && message.hasOwnProperty("connection"))
32972
- object.connection = options.enums === String ? $root.auth0.connections.Connection[message.connection] : message.connection;
32973
32788
  if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
32974
32789
  if (typeof message.unlinkedAt === "number")
32975
32790
  object.unlinkedAt = options.longs === String ? String(message.unlinkedAt) : message.unlinkedAt;
@@ -33003,7 +32818,6 @@ $root.ConnectionLinked = (function() {
33003
32818
  * @exports IConnectionLinked
33004
32819
  * @interface IConnectionLinked
33005
32820
  * @property {string|null} [hsId] ConnectionLinked hsId
33006
- * @property {auth0.connections.Connection|null} [connection] ConnectionLinked connection
33007
32821
  * @property {number|Long|null} [linkedAt] ConnectionLinked linkedAt
33008
32822
  * @property {string|null} [userConnectionId] ConnectionLinked userConnectionId
33009
32823
  * @property {boolean|null} [isPrimaryConnection] ConnectionLinked isPrimaryConnection
@@ -33034,14 +32848,6 @@ $root.ConnectionLinked = (function() {
33034
32848
  */
33035
32849
  ConnectionLinked.prototype.hsId = "";
33036
32850
 
33037
- /**
33038
- * ConnectionLinked connection.
33039
- * @member {auth0.connections.Connection} connection
33040
- * @memberof ConnectionLinked
33041
- * @instance
33042
- */
33043
- ConnectionLinked.prototype.connection = 0;
33044
-
33045
32851
  /**
33046
32852
  * ConnectionLinked linkedAt.
33047
32853
  * @member {number|Long} linkedAt
@@ -33108,8 +32914,6 @@ $root.ConnectionLinked = (function() {
33108
32914
  writer = $Writer.create();
33109
32915
  if (message.hsId != null && message.hasOwnProperty("hsId"))
33110
32916
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
33111
- if (message.connection != null && message.hasOwnProperty("connection"))
33112
- writer.uint32(/* id 2, wireType 0 =*/16).int32(message.connection);
33113
32917
  if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
33114
32918
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.linkedAt);
33115
32919
  if (message.userConnectionId != null && message.hasOwnProperty("userConnectionId"))
@@ -33157,9 +32961,6 @@ $root.ConnectionLinked = (function() {
33157
32961
  case 1:
33158
32962
  message.hsId = reader.string();
33159
32963
  break;
33160
- case 2:
33161
- message.connection = reader.int32();
33162
- break;
33163
32964
  case 3:
33164
32965
  message.linkedAt = reader.uint64();
33165
32966
  break;
@@ -33213,44 +33014,6 @@ $root.ConnectionLinked = (function() {
33213
33014
  if (message.hsId != null && message.hasOwnProperty("hsId"))
33214
33015
  if (!$util.isString(message.hsId))
33215
33016
  return "hsId: string expected";
33216
- if (message.connection != null && message.hasOwnProperty("connection"))
33217
- switch (message.connection) {
33218
- default:
33219
- return "connection: enum value expected";
33220
- case 0:
33221
- case 1:
33222
- case 2:
33223
- case 3:
33224
- case 4:
33225
- case 5:
33226
- case 6:
33227
- case 7:
33228
- case 9:
33229
- case 10:
33230
- case 11:
33231
- case 12:
33232
- case 13:
33233
- case 14:
33234
- case 15:
33235
- case 16:
33236
- case 17:
33237
- case 18:
33238
- case 19:
33239
- case 20:
33240
- case 21:
33241
- case 22:
33242
- case 23:
33243
- case 24:
33244
- case 25:
33245
- case 26:
33246
- case 27:
33247
- case 28:
33248
- case 29:
33249
- case 30:
33250
- case 31:
33251
- case 32:
33252
- break;
33253
- }
33254
33017
  if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
33255
33018
  if (!$util.isInteger(message.linkedAt) && !(message.linkedAt && $util.isInteger(message.linkedAt.low) && $util.isInteger(message.linkedAt.high)))
33256
33019
  return "linkedAt: integer|Long expected";
@@ -33290,136 +33053,6 @@ $root.ConnectionLinked = (function() {
33290
33053
  var message = new $root.ConnectionLinked();
33291
33054
  if (object.hsId != null)
33292
33055
  message.hsId = String(object.hsId);
33293
- switch (object.connection) {
33294
- case "UNKNOWN_CONNECTION":
33295
- case 0:
33296
- message.connection = 0;
33297
- break;
33298
- case "APPLE":
33299
- case 1:
33300
- message.connection = 1;
33301
- break;
33302
- case "FACEBOOK":
33303
- case 2:
33304
- message.connection = 2;
33305
- break;
33306
- case "ONELOGIN":
33307
- case 3:
33308
- message.connection = 3;
33309
- break;
33310
- case "SPOTIFY":
33311
- case 4:
33312
- message.connection = 4;
33313
- break;
33314
- case "USER_PASSWORD_HEADSPACE":
33315
- case 5:
33316
- message.connection = 5;
33317
- break;
33318
- case "VIRGINPULSE":
33319
- case 6:
33320
- message.connection = 6;
33321
- break;
33322
- case "GOOGLE":
33323
- case 7:
33324
- message.connection = 7;
33325
- break;
33326
- case "HEADSPACE_OKTA_SSO":
33327
- case 9:
33328
- message.connection = 9;
33329
- break;
33330
- case "EXTERNAL_OKTA_QA":
33331
- case 10:
33332
- message.connection = 10;
33333
- break;
33334
- case "THOUGHTWORKS_OKTA_SSO":
33335
- case 11:
33336
- message.connection = 11;
33337
- break;
33338
- case "TEST_ORG_MIGRATION_OKTA_SSO":
33339
- case 12:
33340
- message.connection = 12;
33341
- break;
33342
- case "MX_TECHNOLOGIES_INC_OKTA_SSO":
33343
- case 13:
33344
- message.connection = 13;
33345
- break;
33346
- case "FLUTTER_INT_OKTA_SSO":
33347
- case 14:
33348
- message.connection = 14;
33349
- break;
33350
- case "LUMINOUS_OKTA_SSO":
33351
- case 15:
33352
- message.connection = 15;
33353
- break;
33354
- case "OKTA_OKTA_SSO":
33355
- case 16:
33356
- message.connection = 16;
33357
- break;
33358
- case "JUSTWORKS_OKTA_SSO":
33359
- case 17:
33360
- message.connection = 17;
33361
- break;
33362
- case "GENPACT_OKTA_SSO":
33363
- case 18:
33364
- message.connection = 18;
33365
- break;
33366
- case "THEHARRISCENTER_OKTA_SSO":
33367
- case 19:
33368
- message.connection = 19;
33369
- break;
33370
- case "BILLGO_OKTA_SSO":
33371
- case 20:
33372
- message.connection = 20;
33373
- break;
33374
- case "HEADSPACE_TEST_AZURE_SSO":
33375
- case 21:
33376
- message.connection = 21;
33377
- break;
33378
- case "SMSASSIST_OKTA_SSO":
33379
- case 22:
33380
- message.connection = 22;
33381
- break;
33382
- case "BOOKINGHOLDINGS_OKTA_SSO":
33383
- case 23:
33384
- message.connection = 23;
33385
- break;
33386
- case "MSFT_TEST_AZURE_SSO":
33387
- case 24:
33388
- message.connection = 24;
33389
- break;
33390
- case "CITADEL_OKTA_SSO":
33391
- case 25:
33392
- message.connection = 25;
33393
- break;
33394
- case "HEADSPACE_E2E_OKTA_SSO":
33395
- case 26:
33396
- message.connection = 26;
33397
- break;
33398
- case "MICROSOFT_AZURE_SSO":
33399
- case 27:
33400
- message.connection = 27;
33401
- break;
33402
- case "HOOTSUITE_OKTA_SSO":
33403
- case 28:
33404
- message.connection = 28;
33405
- break;
33406
- case "MOONPAY_OKTA_SSO":
33407
- case 29:
33408
- message.connection = 29;
33409
- break;
33410
- case "ROOT_INSURANCE_OKTA_SSO":
33411
- case 30:
33412
- message.connection = 30;
33413
- break;
33414
- case "HEADSPACE_E2E_INACTIVE_CONTRACT_OKTA_SSO":
33415
- case 31:
33416
- message.connection = 31;
33417
- break;
33418
- case "HEADSPACE_E2E_NO_SEATS_OKTA_SSO":
33419
- case 32:
33420
- message.connection = 32;
33421
- break;
33422
- }
33423
33056
  if (object.linkedAt != null)
33424
33057
  if ($util.Long)
33425
33058
  (message.linkedAt = $util.Long.fromValue(object.linkedAt)).unsigned = true;
@@ -33471,7 +33104,6 @@ $root.ConnectionLinked = (function() {
33471
33104
  var object = {};
33472
33105
  if (options.defaults) {
33473
33106
  object.hsId = "";
33474
- object.connection = options.enums === String ? "UNKNOWN_CONNECTION" : 0;
33475
33107
  if ($util.Long) {
33476
33108
  var long = new $util.Long(0, 0, true);
33477
33109
  object.linkedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -33484,8 +33116,6 @@ $root.ConnectionLinked = (function() {
33484
33116
  }
33485
33117
  if (message.hsId != null && message.hasOwnProperty("hsId"))
33486
33118
  object.hsId = message.hsId;
33487
- if (message.connection != null && message.hasOwnProperty("connection"))
33488
- object.connection = options.enums === String ? $root.auth0.connections.Connection[message.connection] : message.connection;
33489
33119
  if (message.linkedAt != null && message.hasOwnProperty("linkedAt"))
33490
33120
  if (typeof message.linkedAt === "number")
33491
33121
  object.linkedAt = options.longs === String ? String(message.linkedAt) : message.linkedAt;
@@ -94759,6 +94389,7 @@ $root.GiftPurchased = (function() {
94759
94389
  * @property {string|null} [productSkuId] GiftPurchased productSkuId
94760
94390
  * @property {string|null} [productSkuSlug] GiftPurchased productSkuSlug
94761
94391
  * @property {gift.GiftProductSkuTaxMode|null} [productSkuTaxMode] GiftPurchased productSkuTaxMode
94392
+ * @property {number|Long|null} [giftRecipientEmailSendOn] GiftPurchased giftRecipientEmailSendOn
94762
94393
  */
94763
94394
 
94764
94395
  /**
@@ -94856,6 +94487,14 @@ $root.GiftPurchased = (function() {
94856
94487
  */
94857
94488
  GiftPurchased.prototype.productSkuTaxMode = 0;
94858
94489
 
94490
+ /**
94491
+ * GiftPurchased giftRecipientEmailSendOn.
94492
+ * @member {number|Long} giftRecipientEmailSendOn
94493
+ * @memberof GiftPurchased
94494
+ * @instance
94495
+ */
94496
+ GiftPurchased.prototype.giftRecipientEmailSendOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
94497
+
94859
94498
  /**
94860
94499
  * Creates a new GiftPurchased instance using the specified properties.
94861
94500
  * @function create
@@ -94900,6 +94539,8 @@ $root.GiftPurchased = (function() {
94900
94539
  writer.uint32(/* id 9, wireType 2 =*/74).string(message.productSkuSlug);
94901
94540
  if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
94902
94541
  writer.uint32(/* id 10, wireType 0 =*/80).int32(message.productSkuTaxMode);
94542
+ if (message.giftRecipientEmailSendOn != null && message.hasOwnProperty("giftRecipientEmailSendOn"))
94543
+ writer.uint32(/* id 11, wireType 0 =*/88).uint64(message.giftRecipientEmailSendOn);
94903
94544
  return writer;
94904
94545
  };
94905
94546
 
@@ -94964,6 +94605,9 @@ $root.GiftPurchased = (function() {
94964
94605
  case 10:
94965
94606
  message.productSkuTaxMode = reader.int32();
94966
94607
  break;
94608
+ case 11:
94609
+ message.giftRecipientEmailSendOn = reader.uint64();
94610
+ break;
94967
94611
  default:
94968
94612
  reader.skipType(tag & 7);
94969
94613
  break;
@@ -95035,6 +94679,9 @@ $root.GiftPurchased = (function() {
95035
94679
  case 2:
95036
94680
  break;
95037
94681
  }
94682
+ if (message.giftRecipientEmailSendOn != null && message.hasOwnProperty("giftRecipientEmailSendOn"))
94683
+ if (!$util.isInteger(message.giftRecipientEmailSendOn) && !(message.giftRecipientEmailSendOn && $util.isInteger(message.giftRecipientEmailSendOn.low) && $util.isInteger(message.giftRecipientEmailSendOn.high)))
94684
+ return "giftRecipientEmailSendOn: integer|Long expected";
95038
94685
  return null;
95039
94686
  };
95040
94687
 
@@ -95089,6 +94736,15 @@ $root.GiftPurchased = (function() {
95089
94736
  message.productSkuTaxMode = 2;
95090
94737
  break;
95091
94738
  }
94739
+ if (object.giftRecipientEmailSendOn != null)
94740
+ if ($util.Long)
94741
+ (message.giftRecipientEmailSendOn = $util.Long.fromValue(object.giftRecipientEmailSendOn)).unsigned = true;
94742
+ else if (typeof object.giftRecipientEmailSendOn === "string")
94743
+ message.giftRecipientEmailSendOn = parseInt(object.giftRecipientEmailSendOn, 10);
94744
+ else if (typeof object.giftRecipientEmailSendOn === "number")
94745
+ message.giftRecipientEmailSendOn = object.giftRecipientEmailSendOn;
94746
+ else if (typeof object.giftRecipientEmailSendOn === "object")
94747
+ message.giftRecipientEmailSendOn = new $util.LongBits(object.giftRecipientEmailSendOn.low >>> 0, object.giftRecipientEmailSendOn.high >>> 0).toNumber(true);
95092
94748
  return message;
95093
94749
  };
95094
94750
 
@@ -95120,6 +94776,11 @@ $root.GiftPurchased = (function() {
95120
94776
  object.productSkuId = "";
95121
94777
  object.productSkuSlug = "";
95122
94778
  object.productSkuTaxMode = options.enums === String ? "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN" : 0;
94779
+ if ($util.Long) {
94780
+ var long = new $util.Long(0, 0, true);
94781
+ object.giftRecipientEmailSendOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
94782
+ } else
94783
+ object.giftRecipientEmailSendOn = options.longs === String ? "0" : 0;
95123
94784
  }
95124
94785
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
95125
94786
  object.hsUserId = message.hsUserId;
@@ -95144,6 +94805,11 @@ $root.GiftPurchased = (function() {
95144
94805
  object.productSkuSlug = message.productSkuSlug;
95145
94806
  if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
95146
94807
  object.productSkuTaxMode = options.enums === String ? $root.gift.GiftProductSkuTaxMode[message.productSkuTaxMode] : message.productSkuTaxMode;
94808
+ if (message.giftRecipientEmailSendOn != null && message.hasOwnProperty("giftRecipientEmailSendOn"))
94809
+ if (typeof message.giftRecipientEmailSendOn === "number")
94810
+ object.giftRecipientEmailSendOn = options.longs === String ? String(message.giftRecipientEmailSendOn) : message.giftRecipientEmailSendOn;
94811
+ else
94812
+ object.giftRecipientEmailSendOn = options.longs === String ? $util.Long.prototype.toString.call(message.giftRecipientEmailSendOn) : options.longs === Number ? new $util.LongBits(message.giftRecipientEmailSendOn.low >>> 0, message.giftRecipientEmailSendOn.high >>> 0).toNumber(true) : message.giftRecipientEmailSendOn;
95147
94813
  return object;
95148
94814
  };
95149
94815
 
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.408.0"
19
+ "version": "1.410.0"
20
20
  }