@headspace/protos-events 1.766.0 → 1.768.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 +258 -0
- package/lib/index.js +760 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -47087,6 +47087,162 @@ export class GoogleSubscriptionExpired implements IGoogleSubscriptionExpired {
|
|
|
47087
47087
|
public toJSON(): { [k: string]: any };
|
|
47088
47088
|
}
|
|
47089
47089
|
|
|
47090
|
+
/** Properties of a GoogleSubscriptionRetentionOfferAccepted. */
|
|
47091
|
+
export interface IGoogleSubscriptionRetentionOfferAccepted {
|
|
47092
|
+
|
|
47093
|
+
/** GoogleSubscriptionRetentionOfferAccepted id */
|
|
47094
|
+
id?: (string|null);
|
|
47095
|
+
|
|
47096
|
+
/** GoogleSubscriptionRetentionOfferAccepted endsAt */
|
|
47097
|
+
endsAt?: (number|Long|null);
|
|
47098
|
+
|
|
47099
|
+
/** GoogleSubscriptionRetentionOfferAccepted startsAt */
|
|
47100
|
+
startsAt?: (number|Long|null);
|
|
47101
|
+
|
|
47102
|
+
/** GoogleSubscriptionRetentionOfferAccepted hsUserId */
|
|
47103
|
+
hsUserId?: (string|null);
|
|
47104
|
+
|
|
47105
|
+
/** GoogleSubscriptionRetentionOfferAccepted productId */
|
|
47106
|
+
productId?: (string|null);
|
|
47107
|
+
|
|
47108
|
+
/** GoogleSubscriptionRetentionOfferAccepted autoRenewalStatus */
|
|
47109
|
+
autoRenewalStatus?: (boolean|null);
|
|
47110
|
+
|
|
47111
|
+
/** GoogleSubscriptionRetentionOfferAccepted paymentState */
|
|
47112
|
+
paymentState?: (googlereceipt.GoogleSubscriptionPaymentState|null);
|
|
47113
|
+
|
|
47114
|
+
/** GoogleSubscriptionRetentionOfferAccepted freeTrialStartsAt */
|
|
47115
|
+
freeTrialStartsAt?: (number|Long|null);
|
|
47116
|
+
|
|
47117
|
+
/** GoogleSubscriptionRetentionOfferAccepted freeTrialEndsAt */
|
|
47118
|
+
freeTrialEndsAt?: (number|Long|null);
|
|
47119
|
+
|
|
47120
|
+
/** GoogleSubscriptionRetentionOfferAccepted retentionOfferId */
|
|
47121
|
+
retentionOfferId?: (string|null);
|
|
47122
|
+
|
|
47123
|
+
/** GoogleSubscriptionRetentionOfferAccepted transitionState */
|
|
47124
|
+
transitionState?: (string|null);
|
|
47125
|
+
|
|
47126
|
+
/** GoogleSubscriptionRetentionOfferAccepted transitionEffectiveTime */
|
|
47127
|
+
transitionEffectiveTime?: (number|Long|null);
|
|
47128
|
+
}
|
|
47129
|
+
|
|
47130
|
+
/** Represents a GoogleSubscriptionRetentionOfferAccepted. */
|
|
47131
|
+
export class GoogleSubscriptionRetentionOfferAccepted implements IGoogleSubscriptionRetentionOfferAccepted {
|
|
47132
|
+
|
|
47133
|
+
/**
|
|
47134
|
+
* Constructs a new GoogleSubscriptionRetentionOfferAccepted.
|
|
47135
|
+
* @param [properties] Properties to set
|
|
47136
|
+
*/
|
|
47137
|
+
constructor(properties?: IGoogleSubscriptionRetentionOfferAccepted);
|
|
47138
|
+
|
|
47139
|
+
/** GoogleSubscriptionRetentionOfferAccepted id. */
|
|
47140
|
+
public id: string;
|
|
47141
|
+
|
|
47142
|
+
/** GoogleSubscriptionRetentionOfferAccepted endsAt. */
|
|
47143
|
+
public endsAt: (number|Long);
|
|
47144
|
+
|
|
47145
|
+
/** GoogleSubscriptionRetentionOfferAccepted startsAt. */
|
|
47146
|
+
public startsAt: (number|Long);
|
|
47147
|
+
|
|
47148
|
+
/** GoogleSubscriptionRetentionOfferAccepted hsUserId. */
|
|
47149
|
+
public hsUserId: string;
|
|
47150
|
+
|
|
47151
|
+
/** GoogleSubscriptionRetentionOfferAccepted productId. */
|
|
47152
|
+
public productId: string;
|
|
47153
|
+
|
|
47154
|
+
/** GoogleSubscriptionRetentionOfferAccepted autoRenewalStatus. */
|
|
47155
|
+
public autoRenewalStatus: boolean;
|
|
47156
|
+
|
|
47157
|
+
/** GoogleSubscriptionRetentionOfferAccepted paymentState. */
|
|
47158
|
+
public paymentState: googlereceipt.GoogleSubscriptionPaymentState;
|
|
47159
|
+
|
|
47160
|
+
/** GoogleSubscriptionRetentionOfferAccepted freeTrialStartsAt. */
|
|
47161
|
+
public freeTrialStartsAt: (number|Long);
|
|
47162
|
+
|
|
47163
|
+
/** GoogleSubscriptionRetentionOfferAccepted freeTrialEndsAt. */
|
|
47164
|
+
public freeTrialEndsAt: (number|Long);
|
|
47165
|
+
|
|
47166
|
+
/** GoogleSubscriptionRetentionOfferAccepted retentionOfferId. */
|
|
47167
|
+
public retentionOfferId: string;
|
|
47168
|
+
|
|
47169
|
+
/** GoogleSubscriptionRetentionOfferAccepted transitionState. */
|
|
47170
|
+
public transitionState: string;
|
|
47171
|
+
|
|
47172
|
+
/** GoogleSubscriptionRetentionOfferAccepted transitionEffectiveTime. */
|
|
47173
|
+
public transitionEffectiveTime: (number|Long);
|
|
47174
|
+
|
|
47175
|
+
/**
|
|
47176
|
+
* Creates a new GoogleSubscriptionRetentionOfferAccepted instance using the specified properties.
|
|
47177
|
+
* @param [properties] Properties to set
|
|
47178
|
+
* @returns GoogleSubscriptionRetentionOfferAccepted instance
|
|
47179
|
+
*/
|
|
47180
|
+
public static create(properties?: IGoogleSubscriptionRetentionOfferAccepted): GoogleSubscriptionRetentionOfferAccepted;
|
|
47181
|
+
|
|
47182
|
+
/**
|
|
47183
|
+
* Encodes the specified GoogleSubscriptionRetentionOfferAccepted message. Does not implicitly {@link GoogleSubscriptionRetentionOfferAccepted.verify|verify} messages.
|
|
47184
|
+
* @param message GoogleSubscriptionRetentionOfferAccepted message or plain object to encode
|
|
47185
|
+
* @param [writer] Writer to encode to
|
|
47186
|
+
* @returns Writer
|
|
47187
|
+
*/
|
|
47188
|
+
public static encode(message: IGoogleSubscriptionRetentionOfferAccepted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
47189
|
+
|
|
47190
|
+
/**
|
|
47191
|
+
* Encodes the specified GoogleSubscriptionRetentionOfferAccepted message, length delimited. Does not implicitly {@link GoogleSubscriptionRetentionOfferAccepted.verify|verify} messages.
|
|
47192
|
+
* @param message GoogleSubscriptionRetentionOfferAccepted message or plain object to encode
|
|
47193
|
+
* @param [writer] Writer to encode to
|
|
47194
|
+
* @returns Writer
|
|
47195
|
+
*/
|
|
47196
|
+
public static encodeDelimited(message: IGoogleSubscriptionRetentionOfferAccepted, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
47197
|
+
|
|
47198
|
+
/**
|
|
47199
|
+
* Decodes a GoogleSubscriptionRetentionOfferAccepted message from the specified reader or buffer.
|
|
47200
|
+
* @param reader Reader or buffer to decode from
|
|
47201
|
+
* @param [length] Message length if known beforehand
|
|
47202
|
+
* @returns GoogleSubscriptionRetentionOfferAccepted
|
|
47203
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47204
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47205
|
+
*/
|
|
47206
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GoogleSubscriptionRetentionOfferAccepted;
|
|
47207
|
+
|
|
47208
|
+
/**
|
|
47209
|
+
* Decodes a GoogleSubscriptionRetentionOfferAccepted message from the specified reader or buffer, length delimited.
|
|
47210
|
+
* @param reader Reader or buffer to decode from
|
|
47211
|
+
* @returns GoogleSubscriptionRetentionOfferAccepted
|
|
47212
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47213
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47214
|
+
*/
|
|
47215
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GoogleSubscriptionRetentionOfferAccepted;
|
|
47216
|
+
|
|
47217
|
+
/**
|
|
47218
|
+
* Verifies a GoogleSubscriptionRetentionOfferAccepted message.
|
|
47219
|
+
* @param message Plain object to verify
|
|
47220
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
47221
|
+
*/
|
|
47222
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
47223
|
+
|
|
47224
|
+
/**
|
|
47225
|
+
* Creates a GoogleSubscriptionRetentionOfferAccepted message from a plain object. Also converts values to their respective internal types.
|
|
47226
|
+
* @param object Plain object
|
|
47227
|
+
* @returns GoogleSubscriptionRetentionOfferAccepted
|
|
47228
|
+
*/
|
|
47229
|
+
public static fromObject(object: { [k: string]: any }): GoogleSubscriptionRetentionOfferAccepted;
|
|
47230
|
+
|
|
47231
|
+
/**
|
|
47232
|
+
* Creates a plain object from a GoogleSubscriptionRetentionOfferAccepted message. Also converts values to other types if specified.
|
|
47233
|
+
* @param message GoogleSubscriptionRetentionOfferAccepted
|
|
47234
|
+
* @param [options] Conversion options
|
|
47235
|
+
* @returns Plain object
|
|
47236
|
+
*/
|
|
47237
|
+
public static toObject(message: GoogleSubscriptionRetentionOfferAccepted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
47238
|
+
|
|
47239
|
+
/**
|
|
47240
|
+
* Converts this GoogleSubscriptionRetentionOfferAccepted to JSON.
|
|
47241
|
+
* @returns JSON object
|
|
47242
|
+
*/
|
|
47243
|
+
public toJSON(): { [k: string]: any };
|
|
47244
|
+
}
|
|
47245
|
+
|
|
47090
47246
|
/** NoteType enum. */
|
|
47091
47247
|
export enum NoteType {
|
|
47092
47248
|
NOTE_TYPE_UNKNOWN = 0,
|
|
@@ -49110,6 +49266,108 @@ export class UserOnboardingTopicResponses implements IUserOnboardingTopicRespons
|
|
|
49110
49266
|
public toJSON(): { [k: string]: any };
|
|
49111
49267
|
}
|
|
49112
49268
|
|
|
49269
|
+
/** Properties of a UserOnboardingPrimaryTopicSelected. */
|
|
49270
|
+
export interface IUserOnboardingPrimaryTopicSelected {
|
|
49271
|
+
|
|
49272
|
+
/** UserOnboardingPrimaryTopicSelected hsUserId */
|
|
49273
|
+
hsUserId?: (string|null);
|
|
49274
|
+
|
|
49275
|
+
/** UserOnboardingPrimaryTopicSelected needState */
|
|
49276
|
+
needState?: (string|null);
|
|
49277
|
+
|
|
49278
|
+
/** UserOnboardingPrimaryTopicSelected needStateDisplayName */
|
|
49279
|
+
needStateDisplayName?: (string|null);
|
|
49280
|
+
}
|
|
49281
|
+
|
|
49282
|
+
/** Represents a UserOnboardingPrimaryTopicSelected. */
|
|
49283
|
+
export class UserOnboardingPrimaryTopicSelected implements IUserOnboardingPrimaryTopicSelected {
|
|
49284
|
+
|
|
49285
|
+
/**
|
|
49286
|
+
* Constructs a new UserOnboardingPrimaryTopicSelected.
|
|
49287
|
+
* @param [properties] Properties to set
|
|
49288
|
+
*/
|
|
49289
|
+
constructor(properties?: IUserOnboardingPrimaryTopicSelected);
|
|
49290
|
+
|
|
49291
|
+
/** UserOnboardingPrimaryTopicSelected hsUserId. */
|
|
49292
|
+
public hsUserId: string;
|
|
49293
|
+
|
|
49294
|
+
/** UserOnboardingPrimaryTopicSelected needState. */
|
|
49295
|
+
public needState: string;
|
|
49296
|
+
|
|
49297
|
+
/** UserOnboardingPrimaryTopicSelected needStateDisplayName. */
|
|
49298
|
+
public needStateDisplayName: string;
|
|
49299
|
+
|
|
49300
|
+
/**
|
|
49301
|
+
* Creates a new UserOnboardingPrimaryTopicSelected instance using the specified properties.
|
|
49302
|
+
* @param [properties] Properties to set
|
|
49303
|
+
* @returns UserOnboardingPrimaryTopicSelected instance
|
|
49304
|
+
*/
|
|
49305
|
+
public static create(properties?: IUserOnboardingPrimaryTopicSelected): UserOnboardingPrimaryTopicSelected;
|
|
49306
|
+
|
|
49307
|
+
/**
|
|
49308
|
+
* Encodes the specified UserOnboardingPrimaryTopicSelected message. Does not implicitly {@link UserOnboardingPrimaryTopicSelected.verify|verify} messages.
|
|
49309
|
+
* @param message UserOnboardingPrimaryTopicSelected message or plain object to encode
|
|
49310
|
+
* @param [writer] Writer to encode to
|
|
49311
|
+
* @returns Writer
|
|
49312
|
+
*/
|
|
49313
|
+
public static encode(message: IUserOnboardingPrimaryTopicSelected, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
49314
|
+
|
|
49315
|
+
/**
|
|
49316
|
+
* Encodes the specified UserOnboardingPrimaryTopicSelected message, length delimited. Does not implicitly {@link UserOnboardingPrimaryTopicSelected.verify|verify} messages.
|
|
49317
|
+
* @param message UserOnboardingPrimaryTopicSelected message or plain object to encode
|
|
49318
|
+
* @param [writer] Writer to encode to
|
|
49319
|
+
* @returns Writer
|
|
49320
|
+
*/
|
|
49321
|
+
public static encodeDelimited(message: IUserOnboardingPrimaryTopicSelected, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
49322
|
+
|
|
49323
|
+
/**
|
|
49324
|
+
* Decodes a UserOnboardingPrimaryTopicSelected message from the specified reader or buffer.
|
|
49325
|
+
* @param reader Reader or buffer to decode from
|
|
49326
|
+
* @param [length] Message length if known beforehand
|
|
49327
|
+
* @returns UserOnboardingPrimaryTopicSelected
|
|
49328
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49329
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49330
|
+
*/
|
|
49331
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserOnboardingPrimaryTopicSelected;
|
|
49332
|
+
|
|
49333
|
+
/**
|
|
49334
|
+
* Decodes a UserOnboardingPrimaryTopicSelected message from the specified reader or buffer, length delimited.
|
|
49335
|
+
* @param reader Reader or buffer to decode from
|
|
49336
|
+
* @returns UserOnboardingPrimaryTopicSelected
|
|
49337
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49338
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49339
|
+
*/
|
|
49340
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserOnboardingPrimaryTopicSelected;
|
|
49341
|
+
|
|
49342
|
+
/**
|
|
49343
|
+
* Verifies a UserOnboardingPrimaryTopicSelected message.
|
|
49344
|
+
* @param message Plain object to verify
|
|
49345
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
49346
|
+
*/
|
|
49347
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
49348
|
+
|
|
49349
|
+
/**
|
|
49350
|
+
* Creates a UserOnboardingPrimaryTopicSelected message from a plain object. Also converts values to their respective internal types.
|
|
49351
|
+
* @param object Plain object
|
|
49352
|
+
* @returns UserOnboardingPrimaryTopicSelected
|
|
49353
|
+
*/
|
|
49354
|
+
public static fromObject(object: { [k: string]: any }): UserOnboardingPrimaryTopicSelected;
|
|
49355
|
+
|
|
49356
|
+
/**
|
|
49357
|
+
* Creates a plain object from a UserOnboardingPrimaryTopicSelected message. Also converts values to other types if specified.
|
|
49358
|
+
* @param message UserOnboardingPrimaryTopicSelected
|
|
49359
|
+
* @param [options] Conversion options
|
|
49360
|
+
* @returns Plain object
|
|
49361
|
+
*/
|
|
49362
|
+
public static toObject(message: UserOnboardingPrimaryTopicSelected, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
49363
|
+
|
|
49364
|
+
/**
|
|
49365
|
+
* Converts this UserOnboardingPrimaryTopicSelected to JSON.
|
|
49366
|
+
* @returns JSON object
|
|
49367
|
+
*/
|
|
49368
|
+
public toJSON(): { [k: string]: any };
|
|
49369
|
+
}
|
|
49370
|
+
|
|
49113
49371
|
/** Properties of an OnboardingAssigned. */
|
|
49114
49372
|
export interface IOnboardingAssigned {
|
|
49115
49373
|
|
package/lib/index.js
CHANGED
|
@@ -134714,6 +134714,534 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
134714
134714
|
return GoogleSubscriptionExpired;
|
|
134715
134715
|
})();
|
|
134716
134716
|
|
|
134717
|
+
$root.GoogleSubscriptionRetentionOfferAccepted = (function() {
|
|
134718
|
+
|
|
134719
|
+
/**
|
|
134720
|
+
* Properties of a GoogleSubscriptionRetentionOfferAccepted.
|
|
134721
|
+
* @name IGoogleSubscriptionRetentionOfferAccepted
|
|
134722
|
+
* @interface IGoogleSubscriptionRetentionOfferAccepted
|
|
134723
|
+
* @property {string|null} [id] GoogleSubscriptionRetentionOfferAccepted id
|
|
134724
|
+
* @property {number|Long|null} [endsAt] GoogleSubscriptionRetentionOfferAccepted endsAt
|
|
134725
|
+
* @property {number|Long|null} [startsAt] GoogleSubscriptionRetentionOfferAccepted startsAt
|
|
134726
|
+
* @property {string|null} [hsUserId] GoogleSubscriptionRetentionOfferAccepted hsUserId
|
|
134727
|
+
* @property {string|null} [productId] GoogleSubscriptionRetentionOfferAccepted productId
|
|
134728
|
+
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRetentionOfferAccepted autoRenewalStatus
|
|
134729
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRetentionOfferAccepted paymentState
|
|
134730
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRetentionOfferAccepted freeTrialStartsAt
|
|
134731
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRetentionOfferAccepted freeTrialEndsAt
|
|
134732
|
+
* @property {string|null} [retentionOfferId] GoogleSubscriptionRetentionOfferAccepted retentionOfferId
|
|
134733
|
+
* @property {string|null} [transitionState] GoogleSubscriptionRetentionOfferAccepted transitionState
|
|
134734
|
+
* @property {number|Long|null} [transitionEffectiveTime] GoogleSubscriptionRetentionOfferAccepted transitionEffectiveTime
|
|
134735
|
+
*/
|
|
134736
|
+
|
|
134737
|
+
/**
|
|
134738
|
+
* Constructs a new GoogleSubscriptionRetentionOfferAccepted.
|
|
134739
|
+
* @name GoogleSubscriptionRetentionOfferAccepted
|
|
134740
|
+
* @classdesc Represents a GoogleSubscriptionRetentionOfferAccepted.
|
|
134741
|
+
* @implements IGoogleSubscriptionRetentionOfferAccepted
|
|
134742
|
+
* @constructor
|
|
134743
|
+
* @param {IGoogleSubscriptionRetentionOfferAccepted=} [properties] Properties to set
|
|
134744
|
+
*/
|
|
134745
|
+
function GoogleSubscriptionRetentionOfferAccepted(properties) {
|
|
134746
|
+
if (properties)
|
|
134747
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
134748
|
+
if (properties[keys[i]] != null)
|
|
134749
|
+
this[keys[i]] = properties[keys[i]];
|
|
134750
|
+
}
|
|
134751
|
+
|
|
134752
|
+
/**
|
|
134753
|
+
* GoogleSubscriptionRetentionOfferAccepted id.
|
|
134754
|
+
* @member {string} id
|
|
134755
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134756
|
+
* @instance
|
|
134757
|
+
*/
|
|
134758
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.id = "";
|
|
134759
|
+
|
|
134760
|
+
/**
|
|
134761
|
+
* GoogleSubscriptionRetentionOfferAccepted endsAt.
|
|
134762
|
+
* @member {number|Long} endsAt
|
|
134763
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134764
|
+
* @instance
|
|
134765
|
+
*/
|
|
134766
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.endsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
134767
|
+
|
|
134768
|
+
/**
|
|
134769
|
+
* GoogleSubscriptionRetentionOfferAccepted startsAt.
|
|
134770
|
+
* @member {number|Long} startsAt
|
|
134771
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134772
|
+
* @instance
|
|
134773
|
+
*/
|
|
134774
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.startsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
134775
|
+
|
|
134776
|
+
/**
|
|
134777
|
+
* GoogleSubscriptionRetentionOfferAccepted hsUserId.
|
|
134778
|
+
* @member {string} hsUserId
|
|
134779
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134780
|
+
* @instance
|
|
134781
|
+
*/
|
|
134782
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.hsUserId = "";
|
|
134783
|
+
|
|
134784
|
+
/**
|
|
134785
|
+
* GoogleSubscriptionRetentionOfferAccepted productId.
|
|
134786
|
+
* @member {string} productId
|
|
134787
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134788
|
+
* @instance
|
|
134789
|
+
*/
|
|
134790
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.productId = "";
|
|
134791
|
+
|
|
134792
|
+
/**
|
|
134793
|
+
* GoogleSubscriptionRetentionOfferAccepted autoRenewalStatus.
|
|
134794
|
+
* @member {boolean} autoRenewalStatus
|
|
134795
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134796
|
+
* @instance
|
|
134797
|
+
*/
|
|
134798
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.autoRenewalStatus = false;
|
|
134799
|
+
|
|
134800
|
+
/**
|
|
134801
|
+
* GoogleSubscriptionRetentionOfferAccepted paymentState.
|
|
134802
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
134803
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134804
|
+
* @instance
|
|
134805
|
+
*/
|
|
134806
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.paymentState = 0;
|
|
134807
|
+
|
|
134808
|
+
/**
|
|
134809
|
+
* GoogleSubscriptionRetentionOfferAccepted freeTrialStartsAt.
|
|
134810
|
+
* @member {number|Long} freeTrialStartsAt
|
|
134811
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134812
|
+
* @instance
|
|
134813
|
+
*/
|
|
134814
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
134815
|
+
|
|
134816
|
+
/**
|
|
134817
|
+
* GoogleSubscriptionRetentionOfferAccepted freeTrialEndsAt.
|
|
134818
|
+
* @member {number|Long} freeTrialEndsAt
|
|
134819
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134820
|
+
* @instance
|
|
134821
|
+
*/
|
|
134822
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
134823
|
+
|
|
134824
|
+
/**
|
|
134825
|
+
* GoogleSubscriptionRetentionOfferAccepted retentionOfferId.
|
|
134826
|
+
* @member {string} retentionOfferId
|
|
134827
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134828
|
+
* @instance
|
|
134829
|
+
*/
|
|
134830
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.retentionOfferId = "";
|
|
134831
|
+
|
|
134832
|
+
/**
|
|
134833
|
+
* GoogleSubscriptionRetentionOfferAccepted transitionState.
|
|
134834
|
+
* @member {string} transitionState
|
|
134835
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134836
|
+
* @instance
|
|
134837
|
+
*/
|
|
134838
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.transitionState = "";
|
|
134839
|
+
|
|
134840
|
+
/**
|
|
134841
|
+
* GoogleSubscriptionRetentionOfferAccepted transitionEffectiveTime.
|
|
134842
|
+
* @member {number|Long} transitionEffectiveTime
|
|
134843
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134844
|
+
* @instance
|
|
134845
|
+
*/
|
|
134846
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.transitionEffectiveTime = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
134847
|
+
|
|
134848
|
+
/**
|
|
134849
|
+
* Creates a new GoogleSubscriptionRetentionOfferAccepted instance using the specified properties.
|
|
134850
|
+
* @function create
|
|
134851
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134852
|
+
* @static
|
|
134853
|
+
* @param {IGoogleSubscriptionRetentionOfferAccepted=} [properties] Properties to set
|
|
134854
|
+
* @returns {GoogleSubscriptionRetentionOfferAccepted} GoogleSubscriptionRetentionOfferAccepted instance
|
|
134855
|
+
*/
|
|
134856
|
+
GoogleSubscriptionRetentionOfferAccepted.create = function create(properties) {
|
|
134857
|
+
return new GoogleSubscriptionRetentionOfferAccepted(properties);
|
|
134858
|
+
};
|
|
134859
|
+
|
|
134860
|
+
/**
|
|
134861
|
+
* Encodes the specified GoogleSubscriptionRetentionOfferAccepted message. Does not implicitly {@link GoogleSubscriptionRetentionOfferAccepted.verify|verify} messages.
|
|
134862
|
+
* @function encode
|
|
134863
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134864
|
+
* @static
|
|
134865
|
+
* @param {IGoogleSubscriptionRetentionOfferAccepted} message GoogleSubscriptionRetentionOfferAccepted message or plain object to encode
|
|
134866
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
134867
|
+
* @returns {$protobuf.Writer} Writer
|
|
134868
|
+
*/
|
|
134869
|
+
GoogleSubscriptionRetentionOfferAccepted.encode = function encode(message, writer) {
|
|
134870
|
+
if (!writer)
|
|
134871
|
+
writer = $Writer.create();
|
|
134872
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
134873
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
134874
|
+
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
134875
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.endsAt);
|
|
134876
|
+
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
134877
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.startsAt);
|
|
134878
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
134879
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.hsUserId);
|
|
134880
|
+
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
134881
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.productId);
|
|
134882
|
+
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
134883
|
+
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
134884
|
+
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
134885
|
+
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
134886
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
134887
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
134888
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
134889
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
134890
|
+
if (message.retentionOfferId != null && message.hasOwnProperty("retentionOfferId"))
|
|
134891
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.retentionOfferId);
|
|
134892
|
+
if (message.transitionState != null && message.hasOwnProperty("transitionState"))
|
|
134893
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.transitionState);
|
|
134894
|
+
if (message.transitionEffectiveTime != null && message.hasOwnProperty("transitionEffectiveTime"))
|
|
134895
|
+
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.transitionEffectiveTime);
|
|
134896
|
+
return writer;
|
|
134897
|
+
};
|
|
134898
|
+
|
|
134899
|
+
/**
|
|
134900
|
+
* Encodes the specified GoogleSubscriptionRetentionOfferAccepted message, length delimited. Does not implicitly {@link GoogleSubscriptionRetentionOfferAccepted.verify|verify} messages.
|
|
134901
|
+
* @function encodeDelimited
|
|
134902
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134903
|
+
* @static
|
|
134904
|
+
* @param {IGoogleSubscriptionRetentionOfferAccepted} message GoogleSubscriptionRetentionOfferAccepted message or plain object to encode
|
|
134905
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
134906
|
+
* @returns {$protobuf.Writer} Writer
|
|
134907
|
+
*/
|
|
134908
|
+
GoogleSubscriptionRetentionOfferAccepted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
134909
|
+
return this.encode(message, writer).ldelim();
|
|
134910
|
+
};
|
|
134911
|
+
|
|
134912
|
+
/**
|
|
134913
|
+
* Decodes a GoogleSubscriptionRetentionOfferAccepted message from the specified reader or buffer.
|
|
134914
|
+
* @function decode
|
|
134915
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134916
|
+
* @static
|
|
134917
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
134918
|
+
* @param {number} [length] Message length if known beforehand
|
|
134919
|
+
* @returns {GoogleSubscriptionRetentionOfferAccepted} GoogleSubscriptionRetentionOfferAccepted
|
|
134920
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
134921
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
134922
|
+
*/
|
|
134923
|
+
GoogleSubscriptionRetentionOfferAccepted.decode = function decode(reader, length) {
|
|
134924
|
+
if (!(reader instanceof $Reader))
|
|
134925
|
+
reader = $Reader.create(reader);
|
|
134926
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GoogleSubscriptionRetentionOfferAccepted();
|
|
134927
|
+
while (reader.pos < end) {
|
|
134928
|
+
var tag = reader.uint32();
|
|
134929
|
+
switch (tag >>> 3) {
|
|
134930
|
+
case 1:
|
|
134931
|
+
message.id = reader.string();
|
|
134932
|
+
break;
|
|
134933
|
+
case 2:
|
|
134934
|
+
message.endsAt = reader.uint64();
|
|
134935
|
+
break;
|
|
134936
|
+
case 3:
|
|
134937
|
+
message.startsAt = reader.uint64();
|
|
134938
|
+
break;
|
|
134939
|
+
case 4:
|
|
134940
|
+
message.hsUserId = reader.string();
|
|
134941
|
+
break;
|
|
134942
|
+
case 5:
|
|
134943
|
+
message.productId = reader.string();
|
|
134944
|
+
break;
|
|
134945
|
+
case 6:
|
|
134946
|
+
message.autoRenewalStatus = reader.bool();
|
|
134947
|
+
break;
|
|
134948
|
+
case 7:
|
|
134949
|
+
message.paymentState = reader.int32();
|
|
134950
|
+
break;
|
|
134951
|
+
case 8:
|
|
134952
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
134953
|
+
break;
|
|
134954
|
+
case 9:
|
|
134955
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
134956
|
+
break;
|
|
134957
|
+
case 10:
|
|
134958
|
+
message.retentionOfferId = reader.string();
|
|
134959
|
+
break;
|
|
134960
|
+
case 11:
|
|
134961
|
+
message.transitionState = reader.string();
|
|
134962
|
+
break;
|
|
134963
|
+
case 12:
|
|
134964
|
+
message.transitionEffectiveTime = reader.uint64();
|
|
134965
|
+
break;
|
|
134966
|
+
default:
|
|
134967
|
+
reader.skipType(tag & 7);
|
|
134968
|
+
break;
|
|
134969
|
+
}
|
|
134970
|
+
}
|
|
134971
|
+
return message;
|
|
134972
|
+
};
|
|
134973
|
+
|
|
134974
|
+
/**
|
|
134975
|
+
* Decodes a GoogleSubscriptionRetentionOfferAccepted message from the specified reader or buffer, length delimited.
|
|
134976
|
+
* @function decodeDelimited
|
|
134977
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134978
|
+
* @static
|
|
134979
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
134980
|
+
* @returns {GoogleSubscriptionRetentionOfferAccepted} GoogleSubscriptionRetentionOfferAccepted
|
|
134981
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
134982
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
134983
|
+
*/
|
|
134984
|
+
GoogleSubscriptionRetentionOfferAccepted.decodeDelimited = function decodeDelimited(reader) {
|
|
134985
|
+
if (!(reader instanceof $Reader))
|
|
134986
|
+
reader = new $Reader(reader);
|
|
134987
|
+
return this.decode(reader, reader.uint32());
|
|
134988
|
+
};
|
|
134989
|
+
|
|
134990
|
+
/**
|
|
134991
|
+
* Verifies a GoogleSubscriptionRetentionOfferAccepted message.
|
|
134992
|
+
* @function verify
|
|
134993
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
134994
|
+
* @static
|
|
134995
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
134996
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
134997
|
+
*/
|
|
134998
|
+
GoogleSubscriptionRetentionOfferAccepted.verify = function verify(message) {
|
|
134999
|
+
if (typeof message !== "object" || message === null)
|
|
135000
|
+
return "object expected";
|
|
135001
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
135002
|
+
if (!$util.isString(message.id))
|
|
135003
|
+
return "id: string expected";
|
|
135004
|
+
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
135005
|
+
if (!$util.isInteger(message.endsAt) && !(message.endsAt && $util.isInteger(message.endsAt.low) && $util.isInteger(message.endsAt.high)))
|
|
135006
|
+
return "endsAt: integer|Long expected";
|
|
135007
|
+
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
135008
|
+
if (!$util.isInteger(message.startsAt) && !(message.startsAt && $util.isInteger(message.startsAt.low) && $util.isInteger(message.startsAt.high)))
|
|
135009
|
+
return "startsAt: integer|Long expected";
|
|
135010
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
135011
|
+
if (!$util.isString(message.hsUserId))
|
|
135012
|
+
return "hsUserId: string expected";
|
|
135013
|
+
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
135014
|
+
if (!$util.isString(message.productId))
|
|
135015
|
+
return "productId: string expected";
|
|
135016
|
+
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
135017
|
+
if (typeof message.autoRenewalStatus !== "boolean")
|
|
135018
|
+
return "autoRenewalStatus: boolean expected";
|
|
135019
|
+
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
135020
|
+
switch (message.paymentState) {
|
|
135021
|
+
default:
|
|
135022
|
+
return "paymentState: enum value expected";
|
|
135023
|
+
case 0:
|
|
135024
|
+
case 1:
|
|
135025
|
+
case 2:
|
|
135026
|
+
case 3:
|
|
135027
|
+
case 4:
|
|
135028
|
+
break;
|
|
135029
|
+
}
|
|
135030
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
135031
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
135032
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
135033
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
135034
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
135035
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
135036
|
+
if (message.retentionOfferId != null && message.hasOwnProperty("retentionOfferId"))
|
|
135037
|
+
if (!$util.isString(message.retentionOfferId))
|
|
135038
|
+
return "retentionOfferId: string expected";
|
|
135039
|
+
if (message.transitionState != null && message.hasOwnProperty("transitionState"))
|
|
135040
|
+
if (!$util.isString(message.transitionState))
|
|
135041
|
+
return "transitionState: string expected";
|
|
135042
|
+
if (message.transitionEffectiveTime != null && message.hasOwnProperty("transitionEffectiveTime"))
|
|
135043
|
+
if (!$util.isInteger(message.transitionEffectiveTime) && !(message.transitionEffectiveTime && $util.isInteger(message.transitionEffectiveTime.low) && $util.isInteger(message.transitionEffectiveTime.high)))
|
|
135044
|
+
return "transitionEffectiveTime: integer|Long expected";
|
|
135045
|
+
return null;
|
|
135046
|
+
};
|
|
135047
|
+
|
|
135048
|
+
/**
|
|
135049
|
+
* Creates a GoogleSubscriptionRetentionOfferAccepted message from a plain object. Also converts values to their respective internal types.
|
|
135050
|
+
* @function fromObject
|
|
135051
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
135052
|
+
* @static
|
|
135053
|
+
* @param {Object.<string,*>} object Plain object
|
|
135054
|
+
* @returns {GoogleSubscriptionRetentionOfferAccepted} GoogleSubscriptionRetentionOfferAccepted
|
|
135055
|
+
*/
|
|
135056
|
+
GoogleSubscriptionRetentionOfferAccepted.fromObject = function fromObject(object) {
|
|
135057
|
+
if (object instanceof $root.GoogleSubscriptionRetentionOfferAccepted)
|
|
135058
|
+
return object;
|
|
135059
|
+
var message = new $root.GoogleSubscriptionRetentionOfferAccepted();
|
|
135060
|
+
if (object.id != null)
|
|
135061
|
+
message.id = String(object.id);
|
|
135062
|
+
if (object.endsAt != null)
|
|
135063
|
+
if ($util.Long)
|
|
135064
|
+
(message.endsAt = $util.Long.fromValue(object.endsAt)).unsigned = true;
|
|
135065
|
+
else if (typeof object.endsAt === "string")
|
|
135066
|
+
message.endsAt = parseInt(object.endsAt, 10);
|
|
135067
|
+
else if (typeof object.endsAt === "number")
|
|
135068
|
+
message.endsAt = object.endsAt;
|
|
135069
|
+
else if (typeof object.endsAt === "object")
|
|
135070
|
+
message.endsAt = new $util.LongBits(object.endsAt.low >>> 0, object.endsAt.high >>> 0).toNumber(true);
|
|
135071
|
+
if (object.startsAt != null)
|
|
135072
|
+
if ($util.Long)
|
|
135073
|
+
(message.startsAt = $util.Long.fromValue(object.startsAt)).unsigned = true;
|
|
135074
|
+
else if (typeof object.startsAt === "string")
|
|
135075
|
+
message.startsAt = parseInt(object.startsAt, 10);
|
|
135076
|
+
else if (typeof object.startsAt === "number")
|
|
135077
|
+
message.startsAt = object.startsAt;
|
|
135078
|
+
else if (typeof object.startsAt === "object")
|
|
135079
|
+
message.startsAt = new $util.LongBits(object.startsAt.low >>> 0, object.startsAt.high >>> 0).toNumber(true);
|
|
135080
|
+
if (object.hsUserId != null)
|
|
135081
|
+
message.hsUserId = String(object.hsUserId);
|
|
135082
|
+
if (object.productId != null)
|
|
135083
|
+
message.productId = String(object.productId);
|
|
135084
|
+
if (object.autoRenewalStatus != null)
|
|
135085
|
+
message.autoRenewalStatus = Boolean(object.autoRenewalStatus);
|
|
135086
|
+
switch (object.paymentState) {
|
|
135087
|
+
case "GOOGLE_PAYMENT_STATE_UNKNOWN":
|
|
135088
|
+
case 0:
|
|
135089
|
+
message.paymentState = 0;
|
|
135090
|
+
break;
|
|
135091
|
+
case "GOOGLE_PAYMENT_PENDING":
|
|
135092
|
+
case 1:
|
|
135093
|
+
message.paymentState = 1;
|
|
135094
|
+
break;
|
|
135095
|
+
case "GOOGLE_PAYMENT_RECEIVED":
|
|
135096
|
+
case 2:
|
|
135097
|
+
message.paymentState = 2;
|
|
135098
|
+
break;
|
|
135099
|
+
case "GOOGLE_FREE_TRIAL":
|
|
135100
|
+
case 3:
|
|
135101
|
+
message.paymentState = 3;
|
|
135102
|
+
break;
|
|
135103
|
+
case "GOOGLE_PENDING_DEFERRED_UPGRADE_OR_DOWNGRADE":
|
|
135104
|
+
case 4:
|
|
135105
|
+
message.paymentState = 4;
|
|
135106
|
+
break;
|
|
135107
|
+
}
|
|
135108
|
+
if (object.freeTrialStartsAt != null)
|
|
135109
|
+
if ($util.Long)
|
|
135110
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
135111
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
135112
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
135113
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
135114
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
135115
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
135116
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
135117
|
+
if (object.freeTrialEndsAt != null)
|
|
135118
|
+
if ($util.Long)
|
|
135119
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
135120
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
135121
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
135122
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
135123
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
135124
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
135125
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
135126
|
+
if (object.retentionOfferId != null)
|
|
135127
|
+
message.retentionOfferId = String(object.retentionOfferId);
|
|
135128
|
+
if (object.transitionState != null)
|
|
135129
|
+
message.transitionState = String(object.transitionState);
|
|
135130
|
+
if (object.transitionEffectiveTime != null)
|
|
135131
|
+
if ($util.Long)
|
|
135132
|
+
(message.transitionEffectiveTime = $util.Long.fromValue(object.transitionEffectiveTime)).unsigned = true;
|
|
135133
|
+
else if (typeof object.transitionEffectiveTime === "string")
|
|
135134
|
+
message.transitionEffectiveTime = parseInt(object.transitionEffectiveTime, 10);
|
|
135135
|
+
else if (typeof object.transitionEffectiveTime === "number")
|
|
135136
|
+
message.transitionEffectiveTime = object.transitionEffectiveTime;
|
|
135137
|
+
else if (typeof object.transitionEffectiveTime === "object")
|
|
135138
|
+
message.transitionEffectiveTime = new $util.LongBits(object.transitionEffectiveTime.low >>> 0, object.transitionEffectiveTime.high >>> 0).toNumber(true);
|
|
135139
|
+
return message;
|
|
135140
|
+
};
|
|
135141
|
+
|
|
135142
|
+
/**
|
|
135143
|
+
* Creates a plain object from a GoogleSubscriptionRetentionOfferAccepted message. Also converts values to other types if specified.
|
|
135144
|
+
* @function toObject
|
|
135145
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
135146
|
+
* @static
|
|
135147
|
+
* @param {GoogleSubscriptionRetentionOfferAccepted} message GoogleSubscriptionRetentionOfferAccepted
|
|
135148
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
135149
|
+
* @returns {Object.<string,*>} Plain object
|
|
135150
|
+
*/
|
|
135151
|
+
GoogleSubscriptionRetentionOfferAccepted.toObject = function toObject(message, options) {
|
|
135152
|
+
if (!options)
|
|
135153
|
+
options = {};
|
|
135154
|
+
var object = {};
|
|
135155
|
+
if (options.defaults) {
|
|
135156
|
+
object.id = "";
|
|
135157
|
+
if ($util.Long) {
|
|
135158
|
+
var long = new $util.Long(0, 0, true);
|
|
135159
|
+
object.endsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
135160
|
+
} else
|
|
135161
|
+
object.endsAt = options.longs === String ? "0" : 0;
|
|
135162
|
+
if ($util.Long) {
|
|
135163
|
+
var long = new $util.Long(0, 0, true);
|
|
135164
|
+
object.startsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
135165
|
+
} else
|
|
135166
|
+
object.startsAt = options.longs === String ? "0" : 0;
|
|
135167
|
+
object.hsUserId = "";
|
|
135168
|
+
object.productId = "";
|
|
135169
|
+
object.autoRenewalStatus = false;
|
|
135170
|
+
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
135171
|
+
if ($util.Long) {
|
|
135172
|
+
var long = new $util.Long(0, 0, true);
|
|
135173
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
135174
|
+
} else
|
|
135175
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
135176
|
+
if ($util.Long) {
|
|
135177
|
+
var long = new $util.Long(0, 0, true);
|
|
135178
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
135179
|
+
} else
|
|
135180
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
135181
|
+
object.retentionOfferId = "";
|
|
135182
|
+
object.transitionState = "";
|
|
135183
|
+
if ($util.Long) {
|
|
135184
|
+
var long = new $util.Long(0, 0, true);
|
|
135185
|
+
object.transitionEffectiveTime = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
135186
|
+
} else
|
|
135187
|
+
object.transitionEffectiveTime = options.longs === String ? "0" : 0;
|
|
135188
|
+
}
|
|
135189
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
135190
|
+
object.id = message.id;
|
|
135191
|
+
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
135192
|
+
if (typeof message.endsAt === "number")
|
|
135193
|
+
object.endsAt = options.longs === String ? String(message.endsAt) : message.endsAt;
|
|
135194
|
+
else
|
|
135195
|
+
object.endsAt = options.longs === String ? $util.Long.prototype.toString.call(message.endsAt) : options.longs === Number ? new $util.LongBits(message.endsAt.low >>> 0, message.endsAt.high >>> 0).toNumber(true) : message.endsAt;
|
|
135196
|
+
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
135197
|
+
if (typeof message.startsAt === "number")
|
|
135198
|
+
object.startsAt = options.longs === String ? String(message.startsAt) : message.startsAt;
|
|
135199
|
+
else
|
|
135200
|
+
object.startsAt = options.longs === String ? $util.Long.prototype.toString.call(message.startsAt) : options.longs === Number ? new $util.LongBits(message.startsAt.low >>> 0, message.startsAt.high >>> 0).toNumber(true) : message.startsAt;
|
|
135201
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
135202
|
+
object.hsUserId = message.hsUserId;
|
|
135203
|
+
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
135204
|
+
object.productId = message.productId;
|
|
135205
|
+
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
135206
|
+
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
135207
|
+
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
135208
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
135209
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
135210
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
135211
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
135212
|
+
else
|
|
135213
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
135214
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
135215
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
135216
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
135217
|
+
else
|
|
135218
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
135219
|
+
if (message.retentionOfferId != null && message.hasOwnProperty("retentionOfferId"))
|
|
135220
|
+
object.retentionOfferId = message.retentionOfferId;
|
|
135221
|
+
if (message.transitionState != null && message.hasOwnProperty("transitionState"))
|
|
135222
|
+
object.transitionState = message.transitionState;
|
|
135223
|
+
if (message.transitionEffectiveTime != null && message.hasOwnProperty("transitionEffectiveTime"))
|
|
135224
|
+
if (typeof message.transitionEffectiveTime === "number")
|
|
135225
|
+
object.transitionEffectiveTime = options.longs === String ? String(message.transitionEffectiveTime) : message.transitionEffectiveTime;
|
|
135226
|
+
else
|
|
135227
|
+
object.transitionEffectiveTime = options.longs === String ? $util.Long.prototype.toString.call(message.transitionEffectiveTime) : options.longs === Number ? new $util.LongBits(message.transitionEffectiveTime.low >>> 0, message.transitionEffectiveTime.high >>> 0).toNumber(true) : message.transitionEffectiveTime;
|
|
135228
|
+
return object;
|
|
135229
|
+
};
|
|
135230
|
+
|
|
135231
|
+
/**
|
|
135232
|
+
* Converts this GoogleSubscriptionRetentionOfferAccepted to JSON.
|
|
135233
|
+
* @function toJSON
|
|
135234
|
+
* @memberof GoogleSubscriptionRetentionOfferAccepted
|
|
135235
|
+
* @instance
|
|
135236
|
+
* @returns {Object.<string,*>} JSON object
|
|
135237
|
+
*/
|
|
135238
|
+
GoogleSubscriptionRetentionOfferAccepted.prototype.toJSON = function toJSON() {
|
|
135239
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
135240
|
+
};
|
|
135241
|
+
|
|
135242
|
+
return GoogleSubscriptionRetentionOfferAccepted;
|
|
135243
|
+
})();
|
|
135244
|
+
|
|
134717
135245
|
/**
|
|
134718
135246
|
* NoteType enum.
|
|
134719
135247
|
* @name NoteType
|
|
@@ -140005,6 +140533,238 @@ $root.UserOnboardingTopicResponses = (function() {
|
|
|
140005
140533
|
return UserOnboardingTopicResponses;
|
|
140006
140534
|
})();
|
|
140007
140535
|
|
|
140536
|
+
$root.UserOnboardingPrimaryTopicSelected = (function() {
|
|
140537
|
+
|
|
140538
|
+
/**
|
|
140539
|
+
* Properties of a UserOnboardingPrimaryTopicSelected.
|
|
140540
|
+
* @name IUserOnboardingPrimaryTopicSelected
|
|
140541
|
+
* @interface IUserOnboardingPrimaryTopicSelected
|
|
140542
|
+
* @property {string|null} [hsUserId] UserOnboardingPrimaryTopicSelected hsUserId
|
|
140543
|
+
* @property {string|null} [needState] UserOnboardingPrimaryTopicSelected needState
|
|
140544
|
+
* @property {string|null} [needStateDisplayName] UserOnboardingPrimaryTopicSelected needStateDisplayName
|
|
140545
|
+
*/
|
|
140546
|
+
|
|
140547
|
+
/**
|
|
140548
|
+
* Constructs a new UserOnboardingPrimaryTopicSelected.
|
|
140549
|
+
* @name UserOnboardingPrimaryTopicSelected
|
|
140550
|
+
* @classdesc Represents a UserOnboardingPrimaryTopicSelected.
|
|
140551
|
+
* @implements IUserOnboardingPrimaryTopicSelected
|
|
140552
|
+
* @constructor
|
|
140553
|
+
* @param {IUserOnboardingPrimaryTopicSelected=} [properties] Properties to set
|
|
140554
|
+
*/
|
|
140555
|
+
function UserOnboardingPrimaryTopicSelected(properties) {
|
|
140556
|
+
if (properties)
|
|
140557
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
140558
|
+
if (properties[keys[i]] != null)
|
|
140559
|
+
this[keys[i]] = properties[keys[i]];
|
|
140560
|
+
}
|
|
140561
|
+
|
|
140562
|
+
/**
|
|
140563
|
+
* UserOnboardingPrimaryTopicSelected hsUserId.
|
|
140564
|
+
* @member {string} hsUserId
|
|
140565
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140566
|
+
* @instance
|
|
140567
|
+
*/
|
|
140568
|
+
UserOnboardingPrimaryTopicSelected.prototype.hsUserId = "";
|
|
140569
|
+
|
|
140570
|
+
/**
|
|
140571
|
+
* UserOnboardingPrimaryTopicSelected needState.
|
|
140572
|
+
* @member {string} needState
|
|
140573
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140574
|
+
* @instance
|
|
140575
|
+
*/
|
|
140576
|
+
UserOnboardingPrimaryTopicSelected.prototype.needState = "";
|
|
140577
|
+
|
|
140578
|
+
/**
|
|
140579
|
+
* UserOnboardingPrimaryTopicSelected needStateDisplayName.
|
|
140580
|
+
* @member {string} needStateDisplayName
|
|
140581
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140582
|
+
* @instance
|
|
140583
|
+
*/
|
|
140584
|
+
UserOnboardingPrimaryTopicSelected.prototype.needStateDisplayName = "";
|
|
140585
|
+
|
|
140586
|
+
/**
|
|
140587
|
+
* Creates a new UserOnboardingPrimaryTopicSelected instance using the specified properties.
|
|
140588
|
+
* @function create
|
|
140589
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140590
|
+
* @static
|
|
140591
|
+
* @param {IUserOnboardingPrimaryTopicSelected=} [properties] Properties to set
|
|
140592
|
+
* @returns {UserOnboardingPrimaryTopicSelected} UserOnboardingPrimaryTopicSelected instance
|
|
140593
|
+
*/
|
|
140594
|
+
UserOnboardingPrimaryTopicSelected.create = function create(properties) {
|
|
140595
|
+
return new UserOnboardingPrimaryTopicSelected(properties);
|
|
140596
|
+
};
|
|
140597
|
+
|
|
140598
|
+
/**
|
|
140599
|
+
* Encodes the specified UserOnboardingPrimaryTopicSelected message. Does not implicitly {@link UserOnboardingPrimaryTopicSelected.verify|verify} messages.
|
|
140600
|
+
* @function encode
|
|
140601
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140602
|
+
* @static
|
|
140603
|
+
* @param {IUserOnboardingPrimaryTopicSelected} message UserOnboardingPrimaryTopicSelected message or plain object to encode
|
|
140604
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140605
|
+
* @returns {$protobuf.Writer} Writer
|
|
140606
|
+
*/
|
|
140607
|
+
UserOnboardingPrimaryTopicSelected.encode = function encode(message, writer) {
|
|
140608
|
+
if (!writer)
|
|
140609
|
+
writer = $Writer.create();
|
|
140610
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
140611
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
140612
|
+
if (message.needState != null && message.hasOwnProperty("needState"))
|
|
140613
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.needState);
|
|
140614
|
+
if (message.needStateDisplayName != null && message.hasOwnProperty("needStateDisplayName"))
|
|
140615
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.needStateDisplayName);
|
|
140616
|
+
return writer;
|
|
140617
|
+
};
|
|
140618
|
+
|
|
140619
|
+
/**
|
|
140620
|
+
* Encodes the specified UserOnboardingPrimaryTopicSelected message, length delimited. Does not implicitly {@link UserOnboardingPrimaryTopicSelected.verify|verify} messages.
|
|
140621
|
+
* @function encodeDelimited
|
|
140622
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140623
|
+
* @static
|
|
140624
|
+
* @param {IUserOnboardingPrimaryTopicSelected} message UserOnboardingPrimaryTopicSelected message or plain object to encode
|
|
140625
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
140626
|
+
* @returns {$protobuf.Writer} Writer
|
|
140627
|
+
*/
|
|
140628
|
+
UserOnboardingPrimaryTopicSelected.encodeDelimited = function encodeDelimited(message, writer) {
|
|
140629
|
+
return this.encode(message, writer).ldelim();
|
|
140630
|
+
};
|
|
140631
|
+
|
|
140632
|
+
/**
|
|
140633
|
+
* Decodes a UserOnboardingPrimaryTopicSelected message from the specified reader or buffer.
|
|
140634
|
+
* @function decode
|
|
140635
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140636
|
+
* @static
|
|
140637
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
140638
|
+
* @param {number} [length] Message length if known beforehand
|
|
140639
|
+
* @returns {UserOnboardingPrimaryTopicSelected} UserOnboardingPrimaryTopicSelected
|
|
140640
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
140641
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
140642
|
+
*/
|
|
140643
|
+
UserOnboardingPrimaryTopicSelected.decode = function decode(reader, length) {
|
|
140644
|
+
if (!(reader instanceof $Reader))
|
|
140645
|
+
reader = $Reader.create(reader);
|
|
140646
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserOnboardingPrimaryTopicSelected();
|
|
140647
|
+
while (reader.pos < end) {
|
|
140648
|
+
var tag = reader.uint32();
|
|
140649
|
+
switch (tag >>> 3) {
|
|
140650
|
+
case 1:
|
|
140651
|
+
message.hsUserId = reader.string();
|
|
140652
|
+
break;
|
|
140653
|
+
case 2:
|
|
140654
|
+
message.needState = reader.string();
|
|
140655
|
+
break;
|
|
140656
|
+
case 3:
|
|
140657
|
+
message.needStateDisplayName = reader.string();
|
|
140658
|
+
break;
|
|
140659
|
+
default:
|
|
140660
|
+
reader.skipType(tag & 7);
|
|
140661
|
+
break;
|
|
140662
|
+
}
|
|
140663
|
+
}
|
|
140664
|
+
return message;
|
|
140665
|
+
};
|
|
140666
|
+
|
|
140667
|
+
/**
|
|
140668
|
+
* Decodes a UserOnboardingPrimaryTopicSelected message from the specified reader or buffer, length delimited.
|
|
140669
|
+
* @function decodeDelimited
|
|
140670
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140671
|
+
* @static
|
|
140672
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
140673
|
+
* @returns {UserOnboardingPrimaryTopicSelected} UserOnboardingPrimaryTopicSelected
|
|
140674
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
140675
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
140676
|
+
*/
|
|
140677
|
+
UserOnboardingPrimaryTopicSelected.decodeDelimited = function decodeDelimited(reader) {
|
|
140678
|
+
if (!(reader instanceof $Reader))
|
|
140679
|
+
reader = new $Reader(reader);
|
|
140680
|
+
return this.decode(reader, reader.uint32());
|
|
140681
|
+
};
|
|
140682
|
+
|
|
140683
|
+
/**
|
|
140684
|
+
* Verifies a UserOnboardingPrimaryTopicSelected message.
|
|
140685
|
+
* @function verify
|
|
140686
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140687
|
+
* @static
|
|
140688
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
140689
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
140690
|
+
*/
|
|
140691
|
+
UserOnboardingPrimaryTopicSelected.verify = function verify(message) {
|
|
140692
|
+
if (typeof message !== "object" || message === null)
|
|
140693
|
+
return "object expected";
|
|
140694
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
140695
|
+
if (!$util.isString(message.hsUserId))
|
|
140696
|
+
return "hsUserId: string expected";
|
|
140697
|
+
if (message.needState != null && message.hasOwnProperty("needState"))
|
|
140698
|
+
if (!$util.isString(message.needState))
|
|
140699
|
+
return "needState: string expected";
|
|
140700
|
+
if (message.needStateDisplayName != null && message.hasOwnProperty("needStateDisplayName"))
|
|
140701
|
+
if (!$util.isString(message.needStateDisplayName))
|
|
140702
|
+
return "needStateDisplayName: string expected";
|
|
140703
|
+
return null;
|
|
140704
|
+
};
|
|
140705
|
+
|
|
140706
|
+
/**
|
|
140707
|
+
* Creates a UserOnboardingPrimaryTopicSelected message from a plain object. Also converts values to their respective internal types.
|
|
140708
|
+
* @function fromObject
|
|
140709
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140710
|
+
* @static
|
|
140711
|
+
* @param {Object.<string,*>} object Plain object
|
|
140712
|
+
* @returns {UserOnboardingPrimaryTopicSelected} UserOnboardingPrimaryTopicSelected
|
|
140713
|
+
*/
|
|
140714
|
+
UserOnboardingPrimaryTopicSelected.fromObject = function fromObject(object) {
|
|
140715
|
+
if (object instanceof $root.UserOnboardingPrimaryTopicSelected)
|
|
140716
|
+
return object;
|
|
140717
|
+
var message = new $root.UserOnboardingPrimaryTopicSelected();
|
|
140718
|
+
if (object.hsUserId != null)
|
|
140719
|
+
message.hsUserId = String(object.hsUserId);
|
|
140720
|
+
if (object.needState != null)
|
|
140721
|
+
message.needState = String(object.needState);
|
|
140722
|
+
if (object.needStateDisplayName != null)
|
|
140723
|
+
message.needStateDisplayName = String(object.needStateDisplayName);
|
|
140724
|
+
return message;
|
|
140725
|
+
};
|
|
140726
|
+
|
|
140727
|
+
/**
|
|
140728
|
+
* Creates a plain object from a UserOnboardingPrimaryTopicSelected message. Also converts values to other types if specified.
|
|
140729
|
+
* @function toObject
|
|
140730
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140731
|
+
* @static
|
|
140732
|
+
* @param {UserOnboardingPrimaryTopicSelected} message UserOnboardingPrimaryTopicSelected
|
|
140733
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
140734
|
+
* @returns {Object.<string,*>} Plain object
|
|
140735
|
+
*/
|
|
140736
|
+
UserOnboardingPrimaryTopicSelected.toObject = function toObject(message, options) {
|
|
140737
|
+
if (!options)
|
|
140738
|
+
options = {};
|
|
140739
|
+
var object = {};
|
|
140740
|
+
if (options.defaults) {
|
|
140741
|
+
object.hsUserId = "";
|
|
140742
|
+
object.needState = "";
|
|
140743
|
+
object.needStateDisplayName = "";
|
|
140744
|
+
}
|
|
140745
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
140746
|
+
object.hsUserId = message.hsUserId;
|
|
140747
|
+
if (message.needState != null && message.hasOwnProperty("needState"))
|
|
140748
|
+
object.needState = message.needState;
|
|
140749
|
+
if (message.needStateDisplayName != null && message.hasOwnProperty("needStateDisplayName"))
|
|
140750
|
+
object.needStateDisplayName = message.needStateDisplayName;
|
|
140751
|
+
return object;
|
|
140752
|
+
};
|
|
140753
|
+
|
|
140754
|
+
/**
|
|
140755
|
+
* Converts this UserOnboardingPrimaryTopicSelected to JSON.
|
|
140756
|
+
* @function toJSON
|
|
140757
|
+
* @memberof UserOnboardingPrimaryTopicSelected
|
|
140758
|
+
* @instance
|
|
140759
|
+
* @returns {Object.<string,*>} JSON object
|
|
140760
|
+
*/
|
|
140761
|
+
UserOnboardingPrimaryTopicSelected.prototype.toJSON = function toJSON() {
|
|
140762
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
140763
|
+
};
|
|
140764
|
+
|
|
140765
|
+
return UserOnboardingPrimaryTopicSelected;
|
|
140766
|
+
})();
|
|
140767
|
+
|
|
140008
140768
|
$root.OnboardingAssigned = (function() {
|
|
140009
140769
|
|
|
140010
140770
|
/**
|
package/package.json
CHANGED