@headspace/protos-events 1.591.0 → 1.593.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 +36 -0
- package/lib/index.js +126 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3069,6 +3069,12 @@ export namespace coaching {
|
|
|
3069
3069
|
* a new record is created for the new date/time
|
|
3070
3070
|
*/
|
|
3071
3071
|
rescheduled?: (boolean|null);
|
|
3072
|
+
|
|
3073
|
+
/**
|
|
3074
|
+
* A conversation between a Listener and a Caller is represented by a unique ChatConversation
|
|
3075
|
+
* See apps.listenerapp.models.ChatConversation
|
|
3076
|
+
*/
|
|
3077
|
+
chatConversationId?: (string|null);
|
|
3072
3078
|
}
|
|
3073
3079
|
|
|
3074
3080
|
/**
|
|
@@ -3134,6 +3140,12 @@ export namespace coaching {
|
|
|
3134
3140
|
*/
|
|
3135
3141
|
public rescheduled: boolean;
|
|
3136
3142
|
|
|
3143
|
+
/**
|
|
3144
|
+
* A conversation between a Listener and a Caller is represented by a unique ChatConversation
|
|
3145
|
+
* See apps.listenerapp.models.ChatConversation
|
|
3146
|
+
*/
|
|
3147
|
+
public chatConversationId: string;
|
|
3148
|
+
|
|
3137
3149
|
/**
|
|
3138
3150
|
* Creates a new ScheduledCoachingSession instance using the specified properties.
|
|
3139
3151
|
* @param [properties] Properties to set
|
|
@@ -36198,6 +36210,9 @@ export interface IB2BPartnerConsentCreated {
|
|
|
36198
36210
|
|
|
36199
36211
|
/** B2BPartnerConsentCreated timestamp */
|
|
36200
36212
|
timestamp?: (number|Long|null);
|
|
36213
|
+
|
|
36214
|
+
/** B2BPartnerConsentCreated consentCode */
|
|
36215
|
+
consentCode?: (string|null);
|
|
36201
36216
|
}
|
|
36202
36217
|
|
|
36203
36218
|
/** Represents a B2BPartnerConsentCreated. */
|
|
@@ -36218,6 +36233,9 @@ export class B2BPartnerConsentCreated implements IB2BPartnerConsentCreated {
|
|
|
36218
36233
|
/** B2BPartnerConsentCreated timestamp. */
|
|
36219
36234
|
public timestamp: (number|Long);
|
|
36220
36235
|
|
|
36236
|
+
/** B2BPartnerConsentCreated consentCode. */
|
|
36237
|
+
public consentCode: string;
|
|
36238
|
+
|
|
36221
36239
|
/**
|
|
36222
36240
|
* Creates a new B2BPartnerConsentCreated instance using the specified properties.
|
|
36223
36241
|
* @param [properties] Properties to set
|
|
@@ -36303,6 +36321,9 @@ export interface IB2BMemberPartnerConsentRequested {
|
|
|
36303
36321
|
|
|
36304
36322
|
/** B2BMemberPartnerConsentRequested orgId */
|
|
36305
36323
|
orgId?: (number|null);
|
|
36324
|
+
|
|
36325
|
+
/** B2BMemberPartnerConsentRequested consentCode */
|
|
36326
|
+
consentCode?: (string|null);
|
|
36306
36327
|
}
|
|
36307
36328
|
|
|
36308
36329
|
/** Represents a B2BMemberPartnerConsentRequested. */
|
|
@@ -36326,6 +36347,9 @@ export class B2BMemberPartnerConsentRequested implements IB2BMemberPartnerConsen
|
|
|
36326
36347
|
/** B2BMemberPartnerConsentRequested orgId. */
|
|
36327
36348
|
public orgId: number;
|
|
36328
36349
|
|
|
36350
|
+
/** B2BMemberPartnerConsentRequested consentCode. */
|
|
36351
|
+
public consentCode: string;
|
|
36352
|
+
|
|
36329
36353
|
/**
|
|
36330
36354
|
* Creates a new B2BMemberPartnerConsentRequested instance using the specified properties.
|
|
36331
36355
|
* @param [properties] Properties to set
|
|
@@ -36405,6 +36429,9 @@ export interface IB2BMemberPartnerConsentRemovalRequested {
|
|
|
36405
36429
|
|
|
36406
36430
|
/** B2BMemberPartnerConsentRemovalRequested timestamp */
|
|
36407
36431
|
timestamp?: (number|Long|null);
|
|
36432
|
+
|
|
36433
|
+
/** B2BMemberPartnerConsentRemovalRequested consentCode */
|
|
36434
|
+
consentCode?: (string|null);
|
|
36408
36435
|
}
|
|
36409
36436
|
|
|
36410
36437
|
/** Represents a B2BMemberPartnerConsentRemovalRequested. */
|
|
@@ -36422,6 +36449,9 @@ export class B2BMemberPartnerConsentRemovalRequested implements IB2BMemberPartne
|
|
|
36422
36449
|
/** B2BMemberPartnerConsentRemovalRequested timestamp. */
|
|
36423
36450
|
public timestamp: (number|Long);
|
|
36424
36451
|
|
|
36452
|
+
/** B2BMemberPartnerConsentRemovalRequested consentCode. */
|
|
36453
|
+
public consentCode: string;
|
|
36454
|
+
|
|
36425
36455
|
/**
|
|
36426
36456
|
* Creates a new B2BMemberPartnerConsentRemovalRequested instance using the specified properties.
|
|
36427
36457
|
* @param [properties] Properties to set
|
|
@@ -55472,6 +55502,9 @@ export interface IUserConsentUpdated {
|
|
|
55472
55502
|
|
|
55473
55503
|
/** UserConsentUpdated status */
|
|
55474
55504
|
status?: (string|null);
|
|
55505
|
+
|
|
55506
|
+
/** UserConsentUpdated version */
|
|
55507
|
+
version?: (number|Long|null);
|
|
55475
55508
|
}
|
|
55476
55509
|
|
|
55477
55510
|
/** Represents a UserConsentUpdated. */
|
|
@@ -55492,6 +55525,9 @@ export class UserConsentUpdated implements IUserConsentUpdated {
|
|
|
55492
55525
|
/** UserConsentUpdated status. */
|
|
55493
55526
|
public status: string;
|
|
55494
55527
|
|
|
55528
|
+
/** UserConsentUpdated version. */
|
|
55529
|
+
public version: (number|Long);
|
|
55530
|
+
|
|
55495
55531
|
/**
|
|
55496
55532
|
* Creates a new UserConsentUpdated instance using the specified properties.
|
|
55497
55533
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -10023,6 +10023,8 @@ $root.coaching = (function() {
|
|
|
10023
10023
|
* So what will happen on reschedules going forward is that:
|
|
10024
10024
|
* the old/current record is cancelled (i.e. cancelled_at is set, and rescheduled is set to True)
|
|
10025
10025
|
* a new record is created for the new date/time
|
|
10026
|
+
* @property {string|null} [chatConversationId] A conversation between a Listener and a Caller is represented by a unique ChatConversation
|
|
10027
|
+
* See apps.listenerapp.models.ChatConversation
|
|
10026
10028
|
*/
|
|
10027
10029
|
|
|
10028
10030
|
/**
|
|
@@ -10150,6 +10152,15 @@ $root.coaching = (function() {
|
|
|
10150
10152
|
*/
|
|
10151
10153
|
ScheduledCoachingSession.prototype.rescheduled = false;
|
|
10152
10154
|
|
|
10155
|
+
/**
|
|
10156
|
+
* A conversation between a Listener and a Caller is represented by a unique ChatConversation
|
|
10157
|
+
* See apps.listenerapp.models.ChatConversation
|
|
10158
|
+
* @member {string} chatConversationId
|
|
10159
|
+
* @memberof coaching.ScheduledCoachingSession
|
|
10160
|
+
* @instance
|
|
10161
|
+
*/
|
|
10162
|
+
ScheduledCoachingSession.prototype.chatConversationId = "";
|
|
10163
|
+
|
|
10153
10164
|
/**
|
|
10154
10165
|
* Creates a new ScheduledCoachingSession instance using the specified properties.
|
|
10155
10166
|
* @function create
|
|
@@ -10198,6 +10209,8 @@ $root.coaching = (function() {
|
|
|
10198
10209
|
writer.uint32(/* id 11, wireType 0 =*/88).int32(message.eventType);
|
|
10199
10210
|
if (message.rescheduled != null && message.hasOwnProperty("rescheduled"))
|
|
10200
10211
|
writer.uint32(/* id 12, wireType 0 =*/96).bool(message.rescheduled);
|
|
10212
|
+
if (message.chatConversationId != null && message.hasOwnProperty("chatConversationId"))
|
|
10213
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.chatConversationId);
|
|
10201
10214
|
return writer;
|
|
10202
10215
|
};
|
|
10203
10216
|
|
|
@@ -10268,6 +10281,9 @@ $root.coaching = (function() {
|
|
|
10268
10281
|
case 12:
|
|
10269
10282
|
message.rescheduled = reader.bool();
|
|
10270
10283
|
break;
|
|
10284
|
+
case 13:
|
|
10285
|
+
message.chatConversationId = reader.string();
|
|
10286
|
+
break;
|
|
10271
10287
|
default:
|
|
10272
10288
|
reader.skipType(tag & 7);
|
|
10273
10289
|
break;
|
|
@@ -10346,6 +10362,9 @@ $root.coaching = (function() {
|
|
|
10346
10362
|
if (message.rescheduled != null && message.hasOwnProperty("rescheduled"))
|
|
10347
10363
|
if (typeof message.rescheduled !== "boolean")
|
|
10348
10364
|
return "rescheduled: boolean expected";
|
|
10365
|
+
if (message.chatConversationId != null && message.hasOwnProperty("chatConversationId"))
|
|
10366
|
+
if (!$util.isString(message.chatConversationId))
|
|
10367
|
+
return "chatConversationId: string expected";
|
|
10349
10368
|
return null;
|
|
10350
10369
|
};
|
|
10351
10370
|
|
|
@@ -10436,6 +10455,8 @@ $root.coaching = (function() {
|
|
|
10436
10455
|
}
|
|
10437
10456
|
if (object.rescheduled != null)
|
|
10438
10457
|
message.rescheduled = Boolean(object.rescheduled);
|
|
10458
|
+
if (object.chatConversationId != null)
|
|
10459
|
+
message.chatConversationId = String(object.chatConversationId);
|
|
10439
10460
|
return message;
|
|
10440
10461
|
};
|
|
10441
10462
|
|
|
@@ -10485,6 +10506,7 @@ $root.coaching = (function() {
|
|
|
10485
10506
|
object.isRecurring = false;
|
|
10486
10507
|
object.eventType = options.enums === String ? "COACHING_SESSION_EVENT_TYPE_UNKNOWN" : 0;
|
|
10487
10508
|
object.rescheduled = false;
|
|
10509
|
+
object.chatConversationId = "";
|
|
10488
10510
|
}
|
|
10489
10511
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
10490
10512
|
object.id = message.id;
|
|
@@ -10525,6 +10547,8 @@ $root.coaching = (function() {
|
|
|
10525
10547
|
object.eventType = options.enums === String ? $root.coaching.CoachingSessionEventType[message.eventType] : message.eventType;
|
|
10526
10548
|
if (message.rescheduled != null && message.hasOwnProperty("rescheduled"))
|
|
10527
10549
|
object.rescheduled = message.rescheduled;
|
|
10550
|
+
if (message.chatConversationId != null && message.hasOwnProperty("chatConversationId"))
|
|
10551
|
+
object.chatConversationId = message.chatConversationId;
|
|
10528
10552
|
return object;
|
|
10529
10553
|
};
|
|
10530
10554
|
|
|
@@ -103132,6 +103156,7 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103132
103156
|
* @property {b2b.IPartnerConsent|null} [partnerConsent] B2BPartnerConsentCreated partnerConsent
|
|
103133
103157
|
* @property {Array.<number>|null} [orgIds] B2BPartnerConsentCreated orgIds
|
|
103134
103158
|
* @property {number|Long|null} [timestamp] B2BPartnerConsentCreated timestamp
|
|
103159
|
+
* @property {string|null} [consentCode] B2BPartnerConsentCreated consentCode
|
|
103135
103160
|
*/
|
|
103136
103161
|
|
|
103137
103162
|
/**
|
|
@@ -103174,6 +103199,14 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103174
103199
|
*/
|
|
103175
103200
|
B2BPartnerConsentCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
103176
103201
|
|
|
103202
|
+
/**
|
|
103203
|
+
* B2BPartnerConsentCreated consentCode.
|
|
103204
|
+
* @member {string} consentCode
|
|
103205
|
+
* @memberof B2BPartnerConsentCreated
|
|
103206
|
+
* @instance
|
|
103207
|
+
*/
|
|
103208
|
+
B2BPartnerConsentCreated.prototype.consentCode = "";
|
|
103209
|
+
|
|
103177
103210
|
/**
|
|
103178
103211
|
* Creates a new B2BPartnerConsentCreated instance using the specified properties.
|
|
103179
103212
|
* @function create
|
|
@@ -103208,6 +103241,8 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103208
103241
|
}
|
|
103209
103242
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
103210
103243
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
103244
|
+
if (message.consentCode != null && message.hasOwnProperty("consentCode"))
|
|
103245
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.consentCode);
|
|
103211
103246
|
return writer;
|
|
103212
103247
|
};
|
|
103213
103248
|
|
|
@@ -103258,6 +103293,9 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103258
103293
|
case 3:
|
|
103259
103294
|
message.timestamp = reader.uint64();
|
|
103260
103295
|
break;
|
|
103296
|
+
case 4:
|
|
103297
|
+
message.consentCode = reader.string();
|
|
103298
|
+
break;
|
|
103261
103299
|
default:
|
|
103262
103300
|
reader.skipType(tag & 7);
|
|
103263
103301
|
break;
|
|
@@ -103308,6 +103346,9 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103308
103346
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
103309
103347
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
103310
103348
|
return "timestamp: integer|Long expected";
|
|
103349
|
+
if (message.consentCode != null && message.hasOwnProperty("consentCode"))
|
|
103350
|
+
if (!$util.isString(message.consentCode))
|
|
103351
|
+
return "consentCode: string expected";
|
|
103311
103352
|
return null;
|
|
103312
103353
|
};
|
|
103313
103354
|
|
|
@@ -103344,6 +103385,8 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103344
103385
|
message.timestamp = object.timestamp;
|
|
103345
103386
|
else if (typeof object.timestamp === "object")
|
|
103346
103387
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
103388
|
+
if (object.consentCode != null)
|
|
103389
|
+
message.consentCode = String(object.consentCode);
|
|
103347
103390
|
return message;
|
|
103348
103391
|
};
|
|
103349
103392
|
|
|
@@ -103369,6 +103412,7 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103369
103412
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
103370
103413
|
} else
|
|
103371
103414
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
103415
|
+
object.consentCode = "";
|
|
103372
103416
|
}
|
|
103373
103417
|
if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent"))
|
|
103374
103418
|
object.partnerConsent = $root.b2b.PartnerConsent.toObject(message.partnerConsent, options);
|
|
@@ -103382,6 +103426,8 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103382
103426
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
103383
103427
|
else
|
|
103384
103428
|
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
103429
|
+
if (message.consentCode != null && message.hasOwnProperty("consentCode"))
|
|
103430
|
+
object.consentCode = message.consentCode;
|
|
103385
103431
|
return object;
|
|
103386
103432
|
};
|
|
103387
103433
|
|
|
@@ -103409,6 +103455,7 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103409
103455
|
* @property {string|null} [hsUserId] B2BMemberPartnerConsentRequested hsUserId
|
|
103410
103456
|
* @property {number|Long|null} [timestamp] B2BMemberPartnerConsentRequested timestamp
|
|
103411
103457
|
* @property {number|null} [orgId] B2BMemberPartnerConsentRequested orgId
|
|
103458
|
+
* @property {string|null} [consentCode] B2BMemberPartnerConsentRequested consentCode
|
|
103412
103459
|
*/
|
|
103413
103460
|
|
|
103414
103461
|
/**
|
|
@@ -103458,6 +103505,14 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103458
103505
|
*/
|
|
103459
103506
|
B2BMemberPartnerConsentRequested.prototype.orgId = 0;
|
|
103460
103507
|
|
|
103508
|
+
/**
|
|
103509
|
+
* B2BMemberPartnerConsentRequested consentCode.
|
|
103510
|
+
* @member {string} consentCode
|
|
103511
|
+
* @memberof B2BMemberPartnerConsentRequested
|
|
103512
|
+
* @instance
|
|
103513
|
+
*/
|
|
103514
|
+
B2BMemberPartnerConsentRequested.prototype.consentCode = "";
|
|
103515
|
+
|
|
103461
103516
|
/**
|
|
103462
103517
|
* Creates a new B2BMemberPartnerConsentRequested instance using the specified properties.
|
|
103463
103518
|
* @function create
|
|
@@ -103490,6 +103545,8 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103490
103545
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
103491
103546
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
103492
103547
|
writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.orgId);
|
|
103548
|
+
if (message.consentCode != null && message.hasOwnProperty("consentCode"))
|
|
103549
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.consentCode);
|
|
103493
103550
|
return writer;
|
|
103494
103551
|
};
|
|
103495
103552
|
|
|
@@ -103536,6 +103593,9 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103536
103593
|
case 4:
|
|
103537
103594
|
message.orgId = reader.uint32();
|
|
103538
103595
|
break;
|
|
103596
|
+
case 5:
|
|
103597
|
+
message.consentCode = reader.string();
|
|
103598
|
+
break;
|
|
103539
103599
|
default:
|
|
103540
103600
|
reader.skipType(tag & 7);
|
|
103541
103601
|
break;
|
|
@@ -103583,6 +103643,9 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103583
103643
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
103584
103644
|
if (!$util.isInteger(message.orgId))
|
|
103585
103645
|
return "orgId: integer expected";
|
|
103646
|
+
if (message.consentCode != null && message.hasOwnProperty("consentCode"))
|
|
103647
|
+
if (!$util.isString(message.consentCode))
|
|
103648
|
+
return "consentCode: string expected";
|
|
103586
103649
|
return null;
|
|
103587
103650
|
};
|
|
103588
103651
|
|
|
@@ -103613,6 +103676,8 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103613
103676
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
103614
103677
|
if (object.orgId != null)
|
|
103615
103678
|
message.orgId = object.orgId >>> 0;
|
|
103679
|
+
if (object.consentCode != null)
|
|
103680
|
+
message.consentCode = String(object.consentCode);
|
|
103616
103681
|
return message;
|
|
103617
103682
|
};
|
|
103618
103683
|
|
|
@@ -103638,6 +103703,7 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103638
103703
|
} else
|
|
103639
103704
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
103640
103705
|
object.orgId = 0;
|
|
103706
|
+
object.consentCode = "";
|
|
103641
103707
|
}
|
|
103642
103708
|
if (message.partnerConsentId != null && message.hasOwnProperty("partnerConsentId"))
|
|
103643
103709
|
object.partnerConsentId = message.partnerConsentId;
|
|
@@ -103650,6 +103716,8 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103650
103716
|
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
103651
103717
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
103652
103718
|
object.orgId = message.orgId;
|
|
103719
|
+
if (message.consentCode != null && message.hasOwnProperty("consentCode"))
|
|
103720
|
+
object.consentCode = message.consentCode;
|
|
103653
103721
|
return object;
|
|
103654
103722
|
};
|
|
103655
103723
|
|
|
@@ -103675,6 +103743,7 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103675
103743
|
* @interface IB2BMemberPartnerConsentRemovalRequested
|
|
103676
103744
|
* @property {string|null} [hsUserId] B2BMemberPartnerConsentRemovalRequested hsUserId
|
|
103677
103745
|
* @property {number|Long|null} [timestamp] B2BMemberPartnerConsentRemovalRequested timestamp
|
|
103746
|
+
* @property {string|null} [consentCode] B2BMemberPartnerConsentRemovalRequested consentCode
|
|
103678
103747
|
*/
|
|
103679
103748
|
|
|
103680
103749
|
/**
|
|
@@ -103708,6 +103777,14 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103708
103777
|
*/
|
|
103709
103778
|
B2BMemberPartnerConsentRemovalRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
103710
103779
|
|
|
103780
|
+
/**
|
|
103781
|
+
* B2BMemberPartnerConsentRemovalRequested consentCode.
|
|
103782
|
+
* @member {string} consentCode
|
|
103783
|
+
* @memberof B2BMemberPartnerConsentRemovalRequested
|
|
103784
|
+
* @instance
|
|
103785
|
+
*/
|
|
103786
|
+
B2BMemberPartnerConsentRemovalRequested.prototype.consentCode = "";
|
|
103787
|
+
|
|
103711
103788
|
/**
|
|
103712
103789
|
* Creates a new B2BMemberPartnerConsentRemovalRequested instance using the specified properties.
|
|
103713
103790
|
* @function create
|
|
@@ -103736,6 +103813,8 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103736
103813
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
103737
103814
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
103738
103815
|
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
103816
|
+
if (message.consentCode != null && message.hasOwnProperty("consentCode"))
|
|
103817
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.consentCode);
|
|
103739
103818
|
return writer;
|
|
103740
103819
|
};
|
|
103741
103820
|
|
|
@@ -103776,6 +103855,9 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103776
103855
|
case 2:
|
|
103777
103856
|
message.timestamp = reader.uint64();
|
|
103778
103857
|
break;
|
|
103858
|
+
case 3:
|
|
103859
|
+
message.consentCode = reader.string();
|
|
103860
|
+
break;
|
|
103779
103861
|
default:
|
|
103780
103862
|
reader.skipType(tag & 7);
|
|
103781
103863
|
break;
|
|
@@ -103817,6 +103899,9 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103817
103899
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
103818
103900
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
103819
103901
|
return "timestamp: integer|Long expected";
|
|
103902
|
+
if (message.consentCode != null && message.hasOwnProperty("consentCode"))
|
|
103903
|
+
if (!$util.isString(message.consentCode))
|
|
103904
|
+
return "consentCode: string expected";
|
|
103820
103905
|
return null;
|
|
103821
103906
|
};
|
|
103822
103907
|
|
|
@@ -103843,6 +103928,8 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103843
103928
|
message.timestamp = object.timestamp;
|
|
103844
103929
|
else if (typeof object.timestamp === "object")
|
|
103845
103930
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
103931
|
+
if (object.consentCode != null)
|
|
103932
|
+
message.consentCode = String(object.consentCode);
|
|
103846
103933
|
return message;
|
|
103847
103934
|
};
|
|
103848
103935
|
|
|
@@ -103866,6 +103953,7 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103866
103953
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
103867
103954
|
} else
|
|
103868
103955
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
103956
|
+
object.consentCode = "";
|
|
103869
103957
|
}
|
|
103870
103958
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
103871
103959
|
object.hsUserId = message.hsUserId;
|
|
@@ -103874,6 +103962,8 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103874
103962
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
103875
103963
|
else
|
|
103876
103964
|
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
103965
|
+
if (message.consentCode != null && message.hasOwnProperty("consentCode"))
|
|
103966
|
+
object.consentCode = message.consentCode;
|
|
103877
103967
|
return object;
|
|
103878
103968
|
};
|
|
103879
103969
|
|
|
@@ -160096,6 +160186,7 @@ $root.UserConsentUpdated = (function() {
|
|
|
160096
160186
|
* @property {string|null} [userId] UserConsentUpdated userId
|
|
160097
160187
|
* @property {string|null} [code] UserConsentUpdated code
|
|
160098
160188
|
* @property {string|null} [status] UserConsentUpdated status
|
|
160189
|
+
* @property {number|Long|null} [version] UserConsentUpdated version
|
|
160099
160190
|
*/
|
|
160100
160191
|
|
|
160101
160192
|
/**
|
|
@@ -160137,6 +160228,14 @@ $root.UserConsentUpdated = (function() {
|
|
|
160137
160228
|
*/
|
|
160138
160229
|
UserConsentUpdated.prototype.status = "";
|
|
160139
160230
|
|
|
160231
|
+
/**
|
|
160232
|
+
* UserConsentUpdated version.
|
|
160233
|
+
* @member {number|Long} version
|
|
160234
|
+
* @memberof UserConsentUpdated
|
|
160235
|
+
* @instance
|
|
160236
|
+
*/
|
|
160237
|
+
UserConsentUpdated.prototype.version = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
160238
|
+
|
|
160140
160239
|
/**
|
|
160141
160240
|
* Creates a new UserConsentUpdated instance using the specified properties.
|
|
160142
160241
|
* @function create
|
|
@@ -160167,6 +160266,8 @@ $root.UserConsentUpdated = (function() {
|
|
|
160167
160266
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.code);
|
|
160168
160267
|
if (message.status != null && message.hasOwnProperty("status"))
|
|
160169
160268
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.status);
|
|
160269
|
+
if (message.version != null && message.hasOwnProperty("version"))
|
|
160270
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.version);
|
|
160170
160271
|
return writer;
|
|
160171
160272
|
};
|
|
160172
160273
|
|
|
@@ -160210,6 +160311,9 @@ $root.UserConsentUpdated = (function() {
|
|
|
160210
160311
|
case 3:
|
|
160211
160312
|
message.status = reader.string();
|
|
160212
160313
|
break;
|
|
160314
|
+
case 4:
|
|
160315
|
+
message.version = reader.uint64();
|
|
160316
|
+
break;
|
|
160213
160317
|
default:
|
|
160214
160318
|
reader.skipType(tag & 7);
|
|
160215
160319
|
break;
|
|
@@ -160254,6 +160358,9 @@ $root.UserConsentUpdated = (function() {
|
|
|
160254
160358
|
if (message.status != null && message.hasOwnProperty("status"))
|
|
160255
160359
|
if (!$util.isString(message.status))
|
|
160256
160360
|
return "status: string expected";
|
|
160361
|
+
if (message.version != null && message.hasOwnProperty("version"))
|
|
160362
|
+
if (!$util.isInteger(message.version) && !(message.version && $util.isInteger(message.version.low) && $util.isInteger(message.version.high)))
|
|
160363
|
+
return "version: integer|Long expected";
|
|
160257
160364
|
return null;
|
|
160258
160365
|
};
|
|
160259
160366
|
|
|
@@ -160275,6 +160382,15 @@ $root.UserConsentUpdated = (function() {
|
|
|
160275
160382
|
message.code = String(object.code);
|
|
160276
160383
|
if (object.status != null)
|
|
160277
160384
|
message.status = String(object.status);
|
|
160385
|
+
if (object.version != null)
|
|
160386
|
+
if ($util.Long)
|
|
160387
|
+
(message.version = $util.Long.fromValue(object.version)).unsigned = true;
|
|
160388
|
+
else if (typeof object.version === "string")
|
|
160389
|
+
message.version = parseInt(object.version, 10);
|
|
160390
|
+
else if (typeof object.version === "number")
|
|
160391
|
+
message.version = object.version;
|
|
160392
|
+
else if (typeof object.version === "object")
|
|
160393
|
+
message.version = new $util.LongBits(object.version.low >>> 0, object.version.high >>> 0).toNumber(true);
|
|
160278
160394
|
return message;
|
|
160279
160395
|
};
|
|
160280
160396
|
|
|
@@ -160295,6 +160411,11 @@ $root.UserConsentUpdated = (function() {
|
|
|
160295
160411
|
object.userId = "";
|
|
160296
160412
|
object.code = "";
|
|
160297
160413
|
object.status = "";
|
|
160414
|
+
if ($util.Long) {
|
|
160415
|
+
var long = new $util.Long(0, 0, true);
|
|
160416
|
+
object.version = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
160417
|
+
} else
|
|
160418
|
+
object.version = options.longs === String ? "0" : 0;
|
|
160298
160419
|
}
|
|
160299
160420
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
160300
160421
|
object.userId = message.userId;
|
|
@@ -160302,6 +160423,11 @@ $root.UserConsentUpdated = (function() {
|
|
|
160302
160423
|
object.code = message.code;
|
|
160303
160424
|
if (message.status != null && message.hasOwnProperty("status"))
|
|
160304
160425
|
object.status = message.status;
|
|
160426
|
+
if (message.version != null && message.hasOwnProperty("version"))
|
|
160427
|
+
if (typeof message.version === "number")
|
|
160428
|
+
object.version = options.longs === String ? String(message.version) : message.version;
|
|
160429
|
+
else
|
|
160430
|
+
object.version = options.longs === String ? $util.Long.prototype.toString.call(message.version) : options.longs === Number ? new $util.LongBits(message.version.low >>> 0, message.version.high >>> 0).toNumber(true) : message.version;
|
|
160305
160431
|
return object;
|
|
160306
160432
|
};
|
|
160307
160433
|
|
package/package.json
CHANGED