@cratis/chronicle.contracts 19.156.6 → 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.
- package/dist/cjs/generated/descriptorSet.js +1 -1
- package/dist/cjs/generated/descriptorSet.js.map +1 -1
- package/dist/cjs/generated/events_constraints_operator.d.ts +72 -0
- package/dist/cjs/generated/events_constraints_operator.d.ts.map +1 -0
- package/dist/cjs/generated/events_constraints_operator.js +447 -0
- package/dist/cjs/generated/events_constraints_operator.js.map +1 -0
- package/dist/cjs/generated/eventtypes.d.ts +38 -0
- package/dist/cjs/generated/eventtypes.d.ts.map +1 -1
- package/dist/cjs/generated/eventtypes.js +466 -0
- package/dist/cjs/generated/eventtypes.js.map +1 -1
- package/dist/cjs/generated/index.d.ts +4 -2
- package/dist/cjs/generated/index.d.ts.map +1 -1
- package/dist/cjs/index.js +8 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/generated/descriptorSet.js +1 -1
- package/dist/esm/generated/descriptorSet.js.map +1 -1
- package/dist/esm/generated/events_constraints_operator.d.ts +72 -0
- package/dist/esm/generated/events_constraints_operator.d.ts.map +1 -0
- package/dist/esm/generated/events_constraints_operator.js +440 -0
- package/dist/esm/generated/events_constraints_operator.js.map +1 -0
- package/dist/esm/generated/eventtypes.d.ts +38 -0
- package/dist/esm/generated/eventtypes.d.ts.map +1 -1
- package/dist/esm/generated/eventtypes.js +463 -1
- package/dist/esm/generated/eventtypes.js.map +1 -1
- package/dist/esm/generated/index.d.ts +4 -2
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/generated/descriptorSet.js +1 -1
- package/dist/generated/descriptorSet.js.map +1 -1
- package/dist/generated/events_constraints_operator.d.ts +72 -0
- package/dist/generated/events_constraints_operator.d.ts.map +1 -0
- package/dist/generated/events_constraints_operator.js +439 -0
- package/dist/generated/events_constraints_operator.js.map +1 -0
- package/dist/generated/eventtypes.d.ts +38 -0
- package/dist/generated/eventtypes.d.ts.map +1 -1
- package/dist/generated/eventtypes.js +462 -0
- package/dist/generated/eventtypes.js.map +1 -1
- package/dist/generated/index.d.ts +4 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +3 -2
- package/dist/generated/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/generated/descriptorSet.ts +1 -1
- package/generated/events_constraints_operator.ts +539 -0
- package/generated/eventtypes.ts +545 -0
- package/generated/index.ts +5 -2
- 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<CommandResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventtypes.d.ts","sourceRoot":"","sources":["../../../generated/eventtypes.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,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,eAAe,0CAA0C,CAAC;AAEvE,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AAEnD,oBAAY,cAAc;IACxB,IAAI,IAAI;IACR,MAAM,IAAI;IACV,MAAM,IAAI;IACV,YAAY,KAAK;CAClB;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,GAAG,GAAG,cAAc,CAgBlE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAYnE;AAED,oBAAY,eAAe;IACzB,yBAAyB,IAAI;IAC7B,IAAI,IAAI;IACR,IAAI,IAAI;IACR,YAAY,KAAK;CAClB;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,GAAG,GAAG,eAAe,CAgBpE;A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,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"}
|
|
@@ -296,6 +296,151 @@ const AllEventTypesRequest = {
|
|
|
296
296
|
return message;
|
|
297
297
|
},
|
|
298
298
|
};
|
|
299
|
+
function createBaseCheckEventTypeRegistrationsRequest() {
|
|
300
|
+
return { EventStore: "", Types: [] };
|
|
301
|
+
}
|
|
302
|
+
const CheckEventTypeRegistrationsRequest = {
|
|
303
|
+
encode(message, writer = new wire.BinaryWriter()) {
|
|
304
|
+
if (message.EventStore !== "") {
|
|
305
|
+
writer.uint32(10).string(message.EventStore);
|
|
306
|
+
}
|
|
307
|
+
for (const v of message.Types) {
|
|
308
|
+
EventTypeRegistration.encode(v, writer.uint32(18).fork()).join();
|
|
309
|
+
}
|
|
310
|
+
return writer;
|
|
311
|
+
},
|
|
312
|
+
decode(input, length) {
|
|
313
|
+
const reader = input instanceof wire.BinaryReader ? input : new wire.BinaryReader(input);
|
|
314
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
315
|
+
if (previousRecursionDepth >= 100) {
|
|
316
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
317
|
+
}
|
|
318
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
319
|
+
try {
|
|
320
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
321
|
+
const message = createBaseCheckEventTypeRegistrationsRequest();
|
|
322
|
+
while (reader.pos < end) {
|
|
323
|
+
const tag = reader.uint32();
|
|
324
|
+
switch (tag >>> 3) {
|
|
325
|
+
case 1: {
|
|
326
|
+
if (tag !== 10) {
|
|
327
|
+
break;
|
|
328
|
+
}
|
|
329
|
+
message.EventStore = reader.string();
|
|
330
|
+
continue;
|
|
331
|
+
}
|
|
332
|
+
case 2: {
|
|
333
|
+
if (tag !== 18) {
|
|
334
|
+
break;
|
|
335
|
+
}
|
|
336
|
+
message.Types.push(EventTypeRegistration.decode(reader, reader.uint32()));
|
|
337
|
+
continue;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
341
|
+
break;
|
|
342
|
+
}
|
|
343
|
+
reader.skip(tag & 7);
|
|
344
|
+
}
|
|
345
|
+
return message;
|
|
346
|
+
}
|
|
347
|
+
finally {
|
|
348
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
fromJSON(object) {
|
|
352
|
+
return {
|
|
353
|
+
EventStore: isSet(object.EventStore) ? globalThis.String(object.EventStore) : "",
|
|
354
|
+
Types: globalThis.Array.isArray(object?.Types)
|
|
355
|
+
? object.Types.map((e) => EventTypeRegistration.fromJSON(e))
|
|
356
|
+
: [],
|
|
357
|
+
};
|
|
358
|
+
},
|
|
359
|
+
toJSON(message) {
|
|
360
|
+
const obj = {};
|
|
361
|
+
if (message.EventStore !== "") {
|
|
362
|
+
obj.EventStore = message.EventStore;
|
|
363
|
+
}
|
|
364
|
+
if (message.Types?.length) {
|
|
365
|
+
obj.Types = message.Types.map((e) => EventTypeRegistration.toJSON(e));
|
|
366
|
+
}
|
|
367
|
+
return obj;
|
|
368
|
+
},
|
|
369
|
+
create(base) {
|
|
370
|
+
return CheckEventTypeRegistrationsRequest.fromPartial(base ?? {});
|
|
371
|
+
},
|
|
372
|
+
fromPartial(object) {
|
|
373
|
+
const message = createBaseCheckEventTypeRegistrationsRequest();
|
|
374
|
+
message.EventStore = object.EventStore ?? "";
|
|
375
|
+
message.Types = object.Types?.map((e) => EventTypeRegistration.fromPartial(e)) || [];
|
|
376
|
+
return message;
|
|
377
|
+
},
|
|
378
|
+
};
|
|
379
|
+
function createBaseCheckEventTypeRegistrationsResponse() {
|
|
380
|
+
return { Results: [] };
|
|
381
|
+
}
|
|
382
|
+
const CheckEventTypeRegistrationsResponse = {
|
|
383
|
+
encode(message, writer = new wire.BinaryWriter()) {
|
|
384
|
+
for (const v of message.Results) {
|
|
385
|
+
EventTypeCheckResult.encode(v, writer.uint32(10).fork()).join();
|
|
386
|
+
}
|
|
387
|
+
return writer;
|
|
388
|
+
},
|
|
389
|
+
decode(input, length) {
|
|
390
|
+
const reader = input instanceof wire.BinaryReader ? input : new wire.BinaryReader(input);
|
|
391
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
392
|
+
if (previousRecursionDepth >= 100) {
|
|
393
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
394
|
+
}
|
|
395
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
396
|
+
try {
|
|
397
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
398
|
+
const message = createBaseCheckEventTypeRegistrationsResponse();
|
|
399
|
+
while (reader.pos < end) {
|
|
400
|
+
const tag = reader.uint32();
|
|
401
|
+
switch (tag >>> 3) {
|
|
402
|
+
case 1: {
|
|
403
|
+
if (tag !== 10) {
|
|
404
|
+
break;
|
|
405
|
+
}
|
|
406
|
+
message.Results.push(EventTypeCheckResult.decode(reader, reader.uint32()));
|
|
407
|
+
continue;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
411
|
+
break;
|
|
412
|
+
}
|
|
413
|
+
reader.skip(tag & 7);
|
|
414
|
+
}
|
|
415
|
+
return message;
|
|
416
|
+
}
|
|
417
|
+
finally {
|
|
418
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
fromJSON(object) {
|
|
422
|
+
return {
|
|
423
|
+
Results: globalThis.Array.isArray(object?.Results)
|
|
424
|
+
? object.Results.map((e) => EventTypeCheckResult.fromJSON(e))
|
|
425
|
+
: [],
|
|
426
|
+
};
|
|
427
|
+
},
|
|
428
|
+
toJSON(message) {
|
|
429
|
+
const obj = {};
|
|
430
|
+
if (message.Results?.length) {
|
|
431
|
+
obj.Results = message.Results.map((e) => EventTypeCheckResult.toJSON(e));
|
|
432
|
+
}
|
|
433
|
+
return obj;
|
|
434
|
+
},
|
|
435
|
+
create(base) {
|
|
436
|
+
return CheckEventTypeRegistrationsResponse.fromPartial(base ?? {});
|
|
437
|
+
},
|
|
438
|
+
fromPartial(object) {
|
|
439
|
+
const message = createBaseCheckEventTypeRegistrationsResponse();
|
|
440
|
+
message.Results = object.Results?.map((e) => EventTypeCheckResult.fromPartial(e)) || [];
|
|
441
|
+
return message;
|
|
442
|
+
},
|
|
443
|
+
};
|
|
299
444
|
function createBaseCommandResult() {
|
|
300
445
|
return {
|
|
301
446
|
CorrelationId: undefined,
|
|
@@ -449,6 +594,177 @@ const CommandResult = {
|
|
|
449
594
|
return message;
|
|
450
595
|
},
|
|
451
596
|
};
|
|
597
|
+
function createBaseCommandResultCheckEventTypeRegistrationsResponse() {
|
|
598
|
+
return {
|
|
599
|
+
CorrelationId: undefined,
|
|
600
|
+
IsAuthorized: false,
|
|
601
|
+
ValidationResults: [],
|
|
602
|
+
ExceptionMessages: [],
|
|
603
|
+
ExceptionStackTrace: "",
|
|
604
|
+
AuthorizationFailureReason: "",
|
|
605
|
+
Response: undefined,
|
|
606
|
+
};
|
|
607
|
+
}
|
|
608
|
+
const CommandResultCheckEventTypeRegistrationsResponse = {
|
|
609
|
+
encode(message, writer = new wire.BinaryWriter()) {
|
|
610
|
+
if (message.CorrelationId !== undefined) {
|
|
611
|
+
bcl.Guid.encode(message.CorrelationId, writer.uint32(10).fork()).join();
|
|
612
|
+
}
|
|
613
|
+
if (message.IsAuthorized !== false) {
|
|
614
|
+
writer.uint32(16).bool(message.IsAuthorized);
|
|
615
|
+
}
|
|
616
|
+
for (const v of message.ValidationResults) {
|
|
617
|
+
ValidationResult.encode(v, writer.uint32(26).fork()).join();
|
|
618
|
+
}
|
|
619
|
+
for (const v of message.ExceptionMessages) {
|
|
620
|
+
writer.uint32(34).string(v);
|
|
621
|
+
}
|
|
622
|
+
if (message.ExceptionStackTrace !== "") {
|
|
623
|
+
writer.uint32(42).string(message.ExceptionStackTrace);
|
|
624
|
+
}
|
|
625
|
+
if (message.AuthorizationFailureReason !== "") {
|
|
626
|
+
writer.uint32(50).string(message.AuthorizationFailureReason);
|
|
627
|
+
}
|
|
628
|
+
if (message.Response !== undefined) {
|
|
629
|
+
CheckEventTypeRegistrationsResponse.encode(message.Response, writer.uint32(58).fork()).join();
|
|
630
|
+
}
|
|
631
|
+
return writer;
|
|
632
|
+
},
|
|
633
|
+
decode(input, length) {
|
|
634
|
+
const reader = input instanceof wire.BinaryReader ? input : new wire.BinaryReader(input);
|
|
635
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
636
|
+
if (previousRecursionDepth >= 100) {
|
|
637
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
638
|
+
}
|
|
639
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
640
|
+
try {
|
|
641
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
642
|
+
const message = createBaseCommandResultCheckEventTypeRegistrationsResponse();
|
|
643
|
+
while (reader.pos < end) {
|
|
644
|
+
const tag = reader.uint32();
|
|
645
|
+
switch (tag >>> 3) {
|
|
646
|
+
case 1: {
|
|
647
|
+
if (tag !== 10) {
|
|
648
|
+
break;
|
|
649
|
+
}
|
|
650
|
+
message.CorrelationId = bcl.Guid.decode(reader, reader.uint32());
|
|
651
|
+
continue;
|
|
652
|
+
}
|
|
653
|
+
case 2: {
|
|
654
|
+
if (tag !== 16) {
|
|
655
|
+
break;
|
|
656
|
+
}
|
|
657
|
+
message.IsAuthorized = reader.bool();
|
|
658
|
+
continue;
|
|
659
|
+
}
|
|
660
|
+
case 3: {
|
|
661
|
+
if (tag !== 26) {
|
|
662
|
+
break;
|
|
663
|
+
}
|
|
664
|
+
message.ValidationResults.push(ValidationResult.decode(reader, reader.uint32()));
|
|
665
|
+
continue;
|
|
666
|
+
}
|
|
667
|
+
case 4: {
|
|
668
|
+
if (tag !== 34) {
|
|
669
|
+
break;
|
|
670
|
+
}
|
|
671
|
+
message.ExceptionMessages.push(reader.string());
|
|
672
|
+
continue;
|
|
673
|
+
}
|
|
674
|
+
case 5: {
|
|
675
|
+
if (tag !== 42) {
|
|
676
|
+
break;
|
|
677
|
+
}
|
|
678
|
+
message.ExceptionStackTrace = reader.string();
|
|
679
|
+
continue;
|
|
680
|
+
}
|
|
681
|
+
case 6: {
|
|
682
|
+
if (tag !== 50) {
|
|
683
|
+
break;
|
|
684
|
+
}
|
|
685
|
+
message.AuthorizationFailureReason = reader.string();
|
|
686
|
+
continue;
|
|
687
|
+
}
|
|
688
|
+
case 7: {
|
|
689
|
+
if (tag !== 58) {
|
|
690
|
+
break;
|
|
691
|
+
}
|
|
692
|
+
message.Response = CheckEventTypeRegistrationsResponse.decode(reader, reader.uint32());
|
|
693
|
+
continue;
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
697
|
+
break;
|
|
698
|
+
}
|
|
699
|
+
reader.skip(tag & 7);
|
|
700
|
+
}
|
|
701
|
+
return message;
|
|
702
|
+
}
|
|
703
|
+
finally {
|
|
704
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
fromJSON(object) {
|
|
708
|
+
return {
|
|
709
|
+
CorrelationId: isSet(object.CorrelationId) ? bcl.Guid.fromJSON(object.CorrelationId) : undefined,
|
|
710
|
+
IsAuthorized: isSet(object.IsAuthorized) ? globalThis.Boolean(object.IsAuthorized) : false,
|
|
711
|
+
ValidationResults: globalThis.Array.isArray(object?.ValidationResults)
|
|
712
|
+
? object.ValidationResults.map((e) => ValidationResult.fromJSON(e))
|
|
713
|
+
: [],
|
|
714
|
+
ExceptionMessages: globalThis.Array.isArray(object?.ExceptionMessages)
|
|
715
|
+
? object.ExceptionMessages.map((e) => globalThis.String(e))
|
|
716
|
+
: [],
|
|
717
|
+
ExceptionStackTrace: isSet(object.ExceptionStackTrace) ? globalThis.String(object.ExceptionStackTrace) : "",
|
|
718
|
+
AuthorizationFailureReason: isSet(object.AuthorizationFailureReason)
|
|
719
|
+
? globalThis.String(object.AuthorizationFailureReason)
|
|
720
|
+
: "",
|
|
721
|
+
Response: isSet(object.Response) ? CheckEventTypeRegistrationsResponse.fromJSON(object.Response) : undefined,
|
|
722
|
+
};
|
|
723
|
+
},
|
|
724
|
+
toJSON(message) {
|
|
725
|
+
const obj = {};
|
|
726
|
+
if (message.CorrelationId !== undefined) {
|
|
727
|
+
obj.CorrelationId = bcl.Guid.toJSON(message.CorrelationId);
|
|
728
|
+
}
|
|
729
|
+
if (message.IsAuthorized !== false) {
|
|
730
|
+
obj.IsAuthorized = message.IsAuthorized;
|
|
731
|
+
}
|
|
732
|
+
if (message.ValidationResults?.length) {
|
|
733
|
+
obj.ValidationResults = message.ValidationResults.map((e) => ValidationResult.toJSON(e));
|
|
734
|
+
}
|
|
735
|
+
if (message.ExceptionMessages?.length) {
|
|
736
|
+
obj.ExceptionMessages = message.ExceptionMessages;
|
|
737
|
+
}
|
|
738
|
+
if (message.ExceptionStackTrace !== "") {
|
|
739
|
+
obj.ExceptionStackTrace = message.ExceptionStackTrace;
|
|
740
|
+
}
|
|
741
|
+
if (message.AuthorizationFailureReason !== "") {
|
|
742
|
+
obj.AuthorizationFailureReason = message.AuthorizationFailureReason;
|
|
743
|
+
}
|
|
744
|
+
if (message.Response !== undefined) {
|
|
745
|
+
obj.Response = CheckEventTypeRegistrationsResponse.toJSON(message.Response);
|
|
746
|
+
}
|
|
747
|
+
return obj;
|
|
748
|
+
},
|
|
749
|
+
create(base) {
|
|
750
|
+
return CommandResultCheckEventTypeRegistrationsResponse.fromPartial(base ?? {});
|
|
751
|
+
},
|
|
752
|
+
fromPartial(object) {
|
|
753
|
+
const message = createBaseCommandResultCheckEventTypeRegistrationsResponse();
|
|
754
|
+
message.CorrelationId = (object.CorrelationId !== undefined && object.CorrelationId !== null)
|
|
755
|
+
? bcl.Guid.fromPartial(object.CorrelationId)
|
|
756
|
+
: undefined;
|
|
757
|
+
message.IsAuthorized = object.IsAuthorized ?? false;
|
|
758
|
+
message.ValidationResults = object.ValidationResults?.map((e) => ValidationResult.fromPartial(e)) || [];
|
|
759
|
+
message.ExceptionMessages = object.ExceptionMessages?.map((e) => e) || [];
|
|
760
|
+
message.ExceptionStackTrace = object.ExceptionStackTrace ?? "";
|
|
761
|
+
message.AuthorizationFailureReason = object.AuthorizationFailureReason ?? "";
|
|
762
|
+
message.Response = (object.Response !== undefined && object.Response !== null)
|
|
763
|
+
? CheckEventTypeRegistrationsResponse.fromPartial(object.Response)
|
|
764
|
+
: undefined;
|
|
765
|
+
return message;
|
|
766
|
+
},
|
|
767
|
+
};
|
|
452
768
|
function createBaseCreateEventTypeRequest() {
|
|
453
769
|
return { EventStore: "", Name: "" };
|
|
454
770
|
}
|
|
@@ -620,6 +936,144 @@ const EventType = {
|
|
|
620
936
|
return message;
|
|
621
937
|
},
|
|
622
938
|
};
|
|
939
|
+
function createBaseEventTypeCheckResult() {
|
|
940
|
+
return { EventType: "", Generation: 0, Accepted: false, Reason: "", Keyword: "", Path: "" };
|
|
941
|
+
}
|
|
942
|
+
const EventTypeCheckResult = {
|
|
943
|
+
encode(message, writer = new wire.BinaryWriter()) {
|
|
944
|
+
if (message.EventType !== "") {
|
|
945
|
+
writer.uint32(10).string(message.EventType);
|
|
946
|
+
}
|
|
947
|
+
if (message.Generation !== 0) {
|
|
948
|
+
writer.uint32(16).uint32(message.Generation);
|
|
949
|
+
}
|
|
950
|
+
if (message.Accepted !== false) {
|
|
951
|
+
writer.uint32(24).bool(message.Accepted);
|
|
952
|
+
}
|
|
953
|
+
if (message.Reason !== "") {
|
|
954
|
+
writer.uint32(34).string(message.Reason);
|
|
955
|
+
}
|
|
956
|
+
if (message.Keyword !== "") {
|
|
957
|
+
writer.uint32(42).string(message.Keyword);
|
|
958
|
+
}
|
|
959
|
+
if (message.Path !== "") {
|
|
960
|
+
writer.uint32(50).string(message.Path);
|
|
961
|
+
}
|
|
962
|
+
return writer;
|
|
963
|
+
},
|
|
964
|
+
decode(input, length) {
|
|
965
|
+
const reader = input instanceof wire.BinaryReader ? input : new wire.BinaryReader(input);
|
|
966
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
967
|
+
if (previousRecursionDepth >= 100) {
|
|
968
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
969
|
+
}
|
|
970
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
971
|
+
try {
|
|
972
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
973
|
+
const message = createBaseEventTypeCheckResult();
|
|
974
|
+
while (reader.pos < end) {
|
|
975
|
+
const tag = reader.uint32();
|
|
976
|
+
switch (tag >>> 3) {
|
|
977
|
+
case 1: {
|
|
978
|
+
if (tag !== 10) {
|
|
979
|
+
break;
|
|
980
|
+
}
|
|
981
|
+
message.EventType = reader.string();
|
|
982
|
+
continue;
|
|
983
|
+
}
|
|
984
|
+
case 2: {
|
|
985
|
+
if (tag !== 16) {
|
|
986
|
+
break;
|
|
987
|
+
}
|
|
988
|
+
message.Generation = reader.uint32();
|
|
989
|
+
continue;
|
|
990
|
+
}
|
|
991
|
+
case 3: {
|
|
992
|
+
if (tag !== 24) {
|
|
993
|
+
break;
|
|
994
|
+
}
|
|
995
|
+
message.Accepted = reader.bool();
|
|
996
|
+
continue;
|
|
997
|
+
}
|
|
998
|
+
case 4: {
|
|
999
|
+
if (tag !== 34) {
|
|
1000
|
+
break;
|
|
1001
|
+
}
|
|
1002
|
+
message.Reason = reader.string();
|
|
1003
|
+
continue;
|
|
1004
|
+
}
|
|
1005
|
+
case 5: {
|
|
1006
|
+
if (tag !== 42) {
|
|
1007
|
+
break;
|
|
1008
|
+
}
|
|
1009
|
+
message.Keyword = reader.string();
|
|
1010
|
+
continue;
|
|
1011
|
+
}
|
|
1012
|
+
case 6: {
|
|
1013
|
+
if (tag !== 50) {
|
|
1014
|
+
break;
|
|
1015
|
+
}
|
|
1016
|
+
message.Path = reader.string();
|
|
1017
|
+
continue;
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1021
|
+
break;
|
|
1022
|
+
}
|
|
1023
|
+
reader.skip(tag & 7);
|
|
1024
|
+
}
|
|
1025
|
+
return message;
|
|
1026
|
+
}
|
|
1027
|
+
finally {
|
|
1028
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
fromJSON(object) {
|
|
1032
|
+
return {
|
|
1033
|
+
EventType: isSet(object.EventType) ? globalThis.String(object.EventType) : "",
|
|
1034
|
+
Generation: isSet(object.Generation) ? globalThis.Number(object.Generation) : 0,
|
|
1035
|
+
Accepted: isSet(object.Accepted) ? globalThis.Boolean(object.Accepted) : false,
|
|
1036
|
+
Reason: isSet(object.Reason) ? globalThis.String(object.Reason) : "",
|
|
1037
|
+
Keyword: isSet(object.Keyword) ? globalThis.String(object.Keyword) : "",
|
|
1038
|
+
Path: isSet(object.Path) ? globalThis.String(object.Path) : "",
|
|
1039
|
+
};
|
|
1040
|
+
},
|
|
1041
|
+
toJSON(message) {
|
|
1042
|
+
const obj = {};
|
|
1043
|
+
if (message.EventType !== "") {
|
|
1044
|
+
obj.EventType = message.EventType;
|
|
1045
|
+
}
|
|
1046
|
+
if (message.Generation !== 0) {
|
|
1047
|
+
obj.Generation = Math.round(message.Generation);
|
|
1048
|
+
}
|
|
1049
|
+
if (message.Accepted !== false) {
|
|
1050
|
+
obj.Accepted = message.Accepted;
|
|
1051
|
+
}
|
|
1052
|
+
if (message.Reason !== "") {
|
|
1053
|
+
obj.Reason = message.Reason;
|
|
1054
|
+
}
|
|
1055
|
+
if (message.Keyword !== "") {
|
|
1056
|
+
obj.Keyword = message.Keyword;
|
|
1057
|
+
}
|
|
1058
|
+
if (message.Path !== "") {
|
|
1059
|
+
obj.Path = message.Path;
|
|
1060
|
+
}
|
|
1061
|
+
return obj;
|
|
1062
|
+
},
|
|
1063
|
+
create(base) {
|
|
1064
|
+
return EventTypeCheckResult.fromPartial(base ?? {});
|
|
1065
|
+
},
|
|
1066
|
+
fromPartial(object) {
|
|
1067
|
+
const message = createBaseEventTypeCheckResult();
|
|
1068
|
+
message.EventType = object.EventType ?? "";
|
|
1069
|
+
message.Generation = object.Generation ?? 0;
|
|
1070
|
+
message.Accepted = object.Accepted ?? false;
|
|
1071
|
+
message.Reason = object.Reason ?? "";
|
|
1072
|
+
message.Keyword = object.Keyword ?? "";
|
|
1073
|
+
message.Path = object.Path ?? "";
|
|
1074
|
+
return message;
|
|
1075
|
+
},
|
|
1076
|
+
};
|
|
623
1077
|
function createBaseEventTypeDetailsResponse() {
|
|
624
1078
|
return { Type: undefined, Owner: 0, Source: 0, Schema: "", Id: "" };
|
|
625
1079
|
}
|
|
@@ -1668,6 +2122,14 @@ const EventTypesDefinition = {
|
|
|
1668
2122
|
responseStream: false,
|
|
1669
2123
|
options: {},
|
|
1670
2124
|
},
|
|
2125
|
+
checkEventTypeRegistrations: {
|
|
2126
|
+
name: "CheckEventTypeRegistrations",
|
|
2127
|
+
requestType: CheckEventTypeRegistrationsRequest,
|
|
2128
|
+
requestStream: false,
|
|
2129
|
+
responseType: CommandResultCheckEventTypeRegistrationsResponse,
|
|
2130
|
+
responseStream: false,
|
|
2131
|
+
options: {},
|
|
2132
|
+
},
|
|
1671
2133
|
createEventType: {
|
|
1672
2134
|
name: "CreateEventType",
|
|
1673
2135
|
requestType: CreateEventTypeRequest,
|
|
@@ -1708,9 +2170,13 @@ function isSet(value) {
|
|
|
1708
2170
|
|
|
1709
2171
|
exports.AllEventTypeGenerationsRequest = AllEventTypeGenerationsRequest;
|
|
1710
2172
|
exports.AllEventTypesRequest = AllEventTypesRequest;
|
|
2173
|
+
exports.CheckEventTypeRegistrationsRequest = CheckEventTypeRegistrationsRequest;
|
|
2174
|
+
exports.CheckEventTypeRegistrationsResponse = CheckEventTypeRegistrationsResponse;
|
|
1711
2175
|
exports.CommandResult = CommandResult;
|
|
2176
|
+
exports.CommandResultCheckEventTypeRegistrationsResponse = CommandResultCheckEventTypeRegistrationsResponse;
|
|
1712
2177
|
exports.CreateEventTypeRequest = CreateEventTypeRequest;
|
|
1713
2178
|
exports.EventType = EventType;
|
|
2179
|
+
exports.EventTypeCheckResult = EventTypeCheckResult;
|
|
1714
2180
|
exports.EventTypeDetailsResponse = EventTypeDetailsResponse;
|
|
1715
2181
|
exports.EventTypeGenerationDefinition = EventTypeGenerationDefinition;
|
|
1716
2182
|
exports.EventTypeMigrationDefinition = EventTypeMigrationDefinition;
|