@meetkai/mka1 0.54.3 → 0.54.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/README.md +2 -2
  2. package/bin/mcp-server.js +25 -9
  3. package/bin/mcp-server.js.map +9 -9
  4. package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +2 -1
  5. package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -1
  6. package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +9 -1
  7. package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -1
  8. package/dist/commonjs/lib/config.d.ts +2 -2
  9. package/dist/commonjs/lib/config.js +2 -2
  10. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  11. package/dist/commonjs/mcp-server/server.js +2 -2
  12. package/dist/commonjs/mcp-server/server.js.map +1 -1
  13. package/dist/commonjs/models/components/connection.d.ts +2 -0
  14. package/dist/commonjs/models/components/connection.d.ts.map +1 -1
  15. package/dist/commonjs/models/components/connection.js +5 -0
  16. package/dist/commonjs/models/components/connection.js.map +1 -1
  17. package/dist/commonjs/models/components/createagentrunrequest.d.ts +5 -0
  18. package/dist/commonjs/models/components/createagentrunrequest.d.ts.map +1 -1
  19. package/dist/commonjs/models/components/createagentrunrequest.js +2 -0
  20. package/dist/commonjs/models/components/createagentrunrequest.js.map +1 -1
  21. package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts +2 -0
  22. package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts.map +1 -1
  23. package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js +2 -0
  24. package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js.map +1 -1
  25. package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts +1 -0
  26. package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts.map +1 -1
  27. package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js +1 -0
  28. package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js.map +1 -1
  29. package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +9 -4
  30. package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -1
  31. package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -1
  32. package/dist/commonjs/sdk/schema3other.d.ts +4 -4
  33. package/dist/commonjs/sdk/schema3other.d.ts.map +1 -1
  34. package/dist/commonjs/sdk/schema3other.js +6 -6
  35. package/dist/commonjs/sdk/schema3other.js.map +1 -1
  36. package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +2 -1
  37. package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -1
  38. package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +10 -2
  39. package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -1
  40. package/dist/esm/lib/config.d.ts +2 -2
  41. package/dist/esm/lib/config.js +2 -2
  42. package/dist/esm/mcp-server/mcp-server.js +1 -1
  43. package/dist/esm/mcp-server/server.js +2 -2
  44. package/dist/esm/mcp-server/server.js.map +1 -1
  45. package/dist/esm/models/components/connection.d.ts +2 -0
  46. package/dist/esm/models/components/connection.d.ts.map +1 -1
  47. package/dist/esm/models/components/connection.js +5 -0
  48. package/dist/esm/models/components/connection.js.map +1 -1
  49. package/dist/esm/models/components/createagentrunrequest.d.ts +5 -0
  50. package/dist/esm/models/components/createagentrunrequest.d.ts.map +1 -1
  51. package/dist/esm/models/components/createagentrunrequest.js +2 -0
  52. package/dist/esm/models/components/createagentrunrequest.js.map +1 -1
  53. package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts +2 -0
  54. package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts.map +1 -1
  55. package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js +2 -0
  56. package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js.map +1 -1
  57. package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts +1 -0
  58. package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts.map +1 -1
  59. package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js +1 -0
  60. package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js.map +1 -1
  61. package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +9 -4
  62. package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -1
  63. package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -1
  64. package/dist/esm/sdk/schema3other.d.ts +4 -4
  65. package/dist/esm/sdk/schema3other.d.ts.map +1 -1
  66. package/dist/esm/sdk/schema3other.js +6 -6
  67. package/dist/esm/sdk/schema3other.js.map +1 -1
  68. package/jsr.json +1 -1
  69. package/package.json +1 -1
  70. package/src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts +16 -2
  71. package/src/lib/config.ts +2 -2
  72. package/src/mcp-server/mcp-server.ts +1 -1
  73. package/src/mcp-server/server.ts +2 -2
  74. package/src/models/components/connection.ts +9 -0
  75. package/src/models/components/createagentrunrequest.ts +7 -0
  76. package/src/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.ts +4 -0
  77. package/src/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.ts +5 -1
  78. package/src/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts +12 -2
  79. package/src/sdk/schema3other.ts +11 -11
@@ -1 +1 @@
1
- {"version":3,"file":"schema3other.d.ts","sourceRoot":"","sources":["../../../src/sdk/schema3other.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,YAAa,SAAQ,SAAS;IACzC;;OAEG;IACG,8CAA8C,CAClD,OAAO,EAAE,UAAU,CAAC,qDAAqD,EACzE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,eAAe,CAAC;IAUtC;;OAEG;IACG,kDAAkD,CACtD,OAAO,EACL,UAAU,CAAC,yDAAyD,EACtE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAUzC;;OAEG;IACG,6CAA6C,CACjD,OAAO,EAAE,UAAU,CAAC,oDAAoD,EACxE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC;IAUjC;;OAEG;IACG,kDAAkD,CACtD,OAAO,EACL,UAAU,CAAC,yDAAyD,EACtE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAUhB;;OAEG;IACG,iDAAiD,CACrD,OAAO,EACL,UAAU,CAAC,wDAAwD,EACrE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAA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Post(request, options) {
21
21
  return unwrapAsync(schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(this, request, options));
22
22
  }
23
- /**
24
- * Get Connection
25
- */
26
- async getConnectionApiV1SandboxGithubOauthConnectionsGet(request, options) {
27
- return unwrapAsync(schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(this, request, options));
28
- }
29
23
  /**
30
24
  * Connect
31
25
  */
32
26
  async connectApiV1SandboxGithubOauthConnectionsPost(request, options) {
33
27
  return unwrapAsync(schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(this, request, options));
34
28
  }
29
+ /**
30
+ * Get Connection
31
+ */
32
+ async getConnectionApiV1SandboxGithubOauthConnectionsGet(request, options) {
33
+ return unwrapAsync(schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(this, request, options));
34
+ }
35
35
  /**
36
36
  * Disconnect
37
37
  */
@@ -1 +1 @@
1
- {"version":3,"file":"schema3other.js","sourceRoot":"","sources":["../../../src/sdk/schema3other.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,yDAAyD,EAAE,MAAM,uEAAuE,CAAC;AAClJ,OAAO,EAAE,0DAA0D,EAAE,MAAM,wEAAwE,CAAC;AACpJ,OAAO,EAAE,4EAA4E,EAAE,MAAM,0FAA0F,CAAC;AACxL,OAAO,EAAE,8DAA8D,EAAE,MAAM,4EAA4E,CAAC;AAC5J,OAAO,EAAE,8DAA8D,EAAE,MAAM,4EAA4E,CAAC;AAC5J,OAAO,EAAE,6DAA6D,EAAE,MAAM,2EAA2E,CAAC;AAC1J,OAAO,EAAE,2DAA2D,EAAE,MAAM,yEAAyE,CAAC;AACtJ,OAAO,EAAE,qEAAqE,EAAE,MAAM,mFAAmF,CAAC;AAC1K,OAAO,EAAE,wEAAwE,EAAE,MAAM,sFAAsF,CAAC;AAChL,OAAO,EAAE,qEAAqE,EAAE,MAAM,mFAAmF,CAAC;AAC1K,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAg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ACJ,OAAO,EACP,OAAO,CACR,CACF,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,+CAA+C,CACnD,OAA0E,EAC1E,OAAwB;QAExB,OAAO,WAAW,CAChB,2DAA2D,CACzD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CACF,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,gEAAgE,CACpE,OACoF,EACpF,OAAwB;QAExB,OAAO,WAAW,CAChB,4EAA4E,CAC1E,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CACF,CAAC;IACJ,CAAC;CACF"}
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@meetkai/mka1",
5
- "version": "0.54.3",
5
+ "version": "0.54.5",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetkai/mka1",
3
- "version": "0.54.3",
3
+ "version": "0.54.5",
4
4
  "author": "Daniel Wilder <dauncy@gmail.com>",
5
5
  "homepage": "https://docs.mka1.com",
6
6
  "publishConfig": {
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { SDKCore } from "../core.js";
6
- import { encodeSimple } from "../lib/encodings.js";
6
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
7
7
  import { matchStatusCode } from "../lib/http.js";
8
8
  import * as M from "../lib/matchers.js";
9
9
  import { compactMap } from "../lib/primitives.js";
@@ -19,6 +19,7 @@ import {
19
19
  RequestTimeoutError,
20
20
  UnexpectedClientError,
21
21
  } from "../models/errors/httpclienterrors.js";
22
+ import * as errors from "../models/errors/index.js";
22
23
  import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
23
24
  import { SDKError } from "../models/errors/sdkerror.js";
24
25
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
@@ -38,6 +39,7 @@ export function schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(
38
39
  ): APIPromise<
39
40
  Result<
40
41
  components.ConnectionEnvelope,
42
+ | errors.HTTPValidationError
41
43
  | SDKError
42
44
  | ResponseValidationError
43
45
  | ConnectionError
@@ -63,6 +65,7 @@ async function $do(
63
65
  [
64
66
  Result<
65
67
  components.ConnectionEnvelope,
68
+ | errors.HTTPValidationError
66
69
  | SDKError
67
70
  | ResponseValidationError
68
71
  | ConnectionError
@@ -91,6 +94,10 @@ async function $do(
91
94
 
92
95
  const path = pathToFunc("/api/v1/sandbox/github/oauth/connections")();
93
96
 
97
+ const query = encodeFormQuery({
98
+ "verify": payload.verify,
99
+ });
100
+
94
101
  const headers = new Headers(compactMap({
95
102
  Accept: "application/json",
96
103
  "X-On-Behalf-Of": encodeSimple(
@@ -135,6 +142,7 @@ async function $do(
135
142
  baseURL: options?.serverURL,
136
143
  path: path,
137
144
  headers: headers,
145
+ query: query,
138
146
  body: body,
139
147
  userAgent: client._options.userAgent,
140
148
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
@@ -156,8 +164,13 @@ async function $do(
156
164
  }
157
165
  const response = doResult.value;
158
166
 
167
+ const responseFields = {
168
+ HttpMeta: { Response: response, Request: req },
169
+ };
170
+
159
171
  const [result] = await M.match<
160
172
  components.ConnectionEnvelope,
173
+ | errors.HTTPValidationError
161
174
  | SDKError
162
175
  | ResponseValidationError
163
176
  | ConnectionError
@@ -168,9 +181,10 @@ async function $do(
168
181
  | SDKValidationError
169
182
  >(
170
183
  M.json(200, components.ConnectionEnvelope$inboundSchema),
184
+ M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
171
185
  M.fail("4XX"),
172
186
  M.fail("5XX"),
173
- )(response, req);
187
+ )(response, req, { extraFields: responseFields });
174
188
  if (!result.ok) {
175
189
  return [result, { status: "complete", request: req, response }];
176
190
  }
package/src/lib/config.ts CHANGED
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
65
65
  export const SDK_METADATA = {
66
66
  language: "typescript",
67
67
  openapiDocVersion: "1.1.0",
68
- sdkVersion: "0.54.3",
68
+ sdkVersion: "0.54.5",
69
69
  genVersion: "2.932.9",
70
- userAgent: "speakeasy-sdk/typescript 0.54.3 2.932.9 1.1.0 @meetkai/mka1",
70
+ userAgent: "speakeasy-sdk/typescript 0.54.5 2.932.9 1.1.0 @meetkai/mka1",
71
71
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.54.3",
22
+ currentVersion: "0.54.5",
23
23
  },
24
24
  });
25
25
 
@@ -384,7 +384,7 @@ export function createMCPServer(deps: {
384
384
  }) {
385
385
  const server = new McpServer({
386
386
  name: "SDK",
387
- version: "0.54.3",
387
+ version: "0.54.5",
388
388
  });
389
389
 
390
390
  const client = new SDKCore({
@@ -420,8 +420,8 @@ export function createMCPServer(deps: {
420
420
  tool(tool$guardrailsListGuardrailsPolicies);
421
421
  tool(tool$guardrailsTestGuardrails);
422
422
  tool(tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost);
423
- tool(tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet);
424
423
  tool(tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost);
424
+ tool(tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet);
425
425
  tool(tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete);
426
426
  tool(tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet);
427
427
  tool(
@@ -19,6 +19,7 @@ export type Connection = {
19
19
  githubUserId: number;
20
20
  scopes: string;
21
21
  syncedAt: Date;
22
+ tokenInvalidAt?: Date | null | undefined;
22
23
  repositories: Array<ConnectedRepository>;
23
24
  };
24
25
 
@@ -32,12 +33,16 @@ export const Connection$inboundSchema: z.ZodType<
32
33
  github_user_id: z.number().int(),
33
34
  scopes: z.string(),
34
35
  synced_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
36
+ token_invalid_at: z.nullable(
37
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
38
+ ).optional(),
35
39
  repositories: z.array(ConnectedRepository$inboundSchema),
36
40
  }).transform((v) => {
37
41
  return remap$(v, {
38
42
  "github_login": "githubLogin",
39
43
  "github_user_id": "githubUserId",
40
44
  "synced_at": "syncedAt",
45
+ "token_invalid_at": "tokenInvalidAt",
41
46
  });
42
47
  });
43
48
  /** @internal */
@@ -46,6 +51,7 @@ export type Connection$Outbound = {
46
51
  github_user_id: number;
47
52
  scopes: string;
48
53
  synced_at: string;
54
+ token_invalid_at?: string | null | undefined;
49
55
  repositories: Array<ConnectedRepository$Outbound>;
50
56
  };
51
57
 
@@ -59,12 +65,15 @@ export const Connection$outboundSchema: z.ZodType<
59
65
  githubUserId: z.number().int(),
60
66
  scopes: z.string(),
61
67
  syncedAt: z.date().transform(v => v.toISOString()),
68
+ tokenInvalidAt: z.nullable(z.date().transform(v => v.toISOString()))
69
+ .optional(),
62
70
  repositories: z.array(ConnectedRepository$outboundSchema),
63
71
  }).transform((v) => {
64
72
  return remap$(v, {
65
73
  githubLogin: "github_login",
66
74
  githubUserId: "github_user_id",
67
75
  syncedAt: "synced_at",
76
+ tokenInvalidAt: "token_invalid_at",
68
77
  });
69
78
  });
70
79
 
@@ -37,6 +37,10 @@ export type CreateAgentRunRequest = {
37
37
  * Context management strategies to apply during agent-run response generation. Supports compaction, which summarizes older conversation history when the context exceeds a token threshold.
38
38
  */
39
39
  contextManagement?: Array<AgentCompactionContextManagement> | undefined;
40
+ /**
41
+ * When true, the gateway generates per-token delta events for this run, so the events endpoint streams incremental output instead of only item and lifecycle boundaries. The run still executes in the background and this endpoint still returns the queued run record.
42
+ */
43
+ stream?: boolean | undefined;
40
44
  metadata?: { [k: string]: string } | undefined;
41
45
  };
42
46
 
@@ -149,6 +153,7 @@ export const CreateAgentRunRequest$inboundSchema: z.ZodType<
149
153
  previous_response_id: z.string().optional(),
150
154
  context_management: z.array(AgentCompactionContextManagement$inboundSchema)
151
155
  .optional(),
156
+ stream: z.boolean().default(false),
152
157
  metadata: z.record(z.string()).optional(),
153
158
  }).transform((v) => {
154
159
  return remap$(v, {
@@ -164,6 +169,7 @@ export type CreateAgentRunRequest$Outbound = {
164
169
  context_management?:
165
170
  | Array<AgentCompactionContextManagement$Outbound>
166
171
  | undefined;
172
+ stream: boolean;
167
173
  metadata?: { [k: string]: string } | undefined;
168
174
  };
169
175
 
@@ -181,6 +187,7 @@ export const CreateAgentRunRequest$outboundSchema: z.ZodType<
181
187
  previousResponseId: z.string().optional(),
182
188
  contextManagement: z.array(AgentCompactionContextManagement$outboundSchema)
183
189
  .optional(),
190
+ stream: z.boolean().default(false),
184
191
  metadata: z.record(z.string()).optional(),
185
192
  }).transform((v) => {
186
193
  return remap$(v, {
@@ -9,6 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  export type GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest = {
12
+ verify?: boolean | undefined;
12
13
  /**
13
14
  * Optional external end-user identifier forwarded by the API gateway.
14
15
  */
@@ -22,6 +23,7 @@ export const GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSc
22
23
  z.ZodTypeDef,
23
24
  unknown
24
25
  > = z.object({
26
+ verify: z.boolean().default(false),
25
27
  "X-On-Behalf-Of": z.string().optional(),
26
28
  }).transform((v) => {
27
29
  return remap$(v, {
@@ -31,6 +33,7 @@ export const GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSc
31
33
  /** @internal */
32
34
  export type GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$Outbound =
33
35
  {
36
+ verify: boolean;
34
37
  "X-On-Behalf-Of"?: string | undefined;
35
38
  };
36
39
 
@@ -41,6 +44,7 @@ export const GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundS
41
44
  z.ZodTypeDef,
42
45
  GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest
43
46
  > = z.object({
47
+ verify: z.boolean().default(false),
44
48
  xOnBehalfOf: z.string().optional(),
45
49
  }).transform((v) => {
46
50
  return remap$(v, {
@@ -47,6 +47,7 @@ export function buildSchema3OtherGetConnectionApiV1SandboxGithubOauthConnections
47
47
  return {
48
48
  queryKey:
49
49
  queryKeySchema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet({
50
+ verify: request.verify,
50
51
  xOnBehalfOf: request.xOnBehalfOf,
51
52
  }),
52
53
  queryFn:
@@ -78,7 +79,10 @@ export function buildSchema3OtherGetConnectionApiV1SandboxGithubOauthConnections
78
79
  }
79
80
 
80
81
  export function queryKeySchema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(
81
- parameters: { xOnBehalfOf?: string | undefined },
82
+ parameters: {
83
+ verify?: boolean | undefined;
84
+ xOnBehalfOf?: string | undefined;
85
+ },
82
86
  ): QueryKey {
83
87
  return [
84
88
  "@meetkai/mka1",
@@ -17,6 +17,7 @@ import {
17
17
  RequestTimeoutError,
18
18
  UnexpectedClientError,
19
19
  } from "../models/errors/httpclienterrors.js";
20
+ import * as errors from "../models/errors/index.js";
20
21
  import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
21
22
  import { SDKError } from "../models/errors/sdkerror.js";
22
23
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
@@ -41,6 +42,7 @@ export {
41
42
  };
42
43
 
43
44
  export type Schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGetQueryError =
45
+ | errors.HTTPValidationError
44
46
  | SDKError
45
47
  | ResponseValidationError
46
48
  | ConnectionError
@@ -100,7 +102,12 @@ export function useSchema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGe
100
102
 
101
103
  export function setSchema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGetData(
102
104
  client: QueryClient,
103
- queryKeyBase: [parameters: { xOnBehalfOf?: string | undefined }],
105
+ queryKeyBase: [
106
+ parameters: {
107
+ verify?: boolean | undefined;
108
+ xOnBehalfOf?: string | undefined;
109
+ },
110
+ ],
104
111
  data: Schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGetQueryData,
105
112
  ):
106
113
  | Schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGetQueryData
@@ -119,7 +126,10 @@ export function setSchema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGe
119
126
  export function invalidateSchema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(
120
127
  client: QueryClient,
121
128
  queryKeyBase: TupleToPrefixes<
122
- [parameters: { xOnBehalfOf?: string | undefined }]
129
+ [parameters: {
130
+ verify?: boolean | undefined;
131
+ xOnBehalfOf?: string | undefined;
132
+ }]
123
133
  >,
124
134
  filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
125
135
  ): Promise<void> {
@@ -35,15 +35,14 @@ export class Schema3Other extends ClientSDK {
35
35
  }
36
36
 
37
37
  /**
38
- * Get Connection
38
+ * Connect
39
39
  */
40
- async getConnectionApiV1SandboxGithubOauthConnectionsGet(
41
- request:
42
- operations.GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest,
40
+ async connectApiV1SandboxGithubOauthConnectionsPost(
41
+ request: operations.ConnectApiV1SandboxGithubOauthConnectionsPostRequest,
43
42
  options?: RequestOptions,
44
- ): Promise<components.ConnectionEnvelope> {
43
+ ): Promise<components.Connection> {
45
44
  return unwrapAsync(
46
- schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(
45
+ schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(
47
46
  this,
48
47
  request,
49
48
  options,
@@ -52,14 +51,15 @@ export class Schema3Other extends ClientSDK {
52
51
  }
53
52
 
54
53
  /**
55
- * Connect
54
+ * Get Connection
56
55
  */
57
- async connectApiV1SandboxGithubOauthConnectionsPost(
58
- request: operations.ConnectApiV1SandboxGithubOauthConnectionsPostRequest,
56
+ async getConnectionApiV1SandboxGithubOauthConnectionsGet(
57
+ request:
58
+ operations.GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest,
59
59
  options?: RequestOptions,
60
- ): Promise<components.Connection> {
60
+ ): Promise<components.ConnectionEnvelope> {
61
61
  return unwrapAsync(
62
- schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(
62
+ schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(
63
63
  this,
64
64
  request,
65
65
  options,