@cratis/chronicle.contracts 19.115.3 → 19.116.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/index.d.ts +2 -2
- package/dist/cjs/generated/index.d.ts.map +1 -1
- package/dist/cjs/generated/observation.d.ts +1 -0
- package/dist/cjs/generated/observation.d.ts.map +1 -1
- package/dist/cjs/generated/observation.js +21 -0
- package/dist/cjs/generated/observation.js.map +1 -1
- package/dist/cjs/generated/recommendations.d.ts +46 -0
- package/dist/cjs/generated/recommendations.d.ts.map +1 -1
- package/dist/cjs/generated/recommendations.js +278 -0
- package/dist/cjs/generated/recommendations.js.map +1 -1
- package/dist/cjs/generated/sequences.d.ts +20 -0
- package/dist/cjs/generated/sequences.d.ts.map +1 -1
- package/dist/cjs/generated/sequences.js +178 -0
- package/dist/cjs/generated/sequences.js.map +1 -1
- package/dist/cjs/index.js +4 -0
- 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/index.d.ts +2 -2
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/observation.d.ts +1 -0
- package/dist/esm/generated/observation.d.ts.map +1 -1
- package/dist/esm/generated/observation.js +21 -0
- package/dist/esm/generated/observation.js.map +1 -1
- package/dist/esm/generated/recommendations.d.ts +46 -0
- package/dist/esm/generated/recommendations.d.ts.map +1 -1
- package/dist/esm/generated/recommendations.js +276 -1
- package/dist/esm/generated/recommendations.js.map +1 -1
- package/dist/esm/generated/sequences.d.ts +20 -0
- package/dist/esm/generated/sequences.d.ts.map +1 -1
- package/dist/esm/generated/sequences.js +178 -1
- package/dist/esm/generated/sequences.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/generated/descriptorSet.js +1 -1
- package/dist/generated/descriptorSet.js.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +2 -2
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/observation.d.ts +1 -0
- package/dist/generated/observation.d.ts.map +1 -1
- package/dist/generated/observation.js +21 -0
- package/dist/generated/observation.js.map +1 -1
- package/dist/generated/recommendations.d.ts +46 -0
- package/dist/generated/recommendations.d.ts.map +1 -1
- package/dist/generated/recommendations.js +275 -0
- package/dist/generated/recommendations.js.map +1 -1
- package/dist/generated/sequences.d.ts +20 -0
- package/dist/generated/sequences.d.ts.map +1 -1
- package/dist/generated/sequences.js +177 -0
- package/dist/generated/sequences.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/generated/descriptorSet.ts +1 -1
- package/generated/index.ts +2 -2
- package/generated/observation.ts +23 -0
- package/generated/recommendations.ts +340 -0
- package/generated/sequences.ts +218 -0
- package/package.json +1 -1
package/generated/index.ts
CHANGED
|
@@ -81,7 +81,7 @@ export type { ReadModelLookupsClient, ReadModelLookupsServiceImplementation } fr
|
|
|
81
81
|
export { DehydrateSessionRequest, GetAllInstancesRequest, GetAllInstancesResponse, GetDefinitionsRequest, GetDefinitionsResponse, GetInstanceByKeyRequest, GetInstanceByKeyResponse, GetInstancesRequest, GetInstancesResponse, GetOccurrencesRequest, GetOccurrencesResponse, MaterializedReadModelsDefinition, ObserveInstancesRequest, ObserveInstancesResponse, ReadModelChangeset, ReadModelChangeType, readModelChangeTypeFromJSON, readModelChangeTypeToJSON, ReadModelOccurrence, ReadModelsDefinition, RegisterManyRequest, RegisterSingleRequest, UpdateDefinitionRequest, WatchRequest } from './readmodels';
|
|
82
82
|
export type { MaterializedReadModelsClient, MaterializedReadModelsServiceImplementation, ReadModelsClient, ReadModelsServiceImplementation } from './readmodels';
|
|
83
83
|
|
|
84
|
-
export { AllRecommendationsRequest, GetRecommendationsRequest, IgnoreRecommendationRequest, PerformRecommendationRequest, QueryResultIEnumerableRecommendationDetailsResponse, RecommendationDetailsResponse, RecommendationsDefinition } from './recommendations';
|
|
84
|
+
export { AllRecommendationsRequest, GetIgnoredRecommendationsRequest, GetRecommendationsRequest, IgnoredRecommendationsRequest, IgnoreRecommendationRequest, PerformRecommendationRequest, QueryResultIEnumerableRecommendationDetailsResponse, RecommendationDetailsResponse, RecommendationsDefinition, UnignoreRecommendationRequest } from './recommendations';
|
|
85
85
|
export type { RecommendationsClient, RecommendationsServiceImplementation } from './recommendations';
|
|
86
86
|
|
|
87
87
|
export { AddApplicationRequest, AddUserRequest, AdministratorResponse, AdministratorsDefinition, AdminPasswordStatusResponse, ApplicationResponse, ApplicationsDefinition, ChangeApplicationSecretRequest, ChangeUserPasswordRequest, GrantAdministratorRequest, QueryResultAdminPasswordStatusResponse, QueryResultIEnumerableAdministratorResponse, QueryResultIEnumerableApplicationResponse, QueryResultIEnumerableUserResponse, RemoveApplicationRequest, RemoveUserRequest, RequirePasswordChangeRequest, RevokeAdministratorRequest, SetInitialAdminPasswordRequest, UserResponse, UsersDefinition } from './security';
|
|
@@ -90,7 +90,7 @@ export type { AdministratorsClient, AdministratorsServiceImplementation, Applica
|
|
|
90
90
|
export { AddSeedEntryRequest, EventSeedingDefinition, EventSeedingSupportResponse, EventSourceSeedEntries, EventTypeSeedEntries, GetGlobalSeedDataRequest, GetNamespaceSeedDataRequest, NamespacedSeedEntries, QueryResultEventSeedingSupportResponse, QueryResultSeedDataResponse, SeedDataResponse, SeedEventsRequest, SeedingEntry } from './seeding';
|
|
91
91
|
export type { EventSeedingClient, EventSeedingServiceImplementation } from './seeding';
|
|
92
92
|
|
|
93
|
-
export { AllEventSequencesRequest, AppendedEventResponse, AppendedEventsRequest, AppendManyForEventSourcesRequest, AppendManyForEventSourcesWithNamedTagsRequest, AppendManyOnceRequest, AppendManyOnceResponse, AppendManyOnceWithNamedTagsRequest, AppendManyRequest, AppendManyResponse, AppendManyWithNamedTagsRequest, AppendOnceRequest, AppendOnceResponse, AppendOnceWithNamedTagsRequest, AppendOutcome, appendOutcomeFromJSON, appendOutcomeToJSON, AppendRequest, AppendResponse, AppendWithNamedTagsRequest, ClosedStreamOrigin, closedStreamOriginFromJSON, closedStreamOriginToJSON, ClosedStreamResponse, ClosedStreamsRequest, CommandResultAppendManyOnceResponse, CommandResultAppendManyResponse, CommandResultAppendOnceResponse, CommandResultAppendResponse, CommandResultCompleteStreamResponse, CommandResultReopenStreamScopeResponse, CommandResultVerifyContentResponse, CompleteStreamError, completeStreamErrorFromJSON, completeStreamErrorToJSON, CompleteStreamRequest, CompleteStreamResponse, CompleteStreamScopeRequest, ConcurrencyScope, ConcurrencyViolation, ConstraintViolation, ConstraintViolation_DetailsEntry, ContentVerificationResult, contentVerificationResultFromJSON, contentVerificationResultToJSON, EndOfRequest, EventForEventSourceId, EventForEventSourceIdWithNamedTags, EventMetadataResponse, EventSequenceNamesResponse, EventSequencePageResponse, EventSequencesDefinition, EventSequenceTailResponse, EventSourceConcurrencyScope, EventSourceEventsResponse, EventToAppend, EventToAppendWithNamedTags, ExportedEventResponse, ExportEventsRequest, ForEventSourceIdAndEventTypesRequest, FromSequenceNumberRequest, HasEventsForEventSourceIdRequest, HistogramResolution, histogramResolutionFromJSON, histogramResolutionToJSON, IdempotencyConflictReason, idempotencyConflictReasonFromJSON, idempotencyConflictReasonToJSON, IdempotencyKeyConflict, IdentityResolution, identityResolutionFromJSON, identityResolutionToJSON, InitiatorType, initiatorTypeFromJSON, initiatorTypeToJSON, IsStreamScopeCompletedRequest, KeyedEventForEventSourceId, KeyedEventForEventSourceIdWithNamedTags, KeyValuePairInt32String, MetadataAtRequest, NamedTagQueryCriterion, PageRequest, ParseResolutionRequest, QueryEventsRequest, QueryEventsWithNamedTagsRequest, QueryResultEventSequencePageResponse, 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';
|
|
93
|
+
export { AllEventSequencesRequest, AppendedEventResponse, AppendedEventsRequest, AppendManyForEventSourcesRequest, AppendManyForEventSourcesWithNamedTagsRequest, AppendManyOnceRequest, AppendManyOnceResponse, AppendManyOnceWithNamedTagsRequest, AppendManyRequest, AppendManyResponse, AppendManyWithNamedTagsRequest, AppendOnceRequest, AppendOnceResponse, AppendOnceWithNamedTagsRequest, AppendOutcome, appendOutcomeFromJSON, appendOutcomeToJSON, AppendRequest, AppendResponse, AppendWithNamedTagsRequest, ClosedStreamOrigin, closedStreamOriginFromJSON, closedStreamOriginToJSON, ClosedStreamResponse, ClosedStreamsRequest, CommandResultAppendManyOnceResponse, CommandResultAppendManyResponse, CommandResultAppendOnceResponse, CommandResultAppendResponse, CommandResultCompleteStreamResponse, CommandResultReopenStreamScopeResponse, CommandResultVerifyContentResponse, CompleteStreamError, completeStreamErrorFromJSON, completeStreamErrorToJSON, CompleteStreamRequest, CompleteStreamResponse, CompleteStreamScopeRequest, ConcurrencyScope, ConcurrencyViolation, ConstraintViolation, ConstraintViolation_DetailsEntry, ContentVerificationResult, contentVerificationResultFromJSON, contentVerificationResultToJSON, EndOfRequest, EventForEventSourceId, EventForEventSourceIdWithNamedTags, EventMetadataResponse, EventSequenceNamesResponse, EventSequencePageResponse, EventSequencesDefinition, EventSequenceTailResponse, EventSourceConcurrencyScope, EventSourceEventsResponse, EventToAppend, EventToAppendWithNamedTags, ExportedEventResponse, ExportEventsRequest, ForEventSourceIdAndEventTypesRequest, FromSequenceNumberRequest, FromSequenceNumberWithErasedPropertiesRequest, HasEventsForEventSourceIdRequest, HistogramResolution, histogramResolutionFromJSON, histogramResolutionToJSON, IdempotencyConflictReason, idempotencyConflictReasonFromJSON, idempotencyConflictReasonToJSON, IdempotencyKeyConflict, IdentityResolution, identityResolutionFromJSON, identityResolutionToJSON, InitiatorType, initiatorTypeFromJSON, initiatorTypeToJSON, IsStreamScopeCompletedRequest, KeyedEventForEventSourceId, KeyedEventForEventSourceIdWithNamedTags, KeyValuePairInt32String, MetadataAtRequest, NamedTagQueryCriterion, PageRequest, ParseResolutionRequest, QueryEventsRequest, QueryEventsWithNamedTagsRequest, QueryResultEventSequencePageResponse, 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';
|
|
94
94
|
export type { EventSequencesClient, EventSequencesServiceImplementation } from './sequences';
|
|
95
95
|
|
|
96
96
|
export { EventStatisticsResponse, EventTypeCount, QueryResultEventStatisticsResponse, StatisticsDefinition, StatisticsForEventStoreRequest, StatisticsForNamespaceRequest } from './statistics';
|
package/generated/observation.ts
CHANGED
|
@@ -524,6 +524,7 @@ export interface ObserverInformation {
|
|
|
524
524
|
IsReplayable: boolean;
|
|
525
525
|
TailEventSequenceNumber: bigint;
|
|
526
526
|
HandledEventCount: bigint;
|
|
527
|
+
RunningStateChangedAt: SerializableDateTimeOffset | undefined;
|
|
527
528
|
}
|
|
528
529
|
|
|
529
530
|
export interface RemoveObserver {
|
|
@@ -2748,6 +2749,7 @@ function createBaseObserverInformation(): ObserverInformation {
|
|
|
2748
2749
|
IsReplayable: false,
|
|
2749
2750
|
TailEventSequenceNumber: 0n,
|
|
2750
2751
|
HandledEventCount: 0n,
|
|
2752
|
+
RunningStateChangedAt: undefined,
|
|
2751
2753
|
};
|
|
2752
2754
|
}
|
|
2753
2755
|
|
|
@@ -2803,6 +2805,9 @@ export const ObserverInformation: MessageFns<ObserverInformation> = {
|
|
|
2803
2805
|
}
|
|
2804
2806
|
writer.uint32(96).uint64(message.HandledEventCount);
|
|
2805
2807
|
}
|
|
2808
|
+
if (message.RunningStateChangedAt !== undefined) {
|
|
2809
|
+
SerializableDateTimeOffset.encode(message.RunningStateChangedAt, writer.uint32(106).fork()).join();
|
|
2810
|
+
}
|
|
2806
2811
|
return writer;
|
|
2807
2812
|
},
|
|
2808
2813
|
|
|
@@ -2915,6 +2920,14 @@ export const ObserverInformation: MessageFns<ObserverInformation> = {
|
|
|
2915
2920
|
message.HandledEventCount = reader.uint64() as bigint;
|
|
2916
2921
|
continue;
|
|
2917
2922
|
}
|
|
2923
|
+
case 13: {
|
|
2924
|
+
if (tag !== 106) {
|
|
2925
|
+
break;
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
message.RunningStateChangedAt = SerializableDateTimeOffset.decode(reader, reader.uint32());
|
|
2929
|
+
continue;
|
|
2930
|
+
}
|
|
2918
2931
|
}
|
|
2919
2932
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2920
2933
|
break;
|
|
@@ -2945,6 +2958,9 @@ export const ObserverInformation: MessageFns<ObserverInformation> = {
|
|
|
2945
2958
|
IsReplayable: isSet(object.IsReplayable) ? globalThis.Boolean(object.IsReplayable) : false,
|
|
2946
2959
|
TailEventSequenceNumber: isSet(object.TailEventSequenceNumber) ? BigInt(object.TailEventSequenceNumber) : 0n,
|
|
2947
2960
|
HandledEventCount: isSet(object.HandledEventCount) ? BigInt(object.HandledEventCount) : 0n,
|
|
2961
|
+
RunningStateChangedAt: isSet(object.RunningStateChangedAt)
|
|
2962
|
+
? SerializableDateTimeOffset.fromJSON(object.RunningStateChangedAt)
|
|
2963
|
+
: undefined,
|
|
2948
2964
|
};
|
|
2949
2965
|
},
|
|
2950
2966
|
|
|
@@ -2986,6 +3002,9 @@ export const ObserverInformation: MessageFns<ObserverInformation> = {
|
|
|
2986
3002
|
if (message.HandledEventCount !== 0n) {
|
|
2987
3003
|
obj.HandledEventCount = message.HandledEventCount.toString();
|
|
2988
3004
|
}
|
|
3005
|
+
if (message.RunningStateChangedAt !== undefined) {
|
|
3006
|
+
obj.RunningStateChangedAt = SerializableDateTimeOffset.toJSON(message.RunningStateChangedAt);
|
|
3007
|
+
}
|
|
2989
3008
|
return obj;
|
|
2990
3009
|
},
|
|
2991
3010
|
|
|
@@ -3017,6 +3036,10 @@ export const ObserverInformation: MessageFns<ObserverInformation> = {
|
|
|
3017
3036
|
message.HandledEventCount = (object.HandledEventCount !== undefined && object.HandledEventCount !== null)
|
|
3018
3037
|
? BigInt(object.HandledEventCount)
|
|
3019
3038
|
: 0n;
|
|
3039
|
+
message.RunningStateChangedAt =
|
|
3040
|
+
(object.RunningStateChangedAt !== undefined && object.RunningStateChangedAt !== null)
|
|
3041
|
+
? SerializableDateTimeOffset.fromPartial(object.RunningStateChangedAt)
|
|
3042
|
+
: undefined;
|
|
3020
3043
|
return message;
|
|
3021
3044
|
},
|
|
3022
3045
|
};
|
|
@@ -73,6 +73,11 @@ export interface CommandResult {
|
|
|
73
73
|
AuthorizationFailureReason: string;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
export interface GetIgnoredRecommendationsRequest {
|
|
77
|
+
EventStore: string;
|
|
78
|
+
Namespace: string;
|
|
79
|
+
}
|
|
80
|
+
|
|
76
81
|
export interface GetRecommendationsRequest {
|
|
77
82
|
EventStore: string;
|
|
78
83
|
Namespace: string;
|
|
@@ -85,6 +90,11 @@ export interface IgnoreRecommendationRequest {
|
|
|
85
90
|
RecommendationId: Guid | undefined;
|
|
86
91
|
}
|
|
87
92
|
|
|
93
|
+
export interface IgnoredRecommendationsRequest {
|
|
94
|
+
EventStore: string;
|
|
95
|
+
Namespace: string;
|
|
96
|
+
}
|
|
97
|
+
|
|
88
98
|
export interface PerformRecommendationRequest {
|
|
89
99
|
EventStore: string;
|
|
90
100
|
Namespace: string;
|
|
@@ -116,6 +126,13 @@ export interface SerializableDateTimeOffset {
|
|
|
116
126
|
Value: string;
|
|
117
127
|
}
|
|
118
128
|
|
|
129
|
+
export interface UnignoreRecommendationRequest {
|
|
130
|
+
EventStore: string;
|
|
131
|
+
Namespace: string;
|
|
132
|
+
/** default value could not be applied: 00000000-0000-0000-0000-000000000000 */
|
|
133
|
+
RecommendationId: Guid | undefined;
|
|
134
|
+
}
|
|
135
|
+
|
|
119
136
|
export interface ValidationResult {
|
|
120
137
|
/** default value could not be applied: Error */
|
|
121
138
|
Severity: ValidationResultSeverity;
|
|
@@ -372,6 +389,91 @@ export const CommandResult: MessageFns<CommandResult> = {
|
|
|
372
389
|
},
|
|
373
390
|
};
|
|
374
391
|
|
|
392
|
+
function createBaseGetIgnoredRecommendationsRequest(): GetIgnoredRecommendationsRequest {
|
|
393
|
+
return { EventStore: "", Namespace: "" };
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export const GetIgnoredRecommendationsRequest: MessageFns<GetIgnoredRecommendationsRequest> = {
|
|
397
|
+
encode(message: GetIgnoredRecommendationsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
398
|
+
if (message.EventStore !== "") {
|
|
399
|
+
writer.uint32(10).string(message.EventStore);
|
|
400
|
+
}
|
|
401
|
+
if (message.Namespace !== "") {
|
|
402
|
+
writer.uint32(18).string(message.Namespace);
|
|
403
|
+
}
|
|
404
|
+
return writer;
|
|
405
|
+
},
|
|
406
|
+
|
|
407
|
+
decode(input: BinaryReader | Uint8Array, length?: number): GetIgnoredRecommendationsRequest {
|
|
408
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
409
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
410
|
+
if (previousRecursionDepth >= 100) {
|
|
411
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
412
|
+
}
|
|
413
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
414
|
+
try {
|
|
415
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
416
|
+
const message = createBaseGetIgnoredRecommendationsRequest();
|
|
417
|
+
while (reader.pos < end) {
|
|
418
|
+
const tag = reader.uint32();
|
|
419
|
+
switch (tag >>> 3) {
|
|
420
|
+
case 1: {
|
|
421
|
+
if (tag !== 10) {
|
|
422
|
+
break;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
message.EventStore = reader.string();
|
|
426
|
+
continue;
|
|
427
|
+
}
|
|
428
|
+
case 2: {
|
|
429
|
+
if (tag !== 18) {
|
|
430
|
+
break;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
message.Namespace = reader.string();
|
|
434
|
+
continue;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
438
|
+
break;
|
|
439
|
+
}
|
|
440
|
+
reader.skip(tag & 7);
|
|
441
|
+
}
|
|
442
|
+
return message;
|
|
443
|
+
} finally {
|
|
444
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
|
|
448
|
+
fromJSON(object: any): GetIgnoredRecommendationsRequest {
|
|
449
|
+
return {
|
|
450
|
+
EventStore: isSet(object.EventStore) ? globalThis.String(object.EventStore) : "",
|
|
451
|
+
Namespace: isSet(object.Namespace) ? globalThis.String(object.Namespace) : "",
|
|
452
|
+
};
|
|
453
|
+
},
|
|
454
|
+
|
|
455
|
+
toJSON(message: GetIgnoredRecommendationsRequest): unknown {
|
|
456
|
+
const obj: any = {};
|
|
457
|
+
if (message.EventStore !== "") {
|
|
458
|
+
obj.EventStore = message.EventStore;
|
|
459
|
+
}
|
|
460
|
+
if (message.Namespace !== "") {
|
|
461
|
+
obj.Namespace = message.Namespace;
|
|
462
|
+
}
|
|
463
|
+
return obj;
|
|
464
|
+
},
|
|
465
|
+
|
|
466
|
+
create(base?: DeepPartial<GetIgnoredRecommendationsRequest>): GetIgnoredRecommendationsRequest {
|
|
467
|
+
return GetIgnoredRecommendationsRequest.fromPartial(base ?? {});
|
|
468
|
+
},
|
|
469
|
+
fromPartial(object: DeepPartial<GetIgnoredRecommendationsRequest>): GetIgnoredRecommendationsRequest {
|
|
470
|
+
const message = createBaseGetIgnoredRecommendationsRequest();
|
|
471
|
+
message.EventStore = object.EventStore ?? "";
|
|
472
|
+
message.Namespace = object.Namespace ?? "";
|
|
473
|
+
return message;
|
|
474
|
+
},
|
|
475
|
+
};
|
|
476
|
+
|
|
375
477
|
function createBaseGetRecommendationsRequest(): GetRecommendationsRequest {
|
|
376
478
|
return { EventStore: "", Namespace: "" };
|
|
377
479
|
}
|
|
@@ -560,6 +662,91 @@ export const IgnoreRecommendationRequest: MessageFns<IgnoreRecommendationRequest
|
|
|
560
662
|
},
|
|
561
663
|
};
|
|
562
664
|
|
|
665
|
+
function createBaseIgnoredRecommendationsRequest(): IgnoredRecommendationsRequest {
|
|
666
|
+
return { EventStore: "", Namespace: "" };
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
export const IgnoredRecommendationsRequest: MessageFns<IgnoredRecommendationsRequest> = {
|
|
670
|
+
encode(message: IgnoredRecommendationsRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
671
|
+
if (message.EventStore !== "") {
|
|
672
|
+
writer.uint32(10).string(message.EventStore);
|
|
673
|
+
}
|
|
674
|
+
if (message.Namespace !== "") {
|
|
675
|
+
writer.uint32(18).string(message.Namespace);
|
|
676
|
+
}
|
|
677
|
+
return writer;
|
|
678
|
+
},
|
|
679
|
+
|
|
680
|
+
decode(input: BinaryReader | Uint8Array, length?: number): IgnoredRecommendationsRequest {
|
|
681
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
682
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
683
|
+
if (previousRecursionDepth >= 100) {
|
|
684
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
685
|
+
}
|
|
686
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
687
|
+
try {
|
|
688
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
689
|
+
const message = createBaseIgnoredRecommendationsRequest();
|
|
690
|
+
while (reader.pos < end) {
|
|
691
|
+
const tag = reader.uint32();
|
|
692
|
+
switch (tag >>> 3) {
|
|
693
|
+
case 1: {
|
|
694
|
+
if (tag !== 10) {
|
|
695
|
+
break;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
message.EventStore = reader.string();
|
|
699
|
+
continue;
|
|
700
|
+
}
|
|
701
|
+
case 2: {
|
|
702
|
+
if (tag !== 18) {
|
|
703
|
+
break;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
message.Namespace = reader.string();
|
|
707
|
+
continue;
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
711
|
+
break;
|
|
712
|
+
}
|
|
713
|
+
reader.skip(tag & 7);
|
|
714
|
+
}
|
|
715
|
+
return message;
|
|
716
|
+
} finally {
|
|
717
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
|
|
721
|
+
fromJSON(object: any): IgnoredRecommendationsRequest {
|
|
722
|
+
return {
|
|
723
|
+
EventStore: isSet(object.EventStore) ? globalThis.String(object.EventStore) : "",
|
|
724
|
+
Namespace: isSet(object.Namespace) ? globalThis.String(object.Namespace) : "",
|
|
725
|
+
};
|
|
726
|
+
},
|
|
727
|
+
|
|
728
|
+
toJSON(message: IgnoredRecommendationsRequest): unknown {
|
|
729
|
+
const obj: any = {};
|
|
730
|
+
if (message.EventStore !== "") {
|
|
731
|
+
obj.EventStore = message.EventStore;
|
|
732
|
+
}
|
|
733
|
+
if (message.Namespace !== "") {
|
|
734
|
+
obj.Namespace = message.Namespace;
|
|
735
|
+
}
|
|
736
|
+
return obj;
|
|
737
|
+
},
|
|
738
|
+
|
|
739
|
+
create(base?: DeepPartial<IgnoredRecommendationsRequest>): IgnoredRecommendationsRequest {
|
|
740
|
+
return IgnoredRecommendationsRequest.fromPartial(base ?? {});
|
|
741
|
+
},
|
|
742
|
+
fromPartial(object: DeepPartial<IgnoredRecommendationsRequest>): IgnoredRecommendationsRequest {
|
|
743
|
+
const message = createBaseIgnoredRecommendationsRequest();
|
|
744
|
+
message.EventStore = object.EventStore ?? "";
|
|
745
|
+
message.Namespace = object.Namespace ?? "";
|
|
746
|
+
return message;
|
|
747
|
+
},
|
|
748
|
+
};
|
|
749
|
+
|
|
563
750
|
function createBasePerformRecommendationRequest(): PerformRecommendationRequest {
|
|
564
751
|
return { EventStore: "", Namespace: "", RecommendationId: undefined };
|
|
565
752
|
}
|
|
@@ -1038,6 +1225,109 @@ export const SerializableDateTimeOffset: MessageFns<SerializableDateTimeOffset>
|
|
|
1038
1225
|
},
|
|
1039
1226
|
};
|
|
1040
1227
|
|
|
1228
|
+
function createBaseUnignoreRecommendationRequest(): UnignoreRecommendationRequest {
|
|
1229
|
+
return { EventStore: "", Namespace: "", RecommendationId: undefined };
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
export const UnignoreRecommendationRequest: MessageFns<UnignoreRecommendationRequest> = {
|
|
1233
|
+
encode(message: UnignoreRecommendationRequest, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
1234
|
+
if (message.EventStore !== "") {
|
|
1235
|
+
writer.uint32(10).string(message.EventStore);
|
|
1236
|
+
}
|
|
1237
|
+
if (message.Namespace !== "") {
|
|
1238
|
+
writer.uint32(18).string(message.Namespace);
|
|
1239
|
+
}
|
|
1240
|
+
if (message.RecommendationId !== undefined) {
|
|
1241
|
+
Guid.encode(message.RecommendationId, writer.uint32(26).fork()).join();
|
|
1242
|
+
}
|
|
1243
|
+
return writer;
|
|
1244
|
+
},
|
|
1245
|
+
|
|
1246
|
+
decode(input: BinaryReader | Uint8Array, length?: number): UnignoreRecommendationRequest {
|
|
1247
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1248
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1249
|
+
if (previousRecursionDepth >= 100) {
|
|
1250
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1251
|
+
}
|
|
1252
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1253
|
+
try {
|
|
1254
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1255
|
+
const message = createBaseUnignoreRecommendationRequest();
|
|
1256
|
+
while (reader.pos < end) {
|
|
1257
|
+
const tag = reader.uint32();
|
|
1258
|
+
switch (tag >>> 3) {
|
|
1259
|
+
case 1: {
|
|
1260
|
+
if (tag !== 10) {
|
|
1261
|
+
break;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
message.EventStore = reader.string();
|
|
1265
|
+
continue;
|
|
1266
|
+
}
|
|
1267
|
+
case 2: {
|
|
1268
|
+
if (tag !== 18) {
|
|
1269
|
+
break;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
message.Namespace = reader.string();
|
|
1273
|
+
continue;
|
|
1274
|
+
}
|
|
1275
|
+
case 3: {
|
|
1276
|
+
if (tag !== 26) {
|
|
1277
|
+
break;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
message.RecommendationId = Guid.decode(reader, reader.uint32());
|
|
1281
|
+
continue;
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1285
|
+
break;
|
|
1286
|
+
}
|
|
1287
|
+
reader.skip(tag & 7);
|
|
1288
|
+
}
|
|
1289
|
+
return message;
|
|
1290
|
+
} finally {
|
|
1291
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
|
|
1295
|
+
fromJSON(object: any): UnignoreRecommendationRequest {
|
|
1296
|
+
return {
|
|
1297
|
+
EventStore: isSet(object.EventStore) ? globalThis.String(object.EventStore) : "",
|
|
1298
|
+
Namespace: isSet(object.Namespace) ? globalThis.String(object.Namespace) : "",
|
|
1299
|
+
RecommendationId: isSet(object.RecommendationId) ? Guid.fromJSON(object.RecommendationId) : undefined,
|
|
1300
|
+
};
|
|
1301
|
+
},
|
|
1302
|
+
|
|
1303
|
+
toJSON(message: UnignoreRecommendationRequest): unknown {
|
|
1304
|
+
const obj: any = {};
|
|
1305
|
+
if (message.EventStore !== "") {
|
|
1306
|
+
obj.EventStore = message.EventStore;
|
|
1307
|
+
}
|
|
1308
|
+
if (message.Namespace !== "") {
|
|
1309
|
+
obj.Namespace = message.Namespace;
|
|
1310
|
+
}
|
|
1311
|
+
if (message.RecommendationId !== undefined) {
|
|
1312
|
+
obj.RecommendationId = Guid.toJSON(message.RecommendationId);
|
|
1313
|
+
}
|
|
1314
|
+
return obj;
|
|
1315
|
+
},
|
|
1316
|
+
|
|
1317
|
+
create(base?: DeepPartial<UnignoreRecommendationRequest>): UnignoreRecommendationRequest {
|
|
1318
|
+
return UnignoreRecommendationRequest.fromPartial(base ?? {});
|
|
1319
|
+
},
|
|
1320
|
+
fromPartial(object: DeepPartial<UnignoreRecommendationRequest>): UnignoreRecommendationRequest {
|
|
1321
|
+
const message = createBaseUnignoreRecommendationRequest();
|
|
1322
|
+
message.EventStore = object.EventStore ?? "";
|
|
1323
|
+
message.Namespace = object.Namespace ?? "";
|
|
1324
|
+
message.RecommendationId = (object.RecommendationId !== undefined && object.RecommendationId !== null)
|
|
1325
|
+
? Guid.fromPartial(object.RecommendationId)
|
|
1326
|
+
: undefined;
|
|
1327
|
+
return message;
|
|
1328
|
+
},
|
|
1329
|
+
};
|
|
1330
|
+
|
|
1041
1331
|
function createBaseValidationResult(): ValidationResult {
|
|
1042
1332
|
return { Severity: 0, Message: "", Members: [] };
|
|
1043
1333
|
}
|
|
@@ -1153,6 +1443,15 @@ export const RecommendationsDefinition = {
|
|
|
1153
1443
|
responseStream: true,
|
|
1154
1444
|
options: {},
|
|
1155
1445
|
},
|
|
1446
|
+
getIgnoredRecommendations: {
|
|
1447
|
+
name: "GetIgnoredRecommendations",
|
|
1448
|
+
requestType: GetIgnoredRecommendationsRequest as typeof GetIgnoredRecommendationsRequest,
|
|
1449
|
+
requestStream: false,
|
|
1450
|
+
responseType:
|
|
1451
|
+
QueryResultIEnumerableRecommendationDetailsResponse as typeof QueryResultIEnumerableRecommendationDetailsResponse,
|
|
1452
|
+
responseStream: false,
|
|
1453
|
+
options: {},
|
|
1454
|
+
},
|
|
1156
1455
|
getRecommendations: {
|
|
1157
1456
|
name: "GetRecommendations",
|
|
1158
1457
|
requestType: GetRecommendationsRequest as typeof GetRecommendationsRequest,
|
|
@@ -1162,6 +1461,15 @@ export const RecommendationsDefinition = {
|
|
|
1162
1461
|
responseStream: false,
|
|
1163
1462
|
options: {},
|
|
1164
1463
|
},
|
|
1464
|
+
ignoredRecommendations: {
|
|
1465
|
+
name: "IgnoredRecommendations",
|
|
1466
|
+
requestType: IgnoredRecommendationsRequest as typeof IgnoredRecommendationsRequest,
|
|
1467
|
+
requestStream: false,
|
|
1468
|
+
responseType:
|
|
1469
|
+
QueryResultIEnumerableRecommendationDetailsResponse as typeof QueryResultIEnumerableRecommendationDetailsResponse,
|
|
1470
|
+
responseStream: true,
|
|
1471
|
+
options: {},
|
|
1472
|
+
},
|
|
1165
1473
|
ignoreRecommendation: {
|
|
1166
1474
|
name: "IgnoreRecommendation",
|
|
1167
1475
|
requestType: IgnoreRecommendationRequest as typeof IgnoreRecommendationRequest,
|
|
@@ -1178,6 +1486,14 @@ export const RecommendationsDefinition = {
|
|
|
1178
1486
|
responseStream: false,
|
|
1179
1487
|
options: {},
|
|
1180
1488
|
},
|
|
1489
|
+
unignoreRecommendation: {
|
|
1490
|
+
name: "UnignoreRecommendation",
|
|
1491
|
+
requestType: UnignoreRecommendationRequest as typeof UnignoreRecommendationRequest,
|
|
1492
|
+
requestStream: false,
|
|
1493
|
+
responseType: CommandResult as typeof CommandResult,
|
|
1494
|
+
responseStream: false,
|
|
1495
|
+
options: {},
|
|
1496
|
+
},
|
|
1181
1497
|
},
|
|
1182
1498
|
} as const;
|
|
1183
1499
|
|
|
@@ -1186,10 +1502,18 @@ export interface RecommendationsServiceImplementation<CallContextExt = {}> {
|
|
|
1186
1502
|
request: AllRecommendationsRequest,
|
|
1187
1503
|
context: CallContext & CallContextExt,
|
|
1188
1504
|
): ServerStreamingMethodResult<DeepPartial<QueryResultIEnumerableRecommendationDetailsResponse>>;
|
|
1505
|
+
getIgnoredRecommendations(
|
|
1506
|
+
request: GetIgnoredRecommendationsRequest,
|
|
1507
|
+
context: CallContext & CallContextExt,
|
|
1508
|
+
): Promise<DeepPartial<QueryResultIEnumerableRecommendationDetailsResponse>>;
|
|
1189
1509
|
getRecommendations(
|
|
1190
1510
|
request: GetRecommendationsRequest,
|
|
1191
1511
|
context: CallContext & CallContextExt,
|
|
1192
1512
|
): Promise<DeepPartial<QueryResultIEnumerableRecommendationDetailsResponse>>;
|
|
1513
|
+
ignoredRecommendations(
|
|
1514
|
+
request: IgnoredRecommendationsRequest,
|
|
1515
|
+
context: CallContext & CallContextExt,
|
|
1516
|
+
): ServerStreamingMethodResult<DeepPartial<QueryResultIEnumerableRecommendationDetailsResponse>>;
|
|
1193
1517
|
ignoreRecommendation(
|
|
1194
1518
|
request: IgnoreRecommendationRequest,
|
|
1195
1519
|
context: CallContext & CallContextExt,
|
|
@@ -1198,6 +1522,10 @@ export interface RecommendationsServiceImplementation<CallContextExt = {}> {
|
|
|
1198
1522
|
request: PerformRecommendationRequest,
|
|
1199
1523
|
context: CallContext & CallContextExt,
|
|
1200
1524
|
): Promise<DeepPartial<CommandResult>>;
|
|
1525
|
+
unignoreRecommendation(
|
|
1526
|
+
request: UnignoreRecommendationRequest,
|
|
1527
|
+
context: CallContext & CallContextExt,
|
|
1528
|
+
): Promise<DeepPartial<CommandResult>>;
|
|
1201
1529
|
}
|
|
1202
1530
|
|
|
1203
1531
|
export interface RecommendationsClient<CallOptionsExt = {}> {
|
|
@@ -1205,10 +1533,18 @@ export interface RecommendationsClient<CallOptionsExt = {}> {
|
|
|
1205
1533
|
request: DeepPartial<AllRecommendationsRequest>,
|
|
1206
1534
|
options?: CallOptions & CallOptionsExt,
|
|
1207
1535
|
): AsyncIterable<QueryResultIEnumerableRecommendationDetailsResponse>;
|
|
1536
|
+
getIgnoredRecommendations(
|
|
1537
|
+
request: DeepPartial<GetIgnoredRecommendationsRequest>,
|
|
1538
|
+
options?: CallOptions & CallOptionsExt,
|
|
1539
|
+
): Promise<QueryResultIEnumerableRecommendationDetailsResponse>;
|
|
1208
1540
|
getRecommendations(
|
|
1209
1541
|
request: DeepPartial<GetRecommendationsRequest>,
|
|
1210
1542
|
options?: CallOptions & CallOptionsExt,
|
|
1211
1543
|
): Promise<QueryResultIEnumerableRecommendationDetailsResponse>;
|
|
1544
|
+
ignoredRecommendations(
|
|
1545
|
+
request: DeepPartial<IgnoredRecommendationsRequest>,
|
|
1546
|
+
options?: CallOptions & CallOptionsExt,
|
|
1547
|
+
): AsyncIterable<QueryResultIEnumerableRecommendationDetailsResponse>;
|
|
1212
1548
|
ignoreRecommendation(
|
|
1213
1549
|
request: DeepPartial<IgnoreRecommendationRequest>,
|
|
1214
1550
|
options?: CallOptions & CallOptionsExt,
|
|
@@ -1217,6 +1553,10 @@ export interface RecommendationsClient<CallOptionsExt = {}> {
|
|
|
1217
1553
|
request: DeepPartial<PerformRecommendationRequest>,
|
|
1218
1554
|
options?: CallOptions & CallOptionsExt,
|
|
1219
1555
|
): Promise<CommandResult>;
|
|
1556
|
+
unignoreRecommendation(
|
|
1557
|
+
request: DeepPartial<UnignoreRecommendationRequest>,
|
|
1558
|
+
options?: CallOptions & CallOptionsExt,
|
|
1559
|
+
): Promise<CommandResult>;
|
|
1220
1560
|
}
|
|
1221
1561
|
|
|
1222
1562
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|