@meetkai/mka1 0.54.24 → 0.54.25

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 (214) hide show
  1. package/README.md +302 -283
  2. package/bin/mcp-server.js +668 -10
  3. package/bin/mcp-server.js.map +21 -10
  4. package/dist/commonjs/funcs/authOrgsGetById.d.ts +19 -0
  5. package/dist/commonjs/funcs/authOrgsGetById.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/authOrgsGetById.js +146 -0
  7. package/dist/commonjs/funcs/authOrgsGetById.js.map +1 -0
  8. package/dist/commonjs/funcs/authOrgsUpdate.d.ts +19 -0
  9. package/dist/commonjs/funcs/authOrgsUpdate.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/authOrgsUpdate.js +149 -0
  11. package/dist/commonjs/funcs/authOrgsUpdate.js.map +1 -0
  12. package/dist/commonjs/lib/config.d.ts +2 -2
  13. package/dist/commonjs/lib/config.js +2 -2
  14. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  15. package/dist/commonjs/mcp-server/server.js +1 -1
  16. package/dist/commonjs/models/components/basicorganization.d.ts +41 -0
  17. package/dist/commonjs/models/components/basicorganization.d.ts.map +1 -0
  18. package/dist/commonjs/models/components/basicorganization.js +80 -0
  19. package/dist/commonjs/models/components/basicorganization.js.map +1 -0
  20. package/dist/commonjs/models/components/index.d.ts +7 -0
  21. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  22. package/dist/commonjs/models/components/index.js +7 -0
  23. package/dist/commonjs/models/components/index.js.map +1 -1
  24. package/dist/commonjs/models/components/organizationcodeconfig.d.ts +20 -0
  25. package/dist/commonjs/models/components/organizationcodeconfig.d.ts.map +1 -0
  26. package/dist/commonjs/models/components/organizationcodeconfig.js +58 -0
  27. package/dist/commonjs/models/components/organizationcodeconfig.js.map +1 -0
  28. package/dist/commonjs/models/components/organizationmetadata.d.ts +23 -0
  29. package/dist/commonjs/models/components/organizationmetadata.d.ts.map +1 -0
  30. package/dist/commonjs/models/components/organizationmetadata.js +69 -0
  31. package/dist/commonjs/models/components/organizationmetadata.js.map +1 -0
  32. package/dist/commonjs/models/components/organizationmetadataoutput.d.ts +23 -0
  33. package/dist/commonjs/models/components/organizationmetadataoutput.d.ts.map +1 -0
  34. package/dist/commonjs/models/components/organizationmetadataoutput.js +69 -0
  35. package/dist/commonjs/models/components/organizationmetadataoutput.js.map +1 -0
  36. package/dist/commonjs/models/components/schema0.d.ts +17 -0
  37. package/dist/commonjs/models/components/schema0.d.ts.map +1 -0
  38. package/dist/commonjs/models/components/schema0.js +66 -0
  39. package/dist/commonjs/models/components/schema0.js.map +1 -0
  40. package/dist/commonjs/models/components/schema1.d.ts +17 -0
  41. package/dist/commonjs/models/components/schema1.d.ts.map +1 -0
  42. package/dist/commonjs/models/components/schema1.js +66 -0
  43. package/dist/commonjs/models/components/schema1.js.map +1 -0
  44. package/dist/commonjs/models/components/updateorganizationbody.d.ts +18 -0
  45. package/dist/commonjs/models/components/updateorganizationbody.d.ts.map +1 -0
  46. package/dist/commonjs/models/components/updateorganizationbody.js +59 -0
  47. package/dist/commonjs/models/components/updateorganizationbody.js.map +1 -0
  48. package/dist/commonjs/models/errors/getjwtfromkey.d.ts +9 -9
  49. package/dist/commonjs/models/errors/getjwtfromkey.d.ts.map +1 -1
  50. package/dist/commonjs/models/errors/getjwtfromkey.js +11 -11
  51. package/dist/commonjs/models/errors/getjwtfromkey.js.map +1 -1
  52. package/dist/commonjs/models/errors/getorgbyid.d.ts +211 -0
  53. package/dist/commonjs/models/errors/getorgbyid.d.ts.map +1 -0
  54. package/dist/commonjs/models/errors/getorgbyid.js +298 -0
  55. package/dist/commonjs/models/errors/getorgbyid.js.map +1 -0
  56. package/dist/commonjs/models/errors/index.d.ts +2 -0
  57. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  58. package/dist/commonjs/models/errors/index.js +2 -0
  59. package/dist/commonjs/models/errors/index.js.map +1 -1
  60. package/dist/commonjs/models/errors/updateorganization.d.ts +257 -0
  61. package/dist/commonjs/models/errors/updateorganization.d.ts.map +1 -0
  62. package/dist/commonjs/models/errors/updateorganization.js +353 -0
  63. package/dist/commonjs/models/errors/updateorganization.js.map +1 -0
  64. package/dist/commonjs/models/operations/getorgbyid.d.ts +37 -0
  65. package/dist/commonjs/models/operations/getorgbyid.d.ts.map +1 -0
  66. package/dist/commonjs/models/operations/getorgbyid.js +87 -0
  67. package/dist/commonjs/models/operations/getorgbyid.js.map +1 -0
  68. package/dist/commonjs/models/operations/index.d.ts +2 -0
  69. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  70. package/dist/commonjs/models/operations/index.js +2 -0
  71. package/dist/commonjs/models/operations/index.js.map +1 -1
  72. package/dist/commonjs/models/operations/updateorganization.d.ts +40 -0
  73. package/dist/commonjs/models/operations/updateorganization.d.ts.map +1 -0
  74. package/dist/commonjs/models/operations/updateorganization.js +92 -0
  75. package/dist/commonjs/models/operations/updateorganization.js.map +1 -0
  76. package/dist/commonjs/react-query/authOrgsGetById.core.d.ts +15 -0
  77. package/dist/commonjs/react-query/authOrgsGetById.core.d.ts.map +1 -0
  78. package/dist/commonjs/react-query/authOrgsGetById.core.js +36 -0
  79. package/dist/commonjs/react-query/authOrgsGetById.core.js.map +1 -0
  80. package/dist/commonjs/react-query/authOrgsGetById.d.ts +39 -0
  81. package/dist/commonjs/react-query/authOrgsGetById.d.ts.map +1 -0
  82. package/dist/commonjs/react-query/authOrgsGetById.js +60 -0
  83. package/dist/commonjs/react-query/authOrgsGetById.js.map +1 -0
  84. package/dist/commonjs/react-query/authOrgsUpdate.d.ts +31 -0
  85. package/dist/commonjs/react-query/authOrgsUpdate.d.ts.map +1 -0
  86. package/dist/commonjs/react-query/authOrgsUpdate.js +47 -0
  87. package/dist/commonjs/react-query/authOrgsUpdate.js.map +1 -0
  88. package/dist/commonjs/react-query/index.d.ts +2 -0
  89. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  90. package/dist/commonjs/react-query/index.js +2 -0
  91. package/dist/commonjs/react-query/index.js.map +1 -1
  92. package/dist/commonjs/sdk/orgs.d.ts +15 -0
  93. package/dist/commonjs/sdk/orgs.d.ts.map +1 -1
  94. package/dist/commonjs/sdk/orgs.js +20 -0
  95. package/dist/commonjs/sdk/orgs.js.map +1 -1
  96. package/dist/esm/funcs/authOrgsGetById.d.ts +19 -0
  97. package/dist/esm/funcs/authOrgsGetById.d.ts.map +1 -0
  98. package/dist/esm/funcs/authOrgsGetById.js +110 -0
  99. package/dist/esm/funcs/authOrgsGetById.js.map +1 -0
  100. package/dist/esm/funcs/authOrgsUpdate.d.ts +19 -0
  101. package/dist/esm/funcs/authOrgsUpdate.d.ts.map +1 -0
  102. package/dist/esm/funcs/authOrgsUpdate.js +113 -0
  103. package/dist/esm/funcs/authOrgsUpdate.js.map +1 -0
  104. package/dist/esm/lib/config.d.ts +2 -2
  105. package/dist/esm/lib/config.js +2 -2
  106. package/dist/esm/mcp-server/mcp-server.js +1 -1
  107. package/dist/esm/mcp-server/server.js +1 -1
  108. package/dist/esm/models/components/basicorganization.d.ts +41 -0
  109. package/dist/esm/models/components/basicorganization.d.ts.map +1 -0
  110. package/dist/esm/models/components/basicorganization.js +42 -0
  111. package/dist/esm/models/components/basicorganization.js.map +1 -0
  112. package/dist/esm/models/components/index.d.ts +7 -0
  113. package/dist/esm/models/components/index.d.ts.map +1 -1
  114. package/dist/esm/models/components/index.js +7 -0
  115. package/dist/esm/models/components/index.js.map +1 -1
  116. package/dist/esm/models/components/organizationcodeconfig.d.ts +20 -0
  117. package/dist/esm/models/components/organizationcodeconfig.d.ts.map +1 -0
  118. package/dist/esm/models/components/organizationcodeconfig.js +20 -0
  119. package/dist/esm/models/components/organizationcodeconfig.js.map +1 -0
  120. package/dist/esm/models/components/organizationmetadata.d.ts +23 -0
  121. package/dist/esm/models/components/organizationmetadata.d.ts.map +1 -0
  122. package/dist/esm/models/components/organizationmetadata.js +31 -0
  123. package/dist/esm/models/components/organizationmetadata.js.map +1 -0
  124. package/dist/esm/models/components/organizationmetadataoutput.d.ts +23 -0
  125. package/dist/esm/models/components/organizationmetadataoutput.d.ts.map +1 -0
  126. package/dist/esm/models/components/organizationmetadataoutput.js +31 -0
  127. package/dist/esm/models/components/organizationmetadataoutput.js.map +1 -0
  128. package/dist/esm/models/components/schema0.d.ts +17 -0
  129. package/dist/esm/models/components/schema0.d.ts.map +1 -0
  130. package/dist/esm/models/components/schema0.js +28 -0
  131. package/dist/esm/models/components/schema0.js.map +1 -0
  132. package/dist/esm/models/components/schema1.d.ts +17 -0
  133. package/dist/esm/models/components/schema1.d.ts.map +1 -0
  134. package/dist/esm/models/components/schema1.js +28 -0
  135. package/dist/esm/models/components/schema1.js.map +1 -0
  136. package/dist/esm/models/components/updateorganizationbody.d.ts +18 -0
  137. package/dist/esm/models/components/updateorganizationbody.d.ts.map +1 -0
  138. package/dist/esm/models/components/updateorganizationbody.js +21 -0
  139. package/dist/esm/models/components/updateorganizationbody.js.map +1 -0
  140. package/dist/esm/models/errors/getjwtfromkey.d.ts +9 -9
  141. package/dist/esm/models/errors/getjwtfromkey.d.ts.map +1 -1
  142. package/dist/esm/models/errors/getjwtfromkey.js +8 -8
  143. package/dist/esm/models/errors/getjwtfromkey.js.map +1 -1
  144. package/dist/esm/models/errors/getorgbyid.d.ts +211 -0
  145. package/dist/esm/models/errors/getorgbyid.d.ts.map +1 -0
  146. package/dist/esm/models/errors/getorgbyid.js +254 -0
  147. package/dist/esm/models/errors/getorgbyid.js.map +1 -0
  148. package/dist/esm/models/errors/index.d.ts +2 -0
  149. package/dist/esm/models/errors/index.d.ts.map +1 -1
  150. package/dist/esm/models/errors/index.js +2 -0
  151. package/dist/esm/models/errors/index.js.map +1 -1
  152. package/dist/esm/models/errors/updateorganization.d.ts +257 -0
  153. package/dist/esm/models/errors/updateorganization.d.ts.map +1 -0
  154. package/dist/esm/models/errors/updateorganization.js +306 -0
  155. package/dist/esm/models/errors/updateorganization.js.map +1 -0
  156. package/dist/esm/models/operations/getorgbyid.d.ts +37 -0
  157. package/dist/esm/models/operations/getorgbyid.d.ts.map +1 -0
  158. package/dist/esm/models/operations/getorgbyid.js +47 -0
  159. package/dist/esm/models/operations/getorgbyid.js.map +1 -0
  160. package/dist/esm/models/operations/index.d.ts +2 -0
  161. package/dist/esm/models/operations/index.d.ts.map +1 -1
  162. package/dist/esm/models/operations/index.js +2 -0
  163. package/dist/esm/models/operations/index.js.map +1 -1
  164. package/dist/esm/models/operations/updateorganization.d.ts +40 -0
  165. package/dist/esm/models/operations/updateorganization.d.ts.map +1 -0
  166. package/dist/esm/models/operations/updateorganization.js +52 -0
  167. package/dist/esm/models/operations/updateorganization.js.map +1 -0
  168. package/dist/esm/react-query/authOrgsGetById.core.d.ts +15 -0
  169. package/dist/esm/react-query/authOrgsGetById.core.d.ts.map +1 -0
  170. package/dist/esm/react-query/authOrgsGetById.core.js +31 -0
  171. package/dist/esm/react-query/authOrgsGetById.core.js.map +1 -0
  172. package/dist/esm/react-query/authOrgsGetById.d.ts +39 -0
  173. package/dist/esm/react-query/authOrgsGetById.d.ts.map +1 -0
  174. package/dist/esm/react-query/authOrgsGetById.js +50 -0
  175. package/dist/esm/react-query/authOrgsGetById.js.map +1 -0
  176. package/dist/esm/react-query/authOrgsUpdate.d.ts +31 -0
  177. package/dist/esm/react-query/authOrgsUpdate.d.ts.map +1 -0
  178. package/dist/esm/react-query/authOrgsUpdate.js +42 -0
  179. package/dist/esm/react-query/authOrgsUpdate.js.map +1 -0
  180. package/dist/esm/react-query/index.d.ts +2 -0
  181. package/dist/esm/react-query/index.d.ts.map +1 -1
  182. package/dist/esm/react-query/index.js +2 -0
  183. package/dist/esm/react-query/index.js.map +1 -1
  184. package/dist/esm/sdk/orgs.d.ts +15 -0
  185. package/dist/esm/sdk/orgs.d.ts.map +1 -1
  186. package/dist/esm/sdk/orgs.js +20 -0
  187. package/dist/esm/sdk/orgs.js.map +1 -1
  188. package/jsr.json +1 -1
  189. package/package.json +1 -1
  190. package/src/funcs/authOrgsGetById.ts +251 -0
  191. package/src/funcs/authOrgsUpdate.ts +264 -0
  192. package/src/lib/config.ts +2 -2
  193. package/src/mcp-server/mcp-server.ts +1 -1
  194. package/src/mcp-server/server.ts +1 -1
  195. package/src/models/components/basicorganization.ts +100 -0
  196. package/src/models/components/index.ts +7 -0
  197. package/src/models/components/organizationcodeconfig.ts +54 -0
  198. package/src/models/components/organizationmetadata.ts +80 -0
  199. package/src/models/components/organizationmetadataoutput.ts +80 -0
  200. package/src/models/components/schema0.ts +55 -0
  201. package/src/models/components/schema1.ts +55 -0
  202. package/src/models/components/updateorganizationbody.ts +57 -0
  203. package/src/models/errors/getjwtfromkey.ts +28 -21
  204. package/src/models/errors/getorgbyid.ts +499 -0
  205. package/src/models/errors/index.ts +2 -0
  206. package/src/models/errors/updateorganization.ts +631 -0
  207. package/src/models/operations/getorgbyid.ts +114 -0
  208. package/src/models/operations/index.ts +2 -0
  209. package/src/models/operations/updateorganization.ts +121 -0
  210. package/src/react-query/authOrgsGetById.core.ts +78 -0
  211. package/src/react-query/authOrgsGetById.ts +148 -0
  212. package/src/react-query/authOrgsUpdate.ts +122 -0
  213. package/src/react-query/index.ts +2 -0
  214. package/src/sdk/orgs.ts +41 -0
@@ -0,0 +1,499 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { SDKError } from "./sdkerror.js";
7
+
8
+ /**
9
+ * Stored organization metadata is invalid
10
+ */
11
+ export type GetOrgByIdAuthOrgsResponse500ResponseBodyData = {
12
+ message: string;
13
+ };
14
+
15
+ /**
16
+ * Stored organization metadata is invalid
17
+ */
18
+ export class GetOrgByIdAuthOrgsResponse500ResponseBody extends SDKError {
19
+ /** The original data that was passed to this error instance. */
20
+ data$: GetOrgByIdAuthOrgsResponse500ResponseBodyData;
21
+
22
+ constructor(
23
+ err: GetOrgByIdAuthOrgsResponse500ResponseBodyData,
24
+ httpMeta: { response: Response; request: Request; body: string },
25
+ ) {
26
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
27
+ super(message, httpMeta);
28
+ this.data$ = err;
29
+
30
+ this.name = "GetOrgByIdAuthOrgsResponse500ResponseBody";
31
+ }
32
+ }
33
+
34
+ /**
35
+ * Rate limited
36
+ */
37
+ export type GetOrgByIdAuthOrgsResponse429ResponseBodyData = {
38
+ message: string;
39
+ };
40
+
41
+ /**
42
+ * Rate limited
43
+ */
44
+ export class GetOrgByIdAuthOrgsResponse429ResponseBody extends SDKError {
45
+ /** The original data that was passed to this error instance. */
46
+ data$: GetOrgByIdAuthOrgsResponse429ResponseBodyData;
47
+
48
+ constructor(
49
+ err: GetOrgByIdAuthOrgsResponse429ResponseBodyData,
50
+ httpMeta: { response: Response; request: Request; body: string },
51
+ ) {
52
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
53
+ super(message, httpMeta);
54
+ this.data$ = err;
55
+
56
+ this.name = "GetOrgByIdAuthOrgsResponse429ResponseBody";
57
+ }
58
+ }
59
+
60
+ /**
61
+ * Gone
62
+ */
63
+ export type GetOrgByIdAuthOrgsResponse410ResponseBodyData = {
64
+ message: string;
65
+ };
66
+
67
+ /**
68
+ * Gone
69
+ */
70
+ export class GetOrgByIdAuthOrgsResponse410ResponseBody extends SDKError {
71
+ /** The original data that was passed to this error instance. */
72
+ data$: GetOrgByIdAuthOrgsResponse410ResponseBodyData;
73
+
74
+ constructor(
75
+ err: GetOrgByIdAuthOrgsResponse410ResponseBodyData,
76
+ httpMeta: { response: Response; request: Request; body: string },
77
+ ) {
78
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
79
+ super(message, httpMeta);
80
+ this.data$ = err;
81
+
82
+ this.name = "GetOrgByIdAuthOrgsResponse410ResponseBody";
83
+ }
84
+ }
85
+
86
+ /**
87
+ * Conflict
88
+ */
89
+ export type GetOrgByIdAuthOrgsResponse409ResponseBodyData = {
90
+ message: string;
91
+ };
92
+
93
+ /**
94
+ * Conflict
95
+ */
96
+ export class GetOrgByIdAuthOrgsResponse409ResponseBody extends SDKError {
97
+ /** The original data that was passed to this error instance. */
98
+ data$: GetOrgByIdAuthOrgsResponse409ResponseBodyData;
99
+
100
+ constructor(
101
+ err: GetOrgByIdAuthOrgsResponse409ResponseBodyData,
102
+ httpMeta: { response: Response; request: Request; body: string },
103
+ ) {
104
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
105
+ super(message, httpMeta);
106
+ this.data$ = err;
107
+
108
+ this.name = "GetOrgByIdAuthOrgsResponse409ResponseBody";
109
+ }
110
+ }
111
+
112
+ /**
113
+ * Not found
114
+ */
115
+ export type GetOrgByIdAuthOrgsResponse404ResponseBodyData = {
116
+ message: string;
117
+ };
118
+
119
+ /**
120
+ * Not found
121
+ */
122
+ export class GetOrgByIdAuthOrgsResponse404ResponseBody extends SDKError {
123
+ /** The original data that was passed to this error instance. */
124
+ data$: GetOrgByIdAuthOrgsResponse404ResponseBodyData;
125
+
126
+ constructor(
127
+ err: GetOrgByIdAuthOrgsResponse404ResponseBodyData,
128
+ httpMeta: { response: Response; request: Request; body: string },
129
+ ) {
130
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
131
+ super(message, httpMeta);
132
+ this.data$ = err;
133
+
134
+ this.name = "GetOrgByIdAuthOrgsResponse404ResponseBody";
135
+ }
136
+ }
137
+
138
+ /**
139
+ * Forbidden
140
+ */
141
+ export type GetOrgByIdAuthOrgsResponseResponseBodyData = {
142
+ message: string;
143
+ };
144
+
145
+ /**
146
+ * Forbidden
147
+ */
148
+ export class GetOrgByIdAuthOrgsResponseResponseBody extends SDKError {
149
+ /** The original data that was passed to this error instance. */
150
+ data$: GetOrgByIdAuthOrgsResponseResponseBodyData;
151
+
152
+ constructor(
153
+ err: GetOrgByIdAuthOrgsResponseResponseBodyData,
154
+ httpMeta: { response: Response; request: Request; body: string },
155
+ ) {
156
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
157
+ super(message, httpMeta);
158
+ this.data$ = err;
159
+
160
+ this.name = "GetOrgByIdAuthOrgsResponseResponseBody";
161
+ }
162
+ }
163
+
164
+ /**
165
+ * Unauthorized
166
+ */
167
+ export type GetOrgByIdAuthOrgsResponseBodyData = {
168
+ message: string;
169
+ };
170
+
171
+ /**
172
+ * Unauthorized
173
+ */
174
+ export class GetOrgByIdAuthOrgsResponseBody extends SDKError {
175
+ /** The original data that was passed to this error instance. */
176
+ data$: GetOrgByIdAuthOrgsResponseBodyData;
177
+
178
+ constructor(
179
+ err: GetOrgByIdAuthOrgsResponseBodyData,
180
+ httpMeta: { response: Response; request: Request; body: string },
181
+ ) {
182
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
183
+ super(message, httpMeta);
184
+ this.data$ = err;
185
+
186
+ this.name = "GetOrgByIdAuthOrgsResponseBody";
187
+ }
188
+ }
189
+
190
+ /**
191
+ * Bad request
192
+ */
193
+ export type GetOrgByIdResponseBodyData = {
194
+ message: string;
195
+ };
196
+
197
+ /**
198
+ * Bad request
199
+ */
200
+ export class GetOrgByIdResponseBody extends SDKError {
201
+ /** The original data that was passed to this error instance. */
202
+ data$: GetOrgByIdResponseBodyData;
203
+
204
+ constructor(
205
+ err: GetOrgByIdResponseBodyData,
206
+ httpMeta: { response: Response; request: Request; body: string },
207
+ ) {
208
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
209
+ super(message, httpMeta);
210
+ this.data$ = err;
211
+
212
+ this.name = "GetOrgByIdResponseBody";
213
+ }
214
+ }
215
+
216
+ /** @internal */
217
+ export const GetOrgByIdAuthOrgsResponse500ResponseBody$inboundSchema: z.ZodType<
218
+ GetOrgByIdAuthOrgsResponse500ResponseBody,
219
+ z.ZodTypeDef,
220
+ unknown
221
+ > = z.object({
222
+ message: z.string(),
223
+ request$: z.instanceof(Request),
224
+ response$: z.instanceof(Response),
225
+ body$: z.string(),
226
+ })
227
+ .transform((v) => {
228
+ return new GetOrgByIdAuthOrgsResponse500ResponseBody(v, {
229
+ request: v.request$,
230
+ response: v.response$,
231
+ body: v.body$,
232
+ });
233
+ });
234
+
235
+ /** @internal */
236
+ export type GetOrgByIdAuthOrgsResponse500ResponseBody$Outbound = {
237
+ message: string;
238
+ };
239
+
240
+ /** @internal */
241
+ export const GetOrgByIdAuthOrgsResponse500ResponseBody$outboundSchema:
242
+ z.ZodType<
243
+ GetOrgByIdAuthOrgsResponse500ResponseBody$Outbound,
244
+ z.ZodTypeDef,
245
+ GetOrgByIdAuthOrgsResponse500ResponseBody
246
+ > = z.instanceof(GetOrgByIdAuthOrgsResponse500ResponseBody)
247
+ .transform(v => v.data$)
248
+ .pipe(z.object({
249
+ message: z.string(),
250
+ }));
251
+
252
+ /** @internal */
253
+ export const GetOrgByIdAuthOrgsResponse429ResponseBody$inboundSchema: z.ZodType<
254
+ GetOrgByIdAuthOrgsResponse429ResponseBody,
255
+ z.ZodTypeDef,
256
+ unknown
257
+ > = z.object({
258
+ message: z.string(),
259
+ request$: z.instanceof(Request),
260
+ response$: z.instanceof(Response),
261
+ body$: z.string(),
262
+ })
263
+ .transform((v) => {
264
+ return new GetOrgByIdAuthOrgsResponse429ResponseBody(v, {
265
+ request: v.request$,
266
+ response: v.response$,
267
+ body: v.body$,
268
+ });
269
+ });
270
+
271
+ /** @internal */
272
+ export type GetOrgByIdAuthOrgsResponse429ResponseBody$Outbound = {
273
+ message: string;
274
+ };
275
+
276
+ /** @internal */
277
+ export const GetOrgByIdAuthOrgsResponse429ResponseBody$outboundSchema:
278
+ z.ZodType<
279
+ GetOrgByIdAuthOrgsResponse429ResponseBody$Outbound,
280
+ z.ZodTypeDef,
281
+ GetOrgByIdAuthOrgsResponse429ResponseBody
282
+ > = z.instanceof(GetOrgByIdAuthOrgsResponse429ResponseBody)
283
+ .transform(v => v.data$)
284
+ .pipe(z.object({
285
+ message: z.string(),
286
+ }));
287
+
288
+ /** @internal */
289
+ export const GetOrgByIdAuthOrgsResponse410ResponseBody$inboundSchema: z.ZodType<
290
+ GetOrgByIdAuthOrgsResponse410ResponseBody,
291
+ z.ZodTypeDef,
292
+ unknown
293
+ > = z.object({
294
+ message: z.string(),
295
+ request$: z.instanceof(Request),
296
+ response$: z.instanceof(Response),
297
+ body$: z.string(),
298
+ })
299
+ .transform((v) => {
300
+ return new GetOrgByIdAuthOrgsResponse410ResponseBody(v, {
301
+ request: v.request$,
302
+ response: v.response$,
303
+ body: v.body$,
304
+ });
305
+ });
306
+
307
+ /** @internal */
308
+ export type GetOrgByIdAuthOrgsResponse410ResponseBody$Outbound = {
309
+ message: string;
310
+ };
311
+
312
+ /** @internal */
313
+ export const GetOrgByIdAuthOrgsResponse410ResponseBody$outboundSchema:
314
+ z.ZodType<
315
+ GetOrgByIdAuthOrgsResponse410ResponseBody$Outbound,
316
+ z.ZodTypeDef,
317
+ GetOrgByIdAuthOrgsResponse410ResponseBody
318
+ > = z.instanceof(GetOrgByIdAuthOrgsResponse410ResponseBody)
319
+ .transform(v => v.data$)
320
+ .pipe(z.object({
321
+ message: z.string(),
322
+ }));
323
+
324
+ /** @internal */
325
+ export const GetOrgByIdAuthOrgsResponse409ResponseBody$inboundSchema: z.ZodType<
326
+ GetOrgByIdAuthOrgsResponse409ResponseBody,
327
+ z.ZodTypeDef,
328
+ unknown
329
+ > = z.object({
330
+ message: z.string(),
331
+ request$: z.instanceof(Request),
332
+ response$: z.instanceof(Response),
333
+ body$: z.string(),
334
+ })
335
+ .transform((v) => {
336
+ return new GetOrgByIdAuthOrgsResponse409ResponseBody(v, {
337
+ request: v.request$,
338
+ response: v.response$,
339
+ body: v.body$,
340
+ });
341
+ });
342
+
343
+ /** @internal */
344
+ export type GetOrgByIdAuthOrgsResponse409ResponseBody$Outbound = {
345
+ message: string;
346
+ };
347
+
348
+ /** @internal */
349
+ export const GetOrgByIdAuthOrgsResponse409ResponseBody$outboundSchema:
350
+ z.ZodType<
351
+ GetOrgByIdAuthOrgsResponse409ResponseBody$Outbound,
352
+ z.ZodTypeDef,
353
+ GetOrgByIdAuthOrgsResponse409ResponseBody
354
+ > = z.instanceof(GetOrgByIdAuthOrgsResponse409ResponseBody)
355
+ .transform(v => v.data$)
356
+ .pipe(z.object({
357
+ message: z.string(),
358
+ }));
359
+
360
+ /** @internal */
361
+ export const GetOrgByIdAuthOrgsResponse404ResponseBody$inboundSchema: z.ZodType<
362
+ GetOrgByIdAuthOrgsResponse404ResponseBody,
363
+ z.ZodTypeDef,
364
+ unknown
365
+ > = z.object({
366
+ message: z.string(),
367
+ request$: z.instanceof(Request),
368
+ response$: z.instanceof(Response),
369
+ body$: z.string(),
370
+ })
371
+ .transform((v) => {
372
+ return new GetOrgByIdAuthOrgsResponse404ResponseBody(v, {
373
+ request: v.request$,
374
+ response: v.response$,
375
+ body: v.body$,
376
+ });
377
+ });
378
+
379
+ /** @internal */
380
+ export type GetOrgByIdAuthOrgsResponse404ResponseBody$Outbound = {
381
+ message: string;
382
+ };
383
+
384
+ /** @internal */
385
+ export const GetOrgByIdAuthOrgsResponse404ResponseBody$outboundSchema:
386
+ z.ZodType<
387
+ GetOrgByIdAuthOrgsResponse404ResponseBody$Outbound,
388
+ z.ZodTypeDef,
389
+ GetOrgByIdAuthOrgsResponse404ResponseBody
390
+ > = z.instanceof(GetOrgByIdAuthOrgsResponse404ResponseBody)
391
+ .transform(v => v.data$)
392
+ .pipe(z.object({
393
+ message: z.string(),
394
+ }));
395
+
396
+ /** @internal */
397
+ export const GetOrgByIdAuthOrgsResponseResponseBody$inboundSchema: z.ZodType<
398
+ GetOrgByIdAuthOrgsResponseResponseBody,
399
+ z.ZodTypeDef,
400
+ unknown
401
+ > = z.object({
402
+ message: z.string(),
403
+ request$: z.instanceof(Request),
404
+ response$: z.instanceof(Response),
405
+ body$: z.string(),
406
+ })
407
+ .transform((v) => {
408
+ return new GetOrgByIdAuthOrgsResponseResponseBody(v, {
409
+ request: v.request$,
410
+ response: v.response$,
411
+ body: v.body$,
412
+ });
413
+ });
414
+
415
+ /** @internal */
416
+ export type GetOrgByIdAuthOrgsResponseResponseBody$Outbound = {
417
+ message: string;
418
+ };
419
+
420
+ /** @internal */
421
+ export const GetOrgByIdAuthOrgsResponseResponseBody$outboundSchema: z.ZodType<
422
+ GetOrgByIdAuthOrgsResponseResponseBody$Outbound,
423
+ z.ZodTypeDef,
424
+ GetOrgByIdAuthOrgsResponseResponseBody
425
+ > = z.instanceof(GetOrgByIdAuthOrgsResponseResponseBody)
426
+ .transform(v => v.data$)
427
+ .pipe(z.object({
428
+ message: z.string(),
429
+ }));
430
+
431
+ /** @internal */
432
+ export const GetOrgByIdAuthOrgsResponseBody$inboundSchema: z.ZodType<
433
+ GetOrgByIdAuthOrgsResponseBody,
434
+ z.ZodTypeDef,
435
+ unknown
436
+ > = z.object({
437
+ message: z.string(),
438
+ request$: z.instanceof(Request),
439
+ response$: z.instanceof(Response),
440
+ body$: z.string(),
441
+ })
442
+ .transform((v) => {
443
+ return new GetOrgByIdAuthOrgsResponseBody(v, {
444
+ request: v.request$,
445
+ response: v.response$,
446
+ body: v.body$,
447
+ });
448
+ });
449
+
450
+ /** @internal */
451
+ export type GetOrgByIdAuthOrgsResponseBody$Outbound = {
452
+ message: string;
453
+ };
454
+
455
+ /** @internal */
456
+ export const GetOrgByIdAuthOrgsResponseBody$outboundSchema: z.ZodType<
457
+ GetOrgByIdAuthOrgsResponseBody$Outbound,
458
+ z.ZodTypeDef,
459
+ GetOrgByIdAuthOrgsResponseBody
460
+ > = z.instanceof(GetOrgByIdAuthOrgsResponseBody)
461
+ .transform(v => v.data$)
462
+ .pipe(z.object({
463
+ message: z.string(),
464
+ }));
465
+
466
+ /** @internal */
467
+ export const GetOrgByIdResponseBody$inboundSchema: z.ZodType<
468
+ GetOrgByIdResponseBody,
469
+ z.ZodTypeDef,
470
+ unknown
471
+ > = z.object({
472
+ message: z.string(),
473
+ request$: z.instanceof(Request),
474
+ response$: z.instanceof(Response),
475
+ body$: z.string(),
476
+ })
477
+ .transform((v) => {
478
+ return new GetOrgByIdResponseBody(v, {
479
+ request: v.request$,
480
+ response: v.response$,
481
+ body: v.body$,
482
+ });
483
+ });
484
+
485
+ /** @internal */
486
+ export type GetOrgByIdResponseBody$Outbound = {
487
+ message: string;
488
+ };
489
+
490
+ /** @internal */
491
+ export const GetOrgByIdResponseBody$outboundSchema: z.ZodType<
492
+ GetOrgByIdResponseBody$Outbound,
493
+ z.ZodTypeDef,
494
+ GetOrgByIdResponseBody
495
+ > = z.instanceof(GetOrgByIdResponseBody)
496
+ .transform(v => v.data$)
497
+ .pipe(z.object({
498
+ message: z.string(),
499
+ }));
@@ -20,6 +20,7 @@ export * from "./getclusterinviteinfo.js";
20
20
  export * from "./getclusterorg.js";
21
21
  export * from "./getfilecontent.js";
22
22
  export * from "./getjwtfromkey.js";
23
+ export * from "./getorgbyid.js";
23
24
  export * from "./getorgquota.js";
24
25
  export * from "./getorgratelimit.js";
25
26
  export * from "./getserviceaccount.js";
@@ -45,6 +46,7 @@ export * from "./sdkvalidationerror.js";
45
46
  export * from "./suspendclusterorg.js";
46
47
  export * from "./unsuspendclusterorg.js";
47
48
  export * from "./updateclusterinvite.js";
49
+ export * from "./updateorganization.js";
48
50
  export * from "./updateorgquota.js";
49
51
  export * from "./updateorgratelimit.js";
50
52
  export * from "./updatescopedapikey.js";