@cratis/chronicle.contracts 19.38.1 → 19.39.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 (86) hide show
  1. package/dist/cjs/generated/clients.d.ts +1 -0
  2. package/dist/cjs/generated/clients.d.ts.map +1 -1
  3. package/dist/cjs/generated/clients.js +18 -1
  4. package/dist/cjs/generated/clients.js.map +1 -1
  5. package/dist/cjs/generated/descriptorSet.js +1 -1
  6. package/dist/cjs/generated/descriptorSet.js.map +1 -1
  7. package/dist/cjs/generated/events_constraints.d.ts +9 -0
  8. package/dist/cjs/generated/events_constraints.d.ts.map +1 -1
  9. package/dist/cjs/generated/events_constraints.js +147 -1
  10. package/dist/cjs/generated/events_constraints.js.map +1 -1
  11. package/dist/cjs/generated/index.d.ts +3 -3
  12. package/dist/cjs/generated/index.d.ts.map +1 -1
  13. package/dist/cjs/generated/readmodels.d.ts +9 -0
  14. package/dist/cjs/generated/readmodels.d.ts.map +1 -1
  15. package/dist/cjs/generated/readmodels.js +144 -1
  16. package/dist/cjs/generated/readmodels.js.map +1 -1
  17. package/dist/cjs/generated/seeding.d.ts +30 -0
  18. package/dist/cjs/generated/seeding.d.ts.map +1 -1
  19. package/dist/cjs/generated/seeding.js +335 -2
  20. package/dist/cjs/generated/seeding.js.map +1 -1
  21. package/dist/cjs/generated/sequences.d.ts +220 -0
  22. package/dist/cjs/generated/sequences.d.ts.map +1 -1
  23. package/dist/cjs/generated/sequences.js +5042 -2600
  24. package/dist/cjs/generated/sequences.js.map +1 -1
  25. package/dist/cjs/index.js +41 -0
  26. package/dist/cjs/index.js.map +1 -1
  27. package/dist/esm/generated/clients.d.ts +1 -0
  28. package/dist/esm/generated/clients.d.ts.map +1 -1
  29. package/dist/esm/generated/clients.js +18 -1
  30. package/dist/esm/generated/clients.js.map +1 -1
  31. package/dist/esm/generated/descriptorSet.js +1 -1
  32. package/dist/esm/generated/descriptorSet.js.map +1 -1
  33. package/dist/esm/generated/events_constraints.d.ts +9 -0
  34. package/dist/esm/generated/events_constraints.d.ts.map +1 -1
  35. package/dist/esm/generated/events_constraints.js +147 -2
  36. package/dist/esm/generated/events_constraints.js.map +1 -1
  37. package/dist/esm/generated/index.d.ts +3 -3
  38. package/dist/esm/generated/index.d.ts.map +1 -1
  39. package/dist/esm/generated/readmodels.d.ts +9 -0
  40. package/dist/esm/generated/readmodels.d.ts.map +1 -1
  41. package/dist/esm/generated/readmodels.js +144 -1
  42. package/dist/esm/generated/readmodels.js.map +1 -1
  43. package/dist/esm/generated/seeding.d.ts +30 -0
  44. package/dist/esm/generated/seeding.d.ts.map +1 -1
  45. package/dist/esm/generated/seeding.js +334 -3
  46. package/dist/esm/generated/seeding.js.map +1 -1
  47. package/dist/esm/generated/sequences.d.ts +220 -0
  48. package/dist/esm/generated/sequences.d.ts.map +1 -1
  49. package/dist/esm/generated/sequences.js +5021 -2601
  50. package/dist/esm/generated/sequences.js.map +1 -1
  51. package/dist/esm/index.js +3 -3
  52. package/dist/generated/clients.d.ts +1 -0
  53. package/dist/generated/clients.d.ts.map +1 -1
  54. package/dist/generated/clients.js +18 -1
  55. package/dist/generated/clients.js.map +1 -1
  56. package/dist/generated/descriptorSet.js +1 -1
  57. package/dist/generated/descriptorSet.js.map +1 -1
  58. package/dist/generated/events_constraints.d.ts +9 -0
  59. package/dist/generated/events_constraints.d.ts.map +1 -1
  60. package/dist/generated/events_constraints.js +146 -1
  61. package/dist/generated/events_constraints.js.map +1 -1
  62. package/dist/generated/index.d.ts +3 -3
  63. package/dist/generated/index.d.ts.map +1 -1
  64. package/dist/generated/index.js +3 -3
  65. package/dist/generated/index.js.map +1 -1
  66. package/dist/generated/readmodels.d.ts +9 -0
  67. package/dist/generated/readmodels.d.ts.map +1 -1
  68. package/dist/generated/readmodels.js +144 -1
  69. package/dist/generated/readmodels.js.map +1 -1
  70. package/dist/generated/seeding.d.ts +30 -0
  71. package/dist/generated/seeding.d.ts.map +1 -1
  72. package/dist/generated/seeding.js +333 -2
  73. package/dist/generated/seeding.js.map +1 -1
  74. package/dist/generated/sequences.d.ts +220 -0
  75. package/dist/generated/sequences.d.ts.map +1 -1
  76. package/dist/generated/sequences.js +5020 -2600
  77. package/dist/generated/sequences.js.map +1 -1
  78. package/dist/tsconfig.tsbuildinfo +1 -1
  79. package/generated/clients.ts +20 -1
  80. package/generated/descriptorSet.ts +1 -1
  81. package/generated/events_constraints.ts +164 -1
  82. package/generated/index.ts +3 -3
  83. package/generated/readmodels.ts +162 -1
  84. package/generated/seeding.ts +384 -2
  85. package/generated/sequences.ts +5736 -2955
  86. package/package.json +1 -1
@@ -8,6 +8,7 @@ export declare enum ConstraintType {
8
8
  UniqueEventType = 2,
9
9
  Schema = 3,
10
10
  StreamClosed = 4,
11
+ ClosesStream = 5,
11
12
  UNRECOGNIZED = -1
12
13
  }
13
14
  export declare function constraintTypeFromJSON(object: any): ConstraintType;
@@ -19,6 +20,12 @@ export declare enum UniqueConstraintMode {
19
20
  }
20
21
  export declare function uniqueConstraintModeFromJSON(object: any): UniqueConstraintMode;
21
22
  export declare function uniqueConstraintModeToJSON(object: UniqueConstraintMode): string;
23
+ export interface ClosesStreamConstraintDefinition {
24
+ EventTypeIds: string[];
25
+ Dimensions: number;
26
+ ReopenedBy: string[];
27
+ EventStreamIdFrom: string;
28
+ }
22
29
  export interface Constraint {
23
30
  Name: string;
24
31
  Type: ConstraintType;
@@ -26,6 +33,7 @@ export interface Constraint {
26
33
  Definition: OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition | undefined;
27
34
  Scope: ConstraintScope | undefined;
28
35
  EventSequences: string[];
36
+ ClosesStream: ClosesStreamConstraintDefinition | undefined;
29
37
  }
30
38
  export interface ConstraintScope {
31
39
  EventSourceType: string;
@@ -53,6 +61,7 @@ export interface UniqueConstraintEventDefinition {
53
61
  export interface UniqueEventTypeConstraintDefinition {
54
62
  EventTypeIds: string[];
55
63
  }
64
+ export declare const ClosesStreamConstraintDefinition: MessageFns<ClosesStreamConstraintDefinition>;
56
65
  export declare const Constraint: MessageFns<Constraint>;
57
66
  export declare const ConstraintScope: MessageFns<ConstraintScope>;
58
67
  export declare const OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition: MessageFns<OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition>;
@@ -1 +1 @@
1
- {"version":3,"file":"events_constraints.d.ts","sourceRoot":"","sources":["../../../generated/events_constraints.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,eAAO,MAAM,eAAe,kDAAkD,CAAC;AAE/E,oBAAY,cAAc;IACxB,OAAO,IAAI;IACX,MAAM,IAAI;IACV,eAAe,IAAI;IACnB,MAAM,IAAI;IACV,YAAY,IAAI;IAChB,YAAY,KAAK;CAClB;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,GAAG,GAAG,cAAc,CAsBlE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAgBnE;AAED,oBAAY,oBAAoB;IAC9B,cAAc,IAAI;IAClB,QAAQ,IAAI;IACZ,YAAY,KAAK;CAClB;AAED,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,GAAG,GAAG,oBAAoB,CAa9E;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,oBAAoB,GAAG,MAAM,CAU/E;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,cAAc,CAAC;IACrB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,EAAE,kEAAkE,GAAG,SAAS,CAAC;IAC3F,KAAK,EAAE,eAAe,GAAG,SAAS,CAAC;IACnC,cAAc,EAAE,MAAM,EAAE,CAAC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,CAAC,CAAC,GAC9F,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACrD,OAAO,CAAC,CAAC,CAAC,CAAC;AAMf,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACjC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACxC"}
@@ -10,6 +10,7 @@ exports.ConstraintType = void 0;
10
10
  ConstraintType[ConstraintType["UniqueEventType"] = 2] = "UniqueEventType";
11
11
  ConstraintType[ConstraintType["Schema"] = 3] = "Schema";
12
12
  ConstraintType[ConstraintType["StreamClosed"] = 4] = "StreamClosed";
13
+ ConstraintType[ConstraintType["ClosesStream"] = 5] = "ClosesStream";
13
14
  ConstraintType[ConstraintType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
14
15
  })(exports.ConstraintType || (exports.ConstraintType = {}));
15
16
  function constraintTypeFromJSON(object) {
@@ -29,6 +30,9 @@ function constraintTypeFromJSON(object) {
29
30
  case 4:
30
31
  case "StreamClosed":
31
32
  return exports.ConstraintType.StreamClosed;
33
+ case 5:
34
+ case "ClosesStream":
35
+ return exports.ConstraintType.ClosesStream;
32
36
  case -1:
33
37
  case "UNRECOGNIZED":
34
38
  default:
@@ -47,6 +51,8 @@ function constraintTypeToJSON(object) {
47
51
  return "Schema";
48
52
  case exports.ConstraintType.StreamClosed:
49
53
  return "StreamClosed";
54
+ case exports.ConstraintType.ClosesStream:
55
+ return "ClosesStream";
50
56
  case exports.ConstraintType.UNRECOGNIZED:
51
57
  default:
52
58
  return "UNRECOGNIZED";
@@ -83,8 +89,128 @@ function uniqueConstraintModeToJSON(object) {
83
89
  return "UNRECOGNIZED";
84
90
  }
85
91
  }
92
+ function createBaseClosesStreamConstraintDefinition() {
93
+ return { EventTypeIds: [], Dimensions: 0, ReopenedBy: [], EventStreamIdFrom: "" };
94
+ }
95
+ const ClosesStreamConstraintDefinition = {
96
+ encode(message, writer = new wire.BinaryWriter()) {
97
+ for (const v of message.EventTypeIds) {
98
+ writer.uint32(10).string(v);
99
+ }
100
+ if (message.Dimensions !== 0) {
101
+ writer.uint32(16).uint32(message.Dimensions);
102
+ }
103
+ for (const v of message.ReopenedBy) {
104
+ writer.uint32(26).string(v);
105
+ }
106
+ if (message.EventStreamIdFrom !== "") {
107
+ writer.uint32(34).string(message.EventStreamIdFrom);
108
+ }
109
+ return writer;
110
+ },
111
+ decode(input, length) {
112
+ const reader = input instanceof wire.BinaryReader ? input : new wire.BinaryReader(input);
113
+ const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
114
+ if (previousRecursionDepth >= 100) {
115
+ throw new globalThis.Error("protobuf decode recursion limit exceeded");
116
+ }
117
+ reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
118
+ try {
119
+ const end = length === undefined ? reader.len : reader.pos + length;
120
+ const message = createBaseClosesStreamConstraintDefinition();
121
+ while (reader.pos < end) {
122
+ const tag = reader.uint32();
123
+ switch (tag >>> 3) {
124
+ case 1: {
125
+ if (tag !== 10) {
126
+ break;
127
+ }
128
+ message.EventTypeIds.push(reader.string());
129
+ continue;
130
+ }
131
+ case 2: {
132
+ if (tag !== 16) {
133
+ break;
134
+ }
135
+ message.Dimensions = reader.uint32();
136
+ continue;
137
+ }
138
+ case 3: {
139
+ if (tag !== 26) {
140
+ break;
141
+ }
142
+ message.ReopenedBy.push(reader.string());
143
+ continue;
144
+ }
145
+ case 4: {
146
+ if (tag !== 34) {
147
+ break;
148
+ }
149
+ message.EventStreamIdFrom = reader.string();
150
+ continue;
151
+ }
152
+ }
153
+ if ((tag & 7) === 4 || tag === 0) {
154
+ break;
155
+ }
156
+ reader.skip(tag & 7);
157
+ }
158
+ return message;
159
+ }
160
+ finally {
161
+ reader.__tsProtoDecodeDepth = previousRecursionDepth;
162
+ }
163
+ },
164
+ fromJSON(object) {
165
+ return {
166
+ EventTypeIds: globalThis.Array.isArray(object?.EventTypeIds)
167
+ ? object.EventTypeIds.map((e) => globalThis.String(e))
168
+ : [],
169
+ Dimensions: isSet(object.Dimensions) ? globalThis.Number(object.Dimensions) : 0,
170
+ ReopenedBy: globalThis.Array.isArray(object?.ReopenedBy)
171
+ ? object.ReopenedBy.map((e) => globalThis.String(e))
172
+ : [],
173
+ EventStreamIdFrom: isSet(object.EventStreamIdFrom) ? globalThis.String(object.EventStreamIdFrom) : "",
174
+ };
175
+ },
176
+ toJSON(message) {
177
+ const obj = {};
178
+ if (message.EventTypeIds?.length) {
179
+ obj.EventTypeIds = message.EventTypeIds;
180
+ }
181
+ if (message.Dimensions !== 0) {
182
+ obj.Dimensions = Math.round(message.Dimensions);
183
+ }
184
+ if (message.ReopenedBy?.length) {
185
+ obj.ReopenedBy = message.ReopenedBy;
186
+ }
187
+ if (message.EventStreamIdFrom !== "") {
188
+ obj.EventStreamIdFrom = message.EventStreamIdFrom;
189
+ }
190
+ return obj;
191
+ },
192
+ create(base) {
193
+ return ClosesStreamConstraintDefinition.fromPartial(base ?? {});
194
+ },
195
+ fromPartial(object) {
196
+ const message = createBaseClosesStreamConstraintDefinition();
197
+ message.EventTypeIds = object.EventTypeIds?.map((e) => e) || [];
198
+ message.Dimensions = object.Dimensions ?? 0;
199
+ message.ReopenedBy = object.ReopenedBy?.map((e) => e) || [];
200
+ message.EventStreamIdFrom = object.EventStreamIdFrom ?? "";
201
+ return message;
202
+ },
203
+ };
86
204
  function createBaseConstraint() {
87
- return { Name: "", Type: 0, RemovedWith: [], Definition: undefined, Scope: undefined, EventSequences: [] };
205
+ return {
206
+ Name: "",
207
+ Type: 0,
208
+ RemovedWith: [],
209
+ Definition: undefined,
210
+ Scope: undefined,
211
+ EventSequences: [],
212
+ ClosesStream: undefined,
213
+ };
88
214
  }
89
215
  const Constraint = {
90
216
  encode(message, writer = new wire.BinaryWriter()) {
@@ -106,6 +232,9 @@ const Constraint = {
106
232
  for (const v of message.EventSequences) {
107
233
  writer.uint32(50).string(v);
108
234
  }
235
+ if (message.ClosesStream !== undefined) {
236
+ ClosesStreamConstraintDefinition.encode(message.ClosesStream, writer.uint32(58).fork()).join();
237
+ }
109
238
  return writer;
110
239
  },
111
240
  decode(input, length) {
@@ -163,6 +292,13 @@ const Constraint = {
163
292
  message.EventSequences.push(reader.string());
164
293
  continue;
165
294
  }
295
+ case 7: {
296
+ if (tag !== 58) {
297
+ break;
298
+ }
299
+ message.ClosesStream = ClosesStreamConstraintDefinition.decode(reader, reader.uint32());
300
+ continue;
301
+ }
166
302
  }
167
303
  if ((tag & 7) === 4 || tag === 0) {
168
304
  break;
@@ -189,6 +325,9 @@ const Constraint = {
189
325
  EventSequences: globalThis.Array.isArray(object?.EventSequences)
190
326
  ? object.EventSequences.map((e) => globalThis.String(e))
191
327
  : [],
328
+ ClosesStream: isSet(object.ClosesStream)
329
+ ? ClosesStreamConstraintDefinition.fromJSON(object.ClosesStream)
330
+ : undefined,
192
331
  };
193
332
  },
194
333
  toJSON(message) {
@@ -211,6 +350,9 @@ const Constraint = {
211
350
  if (message.EventSequences?.length) {
212
351
  obj.EventSequences = message.EventSequences;
213
352
  }
353
+ if (message.ClosesStream !== undefined) {
354
+ obj.ClosesStream = ClosesStreamConstraintDefinition.toJSON(message.ClosesStream);
355
+ }
214
356
  return obj;
215
357
  },
216
358
  create(base) {
@@ -228,6 +370,9 @@ const Constraint = {
228
370
  ? ConstraintScope.fromPartial(object.Scope)
229
371
  : undefined;
230
372
  message.EventSequences = object.EventSequences?.map((e) => e) || [];
373
+ message.ClosesStream = (object.ClosesStream !== undefined && object.ClosesStream !== null)
374
+ ? ClosesStreamConstraintDefinition.fromPartial(object.ClosesStream)
375
+ : undefined;
231
376
  return message;
232
377
  },
233
378
  };
@@ -763,6 +908,7 @@ function isSet(value) {
763
908
  return value !== null && value !== undefined;
764
909
  }
765
910
 
911
+ exports.ClosesStreamConstraintDefinition = ClosesStreamConstraintDefinition;
766
912
  exports.Constraint = Constraint;
767
913
  exports.ConstraintScope = ConstraintScope;
768
914
  exports.ConstraintsDefinition = ConstraintsDefinition;
@@ -1 +1 @@
1
- {"version":3,"file":"events_constraints.js","sources":["../../../generated/events_constraints.ts"],"sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.13.0\n// protoc v5.28.3\n// source: events_constraints.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport type { CallContext, CallOptions } from \"nice-grpc-common\";\nimport { Empty } from \"./google/protobuf/empty\";\n\nexport const protobufPackage = \"Cratis.Chronicle.Contracts.Events.Constraints\";\n\nexport enum ConstraintType {\n Unknown = 0,\n Unique = 1,\n UniqueEventType = 2,\n Schema = 3,\n StreamClosed = 4,\n UNRECOGNIZED = -1,\n}\n\nexport function constraintTypeFromJSON(object: any): ConstraintType {\n switch (object) {\n case 0:\n case \"Unknown\":\n return ConstraintType.Unknown;\n case 1:\n case \"Unique\":\n return ConstraintType.Unique;\n case 2:\n case \"UniqueEventType\":\n return ConstraintType.UniqueEventType;\n case 3:\n case \"Schema\":\n return ConstraintType.Schema;\n case 4:\n case \"StreamClosed\":\n return ConstraintType.StreamClosed;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return ConstraintType.UNRECOGNIZED;\n }\n}\n\nexport function constraintTypeToJSON(object: ConstraintType): string {\n switch (object) {\n case ConstraintType.Unknown:\n return \"Unknown\";\n case ConstraintType.Unique:\n return \"Unique\";\n case ConstraintType.UniqueEventType:\n return \"UniqueEventType\";\n case ConstraintType.Schema:\n return \"Schema\";\n case ConstraintType.StreamClosed:\n return \"StreamClosed\";\n case ConstraintType.UNRECOGNIZED:\n default:\n return \"UNRECOGNIZED\";\n }\n}\n\nexport enum UniqueConstraintMode {\n PerEventSource = 0,\n PerValue = 1,\n UNRECOGNIZED = -1,\n}\n\nexport function uniqueConstraintModeFromJSON(object: any): UniqueConstraintMode {\n switch (object) {\n case 0:\n case \"PerEventSource\":\n return UniqueConstraintMode.PerEventSource;\n case 1:\n case \"PerValue\":\n return UniqueConstraintMode.PerValue;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return UniqueConstraintMode.UNRECOGNIZED;\n }\n}\n\nexport function uniqueConstraintModeToJSON(object: UniqueConstraintMode): string {\n switch (object) {\n case UniqueConstraintMode.PerEventSource:\n return \"PerEventSource\";\n case UniqueConstraintMode.PerValue:\n return \"PerValue\";\n case UniqueConstraintMode.UNRECOGNIZED:\n default:\n return \"UNRECOGNIZED\";\n }\n}\n\nexport interface Constraint {\n Name: string;\n Type: ConstraintType;\n RemovedWith: string[];\n Definition: OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition | undefined;\n Scope: ConstraintScope | undefined;\n EventSequences: string[];\n}\n\nexport interface ConstraintScope {\n EventSourceType: string;\n EventStreamType: string;\n EventStreamId: string;\n}\n\nexport interface OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition {\n Value0: UniqueConstraintDefinition | undefined;\n Value1: UniqueEventTypeConstraintDefinition | undefined;\n}\n\nexport interface RegisterConstraintsRequest {\n EventStore: string;\n Constraints: Constraint[];\n}\n\nexport interface UniqueConstraintDefinition {\n EventDefinitions: UniqueConstraintEventDefinition[];\n IgnoreCasing: boolean;\n Mode: UniqueConstraintMode;\n RemovalEventDefinitions: UniqueConstraintEventDefinition[];\n}\n\nexport interface UniqueConstraintEventDefinition {\n EventTypeId: string;\n Properties: string[];\n}\n\nexport interface UniqueEventTypeConstraintDefinition {\n EventTypeIds: string[];\n}\n\nfunction createBaseConstraint(): Constraint {\n return { Name: \"\", Type: 0, RemovedWith: [], Definition: undefined, Scope: undefined, EventSequences: [] };\n}\n\nexport const Constraint: MessageFns<Constraint> = {\n encode(message: Constraint, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.Name !== \"\") {\n writer.uint32(10).string(message.Name);\n }\n if (message.Type !== 0) {\n writer.uint32(16).int32(message.Type);\n }\n for (const v of message.RemovedWith) {\n writer.uint32(26).string(v!);\n }\n if (message.Definition !== undefined) {\n OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition.encode(\n message.Definition,\n writer.uint32(34).fork(),\n ).join();\n }\n if (message.Scope !== undefined) {\n ConstraintScope.encode(message.Scope, writer.uint32(42).fork()).join();\n }\n for (const v of message.EventSequences) {\n writer.uint32(50).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): Constraint {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseConstraint();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.Name = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.Type = reader.int32() as any;\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.RemovedWith.push(reader.string());\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.Definition = OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition.decode(\n reader,\n reader.uint32(),\n );\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.Scope = ConstraintScope.decode(reader, reader.uint32());\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.EventSequences.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): Constraint {\n return {\n Name: isSet(object.Name) ? globalThis.String(object.Name) : \"\",\n Type: isSet(object.Type) ? constraintTypeFromJSON(object.Type) : 0,\n RemovedWith: globalThis.Array.isArray(object?.RemovedWith)\n ? object.RemovedWith.map((e: any) => globalThis.String(e))\n : [],\n Definition: isSet(object.Definition)\n ? OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition.fromJSON(object.Definition)\n : undefined,\n Scope: isSet(object.Scope) ? ConstraintScope.fromJSON(object.Scope) : undefined,\n EventSequences: globalThis.Array.isArray(object?.EventSequences)\n ? object.EventSequences.map((e: any) => globalThis.String(e))\n : [],\n };\n },\n\n toJSON(message: Constraint): unknown {\n const obj: any = {};\n if (message.Name !== \"\") {\n obj.Name = message.Name;\n }\n if (message.Type !== 0) {\n obj.Type = constraintTypeToJSON(message.Type);\n }\n if (message.RemovedWith?.length) {\n obj.RemovedWith = message.RemovedWith;\n }\n if (message.Definition !== undefined) {\n obj.Definition = OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition.toJSON(message.Definition);\n }\n if (message.Scope !== undefined) {\n obj.Scope = ConstraintScope.toJSON(message.Scope);\n }\n if (message.EventSequences?.length) {\n obj.EventSequences = message.EventSequences;\n }\n return obj;\n },\n\n create(base?: DeepPartial<Constraint>): Constraint {\n return Constraint.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<Constraint>): Constraint {\n const message = createBaseConstraint();\n message.Name = object.Name ?? \"\";\n message.Type = object.Type ?? 0;\n message.RemovedWith = object.RemovedWith?.map((e) => e) || [];\n message.Definition = (object.Definition !== undefined && object.Definition !== null)\n ? OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition.fromPartial(object.Definition)\n : undefined;\n message.Scope = (object.Scope !== undefined && object.Scope !== null)\n ? ConstraintScope.fromPartial(object.Scope)\n : undefined;\n message.EventSequences = object.EventSequences?.map((e) => e) || [];\n return message;\n },\n};\n\nfunction createBaseConstraintScope(): ConstraintScope {\n return { EventSourceType: \"\", EventStreamType: \"\", EventStreamId: \"\" };\n}\n\nexport const ConstraintScope: MessageFns<ConstraintScope> = {\n encode(message: ConstraintScope, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.EventSourceType !== \"\") {\n writer.uint32(10).string(message.EventSourceType);\n }\n if (message.EventStreamType !== \"\") {\n writer.uint32(18).string(message.EventStreamType);\n }\n if (message.EventStreamId !== \"\") {\n writer.uint32(26).string(message.EventStreamId);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ConstraintScope {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseConstraintScope();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.EventSourceType = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.EventStreamType = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.EventStreamId = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): ConstraintScope {\n return {\n EventSourceType: isSet(object.EventSourceType) ? globalThis.String(object.EventSourceType) : \"\",\n EventStreamType: isSet(object.EventStreamType) ? globalThis.String(object.EventStreamType) : \"\",\n EventStreamId: isSet(object.EventStreamId) ? globalThis.String(object.EventStreamId) : \"\",\n };\n },\n\n toJSON(message: ConstraintScope): unknown {\n const obj: any = {};\n if (message.EventSourceType !== \"\") {\n obj.EventSourceType = message.EventSourceType;\n }\n if (message.EventStreamType !== \"\") {\n obj.EventStreamType = message.EventStreamType;\n }\n if (message.EventStreamId !== \"\") {\n obj.EventStreamId = message.EventStreamId;\n }\n return obj;\n },\n\n create(base?: DeepPartial<ConstraintScope>): ConstraintScope {\n return ConstraintScope.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<ConstraintScope>): ConstraintScope {\n const message = createBaseConstraintScope();\n message.EventSourceType = object.EventSourceType ?? \"\";\n message.EventStreamType = object.EventStreamType ?? \"\";\n message.EventStreamId = object.EventStreamId ?? \"\";\n return message;\n },\n};\n\nfunction createBaseOneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition(): OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition {\n return { Value0: undefined, Value1: undefined };\n}\n\nexport const OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition: MessageFns<\n OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition\n> = {\n encode(\n message: OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition,\n writer: BinaryWriter = new BinaryWriter(),\n ): BinaryWriter {\n if (message.Value0 !== undefined) {\n UniqueConstraintDefinition.encode(message.Value0, writer.uint32(10).fork()).join();\n }\n if (message.Value1 !== undefined) {\n UniqueEventTypeConstraintDefinition.encode(message.Value1, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(\n input: BinaryReader | Uint8Array,\n length?: number,\n ): OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseOneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.Value0 = UniqueConstraintDefinition.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.Value1 = UniqueEventTypeConstraintDefinition.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition {\n return {\n Value0: isSet(object.Value0) ? UniqueConstraintDefinition.fromJSON(object.Value0) : undefined,\n Value1: isSet(object.Value1) ? UniqueEventTypeConstraintDefinition.fromJSON(object.Value1) : undefined,\n };\n },\n\n toJSON(message: OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition): unknown {\n const obj: any = {};\n if (message.Value0 !== undefined) {\n obj.Value0 = UniqueConstraintDefinition.toJSON(message.Value0);\n }\n if (message.Value1 !== undefined) {\n obj.Value1 = UniqueEventTypeConstraintDefinition.toJSON(message.Value1);\n }\n return obj;\n },\n\n create(\n base?: DeepPartial<OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition>,\n ): OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition {\n return OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition.fromPartial(base ?? {});\n },\n fromPartial(\n object: DeepPartial<OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition>,\n ): OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition {\n const message = createBaseOneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition();\n message.Value0 = (object.Value0 !== undefined && object.Value0 !== null)\n ? UniqueConstraintDefinition.fromPartial(object.Value0)\n : undefined;\n message.Value1 = (object.Value1 !== undefined && object.Value1 !== null)\n ? UniqueEventTypeConstraintDefinition.fromPartial(object.Value1)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseRegisterConstraintsRequest(): RegisterConstraintsRequest {\n return { EventStore: \"\", Constraints: [] };\n}\n\nexport const RegisterConstraintsRequest: MessageFns<RegisterConstraintsRequest> = {\n encode(message: RegisterConstraintsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.EventStore !== \"\") {\n writer.uint32(10).string(message.EventStore);\n }\n for (const v of message.Constraints) {\n Constraint.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): RegisterConstraintsRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseRegisterConstraintsRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.EventStore = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.Constraints.push(Constraint.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): RegisterConstraintsRequest {\n return {\n EventStore: isSet(object.EventStore) ? globalThis.String(object.EventStore) : \"\",\n Constraints: globalThis.Array.isArray(object?.Constraints)\n ? object.Constraints.map((e: any) => Constraint.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: RegisterConstraintsRequest): unknown {\n const obj: any = {};\n if (message.EventStore !== \"\") {\n obj.EventStore = message.EventStore;\n }\n if (message.Constraints?.length) {\n obj.Constraints = message.Constraints.map((e) => Constraint.toJSON(e));\n }\n return obj;\n },\n\n create(base?: DeepPartial<RegisterConstraintsRequest>): RegisterConstraintsRequest {\n return RegisterConstraintsRequest.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<RegisterConstraintsRequest>): RegisterConstraintsRequest {\n const message = createBaseRegisterConstraintsRequest();\n message.EventStore = object.EventStore ?? \"\";\n message.Constraints = object.Constraints?.map((e) => Constraint.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseUniqueConstraintDefinition(): UniqueConstraintDefinition {\n return { EventDefinitions: [], IgnoreCasing: false, Mode: 0, RemovalEventDefinitions: [] };\n}\n\nexport const UniqueConstraintDefinition: MessageFns<UniqueConstraintDefinition> = {\n encode(message: UniqueConstraintDefinition, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.EventDefinitions) {\n UniqueConstraintEventDefinition.encode(v!, writer.uint32(10).fork()).join();\n }\n if (message.IgnoreCasing !== false) {\n writer.uint32(16).bool(message.IgnoreCasing);\n }\n if (message.Mode !== 0) {\n writer.uint32(24).int32(message.Mode);\n }\n for (const v of message.RemovalEventDefinitions) {\n UniqueConstraintEventDefinition.encode(v!, writer.uint32(34).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): UniqueConstraintDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUniqueConstraintDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.EventDefinitions.push(UniqueConstraintEventDefinition.decode(reader, reader.uint32()));\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.IgnoreCasing = reader.bool();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.Mode = reader.int32() as any;\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.RemovalEventDefinitions.push(UniqueConstraintEventDefinition.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): UniqueConstraintDefinition {\n return {\n EventDefinitions: globalThis.Array.isArray(object?.EventDefinitions)\n ? object.EventDefinitions.map((e: any) => UniqueConstraintEventDefinition.fromJSON(e))\n : [],\n IgnoreCasing: isSet(object.IgnoreCasing) ? globalThis.Boolean(object.IgnoreCasing) : false,\n Mode: isSet(object.Mode) ? uniqueConstraintModeFromJSON(object.Mode) : 0,\n RemovalEventDefinitions: globalThis.Array.isArray(object?.RemovalEventDefinitions)\n ? object.RemovalEventDefinitions.map((e: any) => UniqueConstraintEventDefinition.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: UniqueConstraintDefinition): unknown {\n const obj: any = {};\n if (message.EventDefinitions?.length) {\n obj.EventDefinitions = message.EventDefinitions.map((e) => UniqueConstraintEventDefinition.toJSON(e));\n }\n if (message.IgnoreCasing !== false) {\n obj.IgnoreCasing = message.IgnoreCasing;\n }\n if (message.Mode !== 0) {\n obj.Mode = uniqueConstraintModeToJSON(message.Mode);\n }\n if (message.RemovalEventDefinitions?.length) {\n obj.RemovalEventDefinitions = message.RemovalEventDefinitions.map((e) =>\n UniqueConstraintEventDefinition.toJSON(e)\n );\n }\n return obj;\n },\n\n create(base?: DeepPartial<UniqueConstraintDefinition>): UniqueConstraintDefinition {\n return UniqueConstraintDefinition.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<UniqueConstraintDefinition>): UniqueConstraintDefinition {\n const message = createBaseUniqueConstraintDefinition();\n message.EventDefinitions = object.EventDefinitions?.map((e) => UniqueConstraintEventDefinition.fromPartial(e)) ||\n [];\n message.IgnoreCasing = object.IgnoreCasing ?? false;\n message.Mode = object.Mode ?? 0;\n message.RemovalEventDefinitions =\n object.RemovalEventDefinitions?.map((e) => UniqueConstraintEventDefinition.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseUniqueConstraintEventDefinition(): UniqueConstraintEventDefinition {\n return { EventTypeId: \"\", Properties: [] };\n}\n\nexport const UniqueConstraintEventDefinition: MessageFns<UniqueConstraintEventDefinition> = {\n encode(message: UniqueConstraintEventDefinition, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.EventTypeId !== \"\") {\n writer.uint32(10).string(message.EventTypeId);\n }\n for (const v of message.Properties) {\n writer.uint32(18).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): UniqueConstraintEventDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUniqueConstraintEventDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.EventTypeId = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.Properties.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): UniqueConstraintEventDefinition {\n return {\n EventTypeId: isSet(object.EventTypeId) ? globalThis.String(object.EventTypeId) : \"\",\n Properties: globalThis.Array.isArray(object?.Properties)\n ? object.Properties.map((e: any) => globalThis.String(e))\n : [],\n };\n },\n\n toJSON(message: UniqueConstraintEventDefinition): unknown {\n const obj: any = {};\n if (message.EventTypeId !== \"\") {\n obj.EventTypeId = message.EventTypeId;\n }\n if (message.Properties?.length) {\n obj.Properties = message.Properties;\n }\n return obj;\n },\n\n create(base?: DeepPartial<UniqueConstraintEventDefinition>): UniqueConstraintEventDefinition {\n return UniqueConstraintEventDefinition.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<UniqueConstraintEventDefinition>): UniqueConstraintEventDefinition {\n const message = createBaseUniqueConstraintEventDefinition();\n message.EventTypeId = object.EventTypeId ?? \"\";\n message.Properties = object.Properties?.map((e) => e) || [];\n return message;\n },\n};\n\nfunction createBaseUniqueEventTypeConstraintDefinition(): UniqueEventTypeConstraintDefinition {\n return { EventTypeIds: [] };\n}\n\nexport const UniqueEventTypeConstraintDefinition: MessageFns<UniqueEventTypeConstraintDefinition> = {\n encode(message: UniqueEventTypeConstraintDefinition, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.EventTypeIds) {\n writer.uint32(18).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): UniqueEventTypeConstraintDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUniqueEventTypeConstraintDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.EventTypeIds.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): UniqueEventTypeConstraintDefinition {\n return {\n EventTypeIds: globalThis.Array.isArray(object?.EventTypeIds)\n ? object.EventTypeIds.map((e: any) => globalThis.String(e))\n : [],\n };\n },\n\n toJSON(message: UniqueEventTypeConstraintDefinition): unknown {\n const obj: any = {};\n if (message.EventTypeIds?.length) {\n obj.EventTypeIds = message.EventTypeIds;\n }\n return obj;\n },\n\n create(base?: DeepPartial<UniqueEventTypeConstraintDefinition>): UniqueEventTypeConstraintDefinition {\n return UniqueEventTypeConstraintDefinition.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<UniqueEventTypeConstraintDefinition>): UniqueEventTypeConstraintDefinition {\n const message = createBaseUniqueEventTypeConstraintDefinition();\n message.EventTypeIds = object.EventTypeIds?.map((e) => e) || [];\n return message;\n },\n};\n\nexport type ConstraintsDefinition = typeof ConstraintsDefinition;\nexport const ConstraintsDefinition = {\n name: \"Constraints\",\n fullName: \"Cratis.Chronicle.Contracts.Events.Constraints.Constraints\",\n methods: {\n register: {\n name: \"Register\",\n requestType: RegisterConstraintsRequest as typeof RegisterConstraintsRequest,\n requestStream: false,\n responseType: Empty as typeof Empty,\n responseStream: false,\n options: {},\n },\n },\n} as const;\n\nexport interface ConstraintsServiceImplementation<CallContextExt = {}> {\n register(request: RegisterConstraintsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;\n}\n\nexport interface ConstraintsClient<CallOptionsExt = {}> {\n register(request: DeepPartial<RegisterConstraintsRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\nexport type DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],"names":["ConstraintType","UniqueConstraintMode","BinaryWriter","BinaryReader","Empty"],"mappings":";;;;;AAaYA;AAAZ,CAAA,UAAY,cAAc,EAAA;AACxB,IAAA,cAAA,CAAA,cAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW;AACX,IAAA,cAAA,CAAA,cAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAU;AACV,IAAA,cAAA,CAAA,cAAA,CAAA,iBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,iBAAmB;AACnB,IAAA,cAAA,CAAA,cAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAU;AACV,IAAA,cAAA,CAAA,cAAA,CAAA,cAAA,CAAA,GAAA,CAAA,CAAA,GAAA,cAAgB;AAChB,IAAA,cAAA,CAAA,cAAA,CAAA,cAAA,CAAA,GAAA,EAAA,CAAA,GAAA,cAAiB;AACnB,CAAC,EAPWA,sBAAc,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ent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.13.0\n// protoc v5.28.3\n// source: events_constraints.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport type { CallContext, CallOptions } from \"nice-grpc-common\";\nimport { Empty } from \"./google/protobuf/empty\";\n\nexport const protobufPackage = \"Cratis.Chronicle.Contracts.Events.Constraints\";\n\nexport enum ConstraintType {\n Unknown = 0,\n Unique = 1,\n UniqueEventType = 2,\n Schema = 3,\n StreamClosed = 4,\n ClosesStream = 5,\n UNRECOGNIZED = -1,\n}\n\nexport function constraintTypeFromJSON(object: any): ConstraintType {\n switch (object) {\n case 0:\n case \"Unknown\":\n return ConstraintType.Unknown;\n case 1:\n case \"Unique\":\n return ConstraintType.Unique;\n case 2:\n case \"UniqueEventType\":\n return ConstraintType.UniqueEventType;\n case 3:\n case \"Schema\":\n return ConstraintType.Schema;\n case 4:\n case \"StreamClosed\":\n return ConstraintType.StreamClosed;\n case 5:\n case \"ClosesStream\":\n return ConstraintType.ClosesStream;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return ConstraintType.UNRECOGNIZED;\n }\n}\n\nexport function constraintTypeToJSON(object: ConstraintType): string {\n switch (object) {\n case ConstraintType.Unknown:\n return \"Unknown\";\n case ConstraintType.Unique:\n return \"Unique\";\n case ConstraintType.UniqueEventType:\n return \"UniqueEventType\";\n case ConstraintType.Schema:\n return \"Schema\";\n case ConstraintType.StreamClosed:\n return \"StreamClosed\";\n case ConstraintType.ClosesStream:\n return \"ClosesStream\";\n case ConstraintType.UNRECOGNIZED:\n default:\n return \"UNRECOGNIZED\";\n }\n}\n\nexport enum UniqueConstraintMode {\n PerEventSource = 0,\n PerValue = 1,\n UNRECOGNIZED = -1,\n}\n\nexport function uniqueConstraintModeFromJSON(object: any): UniqueConstraintMode {\n switch (object) {\n case 0:\n case \"PerEventSource\":\n return UniqueConstraintMode.PerEventSource;\n case 1:\n case \"PerValue\":\n return UniqueConstraintMode.PerValue;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return UniqueConstraintMode.UNRECOGNIZED;\n }\n}\n\nexport function uniqueConstraintModeToJSON(object: UniqueConstraintMode): string {\n switch (object) {\n case UniqueConstraintMode.PerEventSource:\n return \"PerEventSource\";\n case UniqueConstraintMode.PerValue:\n return \"PerValue\";\n case UniqueConstraintMode.UNRECOGNIZED:\n default:\n return \"UNRECOGNIZED\";\n }\n}\n\nexport interface ClosesStreamConstraintDefinition {\n EventTypeIds: string[];\n Dimensions: number;\n ReopenedBy: string[];\n EventStreamIdFrom: string;\n}\n\nexport interface Constraint {\n Name: string;\n Type: ConstraintType;\n RemovedWith: string[];\n Definition: OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition | undefined;\n Scope: ConstraintScope | undefined;\n EventSequences: string[];\n ClosesStream: ClosesStreamConstraintDefinition | undefined;\n}\n\nexport interface ConstraintScope {\n EventSourceType: string;\n EventStreamType: string;\n EventStreamId: string;\n}\n\nexport interface OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition {\n Value0: UniqueConstraintDefinition | undefined;\n Value1: UniqueEventTypeConstraintDefinition | undefined;\n}\n\nexport interface RegisterConstraintsRequest {\n EventStore: string;\n Constraints: Constraint[];\n}\n\nexport interface UniqueConstraintDefinition {\n EventDefinitions: UniqueConstraintEventDefinition[];\n IgnoreCasing: boolean;\n Mode: UniqueConstraintMode;\n RemovalEventDefinitions: UniqueConstraintEventDefinition[];\n}\n\nexport interface UniqueConstraintEventDefinition {\n EventTypeId: string;\n Properties: string[];\n}\n\nexport interface UniqueEventTypeConstraintDefinition {\n EventTypeIds: string[];\n}\n\nfunction createBaseClosesStreamConstraintDefinition(): ClosesStreamConstraintDefinition {\n return { EventTypeIds: [], Dimensions: 0, ReopenedBy: [], EventStreamIdFrom: \"\" };\n}\n\nexport const ClosesStreamConstraintDefinition: MessageFns<ClosesStreamConstraintDefinition> = {\n encode(message: ClosesStreamConstraintDefinition, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.EventTypeIds) {\n writer.uint32(10).string(v!);\n }\n if (message.Dimensions !== 0) {\n writer.uint32(16).uint32(message.Dimensions);\n }\n for (const v of message.ReopenedBy) {\n writer.uint32(26).string(v!);\n }\n if (message.EventStreamIdFrom !== \"\") {\n writer.uint32(34).string(message.EventStreamIdFrom);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ClosesStreamConstraintDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseClosesStreamConstraintDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.EventTypeIds.push(reader.string());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.Dimensions = reader.uint32();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.ReopenedBy.push(reader.string());\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.EventStreamIdFrom = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): ClosesStreamConstraintDefinition {\n return {\n EventTypeIds: globalThis.Array.isArray(object?.EventTypeIds)\n ? object.EventTypeIds.map((e: any) => globalThis.String(e))\n : [],\n Dimensions: isSet(object.Dimensions) ? globalThis.Number(object.Dimensions) : 0,\n ReopenedBy: globalThis.Array.isArray(object?.ReopenedBy)\n ? object.ReopenedBy.map((e: any) => globalThis.String(e))\n : [],\n EventStreamIdFrom: isSet(object.EventStreamIdFrom) ? globalThis.String(object.EventStreamIdFrom) : \"\",\n };\n },\n\n toJSON(message: ClosesStreamConstraintDefinition): unknown {\n const obj: any = {};\n if (message.EventTypeIds?.length) {\n obj.EventTypeIds = message.EventTypeIds;\n }\n if (message.Dimensions !== 0) {\n obj.Dimensions = Math.round(message.Dimensions);\n }\n if (message.ReopenedBy?.length) {\n obj.ReopenedBy = message.ReopenedBy;\n }\n if (message.EventStreamIdFrom !== \"\") {\n obj.EventStreamIdFrom = message.EventStreamIdFrom;\n }\n return obj;\n },\n\n create(base?: DeepPartial<ClosesStreamConstraintDefinition>): ClosesStreamConstraintDefinition {\n return ClosesStreamConstraintDefinition.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<ClosesStreamConstraintDefinition>): ClosesStreamConstraintDefinition {\n const message = createBaseClosesStreamConstraintDefinition();\n message.EventTypeIds = object.EventTypeIds?.map((e) => e) || [];\n message.Dimensions = object.Dimensions ?? 0;\n message.ReopenedBy = object.ReopenedBy?.map((e) => e) || [];\n message.EventStreamIdFrom = object.EventStreamIdFrom ?? \"\";\n return message;\n },\n};\n\nfunction createBaseConstraint(): Constraint {\n return {\n Name: \"\",\n Type: 0,\n RemovedWith: [],\n Definition: undefined,\n Scope: undefined,\n EventSequences: [],\n ClosesStream: undefined,\n };\n}\n\nexport const Constraint: MessageFns<Constraint> = {\n encode(message: Constraint, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.Name !== \"\") {\n writer.uint32(10).string(message.Name);\n }\n if (message.Type !== 0) {\n writer.uint32(16).int32(message.Type);\n }\n for (const v of message.RemovedWith) {\n writer.uint32(26).string(v!);\n }\n if (message.Definition !== undefined) {\n OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition.encode(\n message.Definition,\n writer.uint32(34).fork(),\n ).join();\n }\n if (message.Scope !== undefined) {\n ConstraintScope.encode(message.Scope, writer.uint32(42).fork()).join();\n }\n for (const v of message.EventSequences) {\n writer.uint32(50).string(v!);\n }\n if (message.ClosesStream !== undefined) {\n ClosesStreamConstraintDefinition.encode(message.ClosesStream, writer.uint32(58).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): Constraint {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseConstraint();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.Name = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.Type = reader.int32() as any;\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.RemovedWith.push(reader.string());\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.Definition = OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition.decode(\n reader,\n reader.uint32(),\n );\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.Scope = ConstraintScope.decode(reader, reader.uint32());\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.EventSequences.push(reader.string());\n continue;\n }\n case 7: {\n if (tag !== 58) {\n break;\n }\n\n message.ClosesStream = ClosesStreamConstraintDefinition.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): Constraint {\n return {\n Name: isSet(object.Name) ? globalThis.String(object.Name) : \"\",\n Type: isSet(object.Type) ? constraintTypeFromJSON(object.Type) : 0,\n RemovedWith: globalThis.Array.isArray(object?.RemovedWith)\n ? object.RemovedWith.map((e: any) => globalThis.String(e))\n : [],\n Definition: isSet(object.Definition)\n ? OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition.fromJSON(object.Definition)\n : undefined,\n Scope: isSet(object.Scope) ? ConstraintScope.fromJSON(object.Scope) : undefined,\n EventSequences: globalThis.Array.isArray(object?.EventSequences)\n ? object.EventSequences.map((e: any) => globalThis.String(e))\n : [],\n ClosesStream: isSet(object.ClosesStream)\n ? ClosesStreamConstraintDefinition.fromJSON(object.ClosesStream)\n : undefined,\n };\n },\n\n toJSON(message: Constraint): unknown {\n const obj: any = {};\n if (message.Name !== \"\") {\n obj.Name = message.Name;\n }\n if (message.Type !== 0) {\n obj.Type = constraintTypeToJSON(message.Type);\n }\n if (message.RemovedWith?.length) {\n obj.RemovedWith = message.RemovedWith;\n }\n if (message.Definition !== undefined) {\n obj.Definition = OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition.toJSON(message.Definition);\n }\n if (message.Scope !== undefined) {\n obj.Scope = ConstraintScope.toJSON(message.Scope);\n }\n if (message.EventSequences?.length) {\n obj.EventSequences = message.EventSequences;\n }\n if (message.ClosesStream !== undefined) {\n obj.ClosesStream = ClosesStreamConstraintDefinition.toJSON(message.ClosesStream);\n }\n return obj;\n },\n\n create(base?: DeepPartial<Constraint>): Constraint {\n return Constraint.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<Constraint>): Constraint {\n const message = createBaseConstraint();\n message.Name = object.Name ?? \"\";\n message.Type = object.Type ?? 0;\n message.RemovedWith = object.RemovedWith?.map((e) => e) || [];\n message.Definition = (object.Definition !== undefined && object.Definition !== null)\n ? OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition.fromPartial(object.Definition)\n : undefined;\n message.Scope = (object.Scope !== undefined && object.Scope !== null)\n ? ConstraintScope.fromPartial(object.Scope)\n : undefined;\n message.EventSequences = object.EventSequences?.map((e) => e) || [];\n message.ClosesStream = (object.ClosesStream !== undefined && object.ClosesStream !== null)\n ? ClosesStreamConstraintDefinition.fromPartial(object.ClosesStream)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseConstraintScope(): ConstraintScope {\n return { EventSourceType: \"\", EventStreamType: \"\", EventStreamId: \"\" };\n}\n\nexport const ConstraintScope: MessageFns<ConstraintScope> = {\n encode(message: ConstraintScope, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.EventSourceType !== \"\") {\n writer.uint32(10).string(message.EventSourceType);\n }\n if (message.EventStreamType !== \"\") {\n writer.uint32(18).string(message.EventStreamType);\n }\n if (message.EventStreamId !== \"\") {\n writer.uint32(26).string(message.EventStreamId);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): ConstraintScope {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseConstraintScope();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.EventSourceType = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.EventStreamType = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.EventStreamId = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): ConstraintScope {\n return {\n EventSourceType: isSet(object.EventSourceType) ? globalThis.String(object.EventSourceType) : \"\",\n EventStreamType: isSet(object.EventStreamType) ? globalThis.String(object.EventStreamType) : \"\",\n EventStreamId: isSet(object.EventStreamId) ? globalThis.String(object.EventStreamId) : \"\",\n };\n },\n\n toJSON(message: ConstraintScope): unknown {\n const obj: any = {};\n if (message.EventSourceType !== \"\") {\n obj.EventSourceType = message.EventSourceType;\n }\n if (message.EventStreamType !== \"\") {\n obj.EventStreamType = message.EventStreamType;\n }\n if (message.EventStreamId !== \"\") {\n obj.EventStreamId = message.EventStreamId;\n }\n return obj;\n },\n\n create(base?: DeepPartial<ConstraintScope>): ConstraintScope {\n return ConstraintScope.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<ConstraintScope>): ConstraintScope {\n const message = createBaseConstraintScope();\n message.EventSourceType = object.EventSourceType ?? \"\";\n message.EventStreamType = object.EventStreamType ?? \"\";\n message.EventStreamId = object.EventStreamId ?? \"\";\n return message;\n },\n};\n\nfunction createBaseOneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition(): OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition {\n return { Value0: undefined, Value1: undefined };\n}\n\nexport const OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition: MessageFns<\n OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition\n> = {\n encode(\n message: OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition,\n writer: BinaryWriter = new BinaryWriter(),\n ): BinaryWriter {\n if (message.Value0 !== undefined) {\n UniqueConstraintDefinition.encode(message.Value0, writer.uint32(10).fork()).join();\n }\n if (message.Value1 !== undefined) {\n UniqueEventTypeConstraintDefinition.encode(message.Value1, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(\n input: BinaryReader | Uint8Array,\n length?: number,\n ): OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseOneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.Value0 = UniqueConstraintDefinition.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.Value1 = UniqueEventTypeConstraintDefinition.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition {\n return {\n Value0: isSet(object.Value0) ? UniqueConstraintDefinition.fromJSON(object.Value0) : undefined,\n Value1: isSet(object.Value1) ? UniqueEventTypeConstraintDefinition.fromJSON(object.Value1) : undefined,\n };\n },\n\n toJSON(message: OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition): unknown {\n const obj: any = {};\n if (message.Value0 !== undefined) {\n obj.Value0 = UniqueConstraintDefinition.toJSON(message.Value0);\n }\n if (message.Value1 !== undefined) {\n obj.Value1 = UniqueEventTypeConstraintDefinition.toJSON(message.Value1);\n }\n return obj;\n },\n\n create(\n base?: DeepPartial<OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition>,\n ): OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition {\n return OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition.fromPartial(base ?? {});\n },\n fromPartial(\n object: DeepPartial<OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition>,\n ): OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition {\n const message = createBaseOneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition();\n message.Value0 = (object.Value0 !== undefined && object.Value0 !== null)\n ? UniqueConstraintDefinition.fromPartial(object.Value0)\n : undefined;\n message.Value1 = (object.Value1 !== undefined && object.Value1 !== null)\n ? UniqueEventTypeConstraintDefinition.fromPartial(object.Value1)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseRegisterConstraintsRequest(): RegisterConstraintsRequest {\n return { EventStore: \"\", Constraints: [] };\n}\n\nexport const RegisterConstraintsRequest: MessageFns<RegisterConstraintsRequest> = {\n encode(message: RegisterConstraintsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.EventStore !== \"\") {\n writer.uint32(10).string(message.EventStore);\n }\n for (const v of message.Constraints) {\n Constraint.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): RegisterConstraintsRequest {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseRegisterConstraintsRequest();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.EventStore = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.Constraints.push(Constraint.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): RegisterConstraintsRequest {\n return {\n EventStore: isSet(object.EventStore) ? globalThis.String(object.EventStore) : \"\",\n Constraints: globalThis.Array.isArray(object?.Constraints)\n ? object.Constraints.map((e: any) => Constraint.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: RegisterConstraintsRequest): unknown {\n const obj: any = {};\n if (message.EventStore !== \"\") {\n obj.EventStore = message.EventStore;\n }\n if (message.Constraints?.length) {\n obj.Constraints = message.Constraints.map((e) => Constraint.toJSON(e));\n }\n return obj;\n },\n\n create(base?: DeepPartial<RegisterConstraintsRequest>): RegisterConstraintsRequest {\n return RegisterConstraintsRequest.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<RegisterConstraintsRequest>): RegisterConstraintsRequest {\n const message = createBaseRegisterConstraintsRequest();\n message.EventStore = object.EventStore ?? \"\";\n message.Constraints = object.Constraints?.map((e) => Constraint.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseUniqueConstraintDefinition(): UniqueConstraintDefinition {\n return { EventDefinitions: [], IgnoreCasing: false, Mode: 0, RemovalEventDefinitions: [] };\n}\n\nexport const UniqueConstraintDefinition: MessageFns<UniqueConstraintDefinition> = {\n encode(message: UniqueConstraintDefinition, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.EventDefinitions) {\n UniqueConstraintEventDefinition.encode(v!, writer.uint32(10).fork()).join();\n }\n if (message.IgnoreCasing !== false) {\n writer.uint32(16).bool(message.IgnoreCasing);\n }\n if (message.Mode !== 0) {\n writer.uint32(24).int32(message.Mode);\n }\n for (const v of message.RemovalEventDefinitions) {\n UniqueConstraintEventDefinition.encode(v!, writer.uint32(34).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): UniqueConstraintDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUniqueConstraintDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.EventDefinitions.push(UniqueConstraintEventDefinition.decode(reader, reader.uint32()));\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.IgnoreCasing = reader.bool();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.Mode = reader.int32() as any;\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.RemovalEventDefinitions.push(UniqueConstraintEventDefinition.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): UniqueConstraintDefinition {\n return {\n EventDefinitions: globalThis.Array.isArray(object?.EventDefinitions)\n ? object.EventDefinitions.map((e: any) => UniqueConstraintEventDefinition.fromJSON(e))\n : [],\n IgnoreCasing: isSet(object.IgnoreCasing) ? globalThis.Boolean(object.IgnoreCasing) : false,\n Mode: isSet(object.Mode) ? uniqueConstraintModeFromJSON(object.Mode) : 0,\n RemovalEventDefinitions: globalThis.Array.isArray(object?.RemovalEventDefinitions)\n ? object.RemovalEventDefinitions.map((e: any) => UniqueConstraintEventDefinition.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: UniqueConstraintDefinition): unknown {\n const obj: any = {};\n if (message.EventDefinitions?.length) {\n obj.EventDefinitions = message.EventDefinitions.map((e) => UniqueConstraintEventDefinition.toJSON(e));\n }\n if (message.IgnoreCasing !== false) {\n obj.IgnoreCasing = message.IgnoreCasing;\n }\n if (message.Mode !== 0) {\n obj.Mode = uniqueConstraintModeToJSON(message.Mode);\n }\n if (message.RemovalEventDefinitions?.length) {\n obj.RemovalEventDefinitions = message.RemovalEventDefinitions.map((e) =>\n UniqueConstraintEventDefinition.toJSON(e)\n );\n }\n return obj;\n },\n\n create(base?: DeepPartial<UniqueConstraintDefinition>): UniqueConstraintDefinition {\n return UniqueConstraintDefinition.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<UniqueConstraintDefinition>): UniqueConstraintDefinition {\n const message = createBaseUniqueConstraintDefinition();\n message.EventDefinitions = object.EventDefinitions?.map((e) => UniqueConstraintEventDefinition.fromPartial(e)) ||\n [];\n message.IgnoreCasing = object.IgnoreCasing ?? false;\n message.Mode = object.Mode ?? 0;\n message.RemovalEventDefinitions =\n object.RemovalEventDefinitions?.map((e) => UniqueConstraintEventDefinition.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseUniqueConstraintEventDefinition(): UniqueConstraintEventDefinition {\n return { EventTypeId: \"\", Properties: [] };\n}\n\nexport const UniqueConstraintEventDefinition: MessageFns<UniqueConstraintEventDefinition> = {\n encode(message: UniqueConstraintEventDefinition, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.EventTypeId !== \"\") {\n writer.uint32(10).string(message.EventTypeId);\n }\n for (const v of message.Properties) {\n writer.uint32(18).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): UniqueConstraintEventDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUniqueConstraintEventDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.EventTypeId = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.Properties.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): UniqueConstraintEventDefinition {\n return {\n EventTypeId: isSet(object.EventTypeId) ? globalThis.String(object.EventTypeId) : \"\",\n Properties: globalThis.Array.isArray(object?.Properties)\n ? object.Properties.map((e: any) => globalThis.String(e))\n : [],\n };\n },\n\n toJSON(message: UniqueConstraintEventDefinition): unknown {\n const obj: any = {};\n if (message.EventTypeId !== \"\") {\n obj.EventTypeId = message.EventTypeId;\n }\n if (message.Properties?.length) {\n obj.Properties = message.Properties;\n }\n return obj;\n },\n\n create(base?: DeepPartial<UniqueConstraintEventDefinition>): UniqueConstraintEventDefinition {\n return UniqueConstraintEventDefinition.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<UniqueConstraintEventDefinition>): UniqueConstraintEventDefinition {\n const message = createBaseUniqueConstraintEventDefinition();\n message.EventTypeId = object.EventTypeId ?? \"\";\n message.Properties = object.Properties?.map((e) => e) || [];\n return message;\n },\n};\n\nfunction createBaseUniqueEventTypeConstraintDefinition(): UniqueEventTypeConstraintDefinition {\n return { EventTypeIds: [] };\n}\n\nexport const UniqueEventTypeConstraintDefinition: MessageFns<UniqueEventTypeConstraintDefinition> = {\n encode(message: UniqueEventTypeConstraintDefinition, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.EventTypeIds) {\n writer.uint32(18).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): UniqueEventTypeConstraintDefinition {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;\n if (previousRecursionDepth >= 100) {\n throw new globalThis.Error(\"protobuf decode recursion limit exceeded\");\n }\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;\n try {\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUniqueEventTypeConstraintDefinition();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.EventTypeIds.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n } finally {\n (reader as any).__tsProtoDecodeDepth = previousRecursionDepth;\n }\n },\n\n fromJSON(object: any): UniqueEventTypeConstraintDefinition {\n return {\n EventTypeIds: globalThis.Array.isArray(object?.EventTypeIds)\n ? object.EventTypeIds.map((e: any) => globalThis.String(e))\n : [],\n };\n },\n\n toJSON(message: UniqueEventTypeConstraintDefinition): unknown {\n const obj: any = {};\n if (message.EventTypeIds?.length) {\n obj.EventTypeIds = message.EventTypeIds;\n }\n return obj;\n },\n\n create(base?: DeepPartial<UniqueEventTypeConstraintDefinition>): UniqueEventTypeConstraintDefinition {\n return UniqueEventTypeConstraintDefinition.fromPartial(base ?? {});\n },\n fromPartial(object: DeepPartial<UniqueEventTypeConstraintDefinition>): UniqueEventTypeConstraintDefinition {\n const message = createBaseUniqueEventTypeConstraintDefinition();\n message.EventTypeIds = object.EventTypeIds?.map((e) => e) || [];\n return message;\n },\n};\n\nexport type ConstraintsDefinition = typeof ConstraintsDefinition;\nexport const ConstraintsDefinition = {\n name: \"Constraints\",\n fullName: \"Cratis.Chronicle.Contracts.Events.Constraints.Constraints\",\n methods: {\n register: {\n name: \"Register\",\n requestType: RegisterConstraintsRequest as typeof RegisterConstraintsRequest,\n requestStream: false,\n responseType: Empty as typeof Empty,\n responseStream: false,\n options: {},\n },\n },\n} as const;\n\nexport interface ConstraintsServiceImplementation<CallContextExt = {}> {\n register(request: RegisterConstraintsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;\n}\n\nexport interface ConstraintsClient<CallOptionsExt = {}> {\n register(request: DeepPartial<RegisterConstraintsRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\nexport type DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],"names":["ConstraintType","UniqueConstraintMode","BinaryWriter","BinaryReader","Empty"],"mappings":";;;;;AAaYA;AAAZ,CAAA,UAAY,cAAc,EAAA;AACxB,IAAA,cAAA,CAAA,cAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW;AACX,IAAA,cAAA,CAAA,cAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAU;AACV,IAAA,cAAA,CAAA,cAAA,CAAA,iBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,iBAAmB;AACnB,IAAA,cAAA,CAAA,cAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAU;AACV,IAAA,cAAA,CAAA,cAAA,CAAA,cAAA,CAAA,GAAA,CAAA,CAAA,GAAA,cAAgB;AAChB,IAAA,cAAA,CAAA,cAAA,CAAA,cAAA,CAAA,GAAA,CAAA,CAAA,GAAA,cAAgB;AAChB,IAAA,cAAA,CAAA,cAAA,CAAA,cAAA,CAAA,GAAA,EAAA,CAAA,GAAA,cAAiB;AACnB,CAAC,EARWA,sBAAc,KAAdA,sBAAc,GAAA,EAAA,CAAA,CAAA;AAUpB,SAAU,sBAAsB,CAAC,MAAW,EAAA;IAChD,QAAQ,MAAM;AACZ,QAAA,KAAK,CAAC;AACN,QAAA,KAAK,SAAS;YACZ,OAAOA,sBAAc,CAA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,YAAA,YAAY,EAAEC,WAAqB;AACnC,YAAA,cAAc,EAAE,KAAK;AACrB,YAAA,OAAO,EAAE,EAAE;AACZ,SAAA;AACF,KAAA;;AAmBH,SAAS,KAAK,CAAC,KAAU,EAAA;AACvB,IAAA,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS;AAC9C;;;;;;;;;;;;;;"}
@@ -6,7 +6,7 @@ export { CompatibilityRequest, CompatibilityResponse, ConnectedClient, Connectio
6
6
  export type { ConnectionServiceClient, ConnectionServiceImplementation } from './clients.js';
7
7
  export { AllowNewEncryptionKeyRequest, ComplianceDefinition, DeleteEncryptionKeyRequest, ReleaseRequest, ReleaseResponse } from './compliance.js';
8
8
  export type { ComplianceClient, ComplianceServiceImplementation } from './compliance.js';
9
- export { Constraint, ConstraintScope, ConstraintsDefinition, ConstraintType, constraintTypeFromJSON, constraintTypeToJSON, OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition, RegisterConstraintsRequest, UniqueConstraintDefinition, UniqueConstraintEventDefinition, UniqueConstraintMode, uniqueConstraintModeFromJSON, uniqueConstraintModeToJSON, UniqueEventTypeConstraintDefinition } from './events_constraints.js';
9
+ export { ClosesStreamConstraintDefinition, Constraint, ConstraintScope, ConstraintsDefinition, ConstraintType, constraintTypeFromJSON, constraintTypeToJSON, OneOfUniqueConstraintDefinitionUniqueEventTypeConstraintDefinition, RegisterConstraintsRequest, UniqueConstraintDefinition, UniqueConstraintEventDefinition, UniqueConstraintMode, uniqueConstraintModeFromJSON, uniqueConstraintModeToJSON, UniqueEventTypeConstraintDefinition } from './events_constraints.js';
10
10
  export type { ConstraintsClient, ConstraintsServiceImplementation } from './events_constraints.js';
11
11
  export { EventSequenceQueriesDefinition, IsStreamCompletedRequest, QueryResultBoolean } from './eventsequences.js';
12
12
  export type { EventSequenceQueriesClient, EventSequenceQueriesServiceImplementation } from './eventsequences.js';
@@ -50,9 +50,9 @@ export { AllRecommendationsRequest, GetRecommendationsRequest, IgnoreRecommendat
50
50
  export type { RecommendationsClient, RecommendationsServiceImplementation } from './recommendations.js';
51
51
  export { AddApplicationRequest, AddUserRequest, AdminPasswordStatusResponse, ApplicationResponse, ApplicationsDefinition, ChangeApplicationSecretRequest, ChangeUserPasswordRequest, QueryResultAdminPasswordStatusResponse, QueryResultIEnumerableApplicationResponse, QueryResultIEnumerableUserResponse, RemoveApplicationRequest, RemoveUserRequest, RequirePasswordChangeRequest, SetInitialAdminPasswordRequest, UserResponse, UsersDefinition } from './security.js';
52
52
  export type { ApplicationsClient, ApplicationsServiceImplementation, UsersClient, UsersServiceImplementation } from './security.js';
53
- export { AddSeedEntryRequest, EventSeedingDefinition, EventSourceSeedEntries, EventTypeSeedEntries, GetGlobalSeedDataRequest, GetNamespaceSeedDataRequest, NamespacedSeedEntries, QueryResultSeedDataResponse, SeedDataResponse, SeedEventsRequest, SeedingEntry } from './seeding.js';
53
+ export { AddSeedEntryRequest, EventSeedingDefinition, EventSeedingSupportResponse, EventSourceSeedEntries, EventTypeSeedEntries, GetGlobalSeedDataRequest, GetNamespaceSeedDataRequest, NamespacedSeedEntries, QueryResultEventSeedingSupportResponse, QueryResultSeedDataResponse, SeedDataResponse, SeedEventsRequest, SeedingEntry } from './seeding.js';
54
54
  export type { EventSeedingClient, EventSeedingServiceImplementation } from './seeding.js';
55
- export { AllEventSequencesRequest, AppendedEventResponse, AppendedEventsRequest, AppendManyForEventSourcesRequest, AppendManyForEventSourcesWithNamedTagsRequest, AppendManyRequest, AppendManyResponse, AppendManyWithNamedTagsRequest, AppendRequest, AppendResponse, AppendWithNamedTagsRequest, CommandResultAppendManyResponse, CommandResultAppendResponse, CommandResultCompleteStreamResponse, CommandResultVerifyContentResponse, CompleteStreamError, completeStreamErrorFromJSON, completeStreamErrorToJSON, CompleteStreamRequest, CompleteStreamResponse, ConcurrencyScope, ConcurrencyViolation, ConstraintViolation, ConstraintViolation_DetailsEntry, ContentVerificationResult, contentVerificationResultFromJSON, contentVerificationResultToJSON, EndOfRequest, EventForEventSourceId, EventForEventSourceIdWithNamedTags, EventSequenceNamesResponse, EventSequencesDefinition, EventSequenceTailResponse, EventSourceConcurrencyScope, EventSourceEventsResponse, EventToAppend, EventToAppendWithNamedTags, ExportedEventResponse, ExportEventsRequest, ForEventSourceIdAndEventTypesRequest, FromSequenceNumberRequest, HasEventsForEventSourceIdRequest, HistogramResolution, histogramResolutionFromJSON, histogramResolutionToJSON, KeyValuePairInt32String, NamedTagQueryCriterion, ParseResolutionRequest, QueryEventsRequest, QueryEventsWithNamedTagsRequest, QueryResultEventSequenceTailResponse, QueryResultEventSourceEventsResponse, QueryResultHistogramResolution, QueryResultIEnumerableAppendedEventResponse, QueryResultIEnumerableEventSequenceNamesResponse, QueryResultIEnumerableExportedEventResponse, QueryResultIEnumerableSequenceHistogramBucketResponse, QueryResultSerializableDateTimeOffset, RedactForEventSourceRequest, RedactRequest, ReviseRequest, SequenceHistogramBucketResponse, SequenceHistogramRequest, SequenceHistogramWithNamedTagsRequest, TailSequenceNumberRequest, VerifyContentRequest, VerifyContentResponse } from './sequences.js';
55
+ export { AllEventSequencesRequest, AppendedEventResponse, AppendedEventsRequest, AppendManyForEventSourcesRequest, AppendManyForEventSourcesWithNamedTagsRequest, AppendManyRequest, AppendManyResponse, AppendManyWithNamedTagsRequest, AppendRequest, AppendResponse, AppendWithNamedTagsRequest, ClosedStreamOrigin, closedStreamOriginFromJSON, closedStreamOriginToJSON, ClosedStreamResponse, ClosedStreamsRequest, CommandResultAppendManyResponse, CommandResultAppendResponse, CommandResultCompleteStreamResponse, CommandResultReopenStreamScopeResponse, CommandResultVerifyContentResponse, CompleteStreamError, completeStreamErrorFromJSON, completeStreamErrorToJSON, CompleteStreamRequest, CompleteStreamResponse, CompleteStreamScopeRequest, ConcurrencyScope, ConcurrencyViolation, ConstraintViolation, ConstraintViolation_DetailsEntry, ContentVerificationResult, contentVerificationResultFromJSON, contentVerificationResultToJSON, EndOfRequest, EventForEventSourceId, EventForEventSourceIdWithNamedTags, EventMetadataResponse, EventSequenceNamesResponse, EventSequencesDefinition, EventSequenceTailResponse, EventSourceConcurrencyScope, EventSourceEventsResponse, EventToAppend, EventToAppendWithNamedTags, ExportedEventResponse, ExportEventsRequest, ForEventSourceIdAndEventTypesRequest, FromSequenceNumberRequest, HasEventsForEventSourceIdRequest, HistogramResolution, histogramResolutionFromJSON, histogramResolutionToJSON, IdentityResolution, identityResolutionFromJSON, identityResolutionToJSON, InitiatorType, initiatorTypeFromJSON, initiatorTypeToJSON, IsStreamScopeCompletedRequest, KeyValuePairInt32String, MetadataAtRequest, NamedTagQueryCriterion, ParseResolutionRequest, QueryEventsRequest, QueryEventsWithNamedTagsRequest, QueryResultEventSequenceTailResponse, QueryResultEventSourceEventsResponse, QueryResultHistogramResolution, QueryResultIEnumerableAppendedEventResponse, QueryResultIEnumerableClosedStreamResponse, QueryResultIEnumerableEventMetadataResponse, QueryResultIEnumerableEventSequenceNamesResponse, QueryResultIEnumerableExportedEventResponse, QueryResultIEnumerableSequenceHistogramBucketResponse, QueryResultSerializableDateTimeOffset, QueryResultStreamScopeCompletionResponse, RedactForEventSourceRequest, RedactRequest, ReopenStreamScopeError, reopenStreamScopeErrorFromJSON, reopenStreamScopeErrorToJSON, ReopenStreamScopeRequest, ReopenStreamScopeResponse, ResolvedIdentity, ReviseRequest, SequenceHistogramBucketResponse, SequenceHistogramRequest, SequenceHistogramWithNamedTagsRequest, StreamScopeCompletionResponse, TailSequenceNumberRequest, VerifyContentRequest, VerifyContentResponse } from './sequences.js';
56
56
  export type { EventSequencesClient, EventSequencesServiceImplementation } from './sequences.js';
57
57
  export { EventStatisticsResponse, EventTypeCount, QueryResultEventStatisticsResponse, StatisticsDefinition, StatisticsForEventStoreRequest, StatisticsForNamespaceRequest } from './statistics.js';
58
58
  export type { StatisticsClient, StatisticsServiceImplementation } from './statistics.js';