@cratis/chronicle.contracts 19.114.1 → 19.115.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 (73) hide show
  1. package/dist/cjs/generated/compliance.d.ts +3 -0
  2. package/dist/cjs/generated/compliance.d.ts.map +1 -1
  3. package/dist/cjs/generated/compliance.js +49 -2
  4. package/dist/cjs/generated/compliance.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/eventstores.d.ts +44 -0
  8. package/dist/cjs/generated/eventstores.d.ts.map +1 -1
  9. package/dist/cjs/generated/eventstores.js +415 -0
  10. package/dist/cjs/generated/eventstores.js.map +1 -1
  11. package/dist/cjs/generated/index.d.ts +4 -4
  12. package/dist/cjs/generated/index.d.ts.map +1 -1
  13. package/dist/cjs/generated/security.d.ts +65 -0
  14. package/dist/cjs/generated/security.d.ts.map +1 -1
  15. package/dist/cjs/generated/security.js +427 -1
  16. package/dist/cjs/generated/security.js.map +1 -1
  17. package/dist/cjs/generated/sequences.d.ts +43 -0
  18. package/dist/cjs/generated/sequences.d.ts.map +1 -1
  19. package/dist/cjs/generated/sequences.js +573 -2
  20. package/dist/cjs/generated/sequences.js.map +1 -1
  21. package/dist/cjs/index.js +12 -0
  22. package/dist/cjs/index.js.map +1 -1
  23. package/dist/esm/generated/compliance.d.ts +3 -0
  24. package/dist/esm/generated/compliance.d.ts.map +1 -1
  25. package/dist/esm/generated/compliance.js +49 -2
  26. package/dist/esm/generated/compliance.js.map +1 -1
  27. package/dist/esm/generated/descriptorSet.js +1 -1
  28. package/dist/esm/generated/descriptorSet.js.map +1 -1
  29. package/dist/esm/generated/eventstores.d.ts +44 -0
  30. package/dist/esm/generated/eventstores.d.ts.map +1 -1
  31. package/dist/esm/generated/eventstores.js +412 -1
  32. package/dist/esm/generated/eventstores.js.map +1 -1
  33. package/dist/esm/generated/index.d.ts +4 -4
  34. package/dist/esm/generated/index.d.ts.map +1 -1
  35. package/dist/esm/generated/security.d.ts +65 -0
  36. package/dist/esm/generated/security.d.ts.map +1 -1
  37. package/dist/esm/generated/security.js +423 -2
  38. package/dist/esm/generated/security.js.map +1 -1
  39. package/dist/esm/generated/sequences.d.ts +43 -0
  40. package/dist/esm/generated/sequences.d.ts.map +1 -1
  41. package/dist/esm/generated/sequences.js +571 -3
  42. package/dist/esm/generated/sequences.js.map +1 -1
  43. package/dist/esm/index.js +3 -3
  44. package/dist/generated/compliance.d.ts +3 -0
  45. package/dist/generated/compliance.d.ts.map +1 -1
  46. package/dist/generated/compliance.js +49 -2
  47. package/dist/generated/compliance.js.map +1 -1
  48. package/dist/generated/descriptorSet.js +1 -1
  49. package/dist/generated/descriptorSet.js.map +1 -1
  50. package/dist/generated/eventstores.d.ts +44 -0
  51. package/dist/generated/eventstores.d.ts.map +1 -1
  52. package/dist/generated/eventstores.js +411 -0
  53. package/dist/generated/eventstores.js.map +1 -1
  54. package/dist/generated/index.d.ts +4 -4
  55. package/dist/generated/index.d.ts.map +1 -1
  56. package/dist/generated/index.js +3 -3
  57. package/dist/generated/index.js.map +1 -1
  58. package/dist/generated/security.d.ts +65 -0
  59. package/dist/generated/security.d.ts.map +1 -1
  60. package/dist/generated/security.js +422 -1
  61. package/dist/generated/security.js.map +1 -1
  62. package/dist/generated/sequences.d.ts +43 -0
  63. package/dist/generated/sequences.d.ts.map +1 -1
  64. package/dist/generated/sequences.js +570 -2
  65. package/dist/generated/sequences.js.map +1 -1
  66. package/dist/tsconfig.tsbuildinfo +1 -1
  67. package/generated/compliance.ts +55 -2
  68. package/generated/descriptorSet.ts +1 -1
  69. package/generated/eventstores.ts +484 -0
  70. package/generated/index.ts +4 -4
  71. package/generated/security.ts +519 -1
  72. package/generated/sequences.ts +651 -2
  73. package/package.json +1 -1
@@ -24,10 +24,25 @@ export interface CommandResult {
24
24
  export interface EnsureEventStoreRequest {
25
25
  Name: string;
26
26
  }
27
+ export interface EventStoreDeploymentResponse {
28
+ Generation: bigint;
29
+ Fingerprint: string;
30
+ }
27
31
  export interface EventStoreNamesResponse {
28
32
  Name: string;
29
33
  Id: string;
30
34
  }
35
+ export interface GetEventStoreDeploymentRequest {
36
+ EventStore: string;
37
+ }
38
+ export interface QueryResultEventStoreDeploymentResponse {
39
+ CorrelationId: Guid | undefined;
40
+ IsAuthorized: boolean;
41
+ ValidationResults: ValidationResult[];
42
+ ExceptionMessages: string[];
43
+ ExceptionStackTrace: string;
44
+ Data: EventStoreDeploymentResponse | undefined;
45
+ }
31
46
  export interface QueryResultIEnumerableEventStoreNamesResponse {
32
47
  CorrelationId: Guid | undefined;
33
48
  IsAuthorized: boolean;
@@ -36,6 +51,11 @@ export interface QueryResultIEnumerableEventStoreNamesResponse {
36
51
  ExceptionStackTrace: string;
37
52
  Data: EventStoreNamesResponse[];
38
53
  }
54
+ export interface RegisterDeploymentRequest {
55
+ EventStore: string;
56
+ Generation: bigint;
57
+ Fingerprint: string;
58
+ }
39
59
  export interface ValidationResult {
40
60
  Severity: ValidationResultSeverity;
41
61
  Message: string;
@@ -43,8 +63,12 @@ export interface ValidationResult {
43
63
  }
44
64
  export declare const CommandResult: MessageFns<CommandResult>;
45
65
  export declare const EnsureEventStoreRequest: MessageFns<EnsureEventStoreRequest>;
66
+ export declare const EventStoreDeploymentResponse: MessageFns<EventStoreDeploymentResponse>;
46
67
  export declare const EventStoreNamesResponse: MessageFns<EventStoreNamesResponse>;
68
+ export declare const GetEventStoreDeploymentRequest: MessageFns<GetEventStoreDeploymentRequest>;
69
+ export declare const QueryResultEventStoreDeploymentResponse: MessageFns<QueryResultEventStoreDeploymentResponse>;
47
70
  export declare const QueryResultIEnumerableEventStoreNamesResponse: MessageFns<QueryResultIEnumerableEventStoreNamesResponse>;
71
+ export declare const RegisterDeploymentRequest: MessageFns<RegisterDeploymentRequest>;
48
72
  export declare const ValidationResult: MessageFns<ValidationResult>;
49
73
  export type EventStoresDefinition = typeof EventStoresDefinition;
50
74
  export declare const EventStoresDefinition: {
@@ -67,6 +91,14 @@ export declare const EventStoresDefinition: {
67
91
  readonly responseStream: false;
68
92
  readonly options: {};
69
93
  };
94
+ readonly getEventStoreDeployment: {
95
+ readonly name: "GetEventStoreDeployment";
96
+ readonly requestType: typeof GetEventStoreDeploymentRequest;
97
+ readonly requestStream: false;
98
+ readonly responseType: typeof QueryResultEventStoreDeploymentResponse;
99
+ readonly responseStream: false;
100
+ readonly options: {};
101
+ };
70
102
  readonly observeEventStores: {
71
103
  readonly name: "ObserveEventStores";
72
104
  readonly requestType: typeof Empty;
@@ -75,17 +107,29 @@ export declare const EventStoresDefinition: {
75
107
  readonly responseStream: true;
76
108
  readonly options: {};
77
109
  };
110
+ readonly registerDeployment: {
111
+ readonly name: "RegisterDeployment";
112
+ readonly requestType: typeof RegisterDeploymentRequest;
113
+ readonly requestStream: false;
114
+ readonly responseType: typeof CommandResult;
115
+ readonly responseStream: false;
116
+ readonly options: {};
117
+ };
78
118
  };
79
119
  };
80
120
  export interface EventStoresServiceImplementation<CallContextExt = {}> {
81
121
  allEventStores(request: Empty, context: CallContext & CallContextExt): Promise<DeepPartial<QueryResultIEnumerableEventStoreNamesResponse>>;
82
122
  ensureEventStore(request: EnsureEventStoreRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CommandResult>>;
123
+ getEventStoreDeployment(request: GetEventStoreDeploymentRequest, context: CallContext & CallContextExt): Promise<DeepPartial<QueryResultEventStoreDeploymentResponse>>;
83
124
  observeEventStores(request: Empty, context: CallContext & CallContextExt): ServerStreamingMethodResult<DeepPartial<QueryResultIEnumerableEventStoreNamesResponse>>;
125
+ registerDeployment(request: RegisterDeploymentRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CommandResult>>;
84
126
  }
85
127
  export interface EventStoresClient<CallOptionsExt = {}> {
86
128
  allEventStores(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<QueryResultIEnumerableEventStoreNamesResponse>;
87
129
  ensureEventStore(request: DeepPartial<EnsureEventStoreRequest>, options?: CallOptions & CallOptionsExt): Promise<CommandResult>;
130
+ getEventStoreDeployment(request: DeepPartial<GetEventStoreDeploymentRequest>, options?: CallOptions & CallOptionsExt): Promise<QueryResultEventStoreDeploymentResponse>;
88
131
  observeEventStores(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): AsyncIterable<QueryResultIEnumerableEventStoreNamesResponse>;
132
+ registerDeployment(request: DeepPartial<RegisterDeploymentRequest>, options?: CallOptions & CallOptionsExt): Promise<CommandResult>;
89
133
  }
90
134
  type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
91
135
  export type DeepPartial<T> = T extends bigint ? string | number | bigint : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
@@ -1 +1 @@
1
- {"version":3,"file":"eventstores.d.ts","sourceRoot":"","sources":["../../../generated/eventstores.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;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,eAAe,2CAA2C,CAAC;AAExE,eAAO,MAAM,gBAAgB,sBAAsB,CAAC;AAEpD,oBAAY,wBAAwB;IAClC,OAAO,IAAI;IACX,WAAW,IAAI;IACf,OAAO,IAAI;IACX,KAAK,IAAI;IACT,YAAY,KAAK;CAClB;AAED,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,GAAG,GAAG,wBAAwB,CAmBtF;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,wBAAwB,GAAG,MAAM,CAcvF;AAED,MAAM,WAAW,aAAa;IAE5B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IAAI,aAAa,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;CAAE,CAAC;AAEhH,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"}
@@ -261,6 +261,89 @@ const EnsureEventStoreRequest = {
261
261
  return message;
262
262
  },
263
263
  };
264
+ function createBaseEventStoreDeploymentResponse() {
265
+ return { Generation: 0n, Fingerprint: "" };
266
+ }
267
+ const EventStoreDeploymentResponse = {
268
+ encode(message, writer = new wire.BinaryWriter()) {
269
+ if (message.Generation !== 0n) {
270
+ if (BigInt.asUintN(64, message.Generation) !== message.Generation) {
271
+ throw new globalThis.Error("value provided for field message.Generation of type uint64 too large");
272
+ }
273
+ writer.uint32(8).uint64(message.Generation);
274
+ }
275
+ if (message.Fingerprint !== "") {
276
+ writer.uint32(18).string(message.Fingerprint);
277
+ }
278
+ return writer;
279
+ },
280
+ decode(input, length) {
281
+ const reader = input instanceof wire.BinaryReader ? input : new wire.BinaryReader(input);
282
+ const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
283
+ if (previousRecursionDepth >= 100) {
284
+ throw new globalThis.Error("protobuf decode recursion limit exceeded");
285
+ }
286
+ reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
287
+ try {
288
+ const end = length === undefined ? reader.len : reader.pos + length;
289
+ const message = createBaseEventStoreDeploymentResponse();
290
+ while (reader.pos < end) {
291
+ const tag = reader.uint32();
292
+ switch (tag >>> 3) {
293
+ case 1: {
294
+ if (tag !== 8) {
295
+ break;
296
+ }
297
+ message.Generation = reader.uint64();
298
+ continue;
299
+ }
300
+ case 2: {
301
+ if (tag !== 18) {
302
+ break;
303
+ }
304
+ message.Fingerprint = reader.string();
305
+ continue;
306
+ }
307
+ }
308
+ if ((tag & 7) === 4 || tag === 0) {
309
+ break;
310
+ }
311
+ reader.skip(tag & 7);
312
+ }
313
+ return message;
314
+ }
315
+ finally {
316
+ reader.__tsProtoDecodeDepth = previousRecursionDepth;
317
+ }
318
+ },
319
+ fromJSON(object) {
320
+ return {
321
+ Generation: isSet(object.Generation) ? BigInt(object.Generation) : 0n,
322
+ Fingerprint: isSet(object.Fingerprint) ? globalThis.String(object.Fingerprint) : "",
323
+ };
324
+ },
325
+ toJSON(message) {
326
+ const obj = {};
327
+ if (message.Generation !== 0n) {
328
+ obj.Generation = message.Generation.toString();
329
+ }
330
+ if (message.Fingerprint !== "") {
331
+ obj.Fingerprint = message.Fingerprint;
332
+ }
333
+ return obj;
334
+ },
335
+ create(base) {
336
+ return EventStoreDeploymentResponse.fromPartial(base ?? {});
337
+ },
338
+ fromPartial(object) {
339
+ const message = createBaseEventStoreDeploymentResponse();
340
+ message.Generation = (object.Generation !== undefined && object.Generation !== null)
341
+ ? BigInt(object.Generation)
342
+ : 0n;
343
+ message.Fingerprint = object.Fingerprint ?? "";
344
+ return message;
345
+ },
346
+ };
264
347
  function createBaseEventStoreNamesResponse() {
265
348
  return { Name: "", Id: "" };
266
349
  }
@@ -339,6 +422,220 @@ const EventStoreNamesResponse = {
339
422
  return message;
340
423
  },
341
424
  };
425
+ function createBaseGetEventStoreDeploymentRequest() {
426
+ return { EventStore: "" };
427
+ }
428
+ const GetEventStoreDeploymentRequest = {
429
+ encode(message, writer = new wire.BinaryWriter()) {
430
+ if (message.EventStore !== "") {
431
+ writer.uint32(10).string(message.EventStore);
432
+ }
433
+ return writer;
434
+ },
435
+ decode(input, length) {
436
+ const reader = input instanceof wire.BinaryReader ? input : new wire.BinaryReader(input);
437
+ const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
438
+ if (previousRecursionDepth >= 100) {
439
+ throw new globalThis.Error("protobuf decode recursion limit exceeded");
440
+ }
441
+ reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
442
+ try {
443
+ const end = length === undefined ? reader.len : reader.pos + length;
444
+ const message = createBaseGetEventStoreDeploymentRequest();
445
+ while (reader.pos < end) {
446
+ const tag = reader.uint32();
447
+ switch (tag >>> 3) {
448
+ case 1: {
449
+ if (tag !== 10) {
450
+ break;
451
+ }
452
+ message.EventStore = reader.string();
453
+ continue;
454
+ }
455
+ }
456
+ if ((tag & 7) === 4 || tag === 0) {
457
+ break;
458
+ }
459
+ reader.skip(tag & 7);
460
+ }
461
+ return message;
462
+ }
463
+ finally {
464
+ reader.__tsProtoDecodeDepth = previousRecursionDepth;
465
+ }
466
+ },
467
+ fromJSON(object) {
468
+ return { EventStore: isSet(object.EventStore) ? globalThis.String(object.EventStore) : "" };
469
+ },
470
+ toJSON(message) {
471
+ const obj = {};
472
+ if (message.EventStore !== "") {
473
+ obj.EventStore = message.EventStore;
474
+ }
475
+ return obj;
476
+ },
477
+ create(base) {
478
+ return GetEventStoreDeploymentRequest.fromPartial(base ?? {});
479
+ },
480
+ fromPartial(object) {
481
+ const message = createBaseGetEventStoreDeploymentRequest();
482
+ message.EventStore = object.EventStore ?? "";
483
+ return message;
484
+ },
485
+ };
486
+ function createBaseQueryResultEventStoreDeploymentResponse() {
487
+ return {
488
+ CorrelationId: undefined,
489
+ IsAuthorized: false,
490
+ ValidationResults: [],
491
+ ExceptionMessages: [],
492
+ ExceptionStackTrace: "",
493
+ Data: undefined,
494
+ };
495
+ }
496
+ const QueryResultEventStoreDeploymentResponse = {
497
+ encode(message, writer = new wire.BinaryWriter()) {
498
+ if (message.CorrelationId !== undefined) {
499
+ bcl.Guid.encode(message.CorrelationId, writer.uint32(10).fork()).join();
500
+ }
501
+ if (message.IsAuthorized !== false) {
502
+ writer.uint32(16).bool(message.IsAuthorized);
503
+ }
504
+ for (const v of message.ValidationResults) {
505
+ ValidationResult.encode(v, writer.uint32(26).fork()).join();
506
+ }
507
+ for (const v of message.ExceptionMessages) {
508
+ writer.uint32(34).string(v);
509
+ }
510
+ if (message.ExceptionStackTrace !== "") {
511
+ writer.uint32(42).string(message.ExceptionStackTrace);
512
+ }
513
+ if (message.Data !== undefined) {
514
+ EventStoreDeploymentResponse.encode(message.Data, writer.uint32(50).fork()).join();
515
+ }
516
+ return writer;
517
+ },
518
+ decode(input, length) {
519
+ const reader = input instanceof wire.BinaryReader ? input : new wire.BinaryReader(input);
520
+ const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
521
+ if (previousRecursionDepth >= 100) {
522
+ throw new globalThis.Error("protobuf decode recursion limit exceeded");
523
+ }
524
+ reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
525
+ try {
526
+ const end = length === undefined ? reader.len : reader.pos + length;
527
+ const message = createBaseQueryResultEventStoreDeploymentResponse();
528
+ while (reader.pos < end) {
529
+ const tag = reader.uint32();
530
+ switch (tag >>> 3) {
531
+ case 1: {
532
+ if (tag !== 10) {
533
+ break;
534
+ }
535
+ message.CorrelationId = bcl.Guid.decode(reader, reader.uint32());
536
+ continue;
537
+ }
538
+ case 2: {
539
+ if (tag !== 16) {
540
+ break;
541
+ }
542
+ message.IsAuthorized = reader.bool();
543
+ continue;
544
+ }
545
+ case 3: {
546
+ if (tag !== 26) {
547
+ break;
548
+ }
549
+ message.ValidationResults.push(ValidationResult.decode(reader, reader.uint32()));
550
+ continue;
551
+ }
552
+ case 4: {
553
+ if (tag !== 34) {
554
+ break;
555
+ }
556
+ message.ExceptionMessages.push(reader.string());
557
+ continue;
558
+ }
559
+ case 5: {
560
+ if (tag !== 42) {
561
+ break;
562
+ }
563
+ message.ExceptionStackTrace = reader.string();
564
+ continue;
565
+ }
566
+ case 6: {
567
+ if (tag !== 50) {
568
+ break;
569
+ }
570
+ message.Data = EventStoreDeploymentResponse.decode(reader, reader.uint32());
571
+ continue;
572
+ }
573
+ }
574
+ if ((tag & 7) === 4 || tag === 0) {
575
+ break;
576
+ }
577
+ reader.skip(tag & 7);
578
+ }
579
+ return message;
580
+ }
581
+ finally {
582
+ reader.__tsProtoDecodeDepth = previousRecursionDepth;
583
+ }
584
+ },
585
+ fromJSON(object) {
586
+ return {
587
+ CorrelationId: isSet(object.CorrelationId) ? bcl.Guid.fromJSON(object.CorrelationId) : undefined,
588
+ IsAuthorized: isSet(object.IsAuthorized) ? globalThis.Boolean(object.IsAuthorized) : false,
589
+ ValidationResults: globalThis.Array.isArray(object?.ValidationResults)
590
+ ? object.ValidationResults.map((e) => ValidationResult.fromJSON(e))
591
+ : [],
592
+ ExceptionMessages: globalThis.Array.isArray(object?.ExceptionMessages)
593
+ ? object.ExceptionMessages.map((e) => globalThis.String(e))
594
+ : [],
595
+ ExceptionStackTrace: isSet(object.ExceptionStackTrace) ? globalThis.String(object.ExceptionStackTrace) : "",
596
+ Data: isSet(object.Data) ? EventStoreDeploymentResponse.fromJSON(object.Data) : undefined,
597
+ };
598
+ },
599
+ toJSON(message) {
600
+ const obj = {};
601
+ if (message.CorrelationId !== undefined) {
602
+ obj.CorrelationId = bcl.Guid.toJSON(message.CorrelationId);
603
+ }
604
+ if (message.IsAuthorized !== false) {
605
+ obj.IsAuthorized = message.IsAuthorized;
606
+ }
607
+ if (message.ValidationResults?.length) {
608
+ obj.ValidationResults = message.ValidationResults.map((e) => ValidationResult.toJSON(e));
609
+ }
610
+ if (message.ExceptionMessages?.length) {
611
+ obj.ExceptionMessages = message.ExceptionMessages;
612
+ }
613
+ if (message.ExceptionStackTrace !== "") {
614
+ obj.ExceptionStackTrace = message.ExceptionStackTrace;
615
+ }
616
+ if (message.Data !== undefined) {
617
+ obj.Data = EventStoreDeploymentResponse.toJSON(message.Data);
618
+ }
619
+ return obj;
620
+ },
621
+ create(base) {
622
+ return QueryResultEventStoreDeploymentResponse.fromPartial(base ?? {});
623
+ },
624
+ fromPartial(object) {
625
+ const message = createBaseQueryResultEventStoreDeploymentResponse();
626
+ message.CorrelationId = (object.CorrelationId !== undefined && object.CorrelationId !== null)
627
+ ? bcl.Guid.fromPartial(object.CorrelationId)
628
+ : undefined;
629
+ message.IsAuthorized = object.IsAuthorized ?? false;
630
+ message.ValidationResults = object.ValidationResults?.map((e) => ValidationResult.fromPartial(e)) || [];
631
+ message.ExceptionMessages = object.ExceptionMessages?.map((e) => e) || [];
632
+ message.ExceptionStackTrace = object.ExceptionStackTrace ?? "";
633
+ message.Data = (object.Data !== undefined && object.Data !== null)
634
+ ? EventStoreDeploymentResponse.fromPartial(object.Data)
635
+ : undefined;
636
+ return message;
637
+ },
638
+ };
342
639
  function createBaseQueryResultIEnumerableEventStoreNamesResponse() {
343
640
  return {
344
641
  CorrelationId: undefined,
@@ -492,6 +789,104 @@ const QueryResultIEnumerableEventStoreNamesResponse = {
492
789
  return message;
493
790
  },
494
791
  };
792
+ function createBaseRegisterDeploymentRequest() {
793
+ return { EventStore: "", Generation: 0n, Fingerprint: "" };
794
+ }
795
+ const RegisterDeploymentRequest = {
796
+ encode(message, writer = new wire.BinaryWriter()) {
797
+ if (message.EventStore !== "") {
798
+ writer.uint32(10).string(message.EventStore);
799
+ }
800
+ if (message.Generation !== 0n) {
801
+ if (BigInt.asUintN(64, message.Generation) !== message.Generation) {
802
+ throw new globalThis.Error("value provided for field message.Generation of type uint64 too large");
803
+ }
804
+ writer.uint32(16).uint64(message.Generation);
805
+ }
806
+ if (message.Fingerprint !== "") {
807
+ writer.uint32(26).string(message.Fingerprint);
808
+ }
809
+ return writer;
810
+ },
811
+ decode(input, length) {
812
+ const reader = input instanceof wire.BinaryReader ? input : new wire.BinaryReader(input);
813
+ const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
814
+ if (previousRecursionDepth >= 100) {
815
+ throw new globalThis.Error("protobuf decode recursion limit exceeded");
816
+ }
817
+ reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
818
+ try {
819
+ const end = length === undefined ? reader.len : reader.pos + length;
820
+ const message = createBaseRegisterDeploymentRequest();
821
+ while (reader.pos < end) {
822
+ const tag = reader.uint32();
823
+ switch (tag >>> 3) {
824
+ case 1: {
825
+ if (tag !== 10) {
826
+ break;
827
+ }
828
+ message.EventStore = reader.string();
829
+ continue;
830
+ }
831
+ case 2: {
832
+ if (tag !== 16) {
833
+ break;
834
+ }
835
+ message.Generation = reader.uint64();
836
+ continue;
837
+ }
838
+ case 3: {
839
+ if (tag !== 26) {
840
+ break;
841
+ }
842
+ message.Fingerprint = reader.string();
843
+ continue;
844
+ }
845
+ }
846
+ if ((tag & 7) === 4 || tag === 0) {
847
+ break;
848
+ }
849
+ reader.skip(tag & 7);
850
+ }
851
+ return message;
852
+ }
853
+ finally {
854
+ reader.__tsProtoDecodeDepth = previousRecursionDepth;
855
+ }
856
+ },
857
+ fromJSON(object) {
858
+ return {
859
+ EventStore: isSet(object.EventStore) ? globalThis.String(object.EventStore) : "",
860
+ Generation: isSet(object.Generation) ? BigInt(object.Generation) : 0n,
861
+ Fingerprint: isSet(object.Fingerprint) ? globalThis.String(object.Fingerprint) : "",
862
+ };
863
+ },
864
+ toJSON(message) {
865
+ const obj = {};
866
+ if (message.EventStore !== "") {
867
+ obj.EventStore = message.EventStore;
868
+ }
869
+ if (message.Generation !== 0n) {
870
+ obj.Generation = message.Generation.toString();
871
+ }
872
+ if (message.Fingerprint !== "") {
873
+ obj.Fingerprint = message.Fingerprint;
874
+ }
875
+ return obj;
876
+ },
877
+ create(base) {
878
+ return RegisterDeploymentRequest.fromPartial(base ?? {});
879
+ },
880
+ fromPartial(object) {
881
+ const message = createBaseRegisterDeploymentRequest();
882
+ message.EventStore = object.EventStore ?? "";
883
+ message.Generation = (object.Generation !== undefined && object.Generation !== null)
884
+ ? BigInt(object.Generation)
885
+ : 0n;
886
+ message.Fingerprint = object.Fingerprint ?? "";
887
+ return message;
888
+ },
889
+ };
495
890
  function createBaseValidationResult() {
496
891
  return { Severity: 0, Message: "", Members: [] };
497
892
  }
@@ -605,6 +1000,14 @@ const EventStoresDefinition = {
605
1000
  responseStream: false,
606
1001
  options: {},
607
1002
  },
1003
+ getEventStoreDeployment: {
1004
+ name: "GetEventStoreDeployment",
1005
+ requestType: GetEventStoreDeploymentRequest,
1006
+ requestStream: false,
1007
+ responseType: QueryResultEventStoreDeploymentResponse,
1008
+ responseStream: false,
1009
+ options: {},
1010
+ },
608
1011
  observeEventStores: {
609
1012
  name: "ObserveEventStores",
610
1013
  requestType: empty.Empty,
@@ -613,6 +1016,14 @@ const EventStoresDefinition = {
613
1016
  responseStream: true,
614
1017
  options: {},
615
1018
  },
1019
+ registerDeployment: {
1020
+ name: "RegisterDeployment",
1021
+ requestType: RegisterDeploymentRequest,
1022
+ requestStream: false,
1023
+ responseType: CommandResult,
1024
+ responseStream: false,
1025
+ options: {},
1026
+ },
616
1027
  },
617
1028
  };
618
1029
  function isSet(value) {
@@ -621,9 +1032,13 @@ function isSet(value) {
621
1032
 
622
1033
  exports.CommandResult = CommandResult;
623
1034
  exports.EnsureEventStoreRequest = EnsureEventStoreRequest;
1035
+ exports.EventStoreDeploymentResponse = EventStoreDeploymentResponse;
624
1036
  exports.EventStoreNamesResponse = EventStoreNamesResponse;
625
1037
  exports.EventStoresDefinition = EventStoresDefinition;
1038
+ exports.GetEventStoreDeploymentRequest = GetEventStoreDeploymentRequest;
1039
+ exports.QueryResultEventStoreDeploymentResponse = QueryResultEventStoreDeploymentResponse;
626
1040
  exports.QueryResultIEnumerableEventStoreNamesResponse = QueryResultIEnumerableEventStoreNamesResponse;
1041
+ exports.RegisterDeploymentRequest = RegisterDeploymentRequest;
627
1042
  exports.ValidationResult = ValidationResult;
628
1043
  exports.validationResultSeverityFromJSON = validationResultSeverityFromJSON;
629
1044
  exports.validationResultSeverityToJSON = validationResultSeverityToJSON;