@headspace/protos-events 1.592.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 +24 -0
- package/lib/index.js +102 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -36210,6 +36210,9 @@ export interface IB2BPartnerConsentCreated {
|
|
|
36210
36210
|
|
|
36211
36211
|
/** B2BPartnerConsentCreated timestamp */
|
|
36212
36212
|
timestamp?: (number|Long|null);
|
|
36213
|
+
|
|
36214
|
+
/** B2BPartnerConsentCreated consentCode */
|
|
36215
|
+
consentCode?: (string|null);
|
|
36213
36216
|
}
|
|
36214
36217
|
|
|
36215
36218
|
/** Represents a B2BPartnerConsentCreated. */
|
|
@@ -36230,6 +36233,9 @@ export class B2BPartnerConsentCreated implements IB2BPartnerConsentCreated {
|
|
|
36230
36233
|
/** B2BPartnerConsentCreated timestamp. */
|
|
36231
36234
|
public timestamp: (number|Long);
|
|
36232
36235
|
|
|
36236
|
+
/** B2BPartnerConsentCreated consentCode. */
|
|
36237
|
+
public consentCode: string;
|
|
36238
|
+
|
|
36233
36239
|
/**
|
|
36234
36240
|
* Creates a new B2BPartnerConsentCreated instance using the specified properties.
|
|
36235
36241
|
* @param [properties] Properties to set
|
|
@@ -36315,6 +36321,9 @@ export interface IB2BMemberPartnerConsentRequested {
|
|
|
36315
36321
|
|
|
36316
36322
|
/** B2BMemberPartnerConsentRequested orgId */
|
|
36317
36323
|
orgId?: (number|null);
|
|
36324
|
+
|
|
36325
|
+
/** B2BMemberPartnerConsentRequested consentCode */
|
|
36326
|
+
consentCode?: (string|null);
|
|
36318
36327
|
}
|
|
36319
36328
|
|
|
36320
36329
|
/** Represents a B2BMemberPartnerConsentRequested. */
|
|
@@ -36338,6 +36347,9 @@ export class B2BMemberPartnerConsentRequested implements IB2BMemberPartnerConsen
|
|
|
36338
36347
|
/** B2BMemberPartnerConsentRequested orgId. */
|
|
36339
36348
|
public orgId: number;
|
|
36340
36349
|
|
|
36350
|
+
/** B2BMemberPartnerConsentRequested consentCode. */
|
|
36351
|
+
public consentCode: string;
|
|
36352
|
+
|
|
36341
36353
|
/**
|
|
36342
36354
|
* Creates a new B2BMemberPartnerConsentRequested instance using the specified properties.
|
|
36343
36355
|
* @param [properties] Properties to set
|
|
@@ -36417,6 +36429,9 @@ export interface IB2BMemberPartnerConsentRemovalRequested {
|
|
|
36417
36429
|
|
|
36418
36430
|
/** B2BMemberPartnerConsentRemovalRequested timestamp */
|
|
36419
36431
|
timestamp?: (number|Long|null);
|
|
36432
|
+
|
|
36433
|
+
/** B2BMemberPartnerConsentRemovalRequested consentCode */
|
|
36434
|
+
consentCode?: (string|null);
|
|
36420
36435
|
}
|
|
36421
36436
|
|
|
36422
36437
|
/** Represents a B2BMemberPartnerConsentRemovalRequested. */
|
|
@@ -36434,6 +36449,9 @@ export class B2BMemberPartnerConsentRemovalRequested implements IB2BMemberPartne
|
|
|
36434
36449
|
/** B2BMemberPartnerConsentRemovalRequested timestamp. */
|
|
36435
36450
|
public timestamp: (number|Long);
|
|
36436
36451
|
|
|
36452
|
+
/** B2BMemberPartnerConsentRemovalRequested consentCode. */
|
|
36453
|
+
public consentCode: string;
|
|
36454
|
+
|
|
36437
36455
|
/**
|
|
36438
36456
|
* Creates a new B2BMemberPartnerConsentRemovalRequested instance using the specified properties.
|
|
36439
36457
|
* @param [properties] Properties to set
|
|
@@ -55484,6 +55502,9 @@ export interface IUserConsentUpdated {
|
|
|
55484
55502
|
|
|
55485
55503
|
/** UserConsentUpdated status */
|
|
55486
55504
|
status?: (string|null);
|
|
55505
|
+
|
|
55506
|
+
/** UserConsentUpdated version */
|
|
55507
|
+
version?: (number|Long|null);
|
|
55487
55508
|
}
|
|
55488
55509
|
|
|
55489
55510
|
/** Represents a UserConsentUpdated. */
|
|
@@ -55504,6 +55525,9 @@ export class UserConsentUpdated implements IUserConsentUpdated {
|
|
|
55504
55525
|
/** UserConsentUpdated status. */
|
|
55505
55526
|
public status: string;
|
|
55506
55527
|
|
|
55528
|
+
/** UserConsentUpdated version. */
|
|
55529
|
+
public version: (number|Long);
|
|
55530
|
+
|
|
55507
55531
|
/**
|
|
55508
55532
|
* Creates a new UserConsentUpdated instance using the specified properties.
|
|
55509
55533
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -103156,6 +103156,7 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103156
103156
|
* @property {b2b.IPartnerConsent|null} [partnerConsent] B2BPartnerConsentCreated partnerConsent
|
|
103157
103157
|
* @property {Array.<number>|null} [orgIds] B2BPartnerConsentCreated orgIds
|
|
103158
103158
|
* @property {number|Long|null} [timestamp] B2BPartnerConsentCreated timestamp
|
|
103159
|
+
* @property {string|null} [consentCode] B2BPartnerConsentCreated consentCode
|
|
103159
103160
|
*/
|
|
103160
103161
|
|
|
103161
103162
|
/**
|
|
@@ -103198,6 +103199,14 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103198
103199
|
*/
|
|
103199
103200
|
B2BPartnerConsentCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
103200
103201
|
|
|
103202
|
+
/**
|
|
103203
|
+
* B2BPartnerConsentCreated consentCode.
|
|
103204
|
+
* @member {string} consentCode
|
|
103205
|
+
* @memberof B2BPartnerConsentCreated
|
|
103206
|
+
* @instance
|
|
103207
|
+
*/
|
|
103208
|
+
B2BPartnerConsentCreated.prototype.consentCode = "";
|
|
103209
|
+
|
|
103201
103210
|
/**
|
|
103202
103211
|
* Creates a new B2BPartnerConsentCreated instance using the specified properties.
|
|
103203
103212
|
* @function create
|
|
@@ -103232,6 +103241,8 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103232
103241
|
}
|
|
103233
103242
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
103234
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);
|
|
103235
103246
|
return writer;
|
|
103236
103247
|
};
|
|
103237
103248
|
|
|
@@ -103282,6 +103293,9 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103282
103293
|
case 3:
|
|
103283
103294
|
message.timestamp = reader.uint64();
|
|
103284
103295
|
break;
|
|
103296
|
+
case 4:
|
|
103297
|
+
message.consentCode = reader.string();
|
|
103298
|
+
break;
|
|
103285
103299
|
default:
|
|
103286
103300
|
reader.skipType(tag & 7);
|
|
103287
103301
|
break;
|
|
@@ -103332,6 +103346,9 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103332
103346
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
103333
103347
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
103334
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";
|
|
103335
103352
|
return null;
|
|
103336
103353
|
};
|
|
103337
103354
|
|
|
@@ -103368,6 +103385,8 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103368
103385
|
message.timestamp = object.timestamp;
|
|
103369
103386
|
else if (typeof object.timestamp === "object")
|
|
103370
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);
|
|
103371
103390
|
return message;
|
|
103372
103391
|
};
|
|
103373
103392
|
|
|
@@ -103393,6 +103412,7 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103393
103412
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
103394
103413
|
} else
|
|
103395
103414
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
103415
|
+
object.consentCode = "";
|
|
103396
103416
|
}
|
|
103397
103417
|
if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent"))
|
|
103398
103418
|
object.partnerConsent = $root.b2b.PartnerConsent.toObject(message.partnerConsent, options);
|
|
@@ -103406,6 +103426,8 @@ $root.B2BPartnerConsentCreated = (function() {
|
|
|
103406
103426
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
103407
103427
|
else
|
|
103408
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;
|
|
103409
103431
|
return object;
|
|
103410
103432
|
};
|
|
103411
103433
|
|
|
@@ -103433,6 +103455,7 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103433
103455
|
* @property {string|null} [hsUserId] B2BMemberPartnerConsentRequested hsUserId
|
|
103434
103456
|
* @property {number|Long|null} [timestamp] B2BMemberPartnerConsentRequested timestamp
|
|
103435
103457
|
* @property {number|null} [orgId] B2BMemberPartnerConsentRequested orgId
|
|
103458
|
+
* @property {string|null} [consentCode] B2BMemberPartnerConsentRequested consentCode
|
|
103436
103459
|
*/
|
|
103437
103460
|
|
|
103438
103461
|
/**
|
|
@@ -103482,6 +103505,14 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103482
103505
|
*/
|
|
103483
103506
|
B2BMemberPartnerConsentRequested.prototype.orgId = 0;
|
|
103484
103507
|
|
|
103508
|
+
/**
|
|
103509
|
+
* B2BMemberPartnerConsentRequested consentCode.
|
|
103510
|
+
* @member {string} consentCode
|
|
103511
|
+
* @memberof B2BMemberPartnerConsentRequested
|
|
103512
|
+
* @instance
|
|
103513
|
+
*/
|
|
103514
|
+
B2BMemberPartnerConsentRequested.prototype.consentCode = "";
|
|
103515
|
+
|
|
103485
103516
|
/**
|
|
103486
103517
|
* Creates a new B2BMemberPartnerConsentRequested instance using the specified properties.
|
|
103487
103518
|
* @function create
|
|
@@ -103514,6 +103545,8 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103514
103545
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
103515
103546
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
103516
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);
|
|
103517
103550
|
return writer;
|
|
103518
103551
|
};
|
|
103519
103552
|
|
|
@@ -103560,6 +103593,9 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103560
103593
|
case 4:
|
|
103561
103594
|
message.orgId = reader.uint32();
|
|
103562
103595
|
break;
|
|
103596
|
+
case 5:
|
|
103597
|
+
message.consentCode = reader.string();
|
|
103598
|
+
break;
|
|
103563
103599
|
default:
|
|
103564
103600
|
reader.skipType(tag & 7);
|
|
103565
103601
|
break;
|
|
@@ -103607,6 +103643,9 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103607
103643
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
103608
103644
|
if (!$util.isInteger(message.orgId))
|
|
103609
103645
|
return "orgId: integer expected";
|
|
103646
|
+
if (message.consentCode != null && message.hasOwnProperty("consentCode"))
|
|
103647
|
+
if (!$util.isString(message.consentCode))
|
|
103648
|
+
return "consentCode: string expected";
|
|
103610
103649
|
return null;
|
|
103611
103650
|
};
|
|
103612
103651
|
|
|
@@ -103637,6 +103676,8 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103637
103676
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
103638
103677
|
if (object.orgId != null)
|
|
103639
103678
|
message.orgId = object.orgId >>> 0;
|
|
103679
|
+
if (object.consentCode != null)
|
|
103680
|
+
message.consentCode = String(object.consentCode);
|
|
103640
103681
|
return message;
|
|
103641
103682
|
};
|
|
103642
103683
|
|
|
@@ -103662,6 +103703,7 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103662
103703
|
} else
|
|
103663
103704
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
103664
103705
|
object.orgId = 0;
|
|
103706
|
+
object.consentCode = "";
|
|
103665
103707
|
}
|
|
103666
103708
|
if (message.partnerConsentId != null && message.hasOwnProperty("partnerConsentId"))
|
|
103667
103709
|
object.partnerConsentId = message.partnerConsentId;
|
|
@@ -103674,6 +103716,8 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103674
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;
|
|
103675
103717
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
103676
103718
|
object.orgId = message.orgId;
|
|
103719
|
+
if (message.consentCode != null && message.hasOwnProperty("consentCode"))
|
|
103720
|
+
object.consentCode = message.consentCode;
|
|
103677
103721
|
return object;
|
|
103678
103722
|
};
|
|
103679
103723
|
|
|
@@ -103699,6 +103743,7 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103699
103743
|
* @interface IB2BMemberPartnerConsentRemovalRequested
|
|
103700
103744
|
* @property {string|null} [hsUserId] B2BMemberPartnerConsentRemovalRequested hsUserId
|
|
103701
103745
|
* @property {number|Long|null} [timestamp] B2BMemberPartnerConsentRemovalRequested timestamp
|
|
103746
|
+
* @property {string|null} [consentCode] B2BMemberPartnerConsentRemovalRequested consentCode
|
|
103702
103747
|
*/
|
|
103703
103748
|
|
|
103704
103749
|
/**
|
|
@@ -103732,6 +103777,14 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103732
103777
|
*/
|
|
103733
103778
|
B2BMemberPartnerConsentRemovalRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
103734
103779
|
|
|
103780
|
+
/**
|
|
103781
|
+
* B2BMemberPartnerConsentRemovalRequested consentCode.
|
|
103782
|
+
* @member {string} consentCode
|
|
103783
|
+
* @memberof B2BMemberPartnerConsentRemovalRequested
|
|
103784
|
+
* @instance
|
|
103785
|
+
*/
|
|
103786
|
+
B2BMemberPartnerConsentRemovalRequested.prototype.consentCode = "";
|
|
103787
|
+
|
|
103735
103788
|
/**
|
|
103736
103789
|
* Creates a new B2BMemberPartnerConsentRemovalRequested instance using the specified properties.
|
|
103737
103790
|
* @function create
|
|
@@ -103760,6 +103813,8 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103760
103813
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
103761
103814
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
103762
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);
|
|
103763
103818
|
return writer;
|
|
103764
103819
|
};
|
|
103765
103820
|
|
|
@@ -103800,6 +103855,9 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103800
103855
|
case 2:
|
|
103801
103856
|
message.timestamp = reader.uint64();
|
|
103802
103857
|
break;
|
|
103858
|
+
case 3:
|
|
103859
|
+
message.consentCode = reader.string();
|
|
103860
|
+
break;
|
|
103803
103861
|
default:
|
|
103804
103862
|
reader.skipType(tag & 7);
|
|
103805
103863
|
break;
|
|
@@ -103841,6 +103899,9 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103841
103899
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
103842
103900
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
103843
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";
|
|
103844
103905
|
return null;
|
|
103845
103906
|
};
|
|
103846
103907
|
|
|
@@ -103867,6 +103928,8 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103867
103928
|
message.timestamp = object.timestamp;
|
|
103868
103929
|
else if (typeof object.timestamp === "object")
|
|
103869
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);
|
|
103870
103933
|
return message;
|
|
103871
103934
|
};
|
|
103872
103935
|
|
|
@@ -103890,6 +103953,7 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103890
103953
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
103891
103954
|
} else
|
|
103892
103955
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
103956
|
+
object.consentCode = "";
|
|
103893
103957
|
}
|
|
103894
103958
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
103895
103959
|
object.hsUserId = message.hsUserId;
|
|
@@ -103898,6 +103962,8 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103898
103962
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
103899
103963
|
else
|
|
103900
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;
|
|
103901
103967
|
return object;
|
|
103902
103968
|
};
|
|
103903
103969
|
|
|
@@ -160120,6 +160186,7 @@ $root.UserConsentUpdated = (function() {
|
|
|
160120
160186
|
* @property {string|null} [userId] UserConsentUpdated userId
|
|
160121
160187
|
* @property {string|null} [code] UserConsentUpdated code
|
|
160122
160188
|
* @property {string|null} [status] UserConsentUpdated status
|
|
160189
|
+
* @property {number|Long|null} [version] UserConsentUpdated version
|
|
160123
160190
|
*/
|
|
160124
160191
|
|
|
160125
160192
|
/**
|
|
@@ -160161,6 +160228,14 @@ $root.UserConsentUpdated = (function() {
|
|
|
160161
160228
|
*/
|
|
160162
160229
|
UserConsentUpdated.prototype.status = "";
|
|
160163
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
|
+
|
|
160164
160239
|
/**
|
|
160165
160240
|
* Creates a new UserConsentUpdated instance using the specified properties.
|
|
160166
160241
|
* @function create
|
|
@@ -160191,6 +160266,8 @@ $root.UserConsentUpdated = (function() {
|
|
|
160191
160266
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.code);
|
|
160192
160267
|
if (message.status != null && message.hasOwnProperty("status"))
|
|
160193
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);
|
|
160194
160271
|
return writer;
|
|
160195
160272
|
};
|
|
160196
160273
|
|
|
@@ -160234,6 +160311,9 @@ $root.UserConsentUpdated = (function() {
|
|
|
160234
160311
|
case 3:
|
|
160235
160312
|
message.status = reader.string();
|
|
160236
160313
|
break;
|
|
160314
|
+
case 4:
|
|
160315
|
+
message.version = reader.uint64();
|
|
160316
|
+
break;
|
|
160237
160317
|
default:
|
|
160238
160318
|
reader.skipType(tag & 7);
|
|
160239
160319
|
break;
|
|
@@ -160278,6 +160358,9 @@ $root.UserConsentUpdated = (function() {
|
|
|
160278
160358
|
if (message.status != null && message.hasOwnProperty("status"))
|
|
160279
160359
|
if (!$util.isString(message.status))
|
|
160280
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";
|
|
160281
160364
|
return null;
|
|
160282
160365
|
};
|
|
160283
160366
|
|
|
@@ -160299,6 +160382,15 @@ $root.UserConsentUpdated = (function() {
|
|
|
160299
160382
|
message.code = String(object.code);
|
|
160300
160383
|
if (object.status != null)
|
|
160301
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);
|
|
160302
160394
|
return message;
|
|
160303
160395
|
};
|
|
160304
160396
|
|
|
@@ -160319,6 +160411,11 @@ $root.UserConsentUpdated = (function() {
|
|
|
160319
160411
|
object.userId = "";
|
|
160320
160412
|
object.code = "";
|
|
160321
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;
|
|
160322
160419
|
}
|
|
160323
160420
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
160324
160421
|
object.userId = message.userId;
|
|
@@ -160326,6 +160423,11 @@ $root.UserConsentUpdated = (function() {
|
|
|
160326
160423
|
object.code = message.code;
|
|
160327
160424
|
if (message.status != null && message.hasOwnProperty("status"))
|
|
160328
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;
|
|
160329
160431
|
return object;
|
|
160330
160432
|
};
|
|
160331
160433
|
|
package/package.json
CHANGED