@cratis/chronicle.contracts 19.156.7 → 19.157.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/cjs/generated/descriptorSet.js +1 -1
  2. package/dist/cjs/generated/descriptorSet.js.map +1 -1
  3. package/dist/cjs/generated/events_constraints_operator.d.ts +72 -0
  4. package/dist/cjs/generated/events_constraints_operator.d.ts.map +1 -0
  5. package/dist/cjs/generated/events_constraints_operator.js +447 -0
  6. package/dist/cjs/generated/events_constraints_operator.js.map +1 -0
  7. package/dist/cjs/generated/eventtypes.d.ts +38 -0
  8. package/dist/cjs/generated/eventtypes.d.ts.map +1 -1
  9. package/dist/cjs/generated/eventtypes.js +466 -0
  10. package/dist/cjs/generated/eventtypes.js.map +1 -1
  11. package/dist/cjs/generated/index.d.ts +4 -2
  12. package/dist/cjs/generated/index.d.ts.map +1 -1
  13. package/dist/cjs/index.js +8 -1
  14. package/dist/cjs/index.js.map +1 -1
  15. package/dist/esm/generated/descriptorSet.js +1 -1
  16. package/dist/esm/generated/descriptorSet.js.map +1 -1
  17. package/dist/esm/generated/events_constraints_operator.d.ts +72 -0
  18. package/dist/esm/generated/events_constraints_operator.d.ts.map +1 -0
  19. package/dist/esm/generated/events_constraints_operator.js +440 -0
  20. package/dist/esm/generated/events_constraints_operator.js.map +1 -0
  21. package/dist/esm/generated/eventtypes.d.ts +38 -0
  22. package/dist/esm/generated/eventtypes.d.ts.map +1 -1
  23. package/dist/esm/generated/eventtypes.js +463 -1
  24. package/dist/esm/generated/eventtypes.js.map +1 -1
  25. package/dist/esm/generated/index.d.ts +4 -2
  26. package/dist/esm/generated/index.d.ts.map +1 -1
  27. package/dist/esm/index.js +3 -2
  28. package/dist/esm/index.js.map +1 -1
  29. package/dist/generated/descriptorSet.js +1 -1
  30. package/dist/generated/descriptorSet.js.map +1 -1
  31. package/dist/generated/events_constraints_operator.d.ts +72 -0
  32. package/dist/generated/events_constraints_operator.d.ts.map +1 -0
  33. package/dist/generated/events_constraints_operator.js +439 -0
  34. package/dist/generated/events_constraints_operator.js.map +1 -0
  35. package/dist/generated/eventtypes.d.ts +38 -0
  36. package/dist/generated/eventtypes.d.ts.map +1 -1
  37. package/dist/generated/eventtypes.js +462 -0
  38. package/dist/generated/eventtypes.js.map +1 -1
  39. package/dist/generated/index.d.ts +4 -2
  40. package/dist/generated/index.d.ts.map +1 -1
  41. package/dist/generated/index.js +3 -2
  42. package/dist/generated/index.js.map +1 -1
  43. package/dist/tsconfig.tsbuildinfo +1 -1
  44. package/generated/descriptorSet.ts +1 -1
  45. package/generated/events_constraints_operator.ts +539 -0
  46. package/generated/eventtypes.ts +545 -0
  47. package/generated/index.ts +5 -2
  48. package/package.json +1 -1
@@ -43,6 +43,13 @@ export interface AllEventTypeGenerationsRequest {
43
43
  export interface AllEventTypesRequest {
44
44
  EventStore: string;
45
45
  }
46
+ export interface CheckEventTypeRegistrationsRequest {
47
+ EventStore: string;
48
+ Types: EventTypeRegistration[];
49
+ }
50
+ export interface CheckEventTypeRegistrationsResponse {
51
+ Results: EventTypeCheckResult[];
52
+ }
46
53
  export interface CommandResult {
47
54
  CorrelationId: Guid | undefined;
48
55
  IsAuthorized: boolean;
@@ -51,6 +58,15 @@ export interface CommandResult {
51
58
  ExceptionStackTrace: string;
52
59
  AuthorizationFailureReason: string;
53
60
  }
61
+ export interface CommandResultCheckEventTypeRegistrationsResponse {
62
+ CorrelationId: Guid | undefined;
63
+ IsAuthorized: boolean;
64
+ ValidationResults: ValidationResult[];
65
+ ExceptionMessages: string[];
66
+ ExceptionStackTrace: string;
67
+ AuthorizationFailureReason: string;
68
+ Response: CheckEventTypeRegistrationsResponse | undefined;
69
+ }
54
70
  export interface CreateEventTypeRequest {
55
71
  EventStore: string;
56
72
  Name: string;
@@ -60,6 +76,14 @@ export interface EventType {
60
76
  Generation: number;
61
77
  Tombstone: boolean;
62
78
  }
79
+ export interface EventTypeCheckResult {
80
+ EventType: string;
81
+ Generation: number;
82
+ Accepted: boolean;
83
+ Reason: string;
84
+ Keyword: string;
85
+ Path: string;
86
+ }
63
87
  export interface EventTypeDetailsResponse {
64
88
  Type: EventType | undefined;
65
89
  Owner: EventTypeOwner;
@@ -117,9 +141,13 @@ export interface ValidationResult {
117
141
  }
118
142
  export declare const AllEventTypeGenerationsRequest: MessageFns<AllEventTypeGenerationsRequest>;
119
143
  export declare const AllEventTypesRequest: MessageFns<AllEventTypesRequest>;
144
+ export declare const CheckEventTypeRegistrationsRequest: MessageFns<CheckEventTypeRegistrationsRequest>;
145
+ export declare const CheckEventTypeRegistrationsResponse: MessageFns<CheckEventTypeRegistrationsResponse>;
120
146
  export declare const CommandResult: MessageFns<CommandResult>;
147
+ export declare const CommandResultCheckEventTypeRegistrationsResponse: MessageFns<CommandResultCheckEventTypeRegistrationsResponse>;
121
148
  export declare const CreateEventTypeRequest: MessageFns<CreateEventTypeRequest>;
122
149
  export declare const EventType: MessageFns<EventType>;
150
+ export declare const EventTypeCheckResult: MessageFns<EventTypeCheckResult>;
123
151
  export declare const EventTypeDetailsResponse: MessageFns<EventTypeDetailsResponse>;
124
152
  export declare const EventTypeGenerationDefinition: MessageFns<EventTypeGenerationDefinition>;
125
153
  export declare const EventTypeMigrationDefinition: MessageFns<EventTypeMigrationDefinition>;
@@ -151,6 +179,14 @@ export declare const EventTypesDefinition: {
151
179
  readonly responseStream: false;
152
180
  readonly options: {};
153
181
  };
182
+ readonly checkEventTypeRegistrations: {
183
+ readonly name: "CheckEventTypeRegistrations";
184
+ readonly requestType: typeof CheckEventTypeRegistrationsRequest;
185
+ readonly requestStream: false;
186
+ readonly responseType: typeof CommandResultCheckEventTypeRegistrationsResponse;
187
+ readonly responseStream: false;
188
+ readonly options: {};
189
+ };
154
190
  readonly createEventType: {
155
191
  readonly name: "CreateEventType";
156
192
  readonly requestType: typeof CreateEventTypeRequest;
@@ -188,6 +224,7 @@ export declare const EventTypesDefinition: {
188
224
  export interface EventTypesServiceImplementation<CallContextExt = {}> {
189
225
  allEventTypeGenerations(request: AllEventTypeGenerationsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<QueryResultIEnumerableEventTypeDetailsResponse>>;
190
226
  allEventTypes(request: AllEventTypesRequest, context: CallContext & CallContextExt): Promise<DeepPartial<QueryResultIEnumerableEventTypeDetailsResponse>>;
227
+ checkEventTypeRegistrations(request: CheckEventTypeRegistrationsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CommandResultCheckEventTypeRegistrationsResponse>>;
191
228
  createEventType(request: CreateEventTypeRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CommandResult>>;
192
229
  observeEventTypes(request: ObserveEventTypesRequest, context: CallContext & CallContextExt): ServerStreamingMethodResult<DeepPartial<QueryResultIEnumerableEventTypeDetailsResponse>>;
193
230
  registerEventTypes(request: RegisterEventTypesRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CommandResult>>;
@@ -196,6 +233,7 @@ export interface EventTypesServiceImplementation<CallContextExt = {}> {
196
233
  export interface EventTypesClient<CallOptionsExt = {}> {
197
234
  allEventTypeGenerations(request: DeepPartial<AllEventTypeGenerationsRequest>, options?: CallOptions & CallOptionsExt): Promise<QueryResultIEnumerableEventTypeDetailsResponse>;
198
235
  allEventTypes(request: DeepPartial<AllEventTypesRequest>, options?: CallOptions & CallOptionsExt): Promise<QueryResultIEnumerableEventTypeDetailsResponse>;
236
+ checkEventTypeRegistrations(request: DeepPartial<CheckEventTypeRegistrationsRequest>, options?: CallOptions & CallOptionsExt): Promise<CommandResultCheckEventTypeRegistrationsResponse>;
199
237
  createEventType(request: DeepPartial<CreateEventTypeRequest>, options?: CallOptions & CallOptionsExt): Promise<CommandResult>;
200
238
  observeEventTypes(request: DeepPartial<ObserveEventTypesRequest>, options?: CallOptions & CallOptionsExt): AsyncIterable<QueryResultIEnumerableEventTypeDetailsResponse>;
201
239
  registerEventTypes(request: DeepPartial<RegisterEventTypesRequest>, options?: CallOptions & CallOptionsExt): Promise<Command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AAC,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,MAAM,2BAA2B,CAAC,QAAQ,IAAI;IAAE,CAAC,MAAM,CAAC,aAAa,CAAC,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"}
@@ -294,6 +294,151 @@ const AllEventTypesRequest = {
294
294
  return message;
295
295
  },
296
296
  };
297
+ function createBaseCheckEventTypeRegistrationsRequest() {
298
+ return { EventStore: "", Types: [] };
299
+ }
300
+ const CheckEventTypeRegistrationsRequest = {
301
+ encode(message, writer = new BinaryWriter()) {
302
+ if (message.EventStore !== "") {
303
+ writer.uint32(10).string(message.EventStore);
304
+ }
305
+ for (const v of message.Types) {
306
+ EventTypeRegistration.encode(v, writer.uint32(18).fork()).join();
307
+ }
308
+ return writer;
309
+ },
310
+ decode(input, length) {
311
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
312
+ const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
313
+ if (previousRecursionDepth >= 100) {
314
+ throw new globalThis.Error("protobuf decode recursion limit exceeded");
315
+ }
316
+ reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
317
+ try {
318
+ const end = length === undefined ? reader.len : reader.pos + length;
319
+ const message = createBaseCheckEventTypeRegistrationsRequest();
320
+ while (reader.pos < end) {
321
+ const tag = reader.uint32();
322
+ switch (tag >>> 3) {
323
+ case 1: {
324
+ if (tag !== 10) {
325
+ break;
326
+ }
327
+ message.EventStore = reader.string();
328
+ continue;
329
+ }
330
+ case 2: {
331
+ if (tag !== 18) {
332
+ break;
333
+ }
334
+ message.Types.push(EventTypeRegistration.decode(reader, reader.uint32()));
335
+ continue;
336
+ }
337
+ }
338
+ if ((tag & 7) === 4 || tag === 0) {
339
+ break;
340
+ }
341
+ reader.skip(tag & 7);
342
+ }
343
+ return message;
344
+ }
345
+ finally {
346
+ reader.__tsProtoDecodeDepth = previousRecursionDepth;
347
+ }
348
+ },
349
+ fromJSON(object) {
350
+ return {
351
+ EventStore: isSet(object.EventStore) ? globalThis.String(object.EventStore) : "",
352
+ Types: globalThis.Array.isArray(object?.Types)
353
+ ? object.Types.map((e) => EventTypeRegistration.fromJSON(e))
354
+ : [],
355
+ };
356
+ },
357
+ toJSON(message) {
358
+ const obj = {};
359
+ if (message.EventStore !== "") {
360
+ obj.EventStore = message.EventStore;
361
+ }
362
+ if (message.Types?.length) {
363
+ obj.Types = message.Types.map((e) => EventTypeRegistration.toJSON(e));
364
+ }
365
+ return obj;
366
+ },
367
+ create(base) {
368
+ return CheckEventTypeRegistrationsRequest.fromPartial(base ?? {});
369
+ },
370
+ fromPartial(object) {
371
+ const message = createBaseCheckEventTypeRegistrationsRequest();
372
+ message.EventStore = object.EventStore ?? "";
373
+ message.Types = object.Types?.map((e) => EventTypeRegistration.fromPartial(e)) || [];
374
+ return message;
375
+ },
376
+ };
377
+ function createBaseCheckEventTypeRegistrationsResponse() {
378
+ return { Results: [] };
379
+ }
380
+ const CheckEventTypeRegistrationsResponse = {
381
+ encode(message, writer = new BinaryWriter()) {
382
+ for (const v of message.Results) {
383
+ EventTypeCheckResult.encode(v, writer.uint32(10).fork()).join();
384
+ }
385
+ return writer;
386
+ },
387
+ decode(input, length) {
388
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
389
+ const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
390
+ if (previousRecursionDepth >= 100) {
391
+ throw new globalThis.Error("protobuf decode recursion limit exceeded");
392
+ }
393
+ reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
394
+ try {
395
+ const end = length === undefined ? reader.len : reader.pos + length;
396
+ const message = createBaseCheckEventTypeRegistrationsResponse();
397
+ while (reader.pos < end) {
398
+ const tag = reader.uint32();
399
+ switch (tag >>> 3) {
400
+ case 1: {
401
+ if (tag !== 10) {
402
+ break;
403
+ }
404
+ message.Results.push(EventTypeCheckResult.decode(reader, reader.uint32()));
405
+ continue;
406
+ }
407
+ }
408
+ if ((tag & 7) === 4 || tag === 0) {
409
+ break;
410
+ }
411
+ reader.skip(tag & 7);
412
+ }
413
+ return message;
414
+ }
415
+ finally {
416
+ reader.__tsProtoDecodeDepth = previousRecursionDepth;
417
+ }
418
+ },
419
+ fromJSON(object) {
420
+ return {
421
+ Results: globalThis.Array.isArray(object?.Results)
422
+ ? object.Results.map((e) => EventTypeCheckResult.fromJSON(e))
423
+ : [],
424
+ };
425
+ },
426
+ toJSON(message) {
427
+ const obj = {};
428
+ if (message.Results?.length) {
429
+ obj.Results = message.Results.map((e) => EventTypeCheckResult.toJSON(e));
430
+ }
431
+ return obj;
432
+ },
433
+ create(base) {
434
+ return CheckEventTypeRegistrationsResponse.fromPartial(base ?? {});
435
+ },
436
+ fromPartial(object) {
437
+ const message = createBaseCheckEventTypeRegistrationsResponse();
438
+ message.Results = object.Results?.map((e) => EventTypeCheckResult.fromPartial(e)) || [];
439
+ return message;
440
+ },
441
+ };
297
442
  function createBaseCommandResult() {
298
443
  return {
299
444
  CorrelationId: undefined,
@@ -447,6 +592,177 @@ const CommandResult = {
447
592
  return message;
448
593
  },
449
594
  };
595
+ function createBaseCommandResultCheckEventTypeRegistrationsResponse() {
596
+ return {
597
+ CorrelationId: undefined,
598
+ IsAuthorized: false,
599
+ ValidationResults: [],
600
+ ExceptionMessages: [],
601
+ ExceptionStackTrace: "",
602
+ AuthorizationFailureReason: "",
603
+ Response: undefined,
604
+ };
605
+ }
606
+ const CommandResultCheckEventTypeRegistrationsResponse = {
607
+ encode(message, writer = new BinaryWriter()) {
608
+ if (message.CorrelationId !== undefined) {
609
+ Guid.encode(message.CorrelationId, writer.uint32(10).fork()).join();
610
+ }
611
+ if (message.IsAuthorized !== false) {
612
+ writer.uint32(16).bool(message.IsAuthorized);
613
+ }
614
+ for (const v of message.ValidationResults) {
615
+ ValidationResult.encode(v, writer.uint32(26).fork()).join();
616
+ }
617
+ for (const v of message.ExceptionMessages) {
618
+ writer.uint32(34).string(v);
619
+ }
620
+ if (message.ExceptionStackTrace !== "") {
621
+ writer.uint32(42).string(message.ExceptionStackTrace);
622
+ }
623
+ if (message.AuthorizationFailureReason !== "") {
624
+ writer.uint32(50).string(message.AuthorizationFailureReason);
625
+ }
626
+ if (message.Response !== undefined) {
627
+ CheckEventTypeRegistrationsResponse.encode(message.Response, writer.uint32(58).fork()).join();
628
+ }
629
+ return writer;
630
+ },
631
+ decode(input, length) {
632
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
633
+ const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
634
+ if (previousRecursionDepth >= 100) {
635
+ throw new globalThis.Error("protobuf decode recursion limit exceeded");
636
+ }
637
+ reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
638
+ try {
639
+ const end = length === undefined ? reader.len : reader.pos + length;
640
+ const message = createBaseCommandResultCheckEventTypeRegistrationsResponse();
641
+ while (reader.pos < end) {
642
+ const tag = reader.uint32();
643
+ switch (tag >>> 3) {
644
+ case 1: {
645
+ if (tag !== 10) {
646
+ break;
647
+ }
648
+ message.CorrelationId = Guid.decode(reader, reader.uint32());
649
+ continue;
650
+ }
651
+ case 2: {
652
+ if (tag !== 16) {
653
+ break;
654
+ }
655
+ message.IsAuthorized = reader.bool();
656
+ continue;
657
+ }
658
+ case 3: {
659
+ if (tag !== 26) {
660
+ break;
661
+ }
662
+ message.ValidationResults.push(ValidationResult.decode(reader, reader.uint32()));
663
+ continue;
664
+ }
665
+ case 4: {
666
+ if (tag !== 34) {
667
+ break;
668
+ }
669
+ message.ExceptionMessages.push(reader.string());
670
+ continue;
671
+ }
672
+ case 5: {
673
+ if (tag !== 42) {
674
+ break;
675
+ }
676
+ message.ExceptionStackTrace = reader.string();
677
+ continue;
678
+ }
679
+ case 6: {
680
+ if (tag !== 50) {
681
+ break;
682
+ }
683
+ message.AuthorizationFailureReason = reader.string();
684
+ continue;
685
+ }
686
+ case 7: {
687
+ if (tag !== 58) {
688
+ break;
689
+ }
690
+ message.Response = CheckEventTypeRegistrationsResponse.decode(reader, reader.uint32());
691
+ continue;
692
+ }
693
+ }
694
+ if ((tag & 7) === 4 || tag === 0) {
695
+ break;
696
+ }
697
+ reader.skip(tag & 7);
698
+ }
699
+ return message;
700
+ }
701
+ finally {
702
+ reader.__tsProtoDecodeDepth = previousRecursionDepth;
703
+ }
704
+ },
705
+ fromJSON(object) {
706
+ return {
707
+ CorrelationId: isSet(object.CorrelationId) ? Guid.fromJSON(object.CorrelationId) : undefined,
708
+ IsAuthorized: isSet(object.IsAuthorized) ? globalThis.Boolean(object.IsAuthorized) : false,
709
+ ValidationResults: globalThis.Array.isArray(object?.ValidationResults)
710
+ ? object.ValidationResults.map((e) => ValidationResult.fromJSON(e))
711
+ : [],
712
+ ExceptionMessages: globalThis.Array.isArray(object?.ExceptionMessages)
713
+ ? object.ExceptionMessages.map((e) => globalThis.String(e))
714
+ : [],
715
+ ExceptionStackTrace: isSet(object.ExceptionStackTrace) ? globalThis.String(object.ExceptionStackTrace) : "",
716
+ AuthorizationFailureReason: isSet(object.AuthorizationFailureReason)
717
+ ? globalThis.String(object.AuthorizationFailureReason)
718
+ : "",
719
+ Response: isSet(object.Response) ? CheckEventTypeRegistrationsResponse.fromJSON(object.Response) : undefined,
720
+ };
721
+ },
722
+ toJSON(message) {
723
+ const obj = {};
724
+ if (message.CorrelationId !== undefined) {
725
+ obj.CorrelationId = Guid.toJSON(message.CorrelationId);
726
+ }
727
+ if (message.IsAuthorized !== false) {
728
+ obj.IsAuthorized = message.IsAuthorized;
729
+ }
730
+ if (message.ValidationResults?.length) {
731
+ obj.ValidationResults = message.ValidationResults.map((e) => ValidationResult.toJSON(e));
732
+ }
733
+ if (message.ExceptionMessages?.length) {
734
+ obj.ExceptionMessages = message.ExceptionMessages;
735
+ }
736
+ if (message.ExceptionStackTrace !== "") {
737
+ obj.ExceptionStackTrace = message.ExceptionStackTrace;
738
+ }
739
+ if (message.AuthorizationFailureReason !== "") {
740
+ obj.AuthorizationFailureReason = message.AuthorizationFailureReason;
741
+ }
742
+ if (message.Response !== undefined) {
743
+ obj.Response = CheckEventTypeRegistrationsResponse.toJSON(message.Response);
744
+ }
745
+ return obj;
746
+ },
747
+ create(base) {
748
+ return CommandResultCheckEventTypeRegistrationsResponse.fromPartial(base ?? {});
749
+ },
750
+ fromPartial(object) {
751
+ const message = createBaseCommandResultCheckEventTypeRegistrationsResponse();
752
+ message.CorrelationId = (object.CorrelationId !== undefined && object.CorrelationId !== null)
753
+ ? Guid.fromPartial(object.CorrelationId)
754
+ : undefined;
755
+ message.IsAuthorized = object.IsAuthorized ?? false;
756
+ message.ValidationResults = object.ValidationResults?.map((e) => ValidationResult.fromPartial(e)) || [];
757
+ message.ExceptionMessages = object.ExceptionMessages?.map((e) => e) || [];
758
+ message.ExceptionStackTrace = object.ExceptionStackTrace ?? "";
759
+ message.AuthorizationFailureReason = object.AuthorizationFailureReason ?? "";
760
+ message.Response = (object.Response !== undefined && object.Response !== null)
761
+ ? CheckEventTypeRegistrationsResponse.fromPartial(object.Response)
762
+ : undefined;
763
+ return message;
764
+ },
765
+ };
450
766
  function createBaseCreateEventTypeRequest() {
451
767
  return { EventStore: "", Name: "" };
452
768
  }
@@ -618,6 +934,144 @@ const EventType = {
618
934
  return message;
619
935
  },
620
936
  };
937
+ function createBaseEventTypeCheckResult() {
938
+ return { EventType: "", Generation: 0, Accepted: false, Reason: "", Keyword: "", Path: "" };
939
+ }
940
+ const EventTypeCheckResult = {
941
+ encode(message, writer = new BinaryWriter()) {
942
+ if (message.EventType !== "") {
943
+ writer.uint32(10).string(message.EventType);
944
+ }
945
+ if (message.Generation !== 0) {
946
+ writer.uint32(16).uint32(message.Generation);
947
+ }
948
+ if (message.Accepted !== false) {
949
+ writer.uint32(24).bool(message.Accepted);
950
+ }
951
+ if (message.Reason !== "") {
952
+ writer.uint32(34).string(message.Reason);
953
+ }
954
+ if (message.Keyword !== "") {
955
+ writer.uint32(42).string(message.Keyword);
956
+ }
957
+ if (message.Path !== "") {
958
+ writer.uint32(50).string(message.Path);
959
+ }
960
+ return writer;
961
+ },
962
+ decode(input, length) {
963
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
964
+ const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
965
+ if (previousRecursionDepth >= 100) {
966
+ throw new globalThis.Error("protobuf decode recursion limit exceeded");
967
+ }
968
+ reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
969
+ try {
970
+ const end = length === undefined ? reader.len : reader.pos + length;
971
+ const message = createBaseEventTypeCheckResult();
972
+ while (reader.pos < end) {
973
+ const tag = reader.uint32();
974
+ switch (tag >>> 3) {
975
+ case 1: {
976
+ if (tag !== 10) {
977
+ break;
978
+ }
979
+ message.EventType = reader.string();
980
+ continue;
981
+ }
982
+ case 2: {
983
+ if (tag !== 16) {
984
+ break;
985
+ }
986
+ message.Generation = reader.uint32();
987
+ continue;
988
+ }
989
+ case 3: {
990
+ if (tag !== 24) {
991
+ break;
992
+ }
993
+ message.Accepted = reader.bool();
994
+ continue;
995
+ }
996
+ case 4: {
997
+ if (tag !== 34) {
998
+ break;
999
+ }
1000
+ message.Reason = reader.string();
1001
+ continue;
1002
+ }
1003
+ case 5: {
1004
+ if (tag !== 42) {
1005
+ break;
1006
+ }
1007
+ message.Keyword = reader.string();
1008
+ continue;
1009
+ }
1010
+ case 6: {
1011
+ if (tag !== 50) {
1012
+ break;
1013
+ }
1014
+ message.Path = reader.string();
1015
+ continue;
1016
+ }
1017
+ }
1018
+ if ((tag & 7) === 4 || tag === 0) {
1019
+ break;
1020
+ }
1021
+ reader.skip(tag & 7);
1022
+ }
1023
+ return message;
1024
+ }
1025
+ finally {
1026
+ reader.__tsProtoDecodeDepth = previousRecursionDepth;
1027
+ }
1028
+ },
1029
+ fromJSON(object) {
1030
+ return {
1031
+ EventType: isSet(object.EventType) ? globalThis.String(object.EventType) : "",
1032
+ Generation: isSet(object.Generation) ? globalThis.Number(object.Generation) : 0,
1033
+ Accepted: isSet(object.Accepted) ? globalThis.Boolean(object.Accepted) : false,
1034
+ Reason: isSet(object.Reason) ? globalThis.String(object.Reason) : "",
1035
+ Keyword: isSet(object.Keyword) ? globalThis.String(object.Keyword) : "",
1036
+ Path: isSet(object.Path) ? globalThis.String(object.Path) : "",
1037
+ };
1038
+ },
1039
+ toJSON(message) {
1040
+ const obj = {};
1041
+ if (message.EventType !== "") {
1042
+ obj.EventType = message.EventType;
1043
+ }
1044
+ if (message.Generation !== 0) {
1045
+ obj.Generation = Math.round(message.Generation);
1046
+ }
1047
+ if (message.Accepted !== false) {
1048
+ obj.Accepted = message.Accepted;
1049
+ }
1050
+ if (message.Reason !== "") {
1051
+ obj.Reason = message.Reason;
1052
+ }
1053
+ if (message.Keyword !== "") {
1054
+ obj.Keyword = message.Keyword;
1055
+ }
1056
+ if (message.Path !== "") {
1057
+ obj.Path = message.Path;
1058
+ }
1059
+ return obj;
1060
+ },
1061
+ create(base) {
1062
+ return EventTypeCheckResult.fromPartial(base ?? {});
1063
+ },
1064
+ fromPartial(object) {
1065
+ const message = createBaseEventTypeCheckResult();
1066
+ message.EventType = object.EventType ?? "";
1067
+ message.Generation = object.Generation ?? 0;
1068
+ message.Accepted = object.Accepted ?? false;
1069
+ message.Reason = object.Reason ?? "";
1070
+ message.Keyword = object.Keyword ?? "";
1071
+ message.Path = object.Path ?? "";
1072
+ return message;
1073
+ },
1074
+ };
621
1075
  function createBaseEventTypeDetailsResponse() {
622
1076
  return { Type: undefined, Owner: 0, Source: 0, Schema: "", Id: "" };
623
1077
  }
@@ -1666,6 +2120,14 @@ const EventTypesDefinition = {
1666
2120
  responseStream: false,
1667
2121
  options: {},
1668
2122
  },
2123
+ checkEventTypeRegistrations: {
2124
+ name: "CheckEventTypeRegistrations",
2125
+ requestType: CheckEventTypeRegistrationsRequest,
2126
+ requestStream: false,
2127
+ responseType: CommandResultCheckEventTypeRegistrationsResponse,
2128
+ responseStream: false,
2129
+ options: {},
2130
+ },
1669
2131
  createEventType: {
1670
2132
  name: "CreateEventType",
1671
2133
  requestType: CreateEventTypeRequest,
@@ -1704,5 +2166,5 @@ function isSet(value) {
1704
2166
  return value !== null && value !== undefined;
1705
2167
  }
1706
2168
 
1707
- export { AllEventTypeGenerationsRequest, AllEventTypesRequest, CommandResult, CreateEventTypeRequest, EventType, EventTypeDetailsResponse, EventTypeGenerationDefinition, EventTypeMigrationDefinition, EventTypeMigrationOperation, EventTypeOwner, EventTypeRegistration, EventTypeSource, EventTypeVisibility, EventTypesDefinition, ObserveEventTypesRequest, QueryResultIEnumerableEventTypeDetailsResponse, RegisterEventTypesRequest, RegisterSingleEventTypeRequest, ValidationResult, ValidationResultSeverity, eventTypeOwnerFromJSON, eventTypeOwnerToJSON, eventTypeSourceFromJSON, eventTypeSourceToJSON, eventTypeVisibilityFromJSON, eventTypeVisibilityToJSON, validationResultSeverityFromJSON, validationResultSeverityToJSON };
2169
+ export { AllEventTypeGenerationsRequest, AllEventTypesRequest, CheckEventTypeRegistrationsRequest, CheckEventTypeRegistrationsResponse, CommandResult, CommandResultCheckEventTypeRegistrationsResponse, CreateEventTypeRequest, EventType, EventTypeCheckResult, EventTypeDetailsResponse, EventTypeGenerationDefinition, EventTypeMigrationDefinition, EventTypeMigrationOperation, EventTypeOwner, EventTypeRegistration, EventTypeSource, EventTypeVisibility, EventTypesDefinition, ObserveEventTypesRequest, QueryResultIEnumerableEventTypeDetailsResponse, RegisterEventTypesRequest, RegisterSingleEventTypeRequest, ValidationResult, ValidationResultSeverity, eventTypeOwnerFromJSON, eventTypeOwnerToJSON, eventTypeSourceFromJSON, eventTypeSourceToJSON, eventTypeVisibilityFromJSON, eventTypeVisibilityToJSON, validationResultSeverityFromJSON, validationResultSeverityToJSON };
1708
2170
  //# sourceMappingURL=eventtypes.js.map