@wundergraph/cosmo-connect 0.158.0 → 0.159.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,8 @@
1
+ /**
2
+ * @generated from rpc wg.cosmo.ai.v1.AIService.GenerateQuery
3
+ */
4
+ export declare const generateQuery: {
5
+ methodKind: "unary";
6
+ input: typeof import("./ai_pb.js").GenerateQueryRequestSchema;
7
+ output: typeof import("./ai_pb.js").GenerateQueryResponseSchema;
8
+ } & import("@bufbuild/protobuf").DescMethod;
@@ -0,0 +1,9 @@
1
+ // @generated by protoc-gen-connect-query v2.2.0 with parameter "target=ts,import_extension=js"
2
+ // @generated from file wg/cosmo/ai/v1/ai.proto (package wg.cosmo.ai.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { AIService } from "./ai_pb.js";
5
+ /**
6
+ * @generated from rpc wg.cosmo.ai.v1.AIService.GenerateQuery
7
+ */
8
+ export const generateQuery = AIService.method.generateQuery;
9
+ //# sourceMappingURL=ai-AIService_connectquery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-AIService_connectquery.js","sourceRoot":"","sources":["../../../src/wg/cosmo/ai/v1/ai-AIService_connectquery.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,uFAAuF;AACvF,oBAAoB;AAEpB,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC,MAAM,CAAC,aAAa,CAAC"}
@@ -0,0 +1,133 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { EnumStatusCode } from "../../common/common_pb.js";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file wg/cosmo/ai/v1/ai.proto.
6
+ */
7
+ export declare const file_wg_cosmo_ai_v1_ai: GenFile;
8
+ /**
9
+ * @generated from message wg.cosmo.ai.v1.Response
10
+ */
11
+ export type Response = Message<"wg.cosmo.ai.v1.Response"> & {
12
+ /**
13
+ * @generated from field: wg.cosmo.common.EnumStatusCode code = 1;
14
+ */
15
+ code: EnumStatusCode;
16
+ /**
17
+ * details is an optional field which can be used to provide more details about the error.
18
+ *
19
+ * @generated from field: optional string details = 2;
20
+ */
21
+ details?: string | undefined;
22
+ };
23
+ /**
24
+ * Describes the message wg.cosmo.ai.v1.Response.
25
+ * Use `create(ResponseSchema)` to create a new message.
26
+ */
27
+ export declare const ResponseSchema: GenMessage<Response>;
28
+ /**
29
+ * @generated from message wg.cosmo.ai.v1.GenerateQueryRequest
30
+ */
31
+ export type GenerateQueryRequest = Message<"wg.cosmo.ai.v1.GenerateQueryRequest"> & {
32
+ /**
33
+ * Copied from RouterConfig.version in the active router configuration.
34
+ *
35
+ * @generated from field: string version = 1;
36
+ */
37
+ version: string;
38
+ /**
39
+ * @generated from field: string prompt = 2;
40
+ */
41
+ prompt: string;
42
+ };
43
+ /**
44
+ * Describes the message wg.cosmo.ai.v1.GenerateQueryRequest.
45
+ * Use `create(GenerateQueryRequestSchema)` to create a new message.
46
+ */
47
+ export declare const GenerateQueryRequestSchema: GenMessage<GenerateQueryRequest>;
48
+ /**
49
+ * @generated from message wg.cosmo.ai.v1.GenerateQueryResponse
50
+ */
51
+ export type GenerateQueryResponse = Message<"wg.cosmo.ai.v1.GenerateQueryResponse"> & {
52
+ /**
53
+ * @generated from field: wg.cosmo.ai.v1.Response response = 1;
54
+ */
55
+ response?: Response | undefined;
56
+ /**
57
+ * @generated from field: optional wg.cosmo.ai.v1.SatisfiedQuery query = 2;
58
+ */
59
+ query?: SatisfiedQuery | undefined;
60
+ };
61
+ /**
62
+ * Describes the message wg.cosmo.ai.v1.GenerateQueryResponse.
63
+ * Use `create(GenerateQueryResponseSchema)` to create a new message.
64
+ */
65
+ export declare const GenerateQueryResponseSchema: GenMessage<GenerateQueryResponse>;
66
+ /**
67
+ * @generated from message wg.cosmo.ai.v1.SatisfiedQuery
68
+ */
69
+ export type SatisfiedQuery = Message<"wg.cosmo.ai.v1.SatisfiedQuery"> & {
70
+ /**
71
+ * @generated from field: string description = 1;
72
+ */
73
+ description: string;
74
+ /**
75
+ * @generated from field: string document = 2;
76
+ */
77
+ document: string;
78
+ /**
79
+ * @generated from field: string operation_name = 3;
80
+ */
81
+ operationName: string;
82
+ /**
83
+ * @generated from field: wg.cosmo.ai.v1.SatisfiedOperationType operation_type = 4;
84
+ */
85
+ operationType: SatisfiedOperationType;
86
+ /**
87
+ * @generated from field: string variables_schema = 5;
88
+ */
89
+ variablesSchema: string;
90
+ };
91
+ /**
92
+ * Describes the message wg.cosmo.ai.v1.SatisfiedQuery.
93
+ * Use `create(SatisfiedQuerySchema)` to create a new message.
94
+ */
95
+ export declare const SatisfiedQuerySchema: GenMessage<SatisfiedQuery>;
96
+ /**
97
+ * @generated from enum wg.cosmo.ai.v1.SatisfiedOperationType
98
+ */
99
+ export declare enum SatisfiedOperationType {
100
+ /**
101
+ * @generated from enum value: SATISFIED_OPERATION_TYPE_UNSPECIFIED = 0;
102
+ */
103
+ UNSPECIFIED = 0,
104
+ /**
105
+ * @generated from enum value: SATISFIED_OPERATION_TYPE_QUERY = 1;
106
+ */
107
+ QUERY = 1,
108
+ /**
109
+ * @generated from enum value: SATISFIED_OPERATION_TYPE_MUTATION = 2;
110
+ */
111
+ MUTATION = 2,
112
+ /**
113
+ * @generated from enum value: SATISFIED_OPERATION_TYPE_SUBSCRIPTION = 3;
114
+ */
115
+ SUBSCRIPTION = 3
116
+ }
117
+ /**
118
+ * Describes the enum wg.cosmo.ai.v1.SatisfiedOperationType.
119
+ */
120
+ export declare const SatisfiedOperationTypeSchema: GenEnum<SatisfiedOperationType>;
121
+ /**
122
+ * @generated from service wg.cosmo.ai.v1.AIService
123
+ */
124
+ export declare const AIService: GenService<{
125
+ /**
126
+ * @generated from rpc wg.cosmo.ai.v1.AIService.GenerateQuery
127
+ */
128
+ generateQuery: {
129
+ methodKind: "unary";
130
+ input: typeof GenerateQueryRequestSchema;
131
+ output: typeof GenerateQueryResponseSchema;
132
+ };
133
+ }>;
@@ -0,0 +1,60 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=ts,import_extension=js"
2
+ // @generated from file wg/cosmo/ai/v1/ai.proto (package wg.cosmo.ai.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_wg_cosmo_common_common } from "../../common/common_pb.js";
6
+ /**
7
+ * Describes the file wg/cosmo/ai/v1/ai.proto.
8
+ */
9
+ export const file_wg_cosmo_ai_v1_ai = /*@__PURE__*/ fileDesc("Chd3Zy9jb3Ntby9haS92MS9haS5wcm90bxIOd2cuY29zbW8uYWkudjEiWwoIUmVzcG9uc2USLQoEY29kZRgBIAEoDjIfLndnLmNvc21vLmNvbW1vbi5FbnVtU3RhdHVzQ29kZRIUCgdkZXRhaWxzGAIgASgJSACIAQFCCgoIX2RldGFpbHMiNwoUR2VuZXJhdGVRdWVyeVJlcXVlc3QSDwoHdmVyc2lvbhgBIAEoCRIOCgZwcm9tcHQYAiABKAkigQEKFUdlbmVyYXRlUXVlcnlSZXNwb25zZRIqCghyZXNwb25zZRgBIAEoCzIYLndnLmNvc21vLmFpLnYxLlJlc3BvbnNlEjIKBXF1ZXJ5GAIgASgLMh4ud2cuY29zbW8uYWkudjEuU2F0aXNmaWVkUXVlcnlIAIgBAUIICgZfcXVlcnkiqQEKDlNhdGlzZmllZFF1ZXJ5EhMKC2Rlc2NyaXB0aW9uGAEgASgJEhAKCGRvY3VtZW50GAIgASgJEhYKDm9wZXJhdGlvbl9uYW1lGAMgASgJEj4KDm9wZXJhdGlvbl90eXBlGAQgASgOMiYud2cuY29zbW8uYWkudjEuU2F0aXNmaWVkT3BlcmF0aW9uVHlwZRIYChB2YXJpYWJsZXNfc2NoZW1hGAUgASgJKrgBChZTYXRpc2ZpZWRPcGVyYXRpb25UeXBlEigKJFNBVElTRklFRF9PUEVSQVRJT05fVFlQRV9VTlNQRUNJRklFRBAAEiIKHlNBVElTRklFRF9PUEVSQVRJT05fVFlQRV9RVUVSWRABEiUKIVNBVElTRklFRF9PUEVSQVRJT05fVFlQRV9NVVRBVElPThACEikKJVNBVElTRklFRF9PUEVSQVRJT05fVFlQRV9TVUJTQ1JJUFRJT04QAzJrCglBSVNlcnZpY2USXgoNR2VuZXJhdGVRdWVyeRIkLndnLmNvc21vLmFpLnYxLkdlbmVyYXRlUXVlcnlSZXF1ZXN0GiUud2cuY29zbW8uYWkudjEuR2VuZXJhdGVRdWVyeVJlc3BvbnNlIgBiBnByb3RvMw", [file_wg_cosmo_common_common]);
10
+ /**
11
+ * Describes the message wg.cosmo.ai.v1.Response.
12
+ * Use `create(ResponseSchema)` to create a new message.
13
+ */
14
+ export const ResponseSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_ai_v1_ai, 0);
15
+ /**
16
+ * Describes the message wg.cosmo.ai.v1.GenerateQueryRequest.
17
+ * Use `create(GenerateQueryRequestSchema)` to create a new message.
18
+ */
19
+ export const GenerateQueryRequestSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_ai_v1_ai, 1);
20
+ /**
21
+ * Describes the message wg.cosmo.ai.v1.GenerateQueryResponse.
22
+ * Use `create(GenerateQueryResponseSchema)` to create a new message.
23
+ */
24
+ export const GenerateQueryResponseSchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_ai_v1_ai, 2);
25
+ /**
26
+ * Describes the message wg.cosmo.ai.v1.SatisfiedQuery.
27
+ * Use `create(SatisfiedQuerySchema)` to create a new message.
28
+ */
29
+ export const SatisfiedQuerySchema = /*@__PURE__*/ messageDesc(file_wg_cosmo_ai_v1_ai, 3);
30
+ /**
31
+ * @generated from enum wg.cosmo.ai.v1.SatisfiedOperationType
32
+ */
33
+ export var SatisfiedOperationType;
34
+ (function (SatisfiedOperationType) {
35
+ /**
36
+ * @generated from enum value: SATISFIED_OPERATION_TYPE_UNSPECIFIED = 0;
37
+ */
38
+ SatisfiedOperationType[SatisfiedOperationType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
39
+ /**
40
+ * @generated from enum value: SATISFIED_OPERATION_TYPE_QUERY = 1;
41
+ */
42
+ SatisfiedOperationType[SatisfiedOperationType["QUERY"] = 1] = "QUERY";
43
+ /**
44
+ * @generated from enum value: SATISFIED_OPERATION_TYPE_MUTATION = 2;
45
+ */
46
+ SatisfiedOperationType[SatisfiedOperationType["MUTATION"] = 2] = "MUTATION";
47
+ /**
48
+ * @generated from enum value: SATISFIED_OPERATION_TYPE_SUBSCRIPTION = 3;
49
+ */
50
+ SatisfiedOperationType[SatisfiedOperationType["SUBSCRIPTION"] = 3] = "SUBSCRIPTION";
51
+ })(SatisfiedOperationType || (SatisfiedOperationType = {}));
52
+ /**
53
+ * Describes the enum wg.cosmo.ai.v1.SatisfiedOperationType.
54
+ */
55
+ export const SatisfiedOperationTypeSchema = /*@__PURE__*/ enumDesc(file_wg_cosmo_ai_v1_ai, 0);
56
+ /**
57
+ * @generated from service wg.cosmo.ai.v1.AIService
58
+ */
59
+ export const AIService = /*@__PURE__*/ serviceDesc(file_wg_cosmo_ai_v1_ai, 0);
60
+ //# sourceMappingURL=ai_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai_pb.js","sourceRoot":"","sources":["../../../src/wg/cosmo/ai/v1/ai_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,uFAAuF;AACvF,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE5F,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAY,aAAa,CAC1D,QAAQ,CAAC,4iCAA4iC,EAAE,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAmBxlC;;;G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