@headspace/protos-events 1.816.0 → 1.818.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +141 -12
  2. package/lib/index.js +405 -58
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -8881,12 +8881,6 @@ export namespace b2b {
8881
8881
  /** Organization isEbbEnabled. */
8882
8882
  isEbbEnabled: boolean;
8883
8883
 
8884
- /** Organization isSondermindVirtualEnabled. */
8885
- isSondermindVirtualEnabled: boolean;
8886
-
8887
- /** Organization isSondermindInpersonEnabled. */
8888
- isSondermindInpersonEnabled: boolean;
8889
-
8890
8884
  /**
8891
8885
  * Creates a new Organization instance using the specified properties.
8892
8886
  * @param [properties] Properties to set
@@ -9061,12 +9055,6 @@ export namespace b2b {
9061
9055
  /** Organization isEbbEnabled */
9062
9056
  isEbbEnabled?: (boolean|null);
9063
9057
 
9064
- /** Organization isSondermindVirtualEnabled */
9065
- isSondermindVirtualEnabled?: (boolean|null);
9066
-
9067
- /** Organization isSondermindInpersonEnabled */
9068
- isSondermindInpersonEnabled?: (boolean|null);
9069
-
9070
9058
  /** Unknown fields preserved while decoding */
9071
9059
  $unknowns?: Uint8Array[];
9072
9060
  }
@@ -15435,6 +15423,147 @@ export namespace B2BMemberPartnerConsentRemovalRequested {
15435
15423
  type $Shape = B2BMemberPartnerConsentRemovalRequested.$Properties;
15436
15424
  }
15437
15425
 
15426
+ /**
15427
+ * Properties of a B2BReconciliationExportCompleted.
15428
+ * @deprecated Use B2BReconciliationExportCompleted.$Properties instead.
15429
+ */
15430
+ export interface IB2BReconciliationExportCompleted extends B2BReconciliationExportCompleted.$Properties {
15431
+ }
15432
+
15433
+ /** Represents a B2BReconciliationExportCompleted. */
15434
+ export class B2BReconciliationExportCompleted {
15435
+
15436
+ /**
15437
+ * Constructs a new B2BReconciliationExportCompleted.
15438
+ * @param [properties] Properties to set
15439
+ */
15440
+ constructor(properties?: B2BReconciliationExportCompleted.$Properties);
15441
+
15442
+ /** Unknown fields preserved while decoding */
15443
+ $unknowns?: Uint8Array[];
15444
+
15445
+ /** B2BReconciliationExportCompleted exportStartDatetime. */
15446
+ exportStartDatetime: string;
15447
+
15448
+ /** B2BReconciliationExportCompleted exportEndDatetime. */
15449
+ exportEndDatetime: string;
15450
+
15451
+ /** B2BReconciliationExportCompleted s3FilePath. */
15452
+ s3FilePath: string;
15453
+
15454
+ /** B2BReconciliationExportCompleted rootOrgIds. */
15455
+ rootOrgIds: number[];
15456
+
15457
+ /** B2BReconciliationExportCompleted timestamp. */
15458
+ timestamp: (number|Long);
15459
+
15460
+ /**
15461
+ * Creates a new B2BReconciliationExportCompleted instance using the specified properties.
15462
+ * @param [properties] Properties to set
15463
+ * @returns B2BReconciliationExportCompleted instance
15464
+ */
15465
+ static create(properties: B2BReconciliationExportCompleted.$Shape): B2BReconciliationExportCompleted & B2BReconciliationExportCompleted.$Shape;
15466
+ static create(properties?: B2BReconciliationExportCompleted.$Properties): B2BReconciliationExportCompleted;
15467
+
15468
+ /**
15469
+ * Encodes the specified B2BReconciliationExportCompleted message. Does not implicitly {@link B2BReconciliationExportCompleted.verify|verify} messages.
15470
+ * @param message B2BReconciliationExportCompleted message or plain object to encode
15471
+ * @param [writer] Writer to encode to
15472
+ * @returns Writer
15473
+ */
15474
+ static encode(message: B2BReconciliationExportCompleted.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
15475
+
15476
+ /**
15477
+ * Encodes the specified B2BReconciliationExportCompleted message, length delimited. Does not implicitly {@link B2BReconciliationExportCompleted.verify|verify} messages.
15478
+ * @param message B2BReconciliationExportCompleted message or plain object to encode
15479
+ * @param [writer] Writer to encode to
15480
+ * @returns Writer
15481
+ */
15482
+ static encodeDelimited(message: B2BReconciliationExportCompleted.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
15483
+
15484
+ /**
15485
+ * Decodes a B2BReconciliationExportCompleted message from the specified reader or buffer.
15486
+ * @param reader Reader or buffer to decode from
15487
+ * @param [length] Message length if known beforehand
15488
+ * @returns {B2BReconciliationExportCompleted & B2BReconciliationExportCompleted.$Shape} B2BReconciliationExportCompleted
15489
+ * @throws {Error} If the payload is not a reader or valid buffer
15490
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15491
+ */
15492
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BReconciliationExportCompleted & B2BReconciliationExportCompleted.$Shape;
15493
+
15494
+ /**
15495
+ * Decodes a B2BReconciliationExportCompleted message from the specified reader or buffer, length delimited.
15496
+ * @param reader Reader or buffer to decode from
15497
+ * @returns {B2BReconciliationExportCompleted & B2BReconciliationExportCompleted.$Shape} B2BReconciliationExportCompleted
15498
+ * @throws {Error} If the payload is not a reader or valid buffer
15499
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15500
+ */
15501
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BReconciliationExportCompleted & B2BReconciliationExportCompleted.$Shape;
15502
+
15503
+ /**
15504
+ * Verifies a B2BReconciliationExportCompleted message.
15505
+ * @param message Plain object to verify
15506
+ * @returns `null` if valid, otherwise the reason why it is not
15507
+ */
15508
+ static verify(message: { [k: string]: any }): (string|null);
15509
+
15510
+ /**
15511
+ * Creates a B2BReconciliationExportCompleted message from a plain object. Also converts values to their respective internal types.
15512
+ * @param object Plain object
15513
+ * @returns B2BReconciliationExportCompleted
15514
+ */
15515
+ static fromObject(object: { [k: string]: any }): B2BReconciliationExportCompleted;
15516
+
15517
+ /**
15518
+ * Creates a plain object from a B2BReconciliationExportCompleted message. Also converts values to other types if specified.
15519
+ * @param message B2BReconciliationExportCompleted
15520
+ * @param [options] Conversion options
15521
+ * @returns Plain object
15522
+ */
15523
+ static toObject(message: B2BReconciliationExportCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
15524
+
15525
+ /**
15526
+ * Converts this B2BReconciliationExportCompleted to JSON.
15527
+ * @returns JSON object
15528
+ */
15529
+ toJSON(): { [k: string]: any };
15530
+
15531
+ /**
15532
+ * Gets the type url for B2BReconciliationExportCompleted
15533
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
15534
+ * @returns The type url
15535
+ */
15536
+ static getTypeUrl(prefix?: string): string;
15537
+ }
15538
+
15539
+ export namespace B2BReconciliationExportCompleted {
15540
+
15541
+ /** Properties of a B2BReconciliationExportCompleted. */
15542
+ interface $Properties {
15543
+
15544
+ /** B2BReconciliationExportCompleted exportStartDatetime */
15545
+ exportStartDatetime?: (string|null);
15546
+
15547
+ /** B2BReconciliationExportCompleted exportEndDatetime */
15548
+ exportEndDatetime?: (string|null);
15549
+
15550
+ /** B2BReconciliationExportCompleted s3FilePath */
15551
+ s3FilePath?: (string|null);
15552
+
15553
+ /** B2BReconciliationExportCompleted rootOrgIds */
15554
+ rootOrgIds?: (number[]|null);
15555
+
15556
+ /** B2BReconciliationExportCompleted timestamp */
15557
+ timestamp?: (number|Long|null);
15558
+
15559
+ /** Unknown fields preserved while decoding */
15560
+ $unknowns?: Uint8Array[];
15561
+ }
15562
+
15563
+ /** Shape of a B2BReconciliationExportCompleted. */
15564
+ type $Shape = B2BReconciliationExportCompleted.$Properties;
15565
+ }
15566
+
15438
15567
  /**
15439
15568
  * Properties of a BuddyAccepted.
15440
15569
  * @deprecated Use BuddyAccepted.$Properties instead.
package/lib/index.js CHANGED
@@ -23807,8 +23807,6 @@ $root.b2b = (function() {
23807
23807
  * @property {boolean|null} [m2mOrgSyncEnabled] Organization m2mOrgSyncEnabled
23808
23808
  * @property {boolean|null} [isTextCoachingDisabled] Organization isTextCoachingDisabled
23809
23809
  * @property {boolean|null} [isEbbEnabled] Organization isEbbEnabled
23810
- * @property {boolean|null} [isSondermindVirtualEnabled] Organization isSondermindVirtualEnabled
23811
- * @property {boolean|null} [isSondermindInpersonEnabled] Organization isSondermindInpersonEnabled
23812
23810
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
23813
23811
  */
23814
23812
 
@@ -24081,22 +24079,6 @@ $root.b2b = (function() {
24081
24079
  */
24082
24080
  Organization.prototype.isEbbEnabled = false;
24083
24081
 
24084
- /**
24085
- * Organization isSondermindVirtualEnabled.
24086
- * @member {boolean} isSondermindVirtualEnabled
24087
- * @memberof b2b.Organization
24088
- * @instance
24089
- */
24090
- Organization.prototype.isSondermindVirtualEnabled = false;
24091
-
24092
- /**
24093
- * Organization isSondermindInpersonEnabled.
24094
- * @member {boolean} isSondermindInpersonEnabled
24095
- * @memberof b2b.Organization
24096
- * @instance
24097
- */
24098
- Organization.prototype.isSondermindInpersonEnabled = false;
24099
-
24100
24082
  /**
24101
24083
  * Creates a new Organization instance using the specified properties.
24102
24084
  * @function create
@@ -24189,10 +24171,6 @@ $root.b2b = (function() {
24189
24171
  writer.uint32(/* id 30, wireType 0 =*/240).bool(message.isTextCoachingDisabled);
24190
24172
  if (message.isEbbEnabled != null && Object.hasOwnProperty.call(message, "isEbbEnabled"))
24191
24173
  writer.uint32(/* id 31, wireType 0 =*/248).bool(message.isEbbEnabled);
24192
- if (message.isSondermindVirtualEnabled != null && Object.hasOwnProperty.call(message, "isSondermindVirtualEnabled"))
24193
- writer.uint32(/* id 32, wireType 0 =*/256).bool(message.isSondermindVirtualEnabled);
24194
- if (message.isSondermindInpersonEnabled != null && Object.hasOwnProperty.call(message, "isSondermindInpersonEnabled"))
24195
- writer.uint32(/* id 33, wireType 0 =*/264).bool(message.isSondermindInpersonEnabled);
24196
24174
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
24197
24175
  for (var i = 0; i < message.$unknowns.length; ++i)
24198
24176
  writer.raw(message.$unknowns[i]);
@@ -24517,24 +24495,6 @@ $root.b2b = (function() {
24517
24495
  delete message.isEbbEnabled;
24518
24496
  continue;
24519
24497
  }
24520
- case 32: {
24521
- if (wireType !== 0)
24522
- break;
24523
- if (value = reader.bool())
24524
- message.isSondermindVirtualEnabled = value;
24525
- else
24526
- delete message.isSondermindVirtualEnabled;
24527
- continue;
24528
- }
24529
- case 33: {
24530
- if (wireType !== 0)
24531
- break;
24532
- if (value = reader.bool())
24533
- message.isSondermindInpersonEnabled = value;
24534
- else
24535
- delete message.isSondermindInpersonEnabled;
24536
- continue;
24537
- }
24538
24498
  }
24539
24499
  reader.skipType(wireType, _depth, tag);
24540
24500
  $util.makeProp(message, "$unknowns", false);
@@ -24701,12 +24661,6 @@ $root.b2b = (function() {
24701
24661
  if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
24702
24662
  if (typeof message.isEbbEnabled !== "boolean")
24703
24663
  return "isEbbEnabled: boolean expected";
24704
- if (message.isSondermindVirtualEnabled != null && message.hasOwnProperty("isSondermindVirtualEnabled"))
24705
- if (typeof message.isSondermindVirtualEnabled !== "boolean")
24706
- return "isSondermindVirtualEnabled: boolean expected";
24707
- if (message.isSondermindInpersonEnabled != null && message.hasOwnProperty("isSondermindInpersonEnabled"))
24708
- if (typeof message.isSondermindInpersonEnabled !== "boolean")
24709
- return "isSondermindInpersonEnabled: boolean expected";
24710
24664
  return null;
24711
24665
  };
24712
24666
 
@@ -24926,12 +24880,6 @@ $root.b2b = (function() {
24926
24880
  if (object.isEbbEnabled != null)
24927
24881
  if (object.isEbbEnabled)
24928
24882
  message.isEbbEnabled = Boolean(object.isEbbEnabled);
24929
- if (object.isSondermindVirtualEnabled != null)
24930
- if (object.isSondermindVirtualEnabled)
24931
- message.isSondermindVirtualEnabled = Boolean(object.isSondermindVirtualEnabled);
24932
- if (object.isSondermindInpersonEnabled != null)
24933
- if (object.isSondermindInpersonEnabled)
24934
- message.isSondermindInpersonEnabled = Boolean(object.isSondermindInpersonEnabled);
24935
24883
  return message;
24936
24884
  };
24937
24885
 
@@ -24980,8 +24928,6 @@ $root.b2b = (function() {
24980
24928
  object.m2mOrgSyncEnabled = false;
24981
24929
  object.isTextCoachingDisabled = false;
24982
24930
  object.isEbbEnabled = false;
24983
- object.isSondermindVirtualEnabled = false;
24984
- object.isSondermindInpersonEnabled = false;
24985
24931
  }
24986
24932
  if (message.orgId != null && message.hasOwnProperty("orgId"))
24987
24933
  object.orgId = message.orgId;
@@ -25046,10 +24992,6 @@ $root.b2b = (function() {
25046
24992
  object.isTextCoachingDisabled = message.isTextCoachingDisabled;
25047
24993
  if (message.isEbbEnabled != null && message.hasOwnProperty("isEbbEnabled"))
25048
24994
  object.isEbbEnabled = message.isEbbEnabled;
25049
- if (message.isSondermindVirtualEnabled != null && message.hasOwnProperty("isSondermindVirtualEnabled"))
25050
- object.isSondermindVirtualEnabled = message.isSondermindVirtualEnabled;
25051
- if (message.isSondermindInpersonEnabled != null && message.hasOwnProperty("isSondermindInpersonEnabled"))
25052
- object.isSondermindInpersonEnabled = message.isSondermindInpersonEnabled;
25053
24995
  return object;
25054
24996
  };
25055
24997
 
@@ -45387,6 +45329,411 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
45387
45329
  return B2BMemberPartnerConsentRemovalRequested;
45388
45330
  })();
45389
45331
 
45332
+ $root.B2BReconciliationExportCompleted = (function() {
45333
+
45334
+ /**
45335
+ * Properties of a B2BReconciliationExportCompleted.
45336
+ * @typedef {Object} B2BReconciliationExportCompleted.$Properties
45337
+ * @property {string|null} [exportStartDatetime] B2BReconciliationExportCompleted exportStartDatetime
45338
+ * @property {string|null} [exportEndDatetime] B2BReconciliationExportCompleted exportEndDatetime
45339
+ * @property {string|null} [s3FilePath] B2BReconciliationExportCompleted s3FilePath
45340
+ * @property {Array.<number>|null} [rootOrgIds] B2BReconciliationExportCompleted rootOrgIds
45341
+ * @property {number|Long|null} [timestamp] B2BReconciliationExportCompleted timestamp
45342
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
45343
+ */
45344
+
45345
+ /**
45346
+ * Properties of a B2BReconciliationExportCompleted.
45347
+ * @name IB2BReconciliationExportCompleted
45348
+ * @interface IB2BReconciliationExportCompleted
45349
+ * @augments B2BReconciliationExportCompleted.$Properties
45350
+ * @deprecated Use B2BReconciliationExportCompleted.$Properties instead.
45351
+ */
45352
+
45353
+ /**
45354
+ * Shape of a B2BReconciliationExportCompleted.
45355
+ * @typedef {B2BReconciliationExportCompleted.$Properties} B2BReconciliationExportCompleted.$Shape
45356
+ */
45357
+
45358
+ /**
45359
+ * Constructs a new B2BReconciliationExportCompleted.
45360
+ * @name B2BReconciliationExportCompleted
45361
+ * @classdesc Represents a B2BReconciliationExportCompleted.
45362
+ * @constructor
45363
+ * @param {B2BReconciliationExportCompleted.$Properties=} [properties] Properties to set
45364
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
45365
+ */
45366
+ function B2BReconciliationExportCompleted(properties) {
45367
+ this.rootOrgIds = [];
45368
+ if (properties)
45369
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
45370
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
45371
+ this[keys[i]] = properties[keys[i]];
45372
+ }
45373
+
45374
+ /**
45375
+ * B2BReconciliationExportCompleted exportStartDatetime.
45376
+ * @member {string} exportStartDatetime
45377
+ * @memberof B2BReconciliationExportCompleted
45378
+ * @instance
45379
+ */
45380
+ B2BReconciliationExportCompleted.prototype.exportStartDatetime = "";
45381
+
45382
+ /**
45383
+ * B2BReconciliationExportCompleted exportEndDatetime.
45384
+ * @member {string} exportEndDatetime
45385
+ * @memberof B2BReconciliationExportCompleted
45386
+ * @instance
45387
+ */
45388
+ B2BReconciliationExportCompleted.prototype.exportEndDatetime = "";
45389
+
45390
+ /**
45391
+ * B2BReconciliationExportCompleted s3FilePath.
45392
+ * @member {string} s3FilePath
45393
+ * @memberof B2BReconciliationExportCompleted
45394
+ * @instance
45395
+ */
45396
+ B2BReconciliationExportCompleted.prototype.s3FilePath = "";
45397
+
45398
+ /**
45399
+ * B2BReconciliationExportCompleted rootOrgIds.
45400
+ * @member {Array.<number>} rootOrgIds
45401
+ * @memberof B2BReconciliationExportCompleted
45402
+ * @instance
45403
+ */
45404
+ B2BReconciliationExportCompleted.prototype.rootOrgIds = $util.emptyArray;
45405
+
45406
+ /**
45407
+ * B2BReconciliationExportCompleted timestamp.
45408
+ * @member {number|Long} timestamp
45409
+ * @memberof B2BReconciliationExportCompleted
45410
+ * @instance
45411
+ */
45412
+ B2BReconciliationExportCompleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
45413
+
45414
+ /**
45415
+ * Creates a new B2BReconciliationExportCompleted instance using the specified properties.
45416
+ * @function create
45417
+ * @memberof B2BReconciliationExportCompleted
45418
+ * @static
45419
+ * @param {B2BReconciliationExportCompleted.$Properties=} [properties] Properties to set
45420
+ * @returns {B2BReconciliationExportCompleted} B2BReconciliationExportCompleted instance
45421
+ * @type {{
45422
+ * (properties: B2BReconciliationExportCompleted.$Shape): B2BReconciliationExportCompleted & B2BReconciliationExportCompleted.$Shape;
45423
+ * (properties?: B2BReconciliationExportCompleted.$Properties): B2BReconciliationExportCompleted;
45424
+ * }}
45425
+ */
45426
+ B2BReconciliationExportCompleted.create = function create(properties) {
45427
+ return new B2BReconciliationExportCompleted(properties);
45428
+ };
45429
+
45430
+ /**
45431
+ * Encodes the specified B2BReconciliationExportCompleted message. Does not implicitly {@link B2BReconciliationExportCompleted.verify|verify} messages.
45432
+ * @function encode
45433
+ * @memberof B2BReconciliationExportCompleted
45434
+ * @static
45435
+ * @param {B2BReconciliationExportCompleted.$Properties} message B2BReconciliationExportCompleted message or plain object to encode
45436
+ * @param {$protobuf.Writer} [writer] Writer to encode to
45437
+ * @returns {$protobuf.Writer} Writer
45438
+ */
45439
+ B2BReconciliationExportCompleted.encode = function encode(message, writer) {
45440
+ if (!writer)
45441
+ writer = $Writer.create();
45442
+ if (message.exportStartDatetime != null && Object.hasOwnProperty.call(message, "exportStartDatetime"))
45443
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.exportStartDatetime);
45444
+ if (message.exportEndDatetime != null && Object.hasOwnProperty.call(message, "exportEndDatetime"))
45445
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.exportEndDatetime);
45446
+ if (message.s3FilePath != null && Object.hasOwnProperty.call(message, "s3FilePath"))
45447
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.s3FilePath);
45448
+ if (message.rootOrgIds != null && message.rootOrgIds.length) {
45449
+ writer.uint32(/* id 4, wireType 2 =*/34).fork();
45450
+ for (var i = 0; i < message.rootOrgIds.length; ++i)
45451
+ writer.uint32(message.rootOrgIds[i]);
45452
+ writer.ldelim();
45453
+ }
45454
+ if (message.timestamp != null && Object.hasOwnProperty.call(message, "timestamp"))
45455
+ writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.timestamp);
45456
+ if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
45457
+ for (var i = 0; i < message.$unknowns.length; ++i)
45458
+ writer.raw(message.$unknowns[i]);
45459
+ return writer;
45460
+ };
45461
+
45462
+ /**
45463
+ * Encodes the specified B2BReconciliationExportCompleted message, length delimited. Does not implicitly {@link B2BReconciliationExportCompleted.verify|verify} messages.
45464
+ * @function encodeDelimited
45465
+ * @memberof B2BReconciliationExportCompleted
45466
+ * @static
45467
+ * @param {B2BReconciliationExportCompleted.$Properties} message B2BReconciliationExportCompleted message or plain object to encode
45468
+ * @param {$protobuf.Writer} [writer] Writer to encode to
45469
+ * @returns {$protobuf.Writer} Writer
45470
+ */
45471
+ B2BReconciliationExportCompleted.encodeDelimited = function encodeDelimited(message, writer) {
45472
+ return this.encode(message, writer).ldelim();
45473
+ };
45474
+
45475
+ /**
45476
+ * Decodes a B2BReconciliationExportCompleted message from the specified reader or buffer.
45477
+ * @function decode
45478
+ * @memberof B2BReconciliationExportCompleted
45479
+ * @static
45480
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
45481
+ * @param {number} [length] Message length if known beforehand
45482
+ * @returns {B2BReconciliationExportCompleted & B2BReconciliationExportCompleted.$Shape} B2BReconciliationExportCompleted
45483
+ * @throws {Error} If the payload is not a reader or valid buffer
45484
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
45485
+ */
45486
+ B2BReconciliationExportCompleted.decode = function decode(reader, length, _end, _depth, _target) {
45487
+ if (!(reader instanceof $Reader))
45488
+ reader = $Reader.create(reader);
45489
+ if (_depth === undefined)
45490
+ _depth = 0;
45491
+ if (_depth > $Reader.recursionLimit)
45492
+ throw Error("max depth exceeded");
45493
+ var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.B2BReconciliationExportCompleted(), value;
45494
+ while (reader.pos < end) {
45495
+ var start = reader.pos;
45496
+ var tag = reader.tag();
45497
+ if (tag === _end) {
45498
+ _end = undefined;
45499
+ break;
45500
+ }
45501
+ var wireType = tag & 7;
45502
+ switch (tag >>>= 3) {
45503
+ case 1: {
45504
+ if (wireType !== 2)
45505
+ break;
45506
+ if ((value = reader.string()).length)
45507
+ message.exportStartDatetime = value;
45508
+ else
45509
+ delete message.exportStartDatetime;
45510
+ continue;
45511
+ }
45512
+ case 2: {
45513
+ if (wireType !== 2)
45514
+ break;
45515
+ if ((value = reader.string()).length)
45516
+ message.exportEndDatetime = value;
45517
+ else
45518
+ delete message.exportEndDatetime;
45519
+ continue;
45520
+ }
45521
+ case 3: {
45522
+ if (wireType !== 2)
45523
+ break;
45524
+ if ((value = reader.string()).length)
45525
+ message.s3FilePath = value;
45526
+ else
45527
+ delete message.s3FilePath;
45528
+ continue;
45529
+ }
45530
+ case 4: {
45531
+ if (wireType === 2) {
45532
+ if (!(message.rootOrgIds && message.rootOrgIds.length))
45533
+ message.rootOrgIds = [];
45534
+ var end2 = reader.uint32() + reader.pos;
45535
+ while (reader.pos < end2)
45536
+ message.rootOrgIds.push(reader.uint32());
45537
+ continue;
45538
+ }
45539
+ if (wireType !== 0)
45540
+ break;
45541
+ if (!(message.rootOrgIds && message.rootOrgIds.length))
45542
+ message.rootOrgIds = [];
45543
+ message.rootOrgIds.push(reader.uint32());
45544
+ continue;
45545
+ }
45546
+ case 5: {
45547
+ if (wireType !== 0)
45548
+ break;
45549
+ if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0)
45550
+ message.timestamp = value;
45551
+ else
45552
+ delete message.timestamp;
45553
+ continue;
45554
+ }
45555
+ }
45556
+ reader.skipType(wireType, _depth, tag);
45557
+ $util.makeProp(message, "$unknowns", false);
45558
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
45559
+ }
45560
+ if (_end !== undefined)
45561
+ throw Error("missing end group");
45562
+ return message;
45563
+ };
45564
+
45565
+ /**
45566
+ * Decodes a B2BReconciliationExportCompleted message from the specified reader or buffer, length delimited.
45567
+ * @function decodeDelimited
45568
+ * @memberof B2BReconciliationExportCompleted
45569
+ * @static
45570
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
45571
+ * @returns {B2BReconciliationExportCompleted & B2BReconciliationExportCompleted.$Shape} B2BReconciliationExportCompleted
45572
+ * @throws {Error} If the payload is not a reader or valid buffer
45573
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
45574
+ */
45575
+ B2BReconciliationExportCompleted.decodeDelimited = function decodeDelimited(reader) {
45576
+ if (!(reader instanceof $Reader))
45577
+ reader = new $Reader(reader);
45578
+ return this.decode(reader, reader.uint32());
45579
+ };
45580
+
45581
+ /**
45582
+ * Verifies a B2BReconciliationExportCompleted message.
45583
+ * @function verify
45584
+ * @memberof B2BReconciliationExportCompleted
45585
+ * @static
45586
+ * @param {Object.<string,*>} message Plain object to verify
45587
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
45588
+ */
45589
+ B2BReconciliationExportCompleted.verify = function verify(message, _depth) {
45590
+ if (typeof message !== "object" || message === null)
45591
+ return "object expected";
45592
+ if (_depth === undefined)
45593
+ _depth = 0;
45594
+ if (_depth > $util.recursionLimit)
45595
+ return "max depth exceeded";
45596
+ if (message.exportStartDatetime != null && message.hasOwnProperty("exportStartDatetime"))
45597
+ if (!$util.isString(message.exportStartDatetime))
45598
+ return "exportStartDatetime: string expected";
45599
+ if (message.exportEndDatetime != null && message.hasOwnProperty("exportEndDatetime"))
45600
+ if (!$util.isString(message.exportEndDatetime))
45601
+ return "exportEndDatetime: string expected";
45602
+ if (message.s3FilePath != null && message.hasOwnProperty("s3FilePath"))
45603
+ if (!$util.isString(message.s3FilePath))
45604
+ return "s3FilePath: string expected";
45605
+ if (message.rootOrgIds != null && message.hasOwnProperty("rootOrgIds")) {
45606
+ if (!Array.isArray(message.rootOrgIds))
45607
+ return "rootOrgIds: array expected";
45608
+ for (var i = 0; i < message.rootOrgIds.length; ++i)
45609
+ if (!$util.isInteger(message.rootOrgIds[i]))
45610
+ return "rootOrgIds: integer[] expected";
45611
+ }
45612
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
45613
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
45614
+ return "timestamp: integer|Long expected";
45615
+ return null;
45616
+ };
45617
+
45618
+ /**
45619
+ * Creates a B2BReconciliationExportCompleted message from a plain object. Also converts values to their respective internal types.
45620
+ * @function fromObject
45621
+ * @memberof B2BReconciliationExportCompleted
45622
+ * @static
45623
+ * @param {Object.<string,*>} object Plain object
45624
+ * @returns {B2BReconciliationExportCompleted} B2BReconciliationExportCompleted
45625
+ */
45626
+ B2BReconciliationExportCompleted.fromObject = function fromObject(object, _depth) {
45627
+ if (object instanceof $root.B2BReconciliationExportCompleted)
45628
+ return object;
45629
+ if (_depth === undefined)
45630
+ _depth = 0;
45631
+ if (_depth > $util.recursionLimit)
45632
+ throw Error("max depth exceeded");
45633
+ var message = new $root.B2BReconciliationExportCompleted();
45634
+ if (object.exportStartDatetime != null)
45635
+ if (typeof object.exportStartDatetime !== "string" || object.exportStartDatetime.length)
45636
+ message.exportStartDatetime = String(object.exportStartDatetime);
45637
+ if (object.exportEndDatetime != null)
45638
+ if (typeof object.exportEndDatetime !== "string" || object.exportEndDatetime.length)
45639
+ message.exportEndDatetime = String(object.exportEndDatetime);
45640
+ if (object.s3FilePath != null)
45641
+ if (typeof object.s3FilePath !== "string" || object.s3FilePath.length)
45642
+ message.s3FilePath = String(object.s3FilePath);
45643
+ if (object.rootOrgIds) {
45644
+ if (!Array.isArray(object.rootOrgIds))
45645
+ throw TypeError(".B2BReconciliationExportCompleted.rootOrgIds: array expected");
45646
+ message.rootOrgIds = Array(object.rootOrgIds.length);
45647
+ for (var i = 0; i < object.rootOrgIds.length; ++i)
45648
+ message.rootOrgIds[i] = object.rootOrgIds[i] >>> 0;
45649
+ }
45650
+ if (object.timestamp != null)
45651
+ if (typeof object.timestamp === "object" ? object.timestamp.low || object.timestamp.high : Number(object.timestamp) !== 0)
45652
+ if ($util.Long)
45653
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
45654
+ else if (typeof object.timestamp === "string")
45655
+ message.timestamp = parseInt(object.timestamp, 10);
45656
+ else if (typeof object.timestamp === "number")
45657
+ message.timestamp = object.timestamp;
45658
+ else if (typeof object.timestamp === "object")
45659
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
45660
+ return message;
45661
+ };
45662
+
45663
+ /**
45664
+ * Creates a plain object from a B2BReconciliationExportCompleted message. Also converts values to other types if specified.
45665
+ * @function toObject
45666
+ * @memberof B2BReconciliationExportCompleted
45667
+ * @static
45668
+ * @param {B2BReconciliationExportCompleted} message B2BReconciliationExportCompleted
45669
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
45670
+ * @returns {Object.<string,*>} Plain object
45671
+ */
45672
+ B2BReconciliationExportCompleted.toObject = function toObject(message, options) {
45673
+ if (!options)
45674
+ options = {};
45675
+ var object = {};
45676
+ if (options.arrays || options.defaults)
45677
+ object.rootOrgIds = [];
45678
+ if (options.defaults) {
45679
+ object.exportStartDatetime = "";
45680
+ object.exportEndDatetime = "";
45681
+ object.s3FilePath = "";
45682
+ if ($util.Long) {
45683
+ var long = new $util.Long(0, 0, true);
45684
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
45685
+ } else
45686
+ object.timestamp = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
45687
+ }
45688
+ if (message.exportStartDatetime != null && message.hasOwnProperty("exportStartDatetime"))
45689
+ object.exportStartDatetime = message.exportStartDatetime;
45690
+ if (message.exportEndDatetime != null && message.hasOwnProperty("exportEndDatetime"))
45691
+ object.exportEndDatetime = message.exportEndDatetime;
45692
+ if (message.s3FilePath != null && message.hasOwnProperty("s3FilePath"))
45693
+ object.s3FilePath = message.s3FilePath;
45694
+ if (message.rootOrgIds && message.rootOrgIds.length) {
45695
+ object.rootOrgIds = Array(message.rootOrgIds.length);
45696
+ for (var j = 0; j < message.rootOrgIds.length; ++j)
45697
+ object.rootOrgIds[j] = message.rootOrgIds[j];
45698
+ }
45699
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
45700
+ if (typeof BigInt !== "undefined" && options.longs === BigInt)
45701
+ object.timestamp = typeof message.timestamp === "number" ? BigInt(message.timestamp) : $util.Long.fromBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0, true).toBigInt();
45702
+ else if (typeof message.timestamp === "number")
45703
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
45704
+ else
45705
+ 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;
45706
+ return object;
45707
+ };
45708
+
45709
+ /**
45710
+ * Converts this B2BReconciliationExportCompleted to JSON.
45711
+ * @function toJSON
45712
+ * @memberof B2BReconciliationExportCompleted
45713
+ * @instance
45714
+ * @returns {Object.<string,*>} JSON object
45715
+ */
45716
+ B2BReconciliationExportCompleted.prototype.toJSON = function toJSON() {
45717
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
45718
+ };
45719
+
45720
+ /**
45721
+ * Gets the type url for B2BReconciliationExportCompleted
45722
+ * @function getTypeUrl
45723
+ * @memberof B2BReconciliationExportCompleted
45724
+ * @static
45725
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
45726
+ * @returns {string} The type url
45727
+ */
45728
+ B2BReconciliationExportCompleted.getTypeUrl = function getTypeUrl(prefix) {
45729
+ if (prefix === undefined)
45730
+ prefix = "type.googleapis.com";
45731
+ return prefix + "/B2BReconciliationExportCompleted";
45732
+ };
45733
+
45734
+ return B2BReconciliationExportCompleted;
45735
+ })();
45736
+
45390
45737
  $root.BuddyAccepted = (function() {
45391
45738
 
45392
45739
  /**
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.816.0"
19
+ "version": "1.818.0"
20
20
  }