@headspace/protos-events 1.861.0 → 1.863.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.js CHANGED
@@ -45457,6 +45457,874 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
45457
45457
  return B2BMemberPartnerConsentRemovalRequested;
45458
45458
  })();
45459
45459
 
45460
+ $root.B2BProjectionBackfillExportCompleted = (function() {
45461
+
45462
+ /**
45463
+ * Properties of a B2BProjectionBackfillExportCompleted.
45464
+ * @typedef {Object} B2BProjectionBackfillExportCompleted.$Properties
45465
+ * @property {string|null} [runId] B2BProjectionBackfillExportCompleted runId
45466
+ * @property {string|null} [activeMembersS3FilePath] B2BProjectionBackfillExportCompleted activeMembersS3FilePath
45467
+ * @property {Array.<number>|null} [activeFusionRootOrgIds] B2BProjectionBackfillExportCompleted activeFusionRootOrgIds
45468
+ * @property {string|null} [removedMembersS3FilePath] B2BProjectionBackfillExportCompleted removedMembersS3FilePath
45469
+ * @property {Array.<number>|null} [everFusionRootOrgIds] B2BProjectionBackfillExportCompleted everFusionRootOrgIds
45470
+ * @property {number|Long|null} [timestamp] B2BProjectionBackfillExportCompleted timestamp
45471
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
45472
+ */
45473
+
45474
+ /**
45475
+ * Properties of a B2BProjectionBackfillExportCompleted.
45476
+ * @name IB2BProjectionBackfillExportCompleted
45477
+ * @interface IB2BProjectionBackfillExportCompleted
45478
+ * @augments B2BProjectionBackfillExportCompleted.$Properties
45479
+ * @deprecated Use B2BProjectionBackfillExportCompleted.$Properties instead.
45480
+ */
45481
+
45482
+ /**
45483
+ * Shape of a B2BProjectionBackfillExportCompleted.
45484
+ * @typedef {B2BProjectionBackfillExportCompleted.$Properties} B2BProjectionBackfillExportCompleted.$Shape
45485
+ */
45486
+
45487
+ /**
45488
+ * Constructs a new B2BProjectionBackfillExportCompleted.
45489
+ * @name B2BProjectionBackfillExportCompleted
45490
+ * @classdesc Represents a B2BProjectionBackfillExportCompleted.
45491
+ * @constructor
45492
+ * @param {B2BProjectionBackfillExportCompleted.$Properties=} [properties] Properties to set
45493
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
45494
+ */
45495
+ function B2BProjectionBackfillExportCompleted(properties) {
45496
+ this.activeFusionRootOrgIds = [];
45497
+ this.everFusionRootOrgIds = [];
45498
+ if (properties)
45499
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
45500
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
45501
+ this[keys[i]] = properties[keys[i]];
45502
+ }
45503
+
45504
+ /**
45505
+ * B2BProjectionBackfillExportCompleted runId.
45506
+ * @member {string} runId
45507
+ * @memberof B2BProjectionBackfillExportCompleted
45508
+ * @instance
45509
+ */
45510
+ B2BProjectionBackfillExportCompleted.prototype.runId = "";
45511
+
45512
+ /**
45513
+ * B2BProjectionBackfillExportCompleted activeMembersS3FilePath.
45514
+ * @member {string} activeMembersS3FilePath
45515
+ * @memberof B2BProjectionBackfillExportCompleted
45516
+ * @instance
45517
+ */
45518
+ B2BProjectionBackfillExportCompleted.prototype.activeMembersS3FilePath = "";
45519
+
45520
+ /**
45521
+ * B2BProjectionBackfillExportCompleted activeFusionRootOrgIds.
45522
+ * @member {Array.<number>} activeFusionRootOrgIds
45523
+ * @memberof B2BProjectionBackfillExportCompleted
45524
+ * @instance
45525
+ */
45526
+ B2BProjectionBackfillExportCompleted.prototype.activeFusionRootOrgIds = $util.emptyArray;
45527
+
45528
+ /**
45529
+ * B2BProjectionBackfillExportCompleted removedMembersS3FilePath.
45530
+ * @member {string} removedMembersS3FilePath
45531
+ * @memberof B2BProjectionBackfillExportCompleted
45532
+ * @instance
45533
+ */
45534
+ B2BProjectionBackfillExportCompleted.prototype.removedMembersS3FilePath = "";
45535
+
45536
+ /**
45537
+ * B2BProjectionBackfillExportCompleted everFusionRootOrgIds.
45538
+ * @member {Array.<number>} everFusionRootOrgIds
45539
+ * @memberof B2BProjectionBackfillExportCompleted
45540
+ * @instance
45541
+ */
45542
+ B2BProjectionBackfillExportCompleted.prototype.everFusionRootOrgIds = $util.emptyArray;
45543
+
45544
+ /**
45545
+ * B2BProjectionBackfillExportCompleted timestamp.
45546
+ * @member {number|Long} timestamp
45547
+ * @memberof B2BProjectionBackfillExportCompleted
45548
+ * @instance
45549
+ */
45550
+ B2BProjectionBackfillExportCompleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
45551
+
45552
+ /**
45553
+ * Creates a new B2BProjectionBackfillExportCompleted instance using the specified properties.
45554
+ * @function create
45555
+ * @memberof B2BProjectionBackfillExportCompleted
45556
+ * @static
45557
+ * @param {B2BProjectionBackfillExportCompleted.$Properties=} [properties] Properties to set
45558
+ * @returns {B2BProjectionBackfillExportCompleted} B2BProjectionBackfillExportCompleted instance
45559
+ * @type {{
45560
+ * (properties: B2BProjectionBackfillExportCompleted.$Shape): B2BProjectionBackfillExportCompleted & B2BProjectionBackfillExportCompleted.$Shape;
45561
+ * (properties?: B2BProjectionBackfillExportCompleted.$Properties): B2BProjectionBackfillExportCompleted;
45562
+ * }}
45563
+ */
45564
+ B2BProjectionBackfillExportCompleted.create = function create(properties) {
45565
+ return new B2BProjectionBackfillExportCompleted(properties);
45566
+ };
45567
+
45568
+ /**
45569
+ * Encodes the specified B2BProjectionBackfillExportCompleted message. Does not implicitly {@link B2BProjectionBackfillExportCompleted.verify|verify} messages.
45570
+ * @function encode
45571
+ * @memberof B2BProjectionBackfillExportCompleted
45572
+ * @static
45573
+ * @param {B2BProjectionBackfillExportCompleted.$Properties} message B2BProjectionBackfillExportCompleted message or plain object to encode
45574
+ * @param {$protobuf.Writer} [writer] Writer to encode to
45575
+ * @returns {$protobuf.Writer} Writer
45576
+ */
45577
+ B2BProjectionBackfillExportCompleted.encode = function encode(message, writer) {
45578
+ if (!writer)
45579
+ writer = $Writer.create();
45580
+ if (message.runId != null && Object.hasOwnProperty.call(message, "runId"))
45581
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.runId);
45582
+ if (message.activeMembersS3FilePath != null && Object.hasOwnProperty.call(message, "activeMembersS3FilePath"))
45583
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.activeMembersS3FilePath);
45584
+ if (message.activeFusionRootOrgIds != null && message.activeFusionRootOrgIds.length) {
45585
+ writer.uint32(/* id 3, wireType 2 =*/26).fork();
45586
+ for (var i = 0; i < message.activeFusionRootOrgIds.length; ++i)
45587
+ writer.uint32(message.activeFusionRootOrgIds[i]);
45588
+ writer.ldelim();
45589
+ }
45590
+ if (message.removedMembersS3FilePath != null && Object.hasOwnProperty.call(message, "removedMembersS3FilePath"))
45591
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.removedMembersS3FilePath);
45592
+ if (message.everFusionRootOrgIds != null && message.everFusionRootOrgIds.length) {
45593
+ writer.uint32(/* id 5, wireType 2 =*/42).fork();
45594
+ for (var i = 0; i < message.everFusionRootOrgIds.length; ++i)
45595
+ writer.uint32(message.everFusionRootOrgIds[i]);
45596
+ writer.ldelim();
45597
+ }
45598
+ if (message.timestamp != null && Object.hasOwnProperty.call(message, "timestamp"))
45599
+ writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.timestamp);
45600
+ if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
45601
+ for (var i = 0; i < message.$unknowns.length; ++i)
45602
+ writer.raw(message.$unknowns[i]);
45603
+ return writer;
45604
+ };
45605
+
45606
+ /**
45607
+ * Encodes the specified B2BProjectionBackfillExportCompleted message, length delimited. Does not implicitly {@link B2BProjectionBackfillExportCompleted.verify|verify} messages.
45608
+ * @function encodeDelimited
45609
+ * @memberof B2BProjectionBackfillExportCompleted
45610
+ * @static
45611
+ * @param {B2BProjectionBackfillExportCompleted.$Properties} message B2BProjectionBackfillExportCompleted message or plain object to encode
45612
+ * @param {$protobuf.Writer} [writer] Writer to encode to
45613
+ * @returns {$protobuf.Writer} Writer
45614
+ */
45615
+ B2BProjectionBackfillExportCompleted.encodeDelimited = function encodeDelimited(message, writer) {
45616
+ return this.encode(message, writer).ldelim();
45617
+ };
45618
+
45619
+ /**
45620
+ * Decodes a B2BProjectionBackfillExportCompleted message from the specified reader or buffer.
45621
+ * @function decode
45622
+ * @memberof B2BProjectionBackfillExportCompleted
45623
+ * @static
45624
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
45625
+ * @param {number} [length] Message length if known beforehand
45626
+ * @returns {B2BProjectionBackfillExportCompleted & B2BProjectionBackfillExportCompleted.$Shape} B2BProjectionBackfillExportCompleted
45627
+ * @throws {Error} If the payload is not a reader or valid buffer
45628
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
45629
+ */
45630
+ B2BProjectionBackfillExportCompleted.decode = function decode(reader, length, _end, _depth, _target) {
45631
+ if (!(reader instanceof $Reader))
45632
+ reader = $Reader.create(reader);
45633
+ if (_depth === undefined)
45634
+ _depth = 0;
45635
+ if (_depth > $Reader.recursionLimit)
45636
+ throw Error("max depth exceeded");
45637
+ var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.B2BProjectionBackfillExportCompleted(), value;
45638
+ while (reader.pos < end) {
45639
+ var start = reader.pos;
45640
+ var tag = reader.tag();
45641
+ if (tag === _end) {
45642
+ _end = undefined;
45643
+ break;
45644
+ }
45645
+ var wireType = tag & 7;
45646
+ switch (tag >>>= 3) {
45647
+ case 1: {
45648
+ if (wireType !== 2)
45649
+ break;
45650
+ if ((value = reader.string()).length)
45651
+ message.runId = value;
45652
+ else
45653
+ delete message.runId;
45654
+ continue;
45655
+ }
45656
+ case 2: {
45657
+ if (wireType !== 2)
45658
+ break;
45659
+ if ((value = reader.string()).length)
45660
+ message.activeMembersS3FilePath = value;
45661
+ else
45662
+ delete message.activeMembersS3FilePath;
45663
+ continue;
45664
+ }
45665
+ case 3: {
45666
+ if (wireType === 2) {
45667
+ if (!(message.activeFusionRootOrgIds && message.activeFusionRootOrgIds.length))
45668
+ message.activeFusionRootOrgIds = [];
45669
+ var end2 = reader.uint32() + reader.pos;
45670
+ while (reader.pos < end2)
45671
+ message.activeFusionRootOrgIds.push(reader.uint32());
45672
+ continue;
45673
+ }
45674
+ if (wireType !== 0)
45675
+ break;
45676
+ if (!(message.activeFusionRootOrgIds && message.activeFusionRootOrgIds.length))
45677
+ message.activeFusionRootOrgIds = [];
45678
+ message.activeFusionRootOrgIds.push(reader.uint32());
45679
+ continue;
45680
+ }
45681
+ case 4: {
45682
+ if (wireType !== 2)
45683
+ break;
45684
+ if ((value = reader.string()).length)
45685
+ message.removedMembersS3FilePath = value;
45686
+ else
45687
+ delete message.removedMembersS3FilePath;
45688
+ continue;
45689
+ }
45690
+ case 5: {
45691
+ if (wireType === 2) {
45692
+ if (!(message.everFusionRootOrgIds && message.everFusionRootOrgIds.length))
45693
+ message.everFusionRootOrgIds = [];
45694
+ var end2 = reader.uint32() + reader.pos;
45695
+ while (reader.pos < end2)
45696
+ message.everFusionRootOrgIds.push(reader.uint32());
45697
+ continue;
45698
+ }
45699
+ if (wireType !== 0)
45700
+ break;
45701
+ if (!(message.everFusionRootOrgIds && message.everFusionRootOrgIds.length))
45702
+ message.everFusionRootOrgIds = [];
45703
+ message.everFusionRootOrgIds.push(reader.uint32());
45704
+ continue;
45705
+ }
45706
+ case 6: {
45707
+ if (wireType !== 0)
45708
+ break;
45709
+ if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0)
45710
+ message.timestamp = value;
45711
+ else
45712
+ delete message.timestamp;
45713
+ continue;
45714
+ }
45715
+ }
45716
+ reader.skipType(wireType, _depth, tag);
45717
+ $util.makeProp(message, "$unknowns", false);
45718
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
45719
+ }
45720
+ if (_end !== undefined)
45721
+ throw Error("missing end group");
45722
+ return message;
45723
+ };
45724
+
45725
+ /**
45726
+ * Decodes a B2BProjectionBackfillExportCompleted message from the specified reader or buffer, length delimited.
45727
+ * @function decodeDelimited
45728
+ * @memberof B2BProjectionBackfillExportCompleted
45729
+ * @static
45730
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
45731
+ * @returns {B2BProjectionBackfillExportCompleted & B2BProjectionBackfillExportCompleted.$Shape} B2BProjectionBackfillExportCompleted
45732
+ * @throws {Error} If the payload is not a reader or valid buffer
45733
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
45734
+ */
45735
+ B2BProjectionBackfillExportCompleted.decodeDelimited = function decodeDelimited(reader) {
45736
+ if (!(reader instanceof $Reader))
45737
+ reader = new $Reader(reader);
45738
+ return this.decode(reader, reader.uint32());
45739
+ };
45740
+
45741
+ /**
45742
+ * Verifies a B2BProjectionBackfillExportCompleted message.
45743
+ * @function verify
45744
+ * @memberof B2BProjectionBackfillExportCompleted
45745
+ * @static
45746
+ * @param {Object.<string,*>} message Plain object to verify
45747
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
45748
+ */
45749
+ B2BProjectionBackfillExportCompleted.verify = function verify(message, _depth) {
45750
+ if (typeof message !== "object" || message === null)
45751
+ return "object expected";
45752
+ if (_depth === undefined)
45753
+ _depth = 0;
45754
+ if (_depth > $util.recursionLimit)
45755
+ return "max depth exceeded";
45756
+ if (message.runId != null && message.hasOwnProperty("runId"))
45757
+ if (!$util.isString(message.runId))
45758
+ return "runId: string expected";
45759
+ if (message.activeMembersS3FilePath != null && message.hasOwnProperty("activeMembersS3FilePath"))
45760
+ if (!$util.isString(message.activeMembersS3FilePath))
45761
+ return "activeMembersS3FilePath: string expected";
45762
+ if (message.activeFusionRootOrgIds != null && message.hasOwnProperty("activeFusionRootOrgIds")) {
45763
+ if (!Array.isArray(message.activeFusionRootOrgIds))
45764
+ return "activeFusionRootOrgIds: array expected";
45765
+ for (var i = 0; i < message.activeFusionRootOrgIds.length; ++i)
45766
+ if (!$util.isInteger(message.activeFusionRootOrgIds[i]))
45767
+ return "activeFusionRootOrgIds: integer[] expected";
45768
+ }
45769
+ if (message.removedMembersS3FilePath != null && message.hasOwnProperty("removedMembersS3FilePath"))
45770
+ if (!$util.isString(message.removedMembersS3FilePath))
45771
+ return "removedMembersS3FilePath: string expected";
45772
+ if (message.everFusionRootOrgIds != null && message.hasOwnProperty("everFusionRootOrgIds")) {
45773
+ if (!Array.isArray(message.everFusionRootOrgIds))
45774
+ return "everFusionRootOrgIds: array expected";
45775
+ for (var i = 0; i < message.everFusionRootOrgIds.length; ++i)
45776
+ if (!$util.isInteger(message.everFusionRootOrgIds[i]))
45777
+ return "everFusionRootOrgIds: integer[] expected";
45778
+ }
45779
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
45780
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
45781
+ return "timestamp: integer|Long expected";
45782
+ return null;
45783
+ };
45784
+
45785
+ /**
45786
+ * Creates a B2BProjectionBackfillExportCompleted message from a plain object. Also converts values to their respective internal types.
45787
+ * @function fromObject
45788
+ * @memberof B2BProjectionBackfillExportCompleted
45789
+ * @static
45790
+ * @param {Object.<string,*>} object Plain object
45791
+ * @returns {B2BProjectionBackfillExportCompleted} B2BProjectionBackfillExportCompleted
45792
+ */
45793
+ B2BProjectionBackfillExportCompleted.fromObject = function fromObject(object, _depth) {
45794
+ if (object instanceof $root.B2BProjectionBackfillExportCompleted)
45795
+ return object;
45796
+ if (_depth === undefined)
45797
+ _depth = 0;
45798
+ if (_depth > $util.recursionLimit)
45799
+ throw Error("max depth exceeded");
45800
+ var message = new $root.B2BProjectionBackfillExportCompleted();
45801
+ if (object.runId != null)
45802
+ if (typeof object.runId !== "string" || object.runId.length)
45803
+ message.runId = String(object.runId);
45804
+ if (object.activeMembersS3FilePath != null)
45805
+ if (typeof object.activeMembersS3FilePath !== "string" || object.activeMembersS3FilePath.length)
45806
+ message.activeMembersS3FilePath = String(object.activeMembersS3FilePath);
45807
+ if (object.activeFusionRootOrgIds) {
45808
+ if (!Array.isArray(object.activeFusionRootOrgIds))
45809
+ throw TypeError(".B2BProjectionBackfillExportCompleted.activeFusionRootOrgIds: array expected");
45810
+ message.activeFusionRootOrgIds = Array(object.activeFusionRootOrgIds.length);
45811
+ for (var i = 0; i < object.activeFusionRootOrgIds.length; ++i)
45812
+ message.activeFusionRootOrgIds[i] = object.activeFusionRootOrgIds[i] >>> 0;
45813
+ }
45814
+ if (object.removedMembersS3FilePath != null)
45815
+ if (typeof object.removedMembersS3FilePath !== "string" || object.removedMembersS3FilePath.length)
45816
+ message.removedMembersS3FilePath = String(object.removedMembersS3FilePath);
45817
+ if (object.everFusionRootOrgIds) {
45818
+ if (!Array.isArray(object.everFusionRootOrgIds))
45819
+ throw TypeError(".B2BProjectionBackfillExportCompleted.everFusionRootOrgIds: array expected");
45820
+ message.everFusionRootOrgIds = Array(object.everFusionRootOrgIds.length);
45821
+ for (var i = 0; i < object.everFusionRootOrgIds.length; ++i)
45822
+ message.everFusionRootOrgIds[i] = object.everFusionRootOrgIds[i] >>> 0;
45823
+ }
45824
+ if (object.timestamp != null)
45825
+ if (typeof object.timestamp === "object" ? object.timestamp.low || object.timestamp.high : Number(object.timestamp) !== 0)
45826
+ if ($util.Long)
45827
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
45828
+ else if (typeof object.timestamp === "string")
45829
+ message.timestamp = parseInt(object.timestamp, 10);
45830
+ else if (typeof object.timestamp === "number")
45831
+ message.timestamp = object.timestamp;
45832
+ else if (typeof object.timestamp === "object")
45833
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
45834
+ return message;
45835
+ };
45836
+
45837
+ /**
45838
+ * Creates a plain object from a B2BProjectionBackfillExportCompleted message. Also converts values to other types if specified.
45839
+ * @function toObject
45840
+ * @memberof B2BProjectionBackfillExportCompleted
45841
+ * @static
45842
+ * @param {B2BProjectionBackfillExportCompleted} message B2BProjectionBackfillExportCompleted
45843
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
45844
+ * @returns {Object.<string,*>} Plain object
45845
+ */
45846
+ B2BProjectionBackfillExportCompleted.toObject = function toObject(message, options) {
45847
+ if (!options)
45848
+ options = {};
45849
+ var object = {};
45850
+ if (options.arrays || options.defaults) {
45851
+ object.activeFusionRootOrgIds = [];
45852
+ object.everFusionRootOrgIds = [];
45853
+ }
45854
+ if (options.defaults) {
45855
+ object.runId = "";
45856
+ object.activeMembersS3FilePath = "";
45857
+ object.removedMembersS3FilePath = "";
45858
+ if ($util.Long) {
45859
+ var long = new $util.Long(0, 0, true);
45860
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
45861
+ } else
45862
+ object.timestamp = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
45863
+ }
45864
+ if (message.runId != null && message.hasOwnProperty("runId"))
45865
+ object.runId = message.runId;
45866
+ if (message.activeMembersS3FilePath != null && message.hasOwnProperty("activeMembersS3FilePath"))
45867
+ object.activeMembersS3FilePath = message.activeMembersS3FilePath;
45868
+ if (message.activeFusionRootOrgIds && message.activeFusionRootOrgIds.length) {
45869
+ object.activeFusionRootOrgIds = Array(message.activeFusionRootOrgIds.length);
45870
+ for (var j = 0; j < message.activeFusionRootOrgIds.length; ++j)
45871
+ object.activeFusionRootOrgIds[j] = message.activeFusionRootOrgIds[j];
45872
+ }
45873
+ if (message.removedMembersS3FilePath != null && message.hasOwnProperty("removedMembersS3FilePath"))
45874
+ object.removedMembersS3FilePath = message.removedMembersS3FilePath;
45875
+ if (message.everFusionRootOrgIds && message.everFusionRootOrgIds.length) {
45876
+ object.everFusionRootOrgIds = Array(message.everFusionRootOrgIds.length);
45877
+ for (var j = 0; j < message.everFusionRootOrgIds.length; ++j)
45878
+ object.everFusionRootOrgIds[j] = message.everFusionRootOrgIds[j];
45879
+ }
45880
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
45881
+ if (typeof BigInt !== "undefined" && options.longs === BigInt)
45882
+ object.timestamp = typeof message.timestamp === "number" ? BigInt(message.timestamp) : $util.Long.fromBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0, true).toBigInt();
45883
+ else if (typeof message.timestamp === "number")
45884
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
45885
+ else
45886
+ 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;
45887
+ return object;
45888
+ };
45889
+
45890
+ /**
45891
+ * Converts this B2BProjectionBackfillExportCompleted to JSON.
45892
+ * @function toJSON
45893
+ * @memberof B2BProjectionBackfillExportCompleted
45894
+ * @instance
45895
+ * @returns {Object.<string,*>} JSON object
45896
+ */
45897
+ B2BProjectionBackfillExportCompleted.prototype.toJSON = function toJSON() {
45898
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
45899
+ };
45900
+
45901
+ /**
45902
+ * Gets the type url for B2BProjectionBackfillExportCompleted
45903
+ * @function getTypeUrl
45904
+ * @memberof B2BProjectionBackfillExportCompleted
45905
+ * @static
45906
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
45907
+ * @returns {string} The type url
45908
+ */
45909
+ B2BProjectionBackfillExportCompleted.getTypeUrl = function getTypeUrl(prefix) {
45910
+ if (prefix === undefined)
45911
+ prefix = "type.googleapis.com";
45912
+ return prefix + "/B2BProjectionBackfillExportCompleted";
45913
+ };
45914
+
45915
+ return B2BProjectionBackfillExportCompleted;
45916
+ })();
45917
+
45918
+ $root.CommunityProjectionBackfillExportCompleted = (function() {
45919
+
45920
+ /**
45921
+ * Properties of a CommunityProjectionBackfillExportCompleted.
45922
+ * @typedef {Object} CommunityProjectionBackfillExportCompleted.$Properties
45923
+ * @property {string|null} [runId] CommunityProjectionBackfillExportCompleted runId
45924
+ * @property {string|null} [b2bActiveMembersS3FilePath] CommunityProjectionBackfillExportCompleted b2bActiveMembersS3FilePath
45925
+ * @property {string|null} [activeInvitedDependentsS3FilePath] CommunityProjectionBackfillExportCompleted activeInvitedDependentsS3FilePath
45926
+ * @property {string|null} [b2bRemovedMembersS3FilePath] CommunityProjectionBackfillExportCompleted b2bRemovedMembersS3FilePath
45927
+ * @property {string|null} [removedInvitedDependentsS3FilePath] CommunityProjectionBackfillExportCompleted removedInvitedDependentsS3FilePath
45928
+ * @property {number|Long|null} [timestamp] CommunityProjectionBackfillExportCompleted timestamp
45929
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
45930
+ */
45931
+
45932
+ /**
45933
+ * Properties of a CommunityProjectionBackfillExportCompleted.
45934
+ * @name ICommunityProjectionBackfillExportCompleted
45935
+ * @interface ICommunityProjectionBackfillExportCompleted
45936
+ * @augments CommunityProjectionBackfillExportCompleted.$Properties
45937
+ * @deprecated Use CommunityProjectionBackfillExportCompleted.$Properties instead.
45938
+ */
45939
+
45940
+ /**
45941
+ * Shape of a CommunityProjectionBackfillExportCompleted.
45942
+ * @typedef {CommunityProjectionBackfillExportCompleted.$Properties} CommunityProjectionBackfillExportCompleted.$Shape
45943
+ */
45944
+
45945
+ /**
45946
+ * Constructs a new CommunityProjectionBackfillExportCompleted.
45947
+ * @name CommunityProjectionBackfillExportCompleted
45948
+ * @classdesc Represents a CommunityProjectionBackfillExportCompleted.
45949
+ * @constructor
45950
+ * @param {CommunityProjectionBackfillExportCompleted.$Properties=} [properties] Properties to set
45951
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
45952
+ */
45953
+ function CommunityProjectionBackfillExportCompleted(properties) {
45954
+ if (properties)
45955
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
45956
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
45957
+ this[keys[i]] = properties[keys[i]];
45958
+ }
45959
+
45960
+ /**
45961
+ * CommunityProjectionBackfillExportCompleted runId.
45962
+ * @member {string} runId
45963
+ * @memberof CommunityProjectionBackfillExportCompleted
45964
+ * @instance
45965
+ */
45966
+ CommunityProjectionBackfillExportCompleted.prototype.runId = "";
45967
+
45968
+ /**
45969
+ * CommunityProjectionBackfillExportCompleted b2bActiveMembersS3FilePath.
45970
+ * @member {string} b2bActiveMembersS3FilePath
45971
+ * @memberof CommunityProjectionBackfillExportCompleted
45972
+ * @instance
45973
+ */
45974
+ CommunityProjectionBackfillExportCompleted.prototype.b2bActiveMembersS3FilePath = "";
45975
+
45976
+ /**
45977
+ * CommunityProjectionBackfillExportCompleted activeInvitedDependentsS3FilePath.
45978
+ * @member {string} activeInvitedDependentsS3FilePath
45979
+ * @memberof CommunityProjectionBackfillExportCompleted
45980
+ * @instance
45981
+ */
45982
+ CommunityProjectionBackfillExportCompleted.prototype.activeInvitedDependentsS3FilePath = "";
45983
+
45984
+ /**
45985
+ * CommunityProjectionBackfillExportCompleted b2bRemovedMembersS3FilePath.
45986
+ * @member {string} b2bRemovedMembersS3FilePath
45987
+ * @memberof CommunityProjectionBackfillExportCompleted
45988
+ * @instance
45989
+ */
45990
+ CommunityProjectionBackfillExportCompleted.prototype.b2bRemovedMembersS3FilePath = "";
45991
+
45992
+ /**
45993
+ * CommunityProjectionBackfillExportCompleted removedInvitedDependentsS3FilePath.
45994
+ * @member {string} removedInvitedDependentsS3FilePath
45995
+ * @memberof CommunityProjectionBackfillExportCompleted
45996
+ * @instance
45997
+ */
45998
+ CommunityProjectionBackfillExportCompleted.prototype.removedInvitedDependentsS3FilePath = "";
45999
+
46000
+ /**
46001
+ * CommunityProjectionBackfillExportCompleted timestamp.
46002
+ * @member {number|Long} timestamp
46003
+ * @memberof CommunityProjectionBackfillExportCompleted
46004
+ * @instance
46005
+ */
46006
+ CommunityProjectionBackfillExportCompleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
46007
+
46008
+ /**
46009
+ * Creates a new CommunityProjectionBackfillExportCompleted instance using the specified properties.
46010
+ * @function create
46011
+ * @memberof CommunityProjectionBackfillExportCompleted
46012
+ * @static
46013
+ * @param {CommunityProjectionBackfillExportCompleted.$Properties=} [properties] Properties to set
46014
+ * @returns {CommunityProjectionBackfillExportCompleted} CommunityProjectionBackfillExportCompleted instance
46015
+ * @type {{
46016
+ * (properties: CommunityProjectionBackfillExportCompleted.$Shape): CommunityProjectionBackfillExportCompleted & CommunityProjectionBackfillExportCompleted.$Shape;
46017
+ * (properties?: CommunityProjectionBackfillExportCompleted.$Properties): CommunityProjectionBackfillExportCompleted;
46018
+ * }}
46019
+ */
46020
+ CommunityProjectionBackfillExportCompleted.create = function create(properties) {
46021
+ return new CommunityProjectionBackfillExportCompleted(properties);
46022
+ };
46023
+
46024
+ /**
46025
+ * Encodes the specified CommunityProjectionBackfillExportCompleted message. Does not implicitly {@link CommunityProjectionBackfillExportCompleted.verify|verify} messages.
46026
+ * @function encode
46027
+ * @memberof CommunityProjectionBackfillExportCompleted
46028
+ * @static
46029
+ * @param {CommunityProjectionBackfillExportCompleted.$Properties} message CommunityProjectionBackfillExportCompleted message or plain object to encode
46030
+ * @param {$protobuf.Writer} [writer] Writer to encode to
46031
+ * @returns {$protobuf.Writer} Writer
46032
+ */
46033
+ CommunityProjectionBackfillExportCompleted.encode = function encode(message, writer) {
46034
+ if (!writer)
46035
+ writer = $Writer.create();
46036
+ if (message.runId != null && Object.hasOwnProperty.call(message, "runId"))
46037
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.runId);
46038
+ if (message.b2bActiveMembersS3FilePath != null && Object.hasOwnProperty.call(message, "b2bActiveMembersS3FilePath"))
46039
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.b2bActiveMembersS3FilePath);
46040
+ if (message.activeInvitedDependentsS3FilePath != null && Object.hasOwnProperty.call(message, "activeInvitedDependentsS3FilePath"))
46041
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.activeInvitedDependentsS3FilePath);
46042
+ if (message.b2bRemovedMembersS3FilePath != null && Object.hasOwnProperty.call(message, "b2bRemovedMembersS3FilePath"))
46043
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.b2bRemovedMembersS3FilePath);
46044
+ if (message.removedInvitedDependentsS3FilePath != null && Object.hasOwnProperty.call(message, "removedInvitedDependentsS3FilePath"))
46045
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.removedInvitedDependentsS3FilePath);
46046
+ if (message.timestamp != null && Object.hasOwnProperty.call(message, "timestamp"))
46047
+ writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.timestamp);
46048
+ if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
46049
+ for (var i = 0; i < message.$unknowns.length; ++i)
46050
+ writer.raw(message.$unknowns[i]);
46051
+ return writer;
46052
+ };
46053
+
46054
+ /**
46055
+ * Encodes the specified CommunityProjectionBackfillExportCompleted message, length delimited. Does not implicitly {@link CommunityProjectionBackfillExportCompleted.verify|verify} messages.
46056
+ * @function encodeDelimited
46057
+ * @memberof CommunityProjectionBackfillExportCompleted
46058
+ * @static
46059
+ * @param {CommunityProjectionBackfillExportCompleted.$Properties} message CommunityProjectionBackfillExportCompleted message or plain object to encode
46060
+ * @param {$protobuf.Writer} [writer] Writer to encode to
46061
+ * @returns {$protobuf.Writer} Writer
46062
+ */
46063
+ CommunityProjectionBackfillExportCompleted.encodeDelimited = function encodeDelimited(message, writer) {
46064
+ return this.encode(message, writer).ldelim();
46065
+ };
46066
+
46067
+ /**
46068
+ * Decodes a CommunityProjectionBackfillExportCompleted message from the specified reader or buffer.
46069
+ * @function decode
46070
+ * @memberof CommunityProjectionBackfillExportCompleted
46071
+ * @static
46072
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
46073
+ * @param {number} [length] Message length if known beforehand
46074
+ * @returns {CommunityProjectionBackfillExportCompleted & CommunityProjectionBackfillExportCompleted.$Shape} CommunityProjectionBackfillExportCompleted
46075
+ * @throws {Error} If the payload is not a reader or valid buffer
46076
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
46077
+ */
46078
+ CommunityProjectionBackfillExportCompleted.decode = function decode(reader, length, _end, _depth, _target) {
46079
+ if (!(reader instanceof $Reader))
46080
+ reader = $Reader.create(reader);
46081
+ if (_depth === undefined)
46082
+ _depth = 0;
46083
+ if (_depth > $Reader.recursionLimit)
46084
+ throw Error("max depth exceeded");
46085
+ var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.CommunityProjectionBackfillExportCompleted(), value;
46086
+ while (reader.pos < end) {
46087
+ var start = reader.pos;
46088
+ var tag = reader.tag();
46089
+ if (tag === _end) {
46090
+ _end = undefined;
46091
+ break;
46092
+ }
46093
+ var wireType = tag & 7;
46094
+ switch (tag >>>= 3) {
46095
+ case 1: {
46096
+ if (wireType !== 2)
46097
+ break;
46098
+ if ((value = reader.string()).length)
46099
+ message.runId = value;
46100
+ else
46101
+ delete message.runId;
46102
+ continue;
46103
+ }
46104
+ case 2: {
46105
+ if (wireType !== 2)
46106
+ break;
46107
+ if ((value = reader.string()).length)
46108
+ message.b2bActiveMembersS3FilePath = value;
46109
+ else
46110
+ delete message.b2bActiveMembersS3FilePath;
46111
+ continue;
46112
+ }
46113
+ case 3: {
46114
+ if (wireType !== 2)
46115
+ break;
46116
+ if ((value = reader.string()).length)
46117
+ message.activeInvitedDependentsS3FilePath = value;
46118
+ else
46119
+ delete message.activeInvitedDependentsS3FilePath;
46120
+ continue;
46121
+ }
46122
+ case 4: {
46123
+ if (wireType !== 2)
46124
+ break;
46125
+ if ((value = reader.string()).length)
46126
+ message.b2bRemovedMembersS3FilePath = value;
46127
+ else
46128
+ delete message.b2bRemovedMembersS3FilePath;
46129
+ continue;
46130
+ }
46131
+ case 5: {
46132
+ if (wireType !== 2)
46133
+ break;
46134
+ if ((value = reader.string()).length)
46135
+ message.removedInvitedDependentsS3FilePath = value;
46136
+ else
46137
+ delete message.removedInvitedDependentsS3FilePath;
46138
+ continue;
46139
+ }
46140
+ case 6: {
46141
+ if (wireType !== 0)
46142
+ break;
46143
+ if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0)
46144
+ message.timestamp = value;
46145
+ else
46146
+ delete message.timestamp;
46147
+ continue;
46148
+ }
46149
+ }
46150
+ reader.skipType(wireType, _depth, tag);
46151
+ $util.makeProp(message, "$unknowns", false);
46152
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
46153
+ }
46154
+ if (_end !== undefined)
46155
+ throw Error("missing end group");
46156
+ return message;
46157
+ };
46158
+
46159
+ /**
46160
+ * Decodes a CommunityProjectionBackfillExportCompleted message from the specified reader or buffer, length delimited.
46161
+ * @function decodeDelimited
46162
+ * @memberof CommunityProjectionBackfillExportCompleted
46163
+ * @static
46164
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
46165
+ * @returns {CommunityProjectionBackfillExportCompleted & CommunityProjectionBackfillExportCompleted.$Shape} CommunityProjectionBackfillExportCompleted
46166
+ * @throws {Error} If the payload is not a reader or valid buffer
46167
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
46168
+ */
46169
+ CommunityProjectionBackfillExportCompleted.decodeDelimited = function decodeDelimited(reader) {
46170
+ if (!(reader instanceof $Reader))
46171
+ reader = new $Reader(reader);
46172
+ return this.decode(reader, reader.uint32());
46173
+ };
46174
+
46175
+ /**
46176
+ * Verifies a CommunityProjectionBackfillExportCompleted message.
46177
+ * @function verify
46178
+ * @memberof CommunityProjectionBackfillExportCompleted
46179
+ * @static
46180
+ * @param {Object.<string,*>} message Plain object to verify
46181
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
46182
+ */
46183
+ CommunityProjectionBackfillExportCompleted.verify = function verify(message, _depth) {
46184
+ if (typeof message !== "object" || message === null)
46185
+ return "object expected";
46186
+ if (_depth === undefined)
46187
+ _depth = 0;
46188
+ if (_depth > $util.recursionLimit)
46189
+ return "max depth exceeded";
46190
+ if (message.runId != null && message.hasOwnProperty("runId"))
46191
+ if (!$util.isString(message.runId))
46192
+ return "runId: string expected";
46193
+ if (message.b2bActiveMembersS3FilePath != null && message.hasOwnProperty("b2bActiveMembersS3FilePath"))
46194
+ if (!$util.isString(message.b2bActiveMembersS3FilePath))
46195
+ return "b2bActiveMembersS3FilePath: string expected";
46196
+ if (message.activeInvitedDependentsS3FilePath != null && message.hasOwnProperty("activeInvitedDependentsS3FilePath"))
46197
+ if (!$util.isString(message.activeInvitedDependentsS3FilePath))
46198
+ return "activeInvitedDependentsS3FilePath: string expected";
46199
+ if (message.b2bRemovedMembersS3FilePath != null && message.hasOwnProperty("b2bRemovedMembersS3FilePath"))
46200
+ if (!$util.isString(message.b2bRemovedMembersS3FilePath))
46201
+ return "b2bRemovedMembersS3FilePath: string expected";
46202
+ if (message.removedInvitedDependentsS3FilePath != null && message.hasOwnProperty("removedInvitedDependentsS3FilePath"))
46203
+ if (!$util.isString(message.removedInvitedDependentsS3FilePath))
46204
+ return "removedInvitedDependentsS3FilePath: string expected";
46205
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
46206
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
46207
+ return "timestamp: integer|Long expected";
46208
+ return null;
46209
+ };
46210
+
46211
+ /**
46212
+ * Creates a CommunityProjectionBackfillExportCompleted message from a plain object. Also converts values to their respective internal types.
46213
+ * @function fromObject
46214
+ * @memberof CommunityProjectionBackfillExportCompleted
46215
+ * @static
46216
+ * @param {Object.<string,*>} object Plain object
46217
+ * @returns {CommunityProjectionBackfillExportCompleted} CommunityProjectionBackfillExportCompleted
46218
+ */
46219
+ CommunityProjectionBackfillExportCompleted.fromObject = function fromObject(object, _depth) {
46220
+ if (object instanceof $root.CommunityProjectionBackfillExportCompleted)
46221
+ return object;
46222
+ if (_depth === undefined)
46223
+ _depth = 0;
46224
+ if (_depth > $util.recursionLimit)
46225
+ throw Error("max depth exceeded");
46226
+ var message = new $root.CommunityProjectionBackfillExportCompleted();
46227
+ if (object.runId != null)
46228
+ if (typeof object.runId !== "string" || object.runId.length)
46229
+ message.runId = String(object.runId);
46230
+ if (object.b2bActiveMembersS3FilePath != null)
46231
+ if (typeof object.b2bActiveMembersS3FilePath !== "string" || object.b2bActiveMembersS3FilePath.length)
46232
+ message.b2bActiveMembersS3FilePath = String(object.b2bActiveMembersS3FilePath);
46233
+ if (object.activeInvitedDependentsS3FilePath != null)
46234
+ if (typeof object.activeInvitedDependentsS3FilePath !== "string" || object.activeInvitedDependentsS3FilePath.length)
46235
+ message.activeInvitedDependentsS3FilePath = String(object.activeInvitedDependentsS3FilePath);
46236
+ if (object.b2bRemovedMembersS3FilePath != null)
46237
+ if (typeof object.b2bRemovedMembersS3FilePath !== "string" || object.b2bRemovedMembersS3FilePath.length)
46238
+ message.b2bRemovedMembersS3FilePath = String(object.b2bRemovedMembersS3FilePath);
46239
+ if (object.removedInvitedDependentsS3FilePath != null)
46240
+ if (typeof object.removedInvitedDependentsS3FilePath !== "string" || object.removedInvitedDependentsS3FilePath.length)
46241
+ message.removedInvitedDependentsS3FilePath = String(object.removedInvitedDependentsS3FilePath);
46242
+ if (object.timestamp != null)
46243
+ if (typeof object.timestamp === "object" ? object.timestamp.low || object.timestamp.high : Number(object.timestamp) !== 0)
46244
+ if ($util.Long)
46245
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
46246
+ else if (typeof object.timestamp === "string")
46247
+ message.timestamp = parseInt(object.timestamp, 10);
46248
+ else if (typeof object.timestamp === "number")
46249
+ message.timestamp = object.timestamp;
46250
+ else if (typeof object.timestamp === "object")
46251
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
46252
+ return message;
46253
+ };
46254
+
46255
+ /**
46256
+ * Creates a plain object from a CommunityProjectionBackfillExportCompleted message. Also converts values to other types if specified.
46257
+ * @function toObject
46258
+ * @memberof CommunityProjectionBackfillExportCompleted
46259
+ * @static
46260
+ * @param {CommunityProjectionBackfillExportCompleted} message CommunityProjectionBackfillExportCompleted
46261
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
46262
+ * @returns {Object.<string,*>} Plain object
46263
+ */
46264
+ CommunityProjectionBackfillExportCompleted.toObject = function toObject(message, options) {
46265
+ if (!options)
46266
+ options = {};
46267
+ var object = {};
46268
+ if (options.defaults) {
46269
+ object.runId = "";
46270
+ object.b2bActiveMembersS3FilePath = "";
46271
+ object.activeInvitedDependentsS3FilePath = "";
46272
+ object.b2bRemovedMembersS3FilePath = "";
46273
+ object.removedInvitedDependentsS3FilePath = "";
46274
+ if ($util.Long) {
46275
+ var long = new $util.Long(0, 0, true);
46276
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
46277
+ } else
46278
+ object.timestamp = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
46279
+ }
46280
+ if (message.runId != null && message.hasOwnProperty("runId"))
46281
+ object.runId = message.runId;
46282
+ if (message.b2bActiveMembersS3FilePath != null && message.hasOwnProperty("b2bActiveMembersS3FilePath"))
46283
+ object.b2bActiveMembersS3FilePath = message.b2bActiveMembersS3FilePath;
46284
+ if (message.activeInvitedDependentsS3FilePath != null && message.hasOwnProperty("activeInvitedDependentsS3FilePath"))
46285
+ object.activeInvitedDependentsS3FilePath = message.activeInvitedDependentsS3FilePath;
46286
+ if (message.b2bRemovedMembersS3FilePath != null && message.hasOwnProperty("b2bRemovedMembersS3FilePath"))
46287
+ object.b2bRemovedMembersS3FilePath = message.b2bRemovedMembersS3FilePath;
46288
+ if (message.removedInvitedDependentsS3FilePath != null && message.hasOwnProperty("removedInvitedDependentsS3FilePath"))
46289
+ object.removedInvitedDependentsS3FilePath = message.removedInvitedDependentsS3FilePath;
46290
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
46291
+ if (typeof BigInt !== "undefined" && options.longs === BigInt)
46292
+ object.timestamp = typeof message.timestamp === "number" ? BigInt(message.timestamp) : $util.Long.fromBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0, true).toBigInt();
46293
+ else if (typeof message.timestamp === "number")
46294
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
46295
+ else
46296
+ 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;
46297
+ return object;
46298
+ };
46299
+
46300
+ /**
46301
+ * Converts this CommunityProjectionBackfillExportCompleted to JSON.
46302
+ * @function toJSON
46303
+ * @memberof CommunityProjectionBackfillExportCompleted
46304
+ * @instance
46305
+ * @returns {Object.<string,*>} JSON object
46306
+ */
46307
+ CommunityProjectionBackfillExportCompleted.prototype.toJSON = function toJSON() {
46308
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
46309
+ };
46310
+
46311
+ /**
46312
+ * Gets the type url for CommunityProjectionBackfillExportCompleted
46313
+ * @function getTypeUrl
46314
+ * @memberof CommunityProjectionBackfillExportCompleted
46315
+ * @static
46316
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
46317
+ * @returns {string} The type url
46318
+ */
46319
+ CommunityProjectionBackfillExportCompleted.getTypeUrl = function getTypeUrl(prefix) {
46320
+ if (prefix === undefined)
46321
+ prefix = "type.googleapis.com";
46322
+ return prefix + "/CommunityProjectionBackfillExportCompleted";
46323
+ };
46324
+
46325
+ return CommunityProjectionBackfillExportCompleted;
46326
+ })();
46327
+
45460
46328
  $root.B2BReconciliationExportCompleted = (function() {
45461
46329
 
45462
46330
  /**
@@ -271610,6 +272478,7 @@ $root.GingerClinicalNotePayload = (function() {
271610
272478
  * @property {Array.<ClinicalNoteMedication.$Properties>|null} [medications] GingerClinicalNotePayload medications
271611
272479
  * @property {Array.<ClinicalNoteObservation.$Properties>|null} [observations] GingerClinicalNotePayload observations
271612
272480
  * @property {Array.<ClinicalNoteFamilyHistory.$Properties>|null} [familyHistories] GingerClinicalNotePayload familyHistories
272481
+ * @property {Array.<ClinicalNoteCodeableConcept.$Properties>|null} [diagnoses] GingerClinicalNotePayload diagnoses
271613
272482
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
271614
272483
  */
271615
272484
 
@@ -271641,6 +272510,7 @@ $root.GingerClinicalNotePayload = (function() {
271641
272510
  this.medications = [];
271642
272511
  this.observations = [];
271643
272512
  this.familyHistories = [];
272513
+ this.diagnoses = [];
271644
272514
  if (properties)
271645
272515
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
271646
272516
  if (properties[keys[i]] != null && keys[i] !== "__proto__")
@@ -271759,6 +272629,14 @@ $root.GingerClinicalNotePayload = (function() {
271759
272629
  */
271760
272630
  GingerClinicalNotePayload.prototype.familyHistories = $util.emptyArray;
271761
272631
 
272632
+ /**
272633
+ * GingerClinicalNotePayload diagnoses.
272634
+ * @member {Array.<ClinicalNoteCodeableConcept.$Properties>} diagnoses
272635
+ * @memberof GingerClinicalNotePayload
272636
+ * @instance
272637
+ */
272638
+ GingerClinicalNotePayload.prototype.diagnoses = $util.emptyArray;
272639
+
271762
272640
  /**
271763
272641
  * Creates a new GingerClinicalNotePayload instance using the specified properties.
271764
272642
  * @function create
@@ -271821,6 +272699,9 @@ $root.GingerClinicalNotePayload = (function() {
271821
272699
  if (message.familyHistories != null && message.familyHistories.length)
271822
272700
  for (var i = 0; i < message.familyHistories.length; ++i)
271823
272701
  $root.ClinicalNoteFamilyHistory.encode(message.familyHistories[i], writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
272702
+ if (message.diagnoses != null && message.diagnoses.length)
272703
+ for (var i = 0; i < message.diagnoses.length; ++i)
272704
+ $root.ClinicalNoteCodeableConcept.encode(message.diagnoses[i], writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
271824
272705
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
271825
272706
  for (var i = 0; i < message.$unknowns.length; ++i)
271826
272707
  writer.raw(message.$unknowns[i]);
@@ -271976,6 +272857,14 @@ $root.GingerClinicalNotePayload = (function() {
271976
272857
  message.familyHistories.push($root.ClinicalNoteFamilyHistory.decode(reader, reader.uint32(), undefined, _depth + 1));
271977
272858
  continue;
271978
272859
  }
272860
+ case 15: {
272861
+ if (wireType !== 2)
272862
+ break;
272863
+ if (!(message.diagnoses && message.diagnoses.length))
272864
+ message.diagnoses = [];
272865
+ message.diagnoses.push($root.ClinicalNoteCodeableConcept.decode(reader, reader.uint32(), undefined, _depth + 1));
272866
+ continue;
272867
+ }
271979
272868
  }
271980
272869
  reader.skipType(wireType, _depth, tag);
271981
272870
  $util.makeProp(message, "$unknowns", false);
@@ -272107,6 +272996,15 @@ $root.GingerClinicalNotePayload = (function() {
272107
272996
  return "familyHistories." + error;
272108
272997
  }
272109
272998
  }
272999
+ if (message.diagnoses != null && message.hasOwnProperty("diagnoses")) {
273000
+ if (!Array.isArray(message.diagnoses))
273001
+ return "diagnoses: array expected";
273002
+ for (var i = 0; i < message.diagnoses.length; ++i) {
273003
+ var error = $root.ClinicalNoteCodeableConcept.verify(message.diagnoses[i], _depth + 1);
273004
+ if (error)
273005
+ return "diagnoses." + error;
273006
+ }
273007
+ }
272110
273008
  return null;
272111
273009
  };
272112
273010
 
@@ -272238,6 +273136,16 @@ $root.GingerClinicalNotePayload = (function() {
272238
273136
  message.familyHistories[i] = $root.ClinicalNoteFamilyHistory.fromObject(object.familyHistories[i], _depth + 1);
272239
273137
  }
272240
273138
  }
273139
+ if (object.diagnoses) {
273140
+ if (!Array.isArray(object.diagnoses))
273141
+ throw TypeError(".GingerClinicalNotePayload.diagnoses: array expected");
273142
+ message.diagnoses = Array(object.diagnoses.length);
273143
+ for (var i = 0; i < object.diagnoses.length; ++i) {
273144
+ if (typeof object.diagnoses[i] !== "object")
273145
+ throw TypeError(".GingerClinicalNotePayload.diagnoses: object expected");
273146
+ message.diagnoses[i] = $root.ClinicalNoteCodeableConcept.fromObject(object.diagnoses[i], _depth + 1);
273147
+ }
273148
+ }
272241
273149
  return message;
272242
273150
  };
272243
273151
 
@@ -272261,6 +273169,7 @@ $root.GingerClinicalNotePayload = (function() {
272261
273169
  object.medications = [];
272262
273170
  object.observations = [];
272263
273171
  object.familyHistories = [];
273172
+ object.diagnoses = [];
272264
273173
  }
272265
273174
  if (options.defaults) {
272266
273175
  object.noteId = "";
@@ -272318,6 +273227,11 @@ $root.GingerClinicalNotePayload = (function() {
272318
273227
  for (var j = 0; j < message.familyHistories.length; ++j)
272319
273228
  object.familyHistories[j] = $root.ClinicalNoteFamilyHistory.toObject(message.familyHistories[j], options);
272320
273229
  }
273230
+ if (message.diagnoses && message.diagnoses.length) {
273231
+ object.diagnoses = Array(message.diagnoses.length);
273232
+ for (var j = 0; j < message.diagnoses.length; ++j)
273233
+ object.diagnoses[j] = $root.ClinicalNoteCodeableConcept.toObject(message.diagnoses[j], options);
273234
+ }
272321
273235
  return object;
272322
273236
  };
272323
273237