@cratis/chronicle.contracts 16.9.3 → 16.10.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.
@@ -0,0 +1,160 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ import type { CallContext, CallOptions } from "nice-grpc-common";
3
+ import { Empty } from "./google/protobuf/empty";
4
+ export declare const protobufPackage = "Cratis.Chronicle.Contracts.ExternalServices";
5
+ export declare enum ExternalServiceEndpointType {
6
+ Http = 0,
7
+ MsSql = 1,
8
+ PostgreSql = 2,
9
+ UNRECOGNIZED = -1
10
+ }
11
+ export declare function externalServiceEndpointTypeFromJSON(object: any): ExternalServiceEndpointType;
12
+ export declare function externalServiceEndpointTypeToJSON(object: ExternalServiceEndpointType): string;
13
+ export interface AddExternalServices {
14
+ EventStore: string;
15
+ ExternalServices: ExternalServiceDefinition[];
16
+ }
17
+ export interface BasicAuthorization {
18
+ Username: string;
19
+ Password: string;
20
+ }
21
+ export interface BearerTokenAuthorization {
22
+ Token: string;
23
+ }
24
+ export interface DatabaseEndpointConfiguration {
25
+ Host: string;
26
+ Port: number;
27
+ Database: string;
28
+ Username: string;
29
+ Password: string;
30
+ Options: {
31
+ [key: string]: string;
32
+ };
33
+ }
34
+ export interface DatabaseEndpointConfiguration_OptionsEntry {
35
+ key: string;
36
+ value: string;
37
+ }
38
+ export interface ExternalServiceDefinition {
39
+ Id: string;
40
+ Name: string;
41
+ Endpoint: ExternalServiceEndpoint | undefined;
42
+ }
43
+ export interface ExternalServiceEndpoint {
44
+ Type: ExternalServiceEndpointType;
45
+ Http: HttpEndpointConfiguration | undefined;
46
+ Database: DatabaseEndpointConfiguration | undefined;
47
+ }
48
+ export interface GetExternalServicesRequest {
49
+ EventStore: string;
50
+ }
51
+ export interface HttpEndpointConfiguration {
52
+ Url: string;
53
+ Authorization: OneOfBasicAuthorizationBearerTokenAuthorizationOAuthAuthorization | undefined;
54
+ Headers: {
55
+ [key: string]: string;
56
+ };
57
+ }
58
+ export interface HttpEndpointConfiguration_HeadersEntry {
59
+ key: string;
60
+ value: string;
61
+ }
62
+ export interface IEnumerableExternalServiceDefinition {
63
+ items: ExternalServiceDefinition[];
64
+ }
65
+ export interface OAuthAuthorization {
66
+ Authority: string;
67
+ ClientId: string;
68
+ ClientSecret: string;
69
+ }
70
+ export interface OneOfBasicAuthorizationBearerTokenAuthorizationOAuthAuthorization {
71
+ Value0: BasicAuthorization | undefined;
72
+ Value1: BearerTokenAuthorization | undefined;
73
+ Value2: OAuthAuthorization | undefined;
74
+ }
75
+ export interface RemoveExternalServices {
76
+ EventStore: string;
77
+ ExternalServices: string[];
78
+ }
79
+ export declare const AddExternalServices: MessageFns<AddExternalServices>;
80
+ export declare const BasicAuthorization: MessageFns<BasicAuthorization>;
81
+ export declare const BearerTokenAuthorization: MessageFns<BearerTokenAuthorization>;
82
+ export declare const DatabaseEndpointConfiguration: MessageFns<DatabaseEndpointConfiguration>;
83
+ export declare const DatabaseEndpointConfiguration_OptionsEntry: MessageFns<DatabaseEndpointConfiguration_OptionsEntry>;
84
+ export declare const ExternalServiceDefinition: MessageFns<ExternalServiceDefinition>;
85
+ export declare const ExternalServiceEndpoint: MessageFns<ExternalServiceEndpoint>;
86
+ export declare const GetExternalServicesRequest: MessageFns<GetExternalServicesRequest>;
87
+ export declare const HttpEndpointConfiguration: MessageFns<HttpEndpointConfiguration>;
88
+ export declare const HttpEndpointConfiguration_HeadersEntry: MessageFns<HttpEndpointConfiguration_HeadersEntry>;
89
+ export declare const IEnumerableExternalServiceDefinition: MessageFns<IEnumerableExternalServiceDefinition>;
90
+ export declare const OAuthAuthorization: MessageFns<OAuthAuthorization>;
91
+ export declare const OneOfBasicAuthorizationBearerTokenAuthorizationOAuthAuthorization: MessageFns<OneOfBasicAuthorizationBearerTokenAuthorizationOAuthAuthorization>;
92
+ export declare const RemoveExternalServices: MessageFns<RemoveExternalServices>;
93
+ export type ExternalServicesDefinition = typeof ExternalServicesDefinition;
94
+ export declare const ExternalServicesDefinition: {
95
+ readonly name: "ExternalServices";
96
+ readonly fullName: "Cratis.Chronicle.Contracts.ExternalServices.ExternalServices";
97
+ readonly methods: {
98
+ readonly add: {
99
+ readonly name: "Add";
100
+ readonly requestType: typeof AddExternalServices;
101
+ readonly requestStream: false;
102
+ readonly responseType: typeof Empty;
103
+ readonly responseStream: false;
104
+ readonly options: {};
105
+ };
106
+ readonly getExternalServices: {
107
+ readonly name: "GetExternalServices";
108
+ readonly requestType: typeof GetExternalServicesRequest;
109
+ readonly requestStream: false;
110
+ readonly responseType: typeof IEnumerableExternalServiceDefinition;
111
+ readonly responseStream: false;
112
+ readonly options: {};
113
+ };
114
+ readonly observeExternalServices: {
115
+ readonly name: "ObserveExternalServices";
116
+ readonly requestType: typeof GetExternalServicesRequest;
117
+ readonly requestStream: false;
118
+ readonly responseType: typeof IEnumerableExternalServiceDefinition;
119
+ readonly responseStream: true;
120
+ readonly options: {};
121
+ };
122
+ readonly remove: {
123
+ readonly name: "Remove";
124
+ readonly requestType: typeof RemoveExternalServices;
125
+ readonly requestStream: false;
126
+ readonly responseType: typeof Empty;
127
+ readonly responseStream: false;
128
+ readonly options: {};
129
+ };
130
+ };
131
+ };
132
+ export interface ExternalServicesServiceImplementation<CallContextExt = {}> {
133
+ add(request: AddExternalServices, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;
134
+ getExternalServices(request: GetExternalServicesRequest, context: CallContext & CallContextExt): Promise<DeepPartial<IEnumerableExternalServiceDefinition>>;
135
+ observeExternalServices(request: GetExternalServicesRequest, context: CallContext & CallContextExt): ServerStreamingMethodResult<DeepPartial<IEnumerableExternalServiceDefinition>>;
136
+ remove(request: RemoveExternalServices, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;
137
+ }
138
+ export interface ExternalServicesClient<CallOptionsExt = {}> {
139
+ add(request: DeepPartial<AddExternalServices>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
140
+ getExternalServices(request: DeepPartial<GetExternalServicesRequest>, options?: CallOptions & CallOptionsExt): Promise<IEnumerableExternalServiceDefinition>;
141
+ observeExternalServices(request: DeepPartial<GetExternalServicesRequest>, options?: CallOptions & CallOptionsExt): AsyncIterable<IEnumerableExternalServiceDefinition>;
142
+ remove(request: DeepPartial<RemoveExternalServices>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
143
+ }
144
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
145
+ export type DeepPartial<T> = T extends bigint ? string | number | bigint : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
146
+ [K in keyof T]?: DeepPartial<T[K]>;
147
+ } : Partial<T>;
148
+ export type ServerStreamingMethodResult<Response> = {
149
+ [Symbol.asyncIterator](): AsyncIterator<Response, void>;
150
+ };
151
+ export interface MessageFns<T> {
152
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
153
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
154
+ fromJSON(object: any): T;
155
+ toJSON(message: T): unknown;
156
+ create(base?: DeepPartial<T>): T;
157
+ fromPartial(object: DeepPartial<T>): T;
158
+ }
159
+ export {};
160
+ //# sourceMappingURL=externalservices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"externalservices.d.ts","sourceRoot":"","sources":["../../../generated/externalservices.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,eAAO,MAAM,eAAe,gDAAgD,CAAC;AAE7E,oBAAY,2BAA2B;IACrC,IAAI,IAAI;IACR,KAAK,IAAI;IACT,UAAU,IAAI;IACd,YAAY,KAAK;CAClB;AAED,wB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,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"}
@@ -0,0 +1,160 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ import type { CallContext, CallOptions } from "nice-grpc-common";
3
+ import { Empty } from "./google/protobuf/empty";
4
+ export declare const protobufPackage = "Cratis.Chronicle.Contracts.ExternalServices";
5
+ export declare enum ExternalServiceEndpointType {
6
+ Http = 0,
7
+ MsSql = 1,
8
+ PostgreSql = 2,
9
+ UNRECOGNIZED = -1
10
+ }
11
+ export declare function externalServiceEndpointTypeFromJSON(object: any): ExternalServiceEndpointType;
12
+ export declare function externalServiceEndpointTypeToJSON(object: ExternalServiceEndpointType): string;
13
+ export interface AddExternalServices {
14
+ EventStore: string;
15
+ ExternalServices: ExternalServiceDefinition[];
16
+ }
17
+ export interface BasicAuthorization {
18
+ Username: string;
19
+ Password: string;
20
+ }
21
+ export interface BearerTokenAuthorization {
22
+ Token: string;
23
+ }
24
+ export interface DatabaseEndpointConfiguration {
25
+ Host: string;
26
+ Port: number;
27
+ Database: string;
28
+ Username: string;
29
+ Password: string;
30
+ Options: {
31
+ [key: string]: string;
32
+ };
33
+ }
34
+ export interface DatabaseEndpointConfiguration_OptionsEntry {
35
+ key: string;
36
+ value: string;
37
+ }
38
+ export interface ExternalServiceDefinition {
39
+ Id: string;
40
+ Name: string;
41
+ Endpoint: ExternalServiceEndpoint | undefined;
42
+ }
43
+ export interface ExternalServiceEndpoint {
44
+ Type: ExternalServiceEndpointType;
45
+ Http: HttpEndpointConfiguration | undefined;
46
+ Database: DatabaseEndpointConfiguration | undefined;
47
+ }
48
+ export interface GetExternalServicesRequest {
49
+ EventStore: string;
50
+ }
51
+ export interface HttpEndpointConfiguration {
52
+ Url: string;
53
+ Authorization: OneOfBasicAuthorizationBearerTokenAuthorizationOAuthAuthorization | undefined;
54
+ Headers: {
55
+ [key: string]: string;
56
+ };
57
+ }
58
+ export interface HttpEndpointConfiguration_HeadersEntry {
59
+ key: string;
60
+ value: string;
61
+ }
62
+ export interface IEnumerableExternalServiceDefinition {
63
+ items: ExternalServiceDefinition[];
64
+ }
65
+ export interface OAuthAuthorization {
66
+ Authority: string;
67
+ ClientId: string;
68
+ ClientSecret: string;
69
+ }
70
+ export interface OneOfBasicAuthorizationBearerTokenAuthorizationOAuthAuthorization {
71
+ Value0: BasicAuthorization | undefined;
72
+ Value1: BearerTokenAuthorization | undefined;
73
+ Value2: OAuthAuthorization | undefined;
74
+ }
75
+ export interface RemoveExternalServices {
76
+ EventStore: string;
77
+ ExternalServices: string[];
78
+ }
79
+ export declare const AddExternalServices: MessageFns<AddExternalServices>;
80
+ export declare const BasicAuthorization: MessageFns<BasicAuthorization>;
81
+ export declare const BearerTokenAuthorization: MessageFns<BearerTokenAuthorization>;
82
+ export declare const DatabaseEndpointConfiguration: MessageFns<DatabaseEndpointConfiguration>;
83
+ export declare const DatabaseEndpointConfiguration_OptionsEntry: MessageFns<DatabaseEndpointConfiguration_OptionsEntry>;
84
+ export declare const ExternalServiceDefinition: MessageFns<ExternalServiceDefinition>;
85
+ export declare const ExternalServiceEndpoint: MessageFns<ExternalServiceEndpoint>;
86
+ export declare const GetExternalServicesRequest: MessageFns<GetExternalServicesRequest>;
87
+ export declare const HttpEndpointConfiguration: MessageFns<HttpEndpointConfiguration>;
88
+ export declare const HttpEndpointConfiguration_HeadersEntry: MessageFns<HttpEndpointConfiguration_HeadersEntry>;
89
+ export declare const IEnumerableExternalServiceDefinition: MessageFns<IEnumerableExternalServiceDefinition>;
90
+ export declare const OAuthAuthorization: MessageFns<OAuthAuthorization>;
91
+ export declare const OneOfBasicAuthorizationBearerTokenAuthorizationOAuthAuthorization: MessageFns<OneOfBasicAuthorizationBearerTokenAuthorizationOAuthAuthorization>;
92
+ export declare const RemoveExternalServices: MessageFns<RemoveExternalServices>;
93
+ export type ExternalServicesDefinition = typeof ExternalServicesDefinition;
94
+ export declare const ExternalServicesDefinition: {
95
+ readonly name: "ExternalServices";
96
+ readonly fullName: "Cratis.Chronicle.Contracts.ExternalServices.ExternalServices";
97
+ readonly methods: {
98
+ readonly add: {
99
+ readonly name: "Add";
100
+ readonly requestType: typeof AddExternalServices;
101
+ readonly requestStream: false;
102
+ readonly responseType: typeof Empty;
103
+ readonly responseStream: false;
104
+ readonly options: {};
105
+ };
106
+ readonly getExternalServices: {
107
+ readonly name: "GetExternalServices";
108
+ readonly requestType: typeof GetExternalServicesRequest;
109
+ readonly requestStream: false;
110
+ readonly responseType: typeof IEnumerableExternalServiceDefinition;
111
+ readonly responseStream: false;
112
+ readonly options: {};
113
+ };
114
+ readonly observeExternalServices: {
115
+ readonly name: "ObserveExternalServices";
116
+ readonly requestType: typeof GetExternalServicesRequest;
117
+ readonly requestStream: false;
118
+ readonly responseType: typeof IEnumerableExternalServiceDefinition;
119
+ readonly responseStream: true;
120
+ readonly options: {};
121
+ };
122
+ readonly remove: {
123
+ readonly name: "Remove";
124
+ readonly requestType: typeof RemoveExternalServices;
125
+ readonly requestStream: false;
126
+ readonly responseType: typeof Empty;
127
+ readonly responseStream: false;
128
+ readonly options: {};
129
+ };
130
+ };
131
+ };
132
+ export interface ExternalServicesServiceImplementation<CallContextExt = {}> {
133
+ add(request: AddExternalServices, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;
134
+ getExternalServices(request: GetExternalServicesRequest, context: CallContext & CallContextExt): Promise<DeepPartial<IEnumerableExternalServiceDefinition>>;
135
+ observeExternalServices(request: GetExternalServicesRequest, context: CallContext & CallContextExt): ServerStreamingMethodResult<DeepPartial<IEnumerableExternalServiceDefinition>>;
136
+ remove(request: RemoveExternalServices, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;
137
+ }
138
+ export interface ExternalServicesClient<CallOptionsExt = {}> {
139
+ add(request: DeepPartial<AddExternalServices>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
140
+ getExternalServices(request: DeepPartial<GetExternalServicesRequest>, options?: CallOptions & CallOptionsExt): Promise<IEnumerableExternalServiceDefinition>;
141
+ observeExternalServices(request: DeepPartial<GetExternalServicesRequest>, options?: CallOptions & CallOptionsExt): AsyncIterable<IEnumerableExternalServiceDefinition>;
142
+ remove(request: DeepPartial<RemoveExternalServices>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
143
+ }
144
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
145
+ export type DeepPartial<T> = T extends bigint ? string | number | bigint : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
146
+ [K in keyof T]?: DeepPartial<T[K]>;
147
+ } : Partial<T>;
148
+ export type ServerStreamingMethodResult<Response> = {
149
+ [Symbol.asyncIterator](): AsyncIterator<Response, void>;
150
+ };
151
+ export interface MessageFns<T> {
152
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
153
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
154
+ fromJSON(object: any): T;
155
+ toJSON(message: T): unknown;
156
+ create(base?: DeepPartial<T>): T;
157
+ fromPartial(object: DeepPartial<T>): T;
158
+ }
159
+ export {};
160
+ //# sourceMappingURL=externalservices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"externalservices.d.ts","sourceRoot":"","sources":["../../../generated/externalservices.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,eAAO,MAAM,eAAe,gDAAgD,CAAC;AAE7E,oBAAY,2BAA2B;IACrC,IAAI,IAAI;IACR,KAAK,IAAI;IACT,UAAU,IAAI;IACd,YAAY,KAAK;CAClB;AAED,wBAAgB,mCAAmC,CAAC,MAAM,EAAE,GAAG,GAAG,2BAA2B,CAgB5F;AAED,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,2BAA2B,GAAG,MAAM,CAY7F;AAED,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,yBAAyB,EAAE,CAAC;CAC/C;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACpC;AAED,MAAM,WAAW,0CAA0C;IACzD,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAA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,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GACpE,CAAC,SAAS,OAAO,GAAG,CAAC,GAAG,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,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;AAUf,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"}
@@ -0,0 +1,160 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ import type { CallContext, CallOptions } from "nice-grpc-common";
3
+ import { Empty } from "./google/protobuf/empty";
4
+ export declare const protobufPackage = "Cratis.Chronicle.Contracts.ExternalServices";
5
+ export declare enum ExternalServiceEndpointType {
6
+ Http = 0,
7
+ MsSql = 1,
8
+ PostgreSql = 2,
9
+ UNRECOGNIZED = -1
10
+ }
11
+ export declare function externalServiceEndpointTypeFromJSON(object: any): ExternalServiceEndpointType;
12
+ export declare function externalServiceEndpointTypeToJSON(object: ExternalServiceEndpointType): string;
13
+ export interface AddExternalServices {
14
+ EventStore: string;
15
+ ExternalServices: ExternalServiceDefinition[];
16
+ }
17
+ export interface BasicAuthorization {
18
+ Username: string;
19
+ Password: string;
20
+ }
21
+ export interface BearerTokenAuthorization {
22
+ Token: string;
23
+ }
24
+ export interface DatabaseEndpointConfiguration {
25
+ Host: string;
26
+ Port: number;
27
+ Database: string;
28
+ Username: string;
29
+ Password: string;
30
+ Options: {
31
+ [key: string]: string;
32
+ };
33
+ }
34
+ export interface DatabaseEndpointConfiguration_OptionsEntry {
35
+ key: string;
36
+ value: string;
37
+ }
38
+ export interface ExternalServiceDefinition {
39
+ Id: string;
40
+ Name: string;
41
+ Endpoint: ExternalServiceEndpoint | undefined;
42
+ }
43
+ export interface ExternalServiceEndpoint {
44
+ Type: ExternalServiceEndpointType;
45
+ Http: HttpEndpointConfiguration | undefined;
46
+ Database: DatabaseEndpointConfiguration | undefined;
47
+ }
48
+ export interface GetExternalServicesRequest {
49
+ EventStore: string;
50
+ }
51
+ export interface HttpEndpointConfiguration {
52
+ Url: string;
53
+ Authorization: OneOfBasicAuthorizationBearerTokenAuthorizationOAuthAuthorization | undefined;
54
+ Headers: {
55
+ [key: string]: string;
56
+ };
57
+ }
58
+ export interface HttpEndpointConfiguration_HeadersEntry {
59
+ key: string;
60
+ value: string;
61
+ }
62
+ export interface IEnumerableExternalServiceDefinition {
63
+ items: ExternalServiceDefinition[];
64
+ }
65
+ export interface OAuthAuthorization {
66
+ Authority: string;
67
+ ClientId: string;
68
+ ClientSecret: string;
69
+ }
70
+ export interface OneOfBasicAuthorizationBearerTokenAuthorizationOAuthAuthorization {
71
+ Value0: BasicAuthorization | undefined;
72
+ Value1: BearerTokenAuthorization | undefined;
73
+ Value2: OAuthAuthorization | undefined;
74
+ }
75
+ export interface RemoveExternalServices {
76
+ EventStore: string;
77
+ ExternalServices: string[];
78
+ }
79
+ export declare const AddExternalServices: MessageFns<AddExternalServices>;
80
+ export declare const BasicAuthorization: MessageFns<BasicAuthorization>;
81
+ export declare const BearerTokenAuthorization: MessageFns<BearerTokenAuthorization>;
82
+ export declare const DatabaseEndpointConfiguration: MessageFns<DatabaseEndpointConfiguration>;
83
+ export declare const DatabaseEndpointConfiguration_OptionsEntry: MessageFns<DatabaseEndpointConfiguration_OptionsEntry>;
84
+ export declare const ExternalServiceDefinition: MessageFns<ExternalServiceDefinition>;
85
+ export declare const ExternalServiceEndpoint: MessageFns<ExternalServiceEndpoint>;
86
+ export declare const GetExternalServicesRequest: MessageFns<GetExternalServicesRequest>;
87
+ export declare const HttpEndpointConfiguration: MessageFns<HttpEndpointConfiguration>;
88
+ export declare const HttpEndpointConfiguration_HeadersEntry: MessageFns<HttpEndpointConfiguration_HeadersEntry>;
89
+ export declare const IEnumerableExternalServiceDefinition: MessageFns<IEnumerableExternalServiceDefinition>;
90
+ export declare const OAuthAuthorization: MessageFns<OAuthAuthorization>;
91
+ export declare const OneOfBasicAuthorizationBearerTokenAuthorizationOAuthAuthorization: MessageFns<OneOfBasicAuthorizationBearerTokenAuthorizationOAuthAuthorization>;
92
+ export declare const RemoveExternalServices: MessageFns<RemoveExternalServices>;
93
+ export type ExternalServicesDefinition = typeof ExternalServicesDefinition;
94
+ export declare const ExternalServicesDefinition: {
95
+ readonly name: "ExternalServices";
96
+ readonly fullName: "Cratis.Chronicle.Contracts.ExternalServices.ExternalServices";
97
+ readonly methods: {
98
+ readonly add: {
99
+ readonly name: "Add";
100
+ readonly requestType: typeof AddExternalServices;
101
+ readonly requestStream: false;
102
+ readonly responseType: typeof Empty;
103
+ readonly responseStream: false;
104
+ readonly options: {};
105
+ };
106
+ readonly getExternalServices: {
107
+ readonly name: "GetExternalServices";
108
+ readonly requestType: typeof GetExternalServicesRequest;
109
+ readonly requestStream: false;
110
+ readonly responseType: typeof IEnumerableExternalServiceDefinition;
111
+ readonly responseStream: false;
112
+ readonly options: {};
113
+ };
114
+ readonly observeExternalServices: {
115
+ readonly name: "ObserveExternalServices";
116
+ readonly requestType: typeof GetExternalServicesRequest;
117
+ readonly requestStream: false;
118
+ readonly responseType: typeof IEnumerableExternalServiceDefinition;
119
+ readonly responseStream: true;
120
+ readonly options: {};
121
+ };
122
+ readonly remove: {
123
+ readonly name: "Remove";
124
+ readonly requestType: typeof RemoveExternalServices;
125
+ readonly requestStream: false;
126
+ readonly responseType: typeof Empty;
127
+ readonly responseStream: false;
128
+ readonly options: {};
129
+ };
130
+ };
131
+ };
132
+ export interface ExternalServicesServiceImplementation<CallContextExt = {}> {
133
+ add(request: AddExternalServices, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;
134
+ getExternalServices(request: GetExternalServicesRequest, context: CallContext & CallContextExt): Promise<DeepPartial<IEnumerableExternalServiceDefinition>>;
135
+ observeExternalServices(request: GetExternalServicesRequest, context: CallContext & CallContextExt): ServerStreamingMethodResult<DeepPartial<IEnumerableExternalServiceDefinition>>;
136
+ remove(request: RemoveExternalServices, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;
137
+ }
138
+ export interface ExternalServicesClient<CallOptionsExt = {}> {
139
+ add(request: DeepPartial<AddExternalServices>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
140
+ getExternalServices(request: DeepPartial<GetExternalServicesRequest>, options?: CallOptions & CallOptionsExt): Promise<IEnumerableExternalServiceDefinition>;
141
+ observeExternalServices(request: DeepPartial<GetExternalServicesRequest>, options?: CallOptions & CallOptionsExt): AsyncIterable<IEnumerableExternalServiceDefinition>;
142
+ remove(request: DeepPartial<RemoveExternalServices>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
143
+ }
144
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
145
+ export type DeepPartial<T> = T extends bigint ? string | number | bigint : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
146
+ [K in keyof T]?: DeepPartial<T[K]>;
147
+ } : Partial<T>;
148
+ export type ServerStreamingMethodResult<Response> = {
149
+ [Symbol.asyncIterator](): AsyncIterator<Response, void>;
150
+ };
151
+ export interface MessageFns<T> {
152
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
153
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
154
+ fromJSON(object: any): T;
155
+ toJSON(message: T): unknown;
156
+ create(base?: DeepPartial<T>): T;
157
+ fromPartial(object: DeepPartial<T>): T;
158
+ }
159
+ export {};
160
+ //# sourceMappingURL=externalservices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"externalservices.d.ts","sourceRoot":"","sources":["../../generated/externalservices.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,eAAO,MAAM,eAAe,gDAAgD,CAAC;AAE7E,oBAAY,2BAA2B;IACrC,IAAI,IAAI;IACR,KAAK,IAAI;IACT,UAAU,IAAI;IACd,YAAY,KAAK;CAClB;AAED,wBAAgB,mCAAmC,CAAC,MAAM,EAAE,GAAG,GAAG,2BAA2B,CAgB5F;AAED,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,2BAA2B,GAAG,MAAM,CAY7F;AAED,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,yBAAyB,EAAE,CAAC;CAC/C;AAED,MAAM,WAAW,kBAAkB;IACjC,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