@headspace/protos-events 1.725.0 → 1.727.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
@@ -46197,6 +46197,144 @@ export enum OrgCoverageEapCarrier {
46197
46197
  ORG_COVERAGE_EAP_CARRIER_NONE = 4
46198
46198
  }
46199
46199
 
46200
+ /** Properties of a PartnerRedemptionRevoked. */
46201
+ export interface IPartnerRedemptionRevoked {
46202
+
46203
+ /** Unique identifier for the redemption. Formatted as a 24-char hex string. */
46204
+ redemptionId?: (string|null);
46205
+
46206
+ /**
46207
+ * Redemption reference identifier provided by the partner. Partners are not supposed to put any PII in this field,
46208
+ * but we cannot enforce it. Thus, this field _may contain_ sensitive information.
46209
+ */
46210
+ redemptionRef?: (string|null);
46211
+
46212
+ /** Access-code used for the redemption. Provided by the 'access-code' service. */
46213
+ redemptionCode?: (string|null);
46214
+
46215
+ /**
46216
+ * Partner package identifier. Packages contain information what is being given to members redeeming a subscription
46217
+ * through the partner and are tied a single product sku. Formatted as a 24-char hex string.
46218
+ */
46219
+ partnerPackageId?: (string|null);
46220
+
46221
+ /** Unique identifier of the partner. Formatted as a 24-char hex string */
46222
+ partnerId?: (string|null);
46223
+
46224
+ /** Headspace user associated to the redemption, (e.g. HSUSER_FOOBAR) */
46225
+ hsUserId?: (string|null);
46226
+
46227
+ /** UTC epoch milliseconds - when the redemption was revoked. */
46228
+ revokedAt?: (number|Long|null);
46229
+ }
46230
+
46231
+ /** Represents a PartnerRedemptionRevoked. */
46232
+ export class PartnerRedemptionRevoked implements IPartnerRedemptionRevoked {
46233
+
46234
+ /**
46235
+ * Constructs a new PartnerRedemptionRevoked.
46236
+ * @param [properties] Properties to set
46237
+ */
46238
+ constructor(properties?: IPartnerRedemptionRevoked);
46239
+
46240
+ /** Unique identifier for the redemption. Formatted as a 24-char hex string. */
46241
+ public redemptionId: string;
46242
+
46243
+ /**
46244
+ * Redemption reference identifier provided by the partner. Partners are not supposed to put any PII in this field,
46245
+ * but we cannot enforce it. Thus, this field _may contain_ sensitive information.
46246
+ */
46247
+ public redemptionRef: string;
46248
+
46249
+ /** Access-code used for the redemption. Provided by the 'access-code' service. */
46250
+ public redemptionCode: string;
46251
+
46252
+ /**
46253
+ * Partner package identifier. Packages contain information what is being given to members redeeming a subscription
46254
+ * through the partner and are tied a single product sku. Formatted as a 24-char hex string.
46255
+ */
46256
+ public partnerPackageId: string;
46257
+
46258
+ /** Unique identifier of the partner. Formatted as a 24-char hex string */
46259
+ public partnerId: string;
46260
+
46261
+ /** Headspace user associated to the redemption, (e.g. HSUSER_FOOBAR) */
46262
+ public hsUserId: string;
46263
+
46264
+ /** UTC epoch milliseconds - when the redemption was revoked. */
46265
+ public revokedAt: (number|Long);
46266
+
46267
+ /**
46268
+ * Creates a new PartnerRedemptionRevoked instance using the specified properties.
46269
+ * @param [properties] Properties to set
46270
+ * @returns PartnerRedemptionRevoked instance
46271
+ */
46272
+ public static create(properties?: IPartnerRedemptionRevoked): PartnerRedemptionRevoked;
46273
+
46274
+ /**
46275
+ * Encodes the specified PartnerRedemptionRevoked message. Does not implicitly {@link PartnerRedemptionRevoked.verify|verify} messages.
46276
+ * @param message PartnerRedemptionRevoked message or plain object to encode
46277
+ * @param [writer] Writer to encode to
46278
+ * @returns Writer
46279
+ */
46280
+ public static encode(message: IPartnerRedemptionRevoked, writer?: $protobuf.Writer): $protobuf.Writer;
46281
+
46282
+ /**
46283
+ * Encodes the specified PartnerRedemptionRevoked message, length delimited. Does not implicitly {@link PartnerRedemptionRevoked.verify|verify} messages.
46284
+ * @param message PartnerRedemptionRevoked message or plain object to encode
46285
+ * @param [writer] Writer to encode to
46286
+ * @returns Writer
46287
+ */
46288
+ public static encodeDelimited(message: IPartnerRedemptionRevoked, writer?: $protobuf.Writer): $protobuf.Writer;
46289
+
46290
+ /**
46291
+ * Decodes a PartnerRedemptionRevoked message from the specified reader or buffer.
46292
+ * @param reader Reader or buffer to decode from
46293
+ * @param [length] Message length if known beforehand
46294
+ * @returns PartnerRedemptionRevoked
46295
+ * @throws {Error} If the payload is not a reader or valid buffer
46296
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
46297
+ */
46298
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PartnerRedemptionRevoked;
46299
+
46300
+ /**
46301
+ * Decodes a PartnerRedemptionRevoked message from the specified reader or buffer, length delimited.
46302
+ * @param reader Reader or buffer to decode from
46303
+ * @returns PartnerRedemptionRevoked
46304
+ * @throws {Error} If the payload is not a reader or valid buffer
46305
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
46306
+ */
46307
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PartnerRedemptionRevoked;
46308
+
46309
+ /**
46310
+ * Verifies a PartnerRedemptionRevoked message.
46311
+ * @param message Plain object to verify
46312
+ * @returns `null` if valid, otherwise the reason why it is not
46313
+ */
46314
+ public static verify(message: { [k: string]: any }): (string|null);
46315
+
46316
+ /**
46317
+ * Creates a PartnerRedemptionRevoked message from a plain object. Also converts values to their respective internal types.
46318
+ * @param object Plain object
46319
+ * @returns PartnerRedemptionRevoked
46320
+ */
46321
+ public static fromObject(object: { [k: string]: any }): PartnerRedemptionRevoked;
46322
+
46323
+ /**
46324
+ * Creates a plain object from a PartnerRedemptionRevoked message. Also converts values to other types if specified.
46325
+ * @param message PartnerRedemptionRevoked
46326
+ * @param [options] Conversion options
46327
+ * @returns Plain object
46328
+ */
46329
+ public static toObject(message: PartnerRedemptionRevoked, options?: $protobuf.IConversionOptions): { [k: string]: any };
46330
+
46331
+ /**
46332
+ * Converts this PartnerRedemptionRevoked to JSON.
46333
+ * @returns JSON object
46334
+ */
46335
+ public toJSON(): { [k: string]: any };
46336
+ }
46337
+
46200
46338
  /** Properties of a WakeupPlaylistCreated. */
46201
46339
  export interface IWakeupPlaylistCreated {
46202
46340
 
@@ -70839,8 +70977,7 @@ export namespace productcatalog {
70839
70977
  PLATFORM_SPOTIFY = 4,
70840
70978
  PLATFORM_ZUORA = 5,
70841
70979
  PLATFORM_B2B_ORG = 6,
70842
- PRODUCT_SKU_PLATFORM_SIKA = 7,
70843
- PRODUCT_SKU_PLATFORM_PAPI = 8
70980
+ PRODUCT_SKU_PLATFORM_SIKA = 7
70844
70981
  }
70845
70982
 
70846
70983
  /** ProductSkuBillingCategory enum. */
package/lib/index.js CHANGED
@@ -131920,6 +131920,344 @@ $root.OrgCoverageEapCarrier = (function() {
131920
131920
  return values;
131921
131921
  })();
131922
131922
 
131923
+ $root.PartnerRedemptionRevoked = (function() {
131924
+
131925
+ /**
131926
+ * Properties of a PartnerRedemptionRevoked.
131927
+ * @name IPartnerRedemptionRevoked
131928
+ * @interface IPartnerRedemptionRevoked
131929
+ * @property {string|null} [redemptionId] Unique identifier for the redemption. Formatted as a 24-char hex string.
131930
+ * @property {string|null} [redemptionRef] Redemption reference identifier provided by the partner. Partners are not supposed to put any PII in this field,
131931
+ * but we cannot enforce it. Thus, this field _may contain_ sensitive information.
131932
+ * @property {string|null} [redemptionCode] Access-code used for the redemption. Provided by the 'access-code' service.
131933
+ * @property {string|null} [partnerPackageId] Partner package identifier. Packages contain information what is being given to members redeeming a subscription
131934
+ * through the partner and are tied a single product sku. Formatted as a 24-char hex string.
131935
+ * @property {string|null} [partnerId] Unique identifier of the partner. Formatted as a 24-char hex string
131936
+ * @property {string|null} [hsUserId] Headspace user associated to the redemption, (e.g. HSUSER_FOOBAR)
131937
+ * @property {number|Long|null} [revokedAt] UTC epoch milliseconds - when the redemption was revoked.
131938
+ */
131939
+
131940
+ /**
131941
+ * Constructs a new PartnerRedemptionRevoked.
131942
+ * @name PartnerRedemptionRevoked
131943
+ * @classdesc Represents a PartnerRedemptionRevoked.
131944
+ * @implements IPartnerRedemptionRevoked
131945
+ * @constructor
131946
+ * @param {IPartnerRedemptionRevoked=} [properties] Properties to set
131947
+ */
131948
+ function PartnerRedemptionRevoked(properties) {
131949
+ if (properties)
131950
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
131951
+ if (properties[keys[i]] != null)
131952
+ this[keys[i]] = properties[keys[i]];
131953
+ }
131954
+
131955
+ /**
131956
+ * Unique identifier for the redemption. Formatted as a 24-char hex string.
131957
+ * @member {string} redemptionId
131958
+ * @memberof PartnerRedemptionRevoked
131959
+ * @instance
131960
+ */
131961
+ PartnerRedemptionRevoked.prototype.redemptionId = "";
131962
+
131963
+ /**
131964
+ * Redemption reference identifier provided by the partner. Partners are not supposed to put any PII in this field,
131965
+ * but we cannot enforce it. Thus, this field _may contain_ sensitive information.
131966
+ * @member {string} redemptionRef
131967
+ * @memberof PartnerRedemptionRevoked
131968
+ * @instance
131969
+ */
131970
+ PartnerRedemptionRevoked.prototype.redemptionRef = "";
131971
+
131972
+ /**
131973
+ * Access-code used for the redemption. Provided by the 'access-code' service.
131974
+ * @member {string} redemptionCode
131975
+ * @memberof PartnerRedemptionRevoked
131976
+ * @instance
131977
+ */
131978
+ PartnerRedemptionRevoked.prototype.redemptionCode = "";
131979
+
131980
+ /**
131981
+ * Partner package identifier. Packages contain information what is being given to members redeeming a subscription
131982
+ * through the partner and are tied a single product sku. Formatted as a 24-char hex string.
131983
+ * @member {string} partnerPackageId
131984
+ * @memberof PartnerRedemptionRevoked
131985
+ * @instance
131986
+ */
131987
+ PartnerRedemptionRevoked.prototype.partnerPackageId = "";
131988
+
131989
+ /**
131990
+ * Unique identifier of the partner. Formatted as a 24-char hex string
131991
+ * @member {string} partnerId
131992
+ * @memberof PartnerRedemptionRevoked
131993
+ * @instance
131994
+ */
131995
+ PartnerRedemptionRevoked.prototype.partnerId = "";
131996
+
131997
+ /**
131998
+ * Headspace user associated to the redemption, (e.g. HSUSER_FOOBAR)
131999
+ * @member {string} hsUserId
132000
+ * @memberof PartnerRedemptionRevoked
132001
+ * @instance
132002
+ */
132003
+ PartnerRedemptionRevoked.prototype.hsUserId = "";
132004
+
132005
+ /**
132006
+ * UTC epoch milliseconds - when the redemption was revoked.
132007
+ * @member {number|Long} revokedAt
132008
+ * @memberof PartnerRedemptionRevoked
132009
+ * @instance
132010
+ */
132011
+ PartnerRedemptionRevoked.prototype.revokedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
132012
+
132013
+ /**
132014
+ * Creates a new PartnerRedemptionRevoked instance using the specified properties.
132015
+ * @function create
132016
+ * @memberof PartnerRedemptionRevoked
132017
+ * @static
132018
+ * @param {IPartnerRedemptionRevoked=} [properties] Properties to set
132019
+ * @returns {PartnerRedemptionRevoked} PartnerRedemptionRevoked instance
132020
+ */
132021
+ PartnerRedemptionRevoked.create = function create(properties) {
132022
+ return new PartnerRedemptionRevoked(properties);
132023
+ };
132024
+
132025
+ /**
132026
+ * Encodes the specified PartnerRedemptionRevoked message. Does not implicitly {@link PartnerRedemptionRevoked.verify|verify} messages.
132027
+ * @function encode
132028
+ * @memberof PartnerRedemptionRevoked
132029
+ * @static
132030
+ * @param {IPartnerRedemptionRevoked} message PartnerRedemptionRevoked message or plain object to encode
132031
+ * @param {$protobuf.Writer} [writer] Writer to encode to
132032
+ * @returns {$protobuf.Writer} Writer
132033
+ */
132034
+ PartnerRedemptionRevoked.encode = function encode(message, writer) {
132035
+ if (!writer)
132036
+ writer = $Writer.create();
132037
+ if (message.redemptionId != null && message.hasOwnProperty("redemptionId"))
132038
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.redemptionId);
132039
+ if (message.redemptionRef != null && message.hasOwnProperty("redemptionRef"))
132040
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.redemptionRef);
132041
+ if (message.redemptionCode != null && message.hasOwnProperty("redemptionCode"))
132042
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.redemptionCode);
132043
+ if (message.partnerPackageId != null && message.hasOwnProperty("partnerPackageId"))
132044
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.partnerPackageId);
132045
+ if (message.partnerId != null && message.hasOwnProperty("partnerId"))
132046
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.partnerId);
132047
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
132048
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.hsUserId);
132049
+ if (message.revokedAt != null && message.hasOwnProperty("revokedAt"))
132050
+ writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.revokedAt);
132051
+ return writer;
132052
+ };
132053
+
132054
+ /**
132055
+ * Encodes the specified PartnerRedemptionRevoked message, length delimited. Does not implicitly {@link PartnerRedemptionRevoked.verify|verify} messages.
132056
+ * @function encodeDelimited
132057
+ * @memberof PartnerRedemptionRevoked
132058
+ * @static
132059
+ * @param {IPartnerRedemptionRevoked} message PartnerRedemptionRevoked message or plain object to encode
132060
+ * @param {$protobuf.Writer} [writer] Writer to encode to
132061
+ * @returns {$protobuf.Writer} Writer
132062
+ */
132063
+ PartnerRedemptionRevoked.encodeDelimited = function encodeDelimited(message, writer) {
132064
+ return this.encode(message, writer).ldelim();
132065
+ };
132066
+
132067
+ /**
132068
+ * Decodes a PartnerRedemptionRevoked message from the specified reader or buffer.
132069
+ * @function decode
132070
+ * @memberof PartnerRedemptionRevoked
132071
+ * @static
132072
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
132073
+ * @param {number} [length] Message length if known beforehand
132074
+ * @returns {PartnerRedemptionRevoked} PartnerRedemptionRevoked
132075
+ * @throws {Error} If the payload is not a reader or valid buffer
132076
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
132077
+ */
132078
+ PartnerRedemptionRevoked.decode = function decode(reader, length) {
132079
+ if (!(reader instanceof $Reader))
132080
+ reader = $Reader.create(reader);
132081
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.PartnerRedemptionRevoked();
132082
+ while (reader.pos < end) {
132083
+ var tag = reader.uint32();
132084
+ switch (tag >>> 3) {
132085
+ case 1:
132086
+ message.redemptionId = reader.string();
132087
+ break;
132088
+ case 2:
132089
+ message.redemptionRef = reader.string();
132090
+ break;
132091
+ case 3:
132092
+ message.redemptionCode = reader.string();
132093
+ break;
132094
+ case 4:
132095
+ message.partnerPackageId = reader.string();
132096
+ break;
132097
+ case 5:
132098
+ message.partnerId = reader.string();
132099
+ break;
132100
+ case 6:
132101
+ message.hsUserId = reader.string();
132102
+ break;
132103
+ case 7:
132104
+ message.revokedAt = reader.uint64();
132105
+ break;
132106
+ default:
132107
+ reader.skipType(tag & 7);
132108
+ break;
132109
+ }
132110
+ }
132111
+ return message;
132112
+ };
132113
+
132114
+ /**
132115
+ * Decodes a PartnerRedemptionRevoked message from the specified reader or buffer, length delimited.
132116
+ * @function decodeDelimited
132117
+ * @memberof PartnerRedemptionRevoked
132118
+ * @static
132119
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
132120
+ * @returns {PartnerRedemptionRevoked} PartnerRedemptionRevoked
132121
+ * @throws {Error} If the payload is not a reader or valid buffer
132122
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
132123
+ */
132124
+ PartnerRedemptionRevoked.decodeDelimited = function decodeDelimited(reader) {
132125
+ if (!(reader instanceof $Reader))
132126
+ reader = new $Reader(reader);
132127
+ return this.decode(reader, reader.uint32());
132128
+ };
132129
+
132130
+ /**
132131
+ * Verifies a PartnerRedemptionRevoked message.
132132
+ * @function verify
132133
+ * @memberof PartnerRedemptionRevoked
132134
+ * @static
132135
+ * @param {Object.<string,*>} message Plain object to verify
132136
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
132137
+ */
132138
+ PartnerRedemptionRevoked.verify = function verify(message) {
132139
+ if (typeof message !== "object" || message === null)
132140
+ return "object expected";
132141
+ if (message.redemptionId != null && message.hasOwnProperty("redemptionId"))
132142
+ if (!$util.isString(message.redemptionId))
132143
+ return "redemptionId: string expected";
132144
+ if (message.redemptionRef != null && message.hasOwnProperty("redemptionRef"))
132145
+ if (!$util.isString(message.redemptionRef))
132146
+ return "redemptionRef: string expected";
132147
+ if (message.redemptionCode != null && message.hasOwnProperty("redemptionCode"))
132148
+ if (!$util.isString(message.redemptionCode))
132149
+ return "redemptionCode: string expected";
132150
+ if (message.partnerPackageId != null && message.hasOwnProperty("partnerPackageId"))
132151
+ if (!$util.isString(message.partnerPackageId))
132152
+ return "partnerPackageId: string expected";
132153
+ if (message.partnerId != null && message.hasOwnProperty("partnerId"))
132154
+ if (!$util.isString(message.partnerId))
132155
+ return "partnerId: string expected";
132156
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
132157
+ if (!$util.isString(message.hsUserId))
132158
+ return "hsUserId: string expected";
132159
+ if (message.revokedAt != null && message.hasOwnProperty("revokedAt"))
132160
+ if (!$util.isInteger(message.revokedAt) && !(message.revokedAt && $util.isInteger(message.revokedAt.low) && $util.isInteger(message.revokedAt.high)))
132161
+ return "revokedAt: integer|Long expected";
132162
+ return null;
132163
+ };
132164
+
132165
+ /**
132166
+ * Creates a PartnerRedemptionRevoked message from a plain object. Also converts values to their respective internal types.
132167
+ * @function fromObject
132168
+ * @memberof PartnerRedemptionRevoked
132169
+ * @static
132170
+ * @param {Object.<string,*>} object Plain object
132171
+ * @returns {PartnerRedemptionRevoked} PartnerRedemptionRevoked
132172
+ */
132173
+ PartnerRedemptionRevoked.fromObject = function fromObject(object) {
132174
+ if (object instanceof $root.PartnerRedemptionRevoked)
132175
+ return object;
132176
+ var message = new $root.PartnerRedemptionRevoked();
132177
+ if (object.redemptionId != null)
132178
+ message.redemptionId = String(object.redemptionId);
132179
+ if (object.redemptionRef != null)
132180
+ message.redemptionRef = String(object.redemptionRef);
132181
+ if (object.redemptionCode != null)
132182
+ message.redemptionCode = String(object.redemptionCode);
132183
+ if (object.partnerPackageId != null)
132184
+ message.partnerPackageId = String(object.partnerPackageId);
132185
+ if (object.partnerId != null)
132186
+ message.partnerId = String(object.partnerId);
132187
+ if (object.hsUserId != null)
132188
+ message.hsUserId = String(object.hsUserId);
132189
+ if (object.revokedAt != null)
132190
+ if ($util.Long)
132191
+ (message.revokedAt = $util.Long.fromValue(object.revokedAt)).unsigned = true;
132192
+ else if (typeof object.revokedAt === "string")
132193
+ message.revokedAt = parseInt(object.revokedAt, 10);
132194
+ else if (typeof object.revokedAt === "number")
132195
+ message.revokedAt = object.revokedAt;
132196
+ else if (typeof object.revokedAt === "object")
132197
+ message.revokedAt = new $util.LongBits(object.revokedAt.low >>> 0, object.revokedAt.high >>> 0).toNumber(true);
132198
+ return message;
132199
+ };
132200
+
132201
+ /**
132202
+ * Creates a plain object from a PartnerRedemptionRevoked message. Also converts values to other types if specified.
132203
+ * @function toObject
132204
+ * @memberof PartnerRedemptionRevoked
132205
+ * @static
132206
+ * @param {PartnerRedemptionRevoked} message PartnerRedemptionRevoked
132207
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
132208
+ * @returns {Object.<string,*>} Plain object
132209
+ */
132210
+ PartnerRedemptionRevoked.toObject = function toObject(message, options) {
132211
+ if (!options)
132212
+ options = {};
132213
+ var object = {};
132214
+ if (options.defaults) {
132215
+ object.redemptionId = "";
132216
+ object.redemptionRef = "";
132217
+ object.redemptionCode = "";
132218
+ object.partnerPackageId = "";
132219
+ object.partnerId = "";
132220
+ object.hsUserId = "";
132221
+ if ($util.Long) {
132222
+ var long = new $util.Long(0, 0, true);
132223
+ object.revokedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
132224
+ } else
132225
+ object.revokedAt = options.longs === String ? "0" : 0;
132226
+ }
132227
+ if (message.redemptionId != null && message.hasOwnProperty("redemptionId"))
132228
+ object.redemptionId = message.redemptionId;
132229
+ if (message.redemptionRef != null && message.hasOwnProperty("redemptionRef"))
132230
+ object.redemptionRef = message.redemptionRef;
132231
+ if (message.redemptionCode != null && message.hasOwnProperty("redemptionCode"))
132232
+ object.redemptionCode = message.redemptionCode;
132233
+ if (message.partnerPackageId != null && message.hasOwnProperty("partnerPackageId"))
132234
+ object.partnerPackageId = message.partnerPackageId;
132235
+ if (message.partnerId != null && message.hasOwnProperty("partnerId"))
132236
+ object.partnerId = message.partnerId;
132237
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
132238
+ object.hsUserId = message.hsUserId;
132239
+ if (message.revokedAt != null && message.hasOwnProperty("revokedAt"))
132240
+ if (typeof message.revokedAt === "number")
132241
+ object.revokedAt = options.longs === String ? String(message.revokedAt) : message.revokedAt;
132242
+ else
132243
+ object.revokedAt = options.longs === String ? $util.Long.prototype.toString.call(message.revokedAt) : options.longs === Number ? new $util.LongBits(message.revokedAt.low >>> 0, message.revokedAt.high >>> 0).toNumber(true) : message.revokedAt;
132244
+ return object;
132245
+ };
132246
+
132247
+ /**
132248
+ * Converts this PartnerRedemptionRevoked to JSON.
132249
+ * @function toJSON
132250
+ * @memberof PartnerRedemptionRevoked
132251
+ * @instance
132252
+ * @returns {Object.<string,*>} JSON object
132253
+ */
132254
+ PartnerRedemptionRevoked.prototype.toJSON = function toJSON() {
132255
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
132256
+ };
132257
+
132258
+ return PartnerRedemptionRevoked;
132259
+ })();
132260
+
131923
132261
  $root.WakeupPlaylistCreated = (function() {
131924
132262
 
131925
132263
  /**
@@ -198665,7 +199003,6 @@ $root.productcatalog = (function() {
198665
199003
  case 5:
198666
199004
  case 6:
198667
199005
  case 7:
198668
- case 8:
198669
199006
  break;
198670
199007
  }
198671
199008
  if (message.billingCategory != null && message.hasOwnProperty("billingCategory"))
@@ -198782,10 +199119,6 @@ $root.productcatalog = (function() {
198782
199119
  case 7:
198783
199120
  message.platform = 7;
198784
199121
  break;
198785
- case "PRODUCT_SKU_PLATFORM_PAPI":
198786
- case 8:
198787
- message.platform = 8;
198788
- break;
198789
199122
  }
198790
199123
  switch (object.billingCategory) {
198791
199124
  case "BC_UNKNOWN":
@@ -200421,7 +200754,6 @@ $root.productcatalog = (function() {
200421
200754
  * @property {number} PLATFORM_ZUORA=5 PLATFORM_ZUORA value
200422
200755
  * @property {number} PLATFORM_B2B_ORG=6 PLATFORM_B2B_ORG value
200423
200756
  * @property {number} PRODUCT_SKU_PLATFORM_SIKA=7 PRODUCT_SKU_PLATFORM_SIKA value
200424
- * @property {number} PRODUCT_SKU_PLATFORM_PAPI=8 PRODUCT_SKU_PLATFORM_PAPI value
200425
200757
  */
200426
200758
  productcatalog.ProductSkuPlatform = (function() {
200427
200759
  var valuesById = {}, values = Object.create(valuesById);
@@ -200433,7 +200765,6 @@ $root.productcatalog = (function() {
200433
200765
  values[valuesById[5] = "PLATFORM_ZUORA"] = 5;
200434
200766
  values[valuesById[6] = "PLATFORM_B2B_ORG"] = 6;
200435
200767
  values[valuesById[7] = "PRODUCT_SKU_PLATFORM_SIKA"] = 7;
200436
- values[valuesById[8] = "PRODUCT_SKU_PLATFORM_PAPI"] = 8;
200437
200768
  return values;
200438
200769
  })();
200439
200770
 
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.725.0"
19
+ "version": "1.727.0"
20
20
  }