@cratis/chronicle.contracts 19.67.0 → 19.69.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 (48) hide show
  1. package/dist/cjs/generated/descriptorSet.js +1 -1
  2. package/dist/cjs/generated/descriptorSet.js.map +1 -1
  3. package/dist/cjs/generated/index.d.ts +2 -0
  4. package/dist/cjs/generated/index.d.ts.map +1 -1
  5. package/dist/cjs/generated/occurrences.d.ts +490 -0
  6. package/dist/cjs/generated/occurrences.d.ts.map +1 -0
  7. package/dist/cjs/generated/occurrences.js +5166 -0
  8. package/dist/cjs/generated/occurrences.js.map +1 -0
  9. package/dist/cjs/generated/sequences.d.ts +39 -0
  10. package/dist/cjs/generated/sequences.d.ts.map +1 -1
  11. package/dist/cjs/generated/sequences.js +580 -1
  12. package/dist/cjs/generated/sequences.js.map +1 -1
  13. package/dist/cjs/index.js +70 -0
  14. package/dist/cjs/index.js.map +1 -1
  15. package/dist/esm/generated/descriptorSet.js +1 -1
  16. package/dist/esm/generated/descriptorSet.js.map +1 -1
  17. package/dist/esm/generated/index.d.ts +2 -0
  18. package/dist/esm/generated/index.d.ts.map +1 -1
  19. package/dist/esm/generated/occurrences.d.ts +490 -0
  20. package/dist/esm/generated/occurrences.d.ts.map +1 -0
  21. package/dist/esm/generated/occurrences.js +5116 -0
  22. package/dist/esm/generated/occurrences.js.map +1 -0
  23. package/dist/esm/generated/sequences.d.ts +39 -0
  24. package/dist/esm/generated/sequences.d.ts.map +1 -1
  25. package/dist/esm/generated/sequences.js +577 -2
  26. package/dist/esm/generated/sequences.js.map +1 -1
  27. package/dist/esm/index.js +1 -0
  28. package/dist/esm/index.js.map +1 -1
  29. package/dist/generated/descriptorSet.js +1 -1
  30. package/dist/generated/descriptorSet.js.map +1 -1
  31. package/dist/generated/index.d.ts +2 -0
  32. package/dist/generated/index.d.ts.map +1 -1
  33. package/dist/generated/index.js +1 -0
  34. package/dist/generated/index.js.map +1 -1
  35. package/dist/generated/occurrences.d.ts +490 -0
  36. package/dist/generated/occurrences.d.ts.map +1 -0
  37. package/dist/generated/occurrences.js +5114 -0
  38. package/dist/generated/occurrences.js.map +1 -0
  39. package/dist/generated/sequences.d.ts +39 -0
  40. package/dist/generated/sequences.d.ts.map +1 -1
  41. package/dist/generated/sequences.js +576 -1
  42. package/dist/generated/sequences.js.map +1 -1
  43. package/dist/tsconfig.tsbuildinfo +1 -1
  44. package/generated/descriptorSet.ts +1 -1
  45. package/generated/index.ts +3 -0
  46. package/generated/occurrences.ts +5917 -0
  47. package/generated/sequences.ts +644 -1
  48. package/package.json +1 -1
@@ -175,6 +175,43 @@ function contentVerificationResultToJSON(object) {
175
175
  return "UNRECOGNIZED";
176
176
  }
177
177
  }
178
+ exports.EffectOutcome = void 0;
179
+ (function (EffectOutcome) {
180
+ EffectOutcome[EffectOutcome["Appended"] = 0] = "Appended";
181
+ EffectOutcome[EffectOutcome["NoEvents"] = 1] = "NoEvents";
182
+ EffectOutcome[EffectOutcome["Refused"] = 2] = "Refused";
183
+ EffectOutcome[EffectOutcome["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
184
+ })(exports.EffectOutcome || (exports.EffectOutcome = {}));
185
+ function effectOutcomeFromJSON(object) {
186
+ switch (object) {
187
+ case 0:
188
+ case "Appended":
189
+ return exports.EffectOutcome.Appended;
190
+ case 1:
191
+ case "NoEvents":
192
+ return exports.EffectOutcome.NoEvents;
193
+ case 2:
194
+ case "Refused":
195
+ return exports.EffectOutcome.Refused;
196
+ case -1:
197
+ case "UNRECOGNIZED":
198
+ default:
199
+ return exports.EffectOutcome.UNRECOGNIZED;
200
+ }
201
+ }
202
+ function effectOutcomeToJSON(object) {
203
+ switch (object) {
204
+ case exports.EffectOutcome.Appended:
205
+ return "Appended";
206
+ case exports.EffectOutcome.NoEvents:
207
+ return "NoEvents";
208
+ case exports.EffectOutcome.Refused:
209
+ return "Refused";
210
+ case exports.EffectOutcome.UNRECOGNIZED:
211
+ default:
212
+ return "UNRECOGNIZED";
213
+ }
214
+ }
178
215
  exports.EventObservationState = void 0;
179
216
  (function (EventObservationState) {
180
217
  EventObservationState[EventObservationState["EVENT_OBSERVATION_STATE_None"] = 0] = "EVENT_OBSERVATION_STATE_None";
@@ -522,6 +559,7 @@ function createBaseAppendManyForEventSourcesRequest() {
522
559
  Causation: [],
523
560
  CausedBy: undefined,
524
561
  ConcurrencyScopes: [],
562
+ EffectReceipt: undefined,
525
563
  };
526
564
  }
527
565
  const AppendManyForEventSourcesRequest = {
@@ -553,6 +591,9 @@ const AppendManyForEventSourcesRequest = {
553
591
  for (const v of message.ConcurrencyScopes) {
554
592
  EventSourceConcurrencyScope.encode(v, writer.uint32(74).fork()).join();
555
593
  }
594
+ if (message.EffectReceipt !== undefined) {
595
+ EffectReceipt.encode(message.EffectReceipt, writer.uint32(82).fork()).join();
596
+ }
556
597
  return writer;
557
598
  },
558
599
  decode(input, length) {
@@ -631,6 +672,13 @@ const AppendManyForEventSourcesRequest = {
631
672
  message.ConcurrencyScopes.push(EventSourceConcurrencyScope.decode(reader, reader.uint32()));
632
673
  continue;
633
674
  }
675
+ case 10: {
676
+ if (tag !== 82) {
677
+ break;
678
+ }
679
+ message.EffectReceipt = EffectReceipt.decode(reader, reader.uint32());
680
+ continue;
681
+ }
634
682
  }
635
683
  if ((tag & 7) === 4 || tag === 0) {
636
684
  break;
@@ -660,6 +708,7 @@ const AppendManyForEventSourcesRequest = {
660
708
  ConcurrencyScopes: globalThis.Array.isArray(object?.ConcurrencyScopes)
661
709
  ? object.ConcurrencyScopes.map((e) => EventSourceConcurrencyScope.fromJSON(e))
662
710
  : [],
711
+ EffectReceipt: isSet(object.EffectReceipt) ? EffectReceipt.fromJSON(object.EffectReceipt) : undefined,
663
712
  };
664
713
  },
665
714
  toJSON(message) {
@@ -691,6 +740,9 @@ const AppendManyForEventSourcesRequest = {
691
740
  if (message.ConcurrencyScopes?.length) {
692
741
  obj.ConcurrencyScopes = message.ConcurrencyScopes.map((e) => EventSourceConcurrencyScope.toJSON(e));
693
742
  }
743
+ if (message.EffectReceipt !== undefined) {
744
+ obj.EffectReceipt = EffectReceipt.toJSON(message.EffectReceipt);
745
+ }
694
746
  return obj;
695
747
  },
696
748
  create(base) {
@@ -711,6 +763,9 @@ const AppendManyForEventSourcesRequest = {
711
763
  ? Identity.fromPartial(object.CausedBy)
712
764
  : undefined;
713
765
  message.ConcurrencyScopes = object.ConcurrencyScopes?.map((e) => EventSourceConcurrencyScope.fromPartial(e)) || [];
766
+ message.EffectReceipt = (object.EffectReceipt !== undefined && object.EffectReceipt !== null)
767
+ ? EffectReceipt.fromPartial(object.EffectReceipt)
768
+ : undefined;
714
769
  return message;
715
770
  },
716
771
  };
@@ -725,6 +780,7 @@ function createBaseAppendManyForEventSourcesWithNamedTagsRequest() {
725
780
  Causation: [],
726
781
  CausedBy: undefined,
727
782
  ConcurrencyScopes: [],
783
+ EffectReceipt: undefined,
728
784
  };
729
785
  }
730
786
  const AppendManyForEventSourcesWithNamedTagsRequest = {
@@ -756,6 +812,9 @@ const AppendManyForEventSourcesWithNamedTagsRequest = {
756
812
  for (const v of message.ConcurrencyScopes) {
757
813
  EventSourceConcurrencyScope.encode(v, writer.uint32(74).fork()).join();
758
814
  }
815
+ if (message.EffectReceipt !== undefined) {
816
+ EffectReceipt.encode(message.EffectReceipt, writer.uint32(82).fork()).join();
817
+ }
759
818
  return writer;
760
819
  },
761
820
  decode(input, length) {
@@ -834,6 +893,13 @@ const AppendManyForEventSourcesWithNamedTagsRequest = {
834
893
  message.ConcurrencyScopes.push(EventSourceConcurrencyScope.decode(reader, reader.uint32()));
835
894
  continue;
836
895
  }
896
+ case 10: {
897
+ if (tag !== 82) {
898
+ break;
899
+ }
900
+ message.EffectReceipt = EffectReceipt.decode(reader, reader.uint32());
901
+ continue;
902
+ }
837
903
  }
838
904
  if ((tag & 7) === 4 || tag === 0) {
839
905
  break;
@@ -863,6 +929,7 @@ const AppendManyForEventSourcesWithNamedTagsRequest = {
863
929
  ConcurrencyScopes: globalThis.Array.isArray(object?.ConcurrencyScopes)
864
930
  ? object.ConcurrencyScopes.map((e) => EventSourceConcurrencyScope.fromJSON(e))
865
931
  : [],
932
+ EffectReceipt: isSet(object.EffectReceipt) ? EffectReceipt.fromJSON(object.EffectReceipt) : undefined,
866
933
  };
867
934
  },
868
935
  toJSON(message) {
@@ -894,6 +961,9 @@ const AppendManyForEventSourcesWithNamedTagsRequest = {
894
961
  if (message.ConcurrencyScopes?.length) {
895
962
  obj.ConcurrencyScopes = message.ConcurrencyScopes.map((e) => EventSourceConcurrencyScope.toJSON(e));
896
963
  }
964
+ if (message.EffectReceipt !== undefined) {
965
+ obj.EffectReceipt = EffectReceipt.toJSON(message.EffectReceipt);
966
+ }
897
967
  return obj;
898
968
  },
899
969
  create(base) {
@@ -915,6 +985,9 @@ const AppendManyForEventSourcesWithNamedTagsRequest = {
915
985
  : undefined;
916
986
  message.ConcurrencyScopes = object.ConcurrencyScopes?.map((e) => EventSourceConcurrencyScope.fromPartial(e)) ||
917
987
  [];
988
+ message.EffectReceipt = (object.EffectReceipt !== undefined && object.EffectReceipt !== null)
989
+ ? EffectReceipt.fromPartial(object.EffectReceipt)
990
+ : undefined;
918
991
  return message;
919
992
  },
920
993
  };
@@ -931,6 +1004,7 @@ function createBaseAppendManyRequest() {
931
1004
  CausedBy: undefined,
932
1005
  ConcurrencyScope: undefined,
933
1006
  Occurred: undefined,
1007
+ EffectReceipt: undefined,
934
1008
  };
935
1009
  }
936
1010
  const AppendManyRequest = {
@@ -968,6 +1042,9 @@ const AppendManyRequest = {
968
1042
  if (message.Occurred !== undefined) {
969
1043
  SerializableDateTimeOffset.encode(message.Occurred, writer.uint32(90).fork()).join();
970
1044
  }
1045
+ if (message.EffectReceipt !== undefined) {
1046
+ EffectReceipt.encode(message.EffectReceipt, writer.uint32(98).fork()).join();
1047
+ }
971
1048
  return writer;
972
1049
  },
973
1050
  decode(input, length) {
@@ -1060,6 +1137,13 @@ const AppendManyRequest = {
1060
1137
  message.Occurred = SerializableDateTimeOffset.decode(reader, reader.uint32());
1061
1138
  continue;
1062
1139
  }
1140
+ case 12: {
1141
+ if (tag !== 98) {
1142
+ break;
1143
+ }
1144
+ message.EffectReceipt = EffectReceipt.decode(reader, reader.uint32());
1145
+ continue;
1146
+ }
1063
1147
  }
1064
1148
  if ((tag & 7) === 4 || tag === 0) {
1065
1149
  break;
@@ -1087,6 +1171,7 @@ const AppendManyRequest = {
1087
1171
  CausedBy: isSet(object.CausedBy) ? Identity.fromJSON(object.CausedBy) : undefined,
1088
1172
  ConcurrencyScope: isSet(object.ConcurrencyScope) ? ConcurrencyScope.fromJSON(object.ConcurrencyScope) : undefined,
1089
1173
  Occurred: isSet(object.Occurred) ? SerializableDateTimeOffset.fromJSON(object.Occurred) : undefined,
1174
+ EffectReceipt: isSet(object.EffectReceipt) ? EffectReceipt.fromJSON(object.EffectReceipt) : undefined,
1090
1175
  };
1091
1176
  },
1092
1177
  toJSON(message) {
@@ -1124,6 +1209,9 @@ const AppendManyRequest = {
1124
1209
  if (message.Occurred !== undefined) {
1125
1210
  obj.Occurred = SerializableDateTimeOffset.toJSON(message.Occurred);
1126
1211
  }
1212
+ if (message.EffectReceipt !== undefined) {
1213
+ obj.EffectReceipt = EffectReceipt.toJSON(message.EffectReceipt);
1214
+ }
1127
1215
  return obj;
1128
1216
  },
1129
1217
  create(base) {
@@ -1150,6 +1238,9 @@ const AppendManyRequest = {
1150
1238
  message.Occurred = (object.Occurred !== undefined && object.Occurred !== null)
1151
1239
  ? SerializableDateTimeOffset.fromPartial(object.Occurred)
1152
1240
  : undefined;
1241
+ message.EffectReceipt = (object.EffectReceipt !== undefined && object.EffectReceipt !== null)
1242
+ ? EffectReceipt.fromPartial(object.EffectReceipt)
1243
+ : undefined;
1153
1244
  return message;
1154
1245
  },
1155
1246
  };
@@ -1165,6 +1256,8 @@ function createBaseAppendManyResponse() {
1165
1256
  ConstraintViolations: [],
1166
1257
  Errors: [],
1167
1258
  ConcurrencyViolations: [],
1259
+ EffectReceipt: undefined,
1260
+ EffectAlreadyRecorded: false,
1168
1261
  };
1169
1262
  }
1170
1263
  const AppendManyResponse = {
@@ -1202,6 +1295,12 @@ const AppendManyResponse = {
1202
1295
  for (const v of message.ConcurrencyViolations) {
1203
1296
  ConcurrencyViolation.encode(v, writer.uint32(82).fork()).join();
1204
1297
  }
1298
+ if (message.EffectReceipt !== undefined) {
1299
+ EffectReceiptDetails.encode(message.EffectReceipt, writer.uint32(90).fork()).join();
1300
+ }
1301
+ if (message.EffectAlreadyRecorded !== false) {
1302
+ writer.uint32(96).bool(message.EffectAlreadyRecorded);
1303
+ }
1205
1304
  return writer;
1206
1305
  },
1207
1306
  decode(input, length) {
@@ -1294,6 +1393,20 @@ const AppendManyResponse = {
1294
1393
  message.ConcurrencyViolations.push(ConcurrencyViolation.decode(reader, reader.uint32()));
1295
1394
  continue;
1296
1395
  }
1396
+ case 11: {
1397
+ if (tag !== 90) {
1398
+ break;
1399
+ }
1400
+ message.EffectReceipt = EffectReceiptDetails.decode(reader, reader.uint32());
1401
+ continue;
1402
+ }
1403
+ case 12: {
1404
+ if (tag !== 96) {
1405
+ break;
1406
+ }
1407
+ message.EffectAlreadyRecorded = reader.bool();
1408
+ continue;
1409
+ }
1297
1410
  }
1298
1411
  if ((tag & 7) === 4 || tag === 0) {
1299
1412
  break;
@@ -1330,6 +1443,10 @@ const AppendManyResponse = {
1330
1443
  ConcurrencyViolations: globalThis.Array.isArray(object?.ConcurrencyViolations)
1331
1444
  ? object.ConcurrencyViolations.map((e) => ConcurrencyViolation.fromJSON(e))
1332
1445
  : [],
1446
+ EffectReceipt: isSet(object.EffectReceipt) ? EffectReceiptDetails.fromJSON(object.EffectReceipt) : undefined,
1447
+ EffectAlreadyRecorded: isSet(object.EffectAlreadyRecorded)
1448
+ ? globalThis.Boolean(object.EffectAlreadyRecorded)
1449
+ : false,
1333
1450
  };
1334
1451
  },
1335
1452
  toJSON(message) {
@@ -1364,6 +1481,12 @@ const AppendManyResponse = {
1364
1481
  if (message.ConcurrencyViolations?.length) {
1365
1482
  obj.ConcurrencyViolations = message.ConcurrencyViolations.map((e) => ConcurrencyViolation.toJSON(e));
1366
1483
  }
1484
+ if (message.EffectReceipt !== undefined) {
1485
+ obj.EffectReceipt = EffectReceiptDetails.toJSON(message.EffectReceipt);
1486
+ }
1487
+ if (message.EffectAlreadyRecorded !== false) {
1488
+ obj.EffectAlreadyRecorded = message.EffectAlreadyRecorded;
1489
+ }
1367
1490
  return obj;
1368
1491
  },
1369
1492
  create(base) {
@@ -1383,6 +1506,10 @@ const AppendManyResponse = {
1383
1506
  message.ConstraintViolations = object.ConstraintViolations?.map((e) => ConstraintViolation.fromPartial(e)) || [];
1384
1507
  message.Errors = object.Errors?.map((e) => e) || [];
1385
1508
  message.ConcurrencyViolations = object.ConcurrencyViolations?.map((e) => ConcurrencyViolation.fromPartial(e)) || [];
1509
+ message.EffectReceipt = (object.EffectReceipt !== undefined && object.EffectReceipt !== null)
1510
+ ? EffectReceiptDetails.fromPartial(object.EffectReceipt)
1511
+ : undefined;
1512
+ message.EffectAlreadyRecorded = object.EffectAlreadyRecorded ?? false;
1386
1513
  return message;
1387
1514
  },
1388
1515
  };
@@ -1399,6 +1526,7 @@ function createBaseAppendManyWithNamedTagsRequest() {
1399
1526
  Causation: [],
1400
1527
  CausedBy: undefined,
1401
1528
  ConcurrencyScope: undefined,
1529
+ EffectReceipt: undefined,
1402
1530
  };
1403
1531
  }
1404
1532
  const AppendManyWithNamedTagsRequest = {
@@ -1436,6 +1564,9 @@ const AppendManyWithNamedTagsRequest = {
1436
1564
  if (message.ConcurrencyScope !== undefined) {
1437
1565
  ConcurrencyScope.encode(message.ConcurrencyScope, writer.uint32(90).fork()).join();
1438
1566
  }
1567
+ if (message.EffectReceipt !== undefined) {
1568
+ EffectReceipt.encode(message.EffectReceipt, writer.uint32(98).fork()).join();
1569
+ }
1439
1570
  return writer;
1440
1571
  },
1441
1572
  decode(input, length) {
@@ -1528,6 +1659,13 @@ const AppendManyWithNamedTagsRequest = {
1528
1659
  message.ConcurrencyScope = ConcurrencyScope.decode(reader, reader.uint32());
1529
1660
  continue;
1530
1661
  }
1662
+ case 12: {
1663
+ if (tag !== 98) {
1664
+ break;
1665
+ }
1666
+ message.EffectReceipt = EffectReceipt.decode(reader, reader.uint32());
1667
+ continue;
1668
+ }
1531
1669
  }
1532
1670
  if ((tag & 7) === 4 || tag === 0) {
1533
1671
  break;
@@ -1557,6 +1695,7 @@ const AppendManyWithNamedTagsRequest = {
1557
1695
  : [],
1558
1696
  CausedBy: isSet(object.CausedBy) ? Identity.fromJSON(object.CausedBy) : undefined,
1559
1697
  ConcurrencyScope: isSet(object.ConcurrencyScope) ? ConcurrencyScope.fromJSON(object.ConcurrencyScope) : undefined,
1698
+ EffectReceipt: isSet(object.EffectReceipt) ? EffectReceipt.fromJSON(object.EffectReceipt) : undefined,
1560
1699
  };
1561
1700
  },
1562
1701
  toJSON(message) {
@@ -1594,6 +1733,9 @@ const AppendManyWithNamedTagsRequest = {
1594
1733
  if (message.ConcurrencyScope !== undefined) {
1595
1734
  obj.ConcurrencyScope = ConcurrencyScope.toJSON(message.ConcurrencyScope);
1596
1735
  }
1736
+ if (message.EffectReceipt !== undefined) {
1737
+ obj.EffectReceipt = EffectReceipt.toJSON(message.EffectReceipt);
1738
+ }
1597
1739
  return obj;
1598
1740
  },
1599
1741
  create(base) {
@@ -1620,6 +1762,9 @@ const AppendManyWithNamedTagsRequest = {
1620
1762
  message.ConcurrencyScope = (object.ConcurrencyScope !== undefined && object.ConcurrencyScope !== null)
1621
1763
  ? ConcurrencyScope.fromPartial(object.ConcurrencyScope)
1622
1764
  : undefined;
1765
+ message.EffectReceipt = (object.EffectReceipt !== undefined && object.EffectReceipt !== null)
1766
+ ? EffectReceipt.fromPartial(object.EffectReceipt)
1767
+ : undefined;
1623
1768
  return message;
1624
1769
  },
1625
1770
  };
@@ -1642,6 +1787,7 @@ function createBaseAppendRequest() {
1642
1787
  CausedBy: undefined,
1643
1788
  ConcurrencyScope: undefined,
1644
1789
  EventSource: "",
1790
+ EffectReceipt: undefined,
1645
1791
  };
1646
1792
  }
1647
1793
  const AppendRequest = {
@@ -1697,6 +1843,9 @@ const AppendRequest = {
1697
1843
  if (message.EventSource !== "") {
1698
1844
  writer.uint32(138).string(message.EventSource);
1699
1845
  }
1846
+ if (message.EffectReceipt !== undefined) {
1847
+ EffectReceipt.encode(message.EffectReceipt, writer.uint32(146).fork()).join();
1848
+ }
1700
1849
  return writer;
1701
1850
  },
1702
1851
  decode(input, length) {
@@ -1831,6 +1980,13 @@ const AppendRequest = {
1831
1980
  message.EventSource = reader.string();
1832
1981
  continue;
1833
1982
  }
1983
+ case 18: {
1984
+ if (tag !== 146) {
1985
+ break;
1986
+ }
1987
+ message.EffectReceipt = EffectReceipt.decode(reader, reader.uint32());
1988
+ continue;
1989
+ }
1834
1990
  }
1835
1991
  if ((tag & 7) === 4 || tag === 0) {
1836
1992
  break;
@@ -1864,6 +2020,7 @@ const AppendRequest = {
1864
2020
  CausedBy: isSet(object.CausedBy) ? Identity.fromJSON(object.CausedBy) : undefined,
1865
2021
  ConcurrencyScope: isSet(object.ConcurrencyScope) ? ConcurrencyScope.fromJSON(object.ConcurrencyScope) : undefined,
1866
2022
  EventSource: isSet(object.EventSource) ? globalThis.String(object.EventSource) : "",
2023
+ EffectReceipt: isSet(object.EffectReceipt) ? EffectReceipt.fromJSON(object.EffectReceipt) : undefined,
1867
2024
  };
1868
2025
  },
1869
2026
  toJSON(message) {
@@ -1919,6 +2076,9 @@ const AppendRequest = {
1919
2076
  if (message.EventSource !== "") {
1920
2077
  obj.EventSource = message.EventSource;
1921
2078
  }
2079
+ if (message.EffectReceipt !== undefined) {
2080
+ obj.EffectReceipt = EffectReceipt.toJSON(message.EffectReceipt);
2081
+ }
1922
2082
  return obj;
1923
2083
  },
1924
2084
  create(base) {
@@ -1953,6 +2113,9 @@ const AppendRequest = {
1953
2113
  ? ConcurrencyScope.fromPartial(object.ConcurrencyScope)
1954
2114
  : undefined;
1955
2115
  message.EventSource = object.EventSource ?? "";
2116
+ message.EffectReceipt = (object.EffectReceipt !== undefined && object.EffectReceipt !== null)
2117
+ ? EffectReceipt.fromPartial(object.EffectReceipt)
2118
+ : undefined;
1956
2119
  return message;
1957
2120
  },
1958
2121
  };
@@ -1968,6 +2131,8 @@ function createBaseAppendResponse() {
1968
2131
  ConstraintViolations: [],
1969
2132
  Errors: [],
1970
2133
  ConcurrencyViolation: undefined,
2134
+ EffectReceipt: undefined,
2135
+ EffectAlreadyRecorded: false,
1971
2136
  };
1972
2137
  }
1973
2138
  const AppendResponse = {
@@ -2005,6 +2170,12 @@ const AppendResponse = {
2005
2170
  if (message.ConcurrencyViolation !== undefined) {
2006
2171
  ConcurrencyViolation.encode(message.ConcurrencyViolation, writer.uint32(82).fork()).join();
2007
2172
  }
2173
+ if (message.EffectReceipt !== undefined) {
2174
+ EffectReceiptDetails.encode(message.EffectReceipt, writer.uint32(90).fork()).join();
2175
+ }
2176
+ if (message.EffectAlreadyRecorded !== false) {
2177
+ writer.uint32(96).bool(message.EffectAlreadyRecorded);
2178
+ }
2008
2179
  return writer;
2009
2180
  },
2010
2181
  decode(input, length) {
@@ -2090,6 +2261,20 @@ const AppendResponse = {
2090
2261
  message.ConcurrencyViolation = ConcurrencyViolation.decode(reader, reader.uint32());
2091
2262
  continue;
2092
2263
  }
2264
+ case 11: {
2265
+ if (tag !== 90) {
2266
+ break;
2267
+ }
2268
+ message.EffectReceipt = EffectReceiptDetails.decode(reader, reader.uint32());
2269
+ continue;
2270
+ }
2271
+ case 12: {
2272
+ if (tag !== 96) {
2273
+ break;
2274
+ }
2275
+ message.EffectAlreadyRecorded = reader.bool();
2276
+ continue;
2277
+ }
2093
2278
  }
2094
2279
  if ((tag & 7) === 4 || tag === 0) {
2095
2280
  break;
@@ -2126,6 +2311,10 @@ const AppendResponse = {
2126
2311
  ConcurrencyViolation: isSet(object.ConcurrencyViolation)
2127
2312
  ? ConcurrencyViolation.fromJSON(object.ConcurrencyViolation)
2128
2313
  : undefined,
2314
+ EffectReceipt: isSet(object.EffectReceipt) ? EffectReceiptDetails.fromJSON(object.EffectReceipt) : undefined,
2315
+ EffectAlreadyRecorded: isSet(object.EffectAlreadyRecorded)
2316
+ ? globalThis.Boolean(object.EffectAlreadyRecorded)
2317
+ : false,
2129
2318
  };
2130
2319
  },
2131
2320
  toJSON(message) {
@@ -2160,6 +2349,12 @@ const AppendResponse = {
2160
2349
  if (message.ConcurrencyViolation !== undefined) {
2161
2350
  obj.ConcurrencyViolation = ConcurrencyViolation.toJSON(message.ConcurrencyViolation);
2162
2351
  }
2352
+ if (message.EffectReceipt !== undefined) {
2353
+ obj.EffectReceipt = EffectReceiptDetails.toJSON(message.EffectReceipt);
2354
+ }
2355
+ if (message.EffectAlreadyRecorded !== false) {
2356
+ obj.EffectAlreadyRecorded = message.EffectAlreadyRecorded;
2357
+ }
2163
2358
  return obj;
2164
2359
  },
2165
2360
  create(base) {
@@ -2183,6 +2378,10 @@ const AppendResponse = {
2183
2378
  message.ConcurrencyViolation = (object.ConcurrencyViolation !== undefined && object.ConcurrencyViolation !== null)
2184
2379
  ? ConcurrencyViolation.fromPartial(object.ConcurrencyViolation)
2185
2380
  : undefined;
2381
+ message.EffectReceipt = (object.EffectReceipt !== undefined && object.EffectReceipt !== null)
2382
+ ? EffectReceiptDetails.fromPartial(object.EffectReceipt)
2383
+ : undefined;
2384
+ message.EffectAlreadyRecorded = object.EffectAlreadyRecorded ?? false;
2186
2385
  return message;
2187
2386
  },
2188
2387
  };
@@ -2206,6 +2405,7 @@ function createBaseAppendWithNamedTagsRequest() {
2206
2405
  CausedBy: undefined,
2207
2406
  ConcurrencyScope: undefined,
2208
2407
  EventSource: "",
2408
+ EffectReceipt: undefined,
2209
2409
  };
2210
2410
  }
2211
2411
  const AppendWithNamedTagsRequest = {
@@ -2264,6 +2464,9 @@ const AppendWithNamedTagsRequest = {
2264
2464
  if (message.EventSource !== "") {
2265
2465
  writer.uint32(146).string(message.EventSource);
2266
2466
  }
2467
+ if (message.EffectReceipt !== undefined) {
2468
+ EffectReceipt.encode(message.EffectReceipt, writer.uint32(154).fork()).join();
2469
+ }
2267
2470
  return writer;
2268
2471
  },
2269
2472
  decode(input, length) {
@@ -2405,6 +2608,13 @@ const AppendWithNamedTagsRequest = {
2405
2608
  message.EventSource = reader.string();
2406
2609
  continue;
2407
2610
  }
2611
+ case 19: {
2612
+ if (tag !== 154) {
2613
+ break;
2614
+ }
2615
+ message.EffectReceipt = EffectReceipt.decode(reader, reader.uint32());
2616
+ continue;
2617
+ }
2408
2618
  }
2409
2619
  if ((tag & 7) === 4 || tag === 0) {
2410
2620
  break;
@@ -2441,6 +2651,7 @@ const AppendWithNamedTagsRequest = {
2441
2651
  CausedBy: isSet(object.CausedBy) ? Identity.fromJSON(object.CausedBy) : undefined,
2442
2652
  ConcurrencyScope: isSet(object.ConcurrencyScope) ? ConcurrencyScope.fromJSON(object.ConcurrencyScope) : undefined,
2443
2653
  EventSource: isSet(object.EventSource) ? globalThis.String(object.EventSource) : "",
2654
+ EffectReceipt: isSet(object.EffectReceipt) ? EffectReceipt.fromJSON(object.EffectReceipt) : undefined,
2444
2655
  };
2445
2656
  },
2446
2657
  toJSON(message) {
@@ -2499,6 +2710,9 @@ const AppendWithNamedTagsRequest = {
2499
2710
  if (message.EventSource !== "") {
2500
2711
  obj.EventSource = message.EventSource;
2501
2712
  }
2713
+ if (message.EffectReceipt !== undefined) {
2714
+ obj.EffectReceipt = EffectReceipt.toJSON(message.EffectReceipt);
2715
+ }
2502
2716
  return obj;
2503
2717
  },
2504
2718
  create(base) {
@@ -2534,11 +2748,22 @@ const AppendWithNamedTagsRequest = {
2534
2748
  ? ConcurrencyScope.fromPartial(object.ConcurrencyScope)
2535
2749
  : undefined;
2536
2750
  message.EventSource = object.EventSource ?? "";
2751
+ message.EffectReceipt = (object.EffectReceipt !== undefined && object.EffectReceipt !== null)
2752
+ ? EffectReceipt.fromPartial(object.EffectReceipt)
2753
+ : undefined;
2537
2754
  return message;
2538
2755
  },
2539
2756
  };
2540
2757
  function createBaseAppendedEventResponse() {
2541
- return { Id: "", Context: undefined, Content: "", OriginalContent: "", Revisions: [], GenerationalContent: [] };
2758
+ return {
2759
+ Id: "",
2760
+ Context: undefined,
2761
+ Content: "",
2762
+ OriginalContent: "",
2763
+ Revisions: [],
2764
+ GenerationalContent: [],
2765
+ RevisedGeneration: 0,
2766
+ };
2542
2767
  }
2543
2768
  const AppendedEventResponse = {
2544
2769
  encode(message, writer = new wire.BinaryWriter()) {
@@ -2560,6 +2785,9 @@ const AppendedEventResponse = {
2560
2785
  for (const v of message.GenerationalContent) {
2561
2786
  KeyValuePairInt32String.encode(v, writer.uint32(50).fork()).join();
2562
2787
  }
2788
+ if (message.RevisedGeneration !== 0) {
2789
+ writer.uint32(56).uint32(message.RevisedGeneration);
2790
+ }
2563
2791
  return writer;
2564
2792
  },
2565
2793
  decode(input, length) {
@@ -2617,6 +2845,13 @@ const AppendedEventResponse = {
2617
2845
  message.GenerationalContent.push(KeyValuePairInt32String.decode(reader, reader.uint32()));
2618
2846
  continue;
2619
2847
  }
2848
+ case 7: {
2849
+ if (tag !== 56) {
2850
+ break;
2851
+ }
2852
+ message.RevisedGeneration = reader.uint32();
2853
+ continue;
2854
+ }
2620
2855
  }
2621
2856
  if ((tag & 7) === 4 || tag === 0) {
2622
2857
  break;
@@ -2641,6 +2876,7 @@ const AppendedEventResponse = {
2641
2876
  GenerationalContent: globalThis.Array.isArray(object?.GenerationalContent)
2642
2877
  ? object.GenerationalContent.map((e) => KeyValuePairInt32String.fromJSON(e))
2643
2878
  : [],
2879
+ RevisedGeneration: isSet(object.RevisedGeneration) ? globalThis.Number(object.RevisedGeneration) : 0,
2644
2880
  };
2645
2881
  },
2646
2882
  toJSON(message) {
@@ -2663,6 +2899,9 @@ const AppendedEventResponse = {
2663
2899
  if (message.GenerationalContent?.length) {
2664
2900
  obj.GenerationalContent = message.GenerationalContent.map((e) => KeyValuePairInt32String.toJSON(e));
2665
2901
  }
2902
+ if (message.RevisedGeneration !== 0) {
2903
+ obj.RevisedGeneration = Math.round(message.RevisedGeneration);
2904
+ }
2666
2905
  return obj;
2667
2906
  },
2668
2907
  create(base) {
@@ -2678,6 +2917,7 @@ const AppendedEventResponse = {
2678
2917
  message.OriginalContent = object.OriginalContent ?? "";
2679
2918
  message.Revisions = object.Revisions?.map((e) => EventRevision.fromPartial(e)) || [];
2680
2919
  message.GenerationalContent = object.GenerationalContent?.map((e) => KeyValuePairInt32String.fromPartial(e)) || [];
2920
+ message.RevisedGeneration = object.RevisedGeneration ?? 0;
2681
2921
  return message;
2682
2922
  },
2683
2923
  };
@@ -5264,6 +5504,341 @@ const ConstraintViolation_DetailsEntry = {
5264
5504
  return message;
5265
5505
  },
5266
5506
  };
5507
+ function createBaseEffectReceipt() {
5508
+ return { OccurrenceId: "", EffectKey: "", Epoch: 0n, Response: "" };
5509
+ }
5510
+ const EffectReceipt = {
5511
+ encode(message, writer = new wire.BinaryWriter()) {
5512
+ if (message.OccurrenceId !== "") {
5513
+ writer.uint32(10).string(message.OccurrenceId);
5514
+ }
5515
+ if (message.EffectKey !== "") {
5516
+ writer.uint32(18).string(message.EffectKey);
5517
+ }
5518
+ if (message.Epoch !== 0n) {
5519
+ if (BigInt.asIntN(64, message.Epoch) !== message.Epoch) {
5520
+ throw new globalThis.Error("value provided for field message.Epoch of type int64 too large");
5521
+ }
5522
+ writer.uint32(24).int64(message.Epoch);
5523
+ }
5524
+ if (message.Response !== "") {
5525
+ writer.uint32(34).string(message.Response);
5526
+ }
5527
+ return writer;
5528
+ },
5529
+ decode(input, length) {
5530
+ const reader = input instanceof wire.BinaryReader ? input : new wire.BinaryReader(input);
5531
+ const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
5532
+ if (previousRecursionDepth >= 100) {
5533
+ throw new globalThis.Error("protobuf decode recursion limit exceeded");
5534
+ }
5535
+ reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
5536
+ try {
5537
+ const end = length === undefined ? reader.len : reader.pos + length;
5538
+ const message = createBaseEffectReceipt();
5539
+ while (reader.pos < end) {
5540
+ const tag = reader.uint32();
5541
+ switch (tag >>> 3) {
5542
+ case 1: {
5543
+ if (tag !== 10) {
5544
+ break;
5545
+ }
5546
+ message.OccurrenceId = reader.string();
5547
+ continue;
5548
+ }
5549
+ case 2: {
5550
+ if (tag !== 18) {
5551
+ break;
5552
+ }
5553
+ message.EffectKey = reader.string();
5554
+ continue;
5555
+ }
5556
+ case 3: {
5557
+ if (tag !== 24) {
5558
+ break;
5559
+ }
5560
+ message.Epoch = reader.int64();
5561
+ continue;
5562
+ }
5563
+ case 4: {
5564
+ if (tag !== 34) {
5565
+ break;
5566
+ }
5567
+ message.Response = reader.string();
5568
+ continue;
5569
+ }
5570
+ }
5571
+ if ((tag & 7) === 4 || tag === 0) {
5572
+ break;
5573
+ }
5574
+ reader.skip(tag & 7);
5575
+ }
5576
+ return message;
5577
+ }
5578
+ finally {
5579
+ reader.__tsProtoDecodeDepth = previousRecursionDepth;
5580
+ }
5581
+ },
5582
+ fromJSON(object) {
5583
+ return {
5584
+ OccurrenceId: isSet(object.OccurrenceId) ? globalThis.String(object.OccurrenceId) : "",
5585
+ EffectKey: isSet(object.EffectKey) ? globalThis.String(object.EffectKey) : "",
5586
+ Epoch: isSet(object.Epoch) ? BigInt(object.Epoch) : 0n,
5587
+ Response: isSet(object.Response) ? globalThis.String(object.Response) : "",
5588
+ };
5589
+ },
5590
+ toJSON(message) {
5591
+ const obj = {};
5592
+ if (message.OccurrenceId !== "") {
5593
+ obj.OccurrenceId = message.OccurrenceId;
5594
+ }
5595
+ if (message.EffectKey !== "") {
5596
+ obj.EffectKey = message.EffectKey;
5597
+ }
5598
+ if (message.Epoch !== 0n) {
5599
+ obj.Epoch = message.Epoch.toString();
5600
+ }
5601
+ if (message.Response !== "") {
5602
+ obj.Response = message.Response;
5603
+ }
5604
+ return obj;
5605
+ },
5606
+ create(base) {
5607
+ return EffectReceipt.fromPartial(base ?? {});
5608
+ },
5609
+ fromPartial(object) {
5610
+ const message = createBaseEffectReceipt();
5611
+ message.OccurrenceId = object.OccurrenceId ?? "";
5612
+ message.EffectKey = object.EffectKey ?? "";
5613
+ message.Epoch = (object.Epoch !== undefined && object.Epoch !== null) ? BigInt(object.Epoch) : 0n;
5614
+ message.Response = object.Response ?? "";
5615
+ return message;
5616
+ },
5617
+ };
5618
+ function createBaseEffectReceiptDetails() {
5619
+ return {
5620
+ Id: "",
5621
+ OccurrenceId: "",
5622
+ Epoch: 0n,
5623
+ Outcome: 0,
5624
+ EventSequenceId: "",
5625
+ FirstSequenceNumber: 0n,
5626
+ LastSequenceNumber: 0n,
5627
+ Reasons: [],
5628
+ Response: "",
5629
+ RecordedAt: undefined,
5630
+ };
5631
+ }
5632
+ const EffectReceiptDetails = {
5633
+ encode(message, writer = new wire.BinaryWriter()) {
5634
+ if (message.Id !== "") {
5635
+ writer.uint32(10).string(message.Id);
5636
+ }
5637
+ if (message.OccurrenceId !== "") {
5638
+ writer.uint32(18).string(message.OccurrenceId);
5639
+ }
5640
+ if (message.Epoch !== 0n) {
5641
+ if (BigInt.asIntN(64, message.Epoch) !== message.Epoch) {
5642
+ throw new globalThis.Error("value provided for field message.Epoch of type int64 too large");
5643
+ }
5644
+ writer.uint32(24).int64(message.Epoch);
5645
+ }
5646
+ if (message.Outcome !== 0) {
5647
+ writer.uint32(32).int32(message.Outcome);
5648
+ }
5649
+ if (message.EventSequenceId !== "") {
5650
+ writer.uint32(42).string(message.EventSequenceId);
5651
+ }
5652
+ if (message.FirstSequenceNumber !== 0n) {
5653
+ if (BigInt.asUintN(64, message.FirstSequenceNumber) !== message.FirstSequenceNumber) {
5654
+ throw new globalThis.Error("value provided for field message.FirstSequenceNumber of type uint64 too large");
5655
+ }
5656
+ writer.uint32(48).uint64(message.FirstSequenceNumber);
5657
+ }
5658
+ if (message.LastSequenceNumber !== 0n) {
5659
+ if (BigInt.asUintN(64, message.LastSequenceNumber) !== message.LastSequenceNumber) {
5660
+ throw new globalThis.Error("value provided for field message.LastSequenceNumber of type uint64 too large");
5661
+ }
5662
+ writer.uint32(56).uint64(message.LastSequenceNumber);
5663
+ }
5664
+ for (const v of message.Reasons) {
5665
+ writer.uint32(66).string(v);
5666
+ }
5667
+ if (message.Response !== "") {
5668
+ writer.uint32(74).string(message.Response);
5669
+ }
5670
+ if (message.RecordedAt !== undefined) {
5671
+ SerializableDateTimeOffset.encode(message.RecordedAt, writer.uint32(82).fork()).join();
5672
+ }
5673
+ return writer;
5674
+ },
5675
+ decode(input, length) {
5676
+ const reader = input instanceof wire.BinaryReader ? input : new wire.BinaryReader(input);
5677
+ const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
5678
+ if (previousRecursionDepth >= 100) {
5679
+ throw new globalThis.Error("protobuf decode recursion limit exceeded");
5680
+ }
5681
+ reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
5682
+ try {
5683
+ const end = length === undefined ? reader.len : reader.pos + length;
5684
+ const message = createBaseEffectReceiptDetails();
5685
+ while (reader.pos < end) {
5686
+ const tag = reader.uint32();
5687
+ switch (tag >>> 3) {
5688
+ case 1: {
5689
+ if (tag !== 10) {
5690
+ break;
5691
+ }
5692
+ message.Id = reader.string();
5693
+ continue;
5694
+ }
5695
+ case 2: {
5696
+ if (tag !== 18) {
5697
+ break;
5698
+ }
5699
+ message.OccurrenceId = reader.string();
5700
+ continue;
5701
+ }
5702
+ case 3: {
5703
+ if (tag !== 24) {
5704
+ break;
5705
+ }
5706
+ message.Epoch = reader.int64();
5707
+ continue;
5708
+ }
5709
+ case 4: {
5710
+ if (tag !== 32) {
5711
+ break;
5712
+ }
5713
+ message.Outcome = reader.int32();
5714
+ continue;
5715
+ }
5716
+ case 5: {
5717
+ if (tag !== 42) {
5718
+ break;
5719
+ }
5720
+ message.EventSequenceId = reader.string();
5721
+ continue;
5722
+ }
5723
+ case 6: {
5724
+ if (tag !== 48) {
5725
+ break;
5726
+ }
5727
+ message.FirstSequenceNumber = reader.uint64();
5728
+ continue;
5729
+ }
5730
+ case 7: {
5731
+ if (tag !== 56) {
5732
+ break;
5733
+ }
5734
+ message.LastSequenceNumber = reader.uint64();
5735
+ continue;
5736
+ }
5737
+ case 8: {
5738
+ if (tag !== 66) {
5739
+ break;
5740
+ }
5741
+ message.Reasons.push(reader.string());
5742
+ continue;
5743
+ }
5744
+ case 9: {
5745
+ if (tag !== 74) {
5746
+ break;
5747
+ }
5748
+ message.Response = reader.string();
5749
+ continue;
5750
+ }
5751
+ case 10: {
5752
+ if (tag !== 82) {
5753
+ break;
5754
+ }
5755
+ message.RecordedAt = SerializableDateTimeOffset.decode(reader, reader.uint32());
5756
+ continue;
5757
+ }
5758
+ }
5759
+ if ((tag & 7) === 4 || tag === 0) {
5760
+ break;
5761
+ }
5762
+ reader.skip(tag & 7);
5763
+ }
5764
+ return message;
5765
+ }
5766
+ finally {
5767
+ reader.__tsProtoDecodeDepth = previousRecursionDepth;
5768
+ }
5769
+ },
5770
+ fromJSON(object) {
5771
+ return {
5772
+ Id: isSet(object.Id) ? globalThis.String(object.Id) : "",
5773
+ OccurrenceId: isSet(object.OccurrenceId) ? globalThis.String(object.OccurrenceId) : "",
5774
+ Epoch: isSet(object.Epoch) ? BigInt(object.Epoch) : 0n,
5775
+ Outcome: isSet(object.Outcome) ? effectOutcomeFromJSON(object.Outcome) : 0,
5776
+ EventSequenceId: isSet(object.EventSequenceId) ? globalThis.String(object.EventSequenceId) : "",
5777
+ FirstSequenceNumber: isSet(object.FirstSequenceNumber) ? BigInt(object.FirstSequenceNumber) : 0n,
5778
+ LastSequenceNumber: isSet(object.LastSequenceNumber) ? BigInt(object.LastSequenceNumber) : 0n,
5779
+ Reasons: globalThis.Array.isArray(object?.Reasons) ? object.Reasons.map((e) => globalThis.String(e)) : [],
5780
+ Response: isSet(object.Response) ? globalThis.String(object.Response) : "",
5781
+ RecordedAt: isSet(object.RecordedAt) ? SerializableDateTimeOffset.fromJSON(object.RecordedAt) : undefined,
5782
+ };
5783
+ },
5784
+ toJSON(message) {
5785
+ const obj = {};
5786
+ if (message.Id !== "") {
5787
+ obj.Id = message.Id;
5788
+ }
5789
+ if (message.OccurrenceId !== "") {
5790
+ obj.OccurrenceId = message.OccurrenceId;
5791
+ }
5792
+ if (message.Epoch !== 0n) {
5793
+ obj.Epoch = message.Epoch.toString();
5794
+ }
5795
+ if (message.Outcome !== 0) {
5796
+ obj.Outcome = effectOutcomeToJSON(message.Outcome);
5797
+ }
5798
+ if (message.EventSequenceId !== "") {
5799
+ obj.EventSequenceId = message.EventSequenceId;
5800
+ }
5801
+ if (message.FirstSequenceNumber !== 0n) {
5802
+ obj.FirstSequenceNumber = message.FirstSequenceNumber.toString();
5803
+ }
5804
+ if (message.LastSequenceNumber !== 0n) {
5805
+ obj.LastSequenceNumber = message.LastSequenceNumber.toString();
5806
+ }
5807
+ if (message.Reasons?.length) {
5808
+ obj.Reasons = message.Reasons;
5809
+ }
5810
+ if (message.Response !== "") {
5811
+ obj.Response = message.Response;
5812
+ }
5813
+ if (message.RecordedAt !== undefined) {
5814
+ obj.RecordedAt = SerializableDateTimeOffset.toJSON(message.RecordedAt);
5815
+ }
5816
+ return obj;
5817
+ },
5818
+ create(base) {
5819
+ return EffectReceiptDetails.fromPartial(base ?? {});
5820
+ },
5821
+ fromPartial(object) {
5822
+ const message = createBaseEffectReceiptDetails();
5823
+ message.Id = object.Id ?? "";
5824
+ message.OccurrenceId = object.OccurrenceId ?? "";
5825
+ message.Epoch = (object.Epoch !== undefined && object.Epoch !== null) ? BigInt(object.Epoch) : 0n;
5826
+ message.Outcome = object.Outcome ?? 0;
5827
+ message.EventSequenceId = object.EventSequenceId ?? "";
5828
+ message.FirstSequenceNumber = (object.FirstSequenceNumber !== undefined && object.FirstSequenceNumber !== null)
5829
+ ? BigInt(object.FirstSequenceNumber)
5830
+ : 0n;
5831
+ message.LastSequenceNumber = (object.LastSequenceNumber !== undefined && object.LastSequenceNumber !== null)
5832
+ ? BigInt(object.LastSequenceNumber)
5833
+ : 0n;
5834
+ message.Reasons = object.Reasons?.map((e) => e) || [];
5835
+ message.Response = object.Response ?? "";
5836
+ message.RecordedAt = (object.RecordedAt !== undefined && object.RecordedAt !== null)
5837
+ ? SerializableDateTimeOffset.fromPartial(object.RecordedAt)
5838
+ : undefined;
5839
+ return message;
5840
+ },
5841
+ };
5267
5842
  function createBaseEndOfRequest() {
5268
5843
  return { Start: undefined, Resolution: 0 };
5269
5844
  }
@@ -13342,6 +13917,8 @@ exports.ConcurrencyScope = ConcurrencyScope;
13342
13917
  exports.ConcurrencyViolation = ConcurrencyViolation;
13343
13918
  exports.ConstraintViolation = ConstraintViolation;
13344
13919
  exports.ConstraintViolation_DetailsEntry = ConstraintViolation_DetailsEntry;
13920
+ exports.EffectReceipt = EffectReceipt;
13921
+ exports.EffectReceiptDetails = EffectReceiptDetails;
13345
13922
  exports.EndOfRequest = EndOfRequest;
13346
13923
  exports.EventContext = EventContext;
13347
13924
  exports.EventForEventSourceId = EventForEventSourceId;
@@ -13404,6 +13981,8 @@ exports.constraintTypeFromJSON = constraintTypeFromJSON;
13404
13981
  exports.constraintTypeToJSON = constraintTypeToJSON;
13405
13982
  exports.contentVerificationResultFromJSON = contentVerificationResultFromJSON;
13406
13983
  exports.contentVerificationResultToJSON = contentVerificationResultToJSON;
13984
+ exports.effectOutcomeFromJSON = effectOutcomeFromJSON;
13985
+ exports.effectOutcomeToJSON = effectOutcomeToJSON;
13407
13986
  exports.eventObservationStateFromJSON = eventObservationStateFromJSON;
13408
13987
  exports.eventObservationStateToJSON = eventObservationStateToJSON;
13409
13988
  exports.histogramResolutionFromJSON = histogramResolutionFromJSON;