@headspace/protos-events 1.24.0 → 1.26.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
@@ -903,102 +903,6 @@ export namespace subscription {
903
903
  public toJSON(): { [k: string]: any };
904
904
  }
905
905
 
906
- /** Properties of a PaymentMethod. */
907
- interface IPaymentMethod {
908
-
909
- /** PaymentMethod status */
910
- status?: (subscription.PaymentMethodStatus|null);
911
- }
912
-
913
- /** Represents a PaymentMethod. */
914
- class PaymentMethod implements IPaymentMethod {
915
-
916
- /**
917
- * Constructs a new PaymentMethod.
918
- * @param [properties] Properties to set
919
- */
920
- constructor(properties?: subscription.IPaymentMethod);
921
-
922
- /** PaymentMethod status. */
923
- public status: subscription.PaymentMethodStatus;
924
-
925
- /**
926
- * Creates a new PaymentMethod instance using the specified properties.
927
- * @param [properties] Properties to set
928
- * @returns PaymentMethod instance
929
- */
930
- public static create(properties?: subscription.IPaymentMethod): subscription.PaymentMethod;
931
-
932
- /**
933
- * Encodes the specified PaymentMethod message. Does not implicitly {@link subscription.PaymentMethod.verify|verify} messages.
934
- * @param message PaymentMethod message or plain object to encode
935
- * @param [writer] Writer to encode to
936
- * @returns Writer
937
- */
938
- public static encode(message: subscription.IPaymentMethod, writer?: $protobuf.Writer): $protobuf.Writer;
939
-
940
- /**
941
- * Encodes the specified PaymentMethod message, length delimited. Does not implicitly {@link subscription.PaymentMethod.verify|verify} messages.
942
- * @param message PaymentMethod message or plain object to encode
943
- * @param [writer] Writer to encode to
944
- * @returns Writer
945
- */
946
- public static encodeDelimited(message: subscription.IPaymentMethod, writer?: $protobuf.Writer): $protobuf.Writer;
947
-
948
- /**
949
- * Decodes a PaymentMethod message from the specified reader or buffer.
950
- * @param reader Reader or buffer to decode from
951
- * @param [length] Message length if known beforehand
952
- * @returns PaymentMethod
953
- * @throws {Error} If the payload is not a reader or valid buffer
954
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
955
- */
956
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): subscription.PaymentMethod;
957
-
958
- /**
959
- * Decodes a PaymentMethod message from the specified reader or buffer, length delimited.
960
- * @param reader Reader or buffer to decode from
961
- * @returns PaymentMethod
962
- * @throws {Error} If the payload is not a reader or valid buffer
963
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
964
- */
965
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): subscription.PaymentMethod;
966
-
967
- /**
968
- * Verifies a PaymentMethod message.
969
- * @param message Plain object to verify
970
- * @returns `null` if valid, otherwise the reason why it is not
971
- */
972
- public static verify(message: { [k: string]: any }): (string|null);
973
-
974
- /**
975
- * Creates a PaymentMethod message from a plain object. Also converts values to their respective internal types.
976
- * @param object Plain object
977
- * @returns PaymentMethod
978
- */
979
- public static fromObject(object: { [k: string]: any }): subscription.PaymentMethod;
980
-
981
- /**
982
- * Creates a plain object from a PaymentMethod message. Also converts values to other types if specified.
983
- * @param message PaymentMethod
984
- * @param [options] Conversion options
985
- * @returns Plain object
986
- */
987
- public static toObject(message: subscription.PaymentMethod, options?: $protobuf.IConversionOptions): { [k: string]: any };
988
-
989
- /**
990
- * Converts this PaymentMethod to JSON.
991
- * @returns JSON object
992
- */
993
- public toJSON(): { [k: string]: any };
994
- }
995
-
996
- /** PaymentMethodStatus enum. */
997
- enum PaymentMethodStatus {
998
- ACTIVE = 0,
999
- CLOSED = 1
1000
- }
1001
-
1002
906
  /** Properties of a Plan. */
1003
907
  interface IPlan {
1004
908
 
@@ -2326,9 +2230,6 @@ export interface ISubscriptionCancelled {
2326
2230
 
2327
2231
  /** SubscriptionCancelled userId */
2328
2232
  userId?: (string|null);
2329
-
2330
- /** SubscriptionCancelled paymentMethod */
2331
- paymentMethod?: (subscription.IPaymentMethod|null);
2332
2233
  }
2333
2234
 
2334
2235
  /** Represents a SubscriptionCancelled. */
@@ -2349,9 +2250,6 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
2349
2250
  /** SubscriptionCancelled userId. */
2350
2251
  public userId: string;
2351
2252
 
2352
- /** SubscriptionCancelled paymentMethod. */
2353
- public paymentMethod?: (subscription.IPaymentMethod|null);
2354
-
2355
2253
  /**
2356
2254
  * Creates a new SubscriptionCancelled instance using the specified properties.
2357
2255
  * @param [properties] Properties to set
@@ -2545,9 +2443,6 @@ export interface ISubscriptionUpcomingRenewal {
2545
2443
 
2546
2444
  /** SubscriptionUpcomingRenewal renewalDate */
2547
2445
  renewalDate?: (number|Long|null);
2548
-
2549
- /** SubscriptionUpcomingRenewal paymentMethod */
2550
- paymentMethod?: (subscription.IPaymentMethod|null);
2551
2446
  }
2552
2447
 
2553
2448
  /** Represents a SubscriptionUpcomingRenewal. */
@@ -2577,9 +2472,6 @@ export class SubscriptionUpcomingRenewal implements ISubscriptionUpcomingRenewal
2577
2472
  /** SubscriptionUpcomingRenewal renewalDate. */
2578
2473
  public renewalDate: (number|Long);
2579
2474
 
2580
- /** SubscriptionUpcomingRenewal paymentMethod. */
2581
- public paymentMethod?: (subscription.IPaymentMethod|null);
2582
-
2583
2475
  /**
2584
2476
  * Creates a new SubscriptionUpcomingRenewal instance using the specified properties.
2585
2477
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -1995,220 +1995,6 @@ $root.subscription = (function() {
1995
1995
  return UserSubscriptionResponse;
1996
1996
  })();
1997
1997
 
1998
- subscription.PaymentMethod = (function() {
1999
-
2000
- /**
2001
- * Properties of a PaymentMethod.
2002
- * @memberof subscription
2003
- * @interface IPaymentMethod
2004
- * @property {subscription.PaymentMethodStatus|null} [status] PaymentMethod status
2005
- */
2006
-
2007
- /**
2008
- * Constructs a new PaymentMethod.
2009
- * @memberof subscription
2010
- * @classdesc Represents a PaymentMethod.
2011
- * @implements IPaymentMethod
2012
- * @constructor
2013
- * @param {subscription.IPaymentMethod=} [properties] Properties to set
2014
- */
2015
- function PaymentMethod(properties) {
2016
- if (properties)
2017
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
2018
- if (properties[keys[i]] != null)
2019
- this[keys[i]] = properties[keys[i]];
2020
- }
2021
-
2022
- /**
2023
- * PaymentMethod status.
2024
- * @member {subscription.PaymentMethodStatus} status
2025
- * @memberof subscription.PaymentMethod
2026
- * @instance
2027
- */
2028
- PaymentMethod.prototype.status = 0;
2029
-
2030
- /**
2031
- * Creates a new PaymentMethod instance using the specified properties.
2032
- * @function create
2033
- * @memberof subscription.PaymentMethod
2034
- * @static
2035
- * @param {subscription.IPaymentMethod=} [properties] Properties to set
2036
- * @returns {subscription.PaymentMethod} PaymentMethod instance
2037
- */
2038
- PaymentMethod.create = function create(properties) {
2039
- return new PaymentMethod(properties);
2040
- };
2041
-
2042
- /**
2043
- * Encodes the specified PaymentMethod message. Does not implicitly {@link subscription.PaymentMethod.verify|verify} messages.
2044
- * @function encode
2045
- * @memberof subscription.PaymentMethod
2046
- * @static
2047
- * @param {subscription.IPaymentMethod} message PaymentMethod message or plain object to encode
2048
- * @param {$protobuf.Writer} [writer] Writer to encode to
2049
- * @returns {$protobuf.Writer} Writer
2050
- */
2051
- PaymentMethod.encode = function encode(message, writer) {
2052
- if (!writer)
2053
- writer = $Writer.create();
2054
- if (message.status != null && message.hasOwnProperty("status"))
2055
- writer.uint32(/* id 0, wireType 0 =*/0).int32(message.status);
2056
- return writer;
2057
- };
2058
-
2059
- /**
2060
- * Encodes the specified PaymentMethod message, length delimited. Does not implicitly {@link subscription.PaymentMethod.verify|verify} messages.
2061
- * @function encodeDelimited
2062
- * @memberof subscription.PaymentMethod
2063
- * @static
2064
- * @param {subscription.IPaymentMethod} message PaymentMethod message or plain object to encode
2065
- * @param {$protobuf.Writer} [writer] Writer to encode to
2066
- * @returns {$protobuf.Writer} Writer
2067
- */
2068
- PaymentMethod.encodeDelimited = function encodeDelimited(message, writer) {
2069
- return this.encode(message, writer).ldelim();
2070
- };
2071
-
2072
- /**
2073
- * Decodes a PaymentMethod message from the specified reader or buffer.
2074
- * @function decode
2075
- * @memberof subscription.PaymentMethod
2076
- * @static
2077
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
2078
- * @param {number} [length] Message length if known beforehand
2079
- * @returns {subscription.PaymentMethod} PaymentMethod
2080
- * @throws {Error} If the payload is not a reader or valid buffer
2081
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2082
- */
2083
- PaymentMethod.decode = function decode(reader, length) {
2084
- if (!(reader instanceof $Reader))
2085
- reader = $Reader.create(reader);
2086
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.subscription.PaymentMethod();
2087
- while (reader.pos < end) {
2088
- var tag = reader.uint32();
2089
- switch (tag >>> 3) {
2090
- case 0:
2091
- message.status = reader.int32();
2092
- break;
2093
- default:
2094
- reader.skipType(tag & 7);
2095
- break;
2096
- }
2097
- }
2098
- return message;
2099
- };
2100
-
2101
- /**
2102
- * Decodes a PaymentMethod message from the specified reader or buffer, length delimited.
2103
- * @function decodeDelimited
2104
- * @memberof subscription.PaymentMethod
2105
- * @static
2106
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
2107
- * @returns {subscription.PaymentMethod} PaymentMethod
2108
- * @throws {Error} If the payload is not a reader or valid buffer
2109
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2110
- */
2111
- PaymentMethod.decodeDelimited = function decodeDelimited(reader) {
2112
- if (!(reader instanceof $Reader))
2113
- reader = new $Reader(reader);
2114
- return this.decode(reader, reader.uint32());
2115
- };
2116
-
2117
- /**
2118
- * Verifies a PaymentMethod message.
2119
- * @function verify
2120
- * @memberof subscription.PaymentMethod
2121
- * @static
2122
- * @param {Object.<string,*>} message Plain object to verify
2123
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
2124
- */
2125
- PaymentMethod.verify = function verify(message) {
2126
- if (typeof message !== "object" || message === null)
2127
- return "object expected";
2128
- if (message.status != null && message.hasOwnProperty("status"))
2129
- switch (message.status) {
2130
- default:
2131
- return "status: enum value expected";
2132
- case 0:
2133
- case 1:
2134
- break;
2135
- }
2136
- return null;
2137
- };
2138
-
2139
- /**
2140
- * Creates a PaymentMethod message from a plain object. Also converts values to their respective internal types.
2141
- * @function fromObject
2142
- * @memberof subscription.PaymentMethod
2143
- * @static
2144
- * @param {Object.<string,*>} object Plain object
2145
- * @returns {subscription.PaymentMethod} PaymentMethod
2146
- */
2147
- PaymentMethod.fromObject = function fromObject(object) {
2148
- if (object instanceof $root.subscription.PaymentMethod)
2149
- return object;
2150
- var message = new $root.subscription.PaymentMethod();
2151
- switch (object.status) {
2152
- case "ACTIVE":
2153
- case 0:
2154
- message.status = 0;
2155
- break;
2156
- case "CLOSED":
2157
- case 1:
2158
- message.status = 1;
2159
- break;
2160
- }
2161
- return message;
2162
- };
2163
-
2164
- /**
2165
- * Creates a plain object from a PaymentMethod message. Also converts values to other types if specified.
2166
- * @function toObject
2167
- * @memberof subscription.PaymentMethod
2168
- * @static
2169
- * @param {subscription.PaymentMethod} message PaymentMethod
2170
- * @param {$protobuf.IConversionOptions} [options] Conversion options
2171
- * @returns {Object.<string,*>} Plain object
2172
- */
2173
- PaymentMethod.toObject = function toObject(message, options) {
2174
- if (!options)
2175
- options = {};
2176
- var object = {};
2177
- if (options.defaults)
2178
- object.status = options.enums === String ? "ACTIVE" : 0;
2179
- if (message.status != null && message.hasOwnProperty("status"))
2180
- object.status = options.enums === String ? $root.subscription.PaymentMethodStatus[message.status] : message.status;
2181
- return object;
2182
- };
2183
-
2184
- /**
2185
- * Converts this PaymentMethod to JSON.
2186
- * @function toJSON
2187
- * @memberof subscription.PaymentMethod
2188
- * @instance
2189
- * @returns {Object.<string,*>} JSON object
2190
- */
2191
- PaymentMethod.prototype.toJSON = function toJSON() {
2192
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
2193
- };
2194
-
2195
- return PaymentMethod;
2196
- })();
2197
-
2198
- /**
2199
- * PaymentMethodStatus enum.
2200
- * @name subscription.PaymentMethodStatus
2201
- * @enum {string}
2202
- * @property {number} ACTIVE=0 ACTIVE value
2203
- * @property {number} CLOSED=1 CLOSED value
2204
- */
2205
- subscription.PaymentMethodStatus = (function() {
2206
- var valuesById = {}, values = Object.create(valuesById);
2207
- values[valuesById[0] = "ACTIVE"] = 0;
2208
- values[valuesById[1] = "CLOSED"] = 1;
2209
- return values;
2210
- })();
2211
-
2212
1998
  subscription.Plan = (function() {
2213
1999
 
2214
2000
  /**
@@ -5497,7 +5283,6 @@ $root.SubscriptionCancelled = (function() {
5497
5283
  * @property {number|null} [id] SubscriptionCancelled id
5498
5284
  * @property {number|Long|null} [updatedOn] SubscriptionCancelled updatedOn
5499
5285
  * @property {string|null} [userId] SubscriptionCancelled userId
5500
- * @property {subscription.IPaymentMethod|null} [paymentMethod] SubscriptionCancelled paymentMethod
5501
5286
  */
5502
5287
 
5503
5288
  /**
@@ -5539,14 +5324,6 @@ $root.SubscriptionCancelled = (function() {
5539
5324
  */
5540
5325
  SubscriptionCancelled.prototype.userId = "";
5541
5326
 
5542
- /**
5543
- * SubscriptionCancelled paymentMethod.
5544
- * @member {subscription.IPaymentMethod|null|undefined} paymentMethod
5545
- * @memberof SubscriptionCancelled
5546
- * @instance
5547
- */
5548
- SubscriptionCancelled.prototype.paymentMethod = null;
5549
-
5550
5327
  /**
5551
5328
  * Creates a new SubscriptionCancelled instance using the specified properties.
5552
5329
  * @function create
@@ -5577,8 +5354,6 @@ $root.SubscriptionCancelled = (function() {
5577
5354
  writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.updatedOn);
5578
5355
  if (message.userId != null && message.hasOwnProperty("userId"))
5579
5356
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.userId);
5580
- if (message.paymentMethod != null && message.hasOwnProperty("paymentMethod"))
5581
- $root.subscription.PaymentMethod.encode(message.paymentMethod, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
5582
5357
  return writer;
5583
5358
  };
5584
5359
 
@@ -5622,9 +5397,6 @@ $root.SubscriptionCancelled = (function() {
5622
5397
  case 3:
5623
5398
  message.userId = reader.string();
5624
5399
  break;
5625
- case 4:
5626
- message.paymentMethod = $root.subscription.PaymentMethod.decode(reader, reader.uint32());
5627
- break;
5628
5400
  default:
5629
5401
  reader.skipType(tag & 7);
5630
5402
  break;
@@ -5669,11 +5441,6 @@ $root.SubscriptionCancelled = (function() {
5669
5441
  if (message.userId != null && message.hasOwnProperty("userId"))
5670
5442
  if (!$util.isString(message.userId))
5671
5443
  return "userId: string expected";
5672
- if (message.paymentMethod != null && message.hasOwnProperty("paymentMethod")) {
5673
- var error = $root.subscription.PaymentMethod.verify(message.paymentMethod);
5674
- if (error)
5675
- return "paymentMethod." + error;
5676
- }
5677
5444
  return null;
5678
5445
  };
5679
5446
 
@@ -5702,11 +5469,6 @@ $root.SubscriptionCancelled = (function() {
5702
5469
  message.updatedOn = new $util.LongBits(object.updatedOn.low >>> 0, object.updatedOn.high >>> 0).toNumber(true);
5703
5470
  if (object.userId != null)
5704
5471
  message.userId = String(object.userId);
5705
- if (object.paymentMethod != null) {
5706
- if (typeof object.paymentMethod !== "object")
5707
- throw TypeError(".SubscriptionCancelled.paymentMethod: object expected");
5708
- message.paymentMethod = $root.subscription.PaymentMethod.fromObject(object.paymentMethod);
5709
- }
5710
5472
  return message;
5711
5473
  };
5712
5474
 
@@ -5731,7 +5493,6 @@ $root.SubscriptionCancelled = (function() {
5731
5493
  } else
5732
5494
  object.updatedOn = options.longs === String ? "0" : 0;
5733
5495
  object.userId = "";
5734
- object.paymentMethod = null;
5735
5496
  }
5736
5497
  if (message.id != null && message.hasOwnProperty("id"))
5737
5498
  object.id = message.id;
@@ -5742,8 +5503,6 @@ $root.SubscriptionCancelled = (function() {
5742
5503
  object.updatedOn = options.longs === String ? $util.Long.prototype.toString.call(message.updatedOn) : options.longs === Number ? new $util.LongBits(message.updatedOn.low >>> 0, message.updatedOn.high >>> 0).toNumber(true) : message.updatedOn;
5743
5504
  if (message.userId != null && message.hasOwnProperty("userId"))
5744
5505
  object.userId = message.userId;
5745
- if (message.paymentMethod != null && message.hasOwnProperty("paymentMethod"))
5746
- object.paymentMethod = $root.subscription.PaymentMethod.toObject(message.paymentMethod, options);
5747
5506
  return object;
5748
5507
  };
5749
5508
 
@@ -6019,7 +5778,6 @@ $root.SubscriptionUpcomingRenewal = (function() {
6019
5778
  * @property {subscription.SubscriptionMembership|null} [membership] SubscriptionUpcomingRenewal membership
6020
5779
  * @property {subscription.PlanAffiliation|null} [planAffiliation] SubscriptionUpcomingRenewal planAffiliation
6021
5780
  * @property {number|Long|null} [renewalDate] SubscriptionUpcomingRenewal renewalDate
6022
- * @property {subscription.IPaymentMethod|null} [paymentMethod] SubscriptionUpcomingRenewal paymentMethod
6023
5781
  */
6024
5782
 
6025
5783
  /**
@@ -6085,14 +5843,6 @@ $root.SubscriptionUpcomingRenewal = (function() {
6085
5843
  */
6086
5844
  SubscriptionUpcomingRenewal.prototype.renewalDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
6087
5845
 
6088
- /**
6089
- * SubscriptionUpcomingRenewal paymentMethod.
6090
- * @member {subscription.IPaymentMethod|null|undefined} paymentMethod
6091
- * @memberof SubscriptionUpcomingRenewal
6092
- * @instance
6093
- */
6094
- SubscriptionUpcomingRenewal.prototype.paymentMethod = null;
6095
-
6096
5846
  /**
6097
5847
  * Creates a new SubscriptionUpcomingRenewal instance using the specified properties.
6098
5848
  * @function create
@@ -6129,8 +5879,6 @@ $root.SubscriptionUpcomingRenewal = (function() {
6129
5879
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.planAffiliation);
6130
5880
  if (message.renewalDate != null && message.hasOwnProperty("renewalDate"))
6131
5881
  writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.renewalDate);
6132
- if (message.paymentMethod != null && message.hasOwnProperty("paymentMethod"))
6133
- $root.subscription.PaymentMethod.encode(message.paymentMethod, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
6134
5882
  return writer;
6135
5883
  };
6136
5884
 
@@ -6183,9 +5931,6 @@ $root.SubscriptionUpcomingRenewal = (function() {
6183
5931
  case 6:
6184
5932
  message.renewalDate = reader.uint64();
6185
5933
  break;
6186
- case 7:
6187
- message.paymentMethod = $root.subscription.PaymentMethod.decode(reader, reader.uint32());
6188
- break;
6189
5934
  default:
6190
5935
  reader.skipType(tag & 7);
6191
5936
  break;
@@ -6250,11 +5995,6 @@ $root.SubscriptionUpcomingRenewal = (function() {
6250
5995
  if (message.renewalDate != null && message.hasOwnProperty("renewalDate"))
6251
5996
  if (!$util.isInteger(message.renewalDate) && !(message.renewalDate && $util.isInteger(message.renewalDate.low) && $util.isInteger(message.renewalDate.high)))
6252
5997
  return "renewalDate: integer|Long expected";
6253
- if (message.paymentMethod != null && message.hasOwnProperty("paymentMethod")) {
6254
- var error = $root.subscription.PaymentMethod.verify(message.paymentMethod);
6255
- if (error)
6256
- return "paymentMethod." + error;
6257
- }
6258
5998
  return null;
6259
5999
  };
6260
6000
 
@@ -6309,11 +6049,6 @@ $root.SubscriptionUpcomingRenewal = (function() {
6309
6049
  message.renewalDate = object.renewalDate;
6310
6050
  else if (typeof object.renewalDate === "object")
6311
6051
  message.renewalDate = new $util.LongBits(object.renewalDate.low >>> 0, object.renewalDate.high >>> 0).toNumber(true);
6312
- if (object.paymentMethod != null) {
6313
- if (typeof object.paymentMethod !== "object")
6314
- throw TypeError(".SubscriptionUpcomingRenewal.paymentMethod: object expected");
6315
- message.paymentMethod = $root.subscription.PaymentMethod.fromObject(object.paymentMethod);
6316
- }
6317
6052
  return message;
6318
6053
  };
6319
6054
 
@@ -6341,7 +6076,6 @@ $root.SubscriptionUpcomingRenewal = (function() {
6341
6076
  object.renewalDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
6342
6077
  } else
6343
6078
  object.renewalDate = options.longs === String ? "0" : 0;
6344
- object.paymentMethod = null;
6345
6079
  }
6346
6080
  if (message.id != null && message.hasOwnProperty("id"))
6347
6081
  object.id = message.id;
@@ -6358,8 +6092,6 @@ $root.SubscriptionUpcomingRenewal = (function() {
6358
6092
  object.renewalDate = options.longs === String ? String(message.renewalDate) : message.renewalDate;
6359
6093
  else
6360
6094
  object.renewalDate = options.longs === String ? $util.Long.prototype.toString.call(message.renewalDate) : options.longs === Number ? new $util.LongBits(message.renewalDate.low >>> 0, message.renewalDate.high >>> 0).toNumber(true) : message.renewalDate;
6361
- if (message.paymentMethod != null && message.hasOwnProperty("paymentMethod"))
6362
- object.paymentMethod = $root.subscription.PaymentMethod.toObject(message.paymentMethod, options);
6363
6095
  return object;
6364
6096
  };
6365
6097
 
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.24.0"
19
+ "version": "1.26.0"
20
20
  }