@distilled.cloud/stackit 1.0.0-rc.15 → 1.0.0-rc.17

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 (346) hide show
  1. package/lib/.lazy.json +1 -0
  2. package/lib/_bundle/lazy.js +4 -0
  3. package/lib/_bundle/sdk.js +2 -0
  4. package/lib/_bundle/sdk.js.map +1 -0
  5. package/lib/credentials.d.ts +2 -2
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/credentials.js +1 -49
  8. package/lib/errors.d.ts +13 -13
  9. package/lib/errors.d.ts.map +1 -1
  10. package/lib/errors.js +1 -26
  11. package/lib/index.d.ts +2 -2
  12. package/lib/index.js +1 -24
  13. package/lib/index.lazy.js +7 -0
  14. package/lib/pagination.d.ts +1 -1
  15. package/lib/pagination.js +1 -45
  16. package/lib/protocol.d.ts +3 -3
  17. package/lib/protocol.d.ts.map +1 -1
  18. package/lib/protocol.js +1 -147
  19. package/lib/retry.d.ts +1 -1
  20. package/lib/retry.d.ts.map +1 -1
  21. package/lib/retry.js +1 -31
  22. package/lib/services/alb.d.ts +10 -87
  23. package/lib/services/alb.d.ts.map +1 -1
  24. package/lib/services/alb.js +28 -512
  25. package/lib/services/alb.js.map +1 -1
  26. package/lib/services/alb_waf.d.ts +9 -82
  27. package/lib/services/alb_waf.d.ts.map +1 -1
  28. package/lib/services/alb_waf.js +33 -520
  29. package/lib/services/alb_waf.js.map +1 -1
  30. package/lib/services/authorization.d.ts +5 -47
  31. package/lib/services/authorization.d.ts.map +1 -1
  32. package/lib/services/authorization.js +1 -322
  33. package/lib/services/authorization.js.map +1 -1
  34. package/lib/services/automation.d.ts +7 -47
  35. package/lib/services/automation.d.ts.map +1 -1
  36. package/lib/services/automation.js +1 -362
  37. package/lib/services/automation.js.map +1 -1
  38. package/lib/services/cdn.d.ts +8 -220
  39. package/lib/services/cdn.d.ts.map +1 -1
  40. package/lib/services/cdn.js +31 -905
  41. package/lib/services/cdn.js.map +1 -1
  42. package/lib/services/certificates.d.ts +8 -27
  43. package/lib/services/certificates.d.ts.map +1 -1
  44. package/lib/services/certificates.js +1 -178
  45. package/lib/services/certificates.js.map +1 -1
  46. package/lib/services/cost.d.ts +10 -37
  47. package/lib/services/cost.d.ts.map +1 -1
  48. package/lib/services/cost.js +1 -176
  49. package/lib/services/cost.js.map +1 -1
  50. package/lib/services/dns.d.ts +9 -104
  51. package/lib/services/dns.d.ts.map +1 -1
  52. package/lib/services/dns.js +40 -725
  53. package/lib/services/dns.js.map +1 -1
  54. package/lib/services/dremio.d.ts +8 -50
  55. package/lib/services/dremio.d.ts.map +1 -1
  56. package/lib/services/dremio.js +1 -316
  57. package/lib/services/dremio.js.map +1 -1
  58. package/lib/services/edge.d.ts +7 -40
  59. package/lib/services/edge.d.ts.map +1 -1
  60. package/lib/services/edge.js +1 -356
  61. package/lib/services/edge.js.map +1 -1
  62. package/lib/services/functions.d.ts +1 -48
  63. package/lib/services/functions.d.ts.map +1 -1
  64. package/lib/services/functions.js +1 -398
  65. package/lib/services/functions.js.map +1 -1
  66. package/lib/services/git.d.ts +8 -61
  67. package/lib/services/git.d.ts.map +1 -1
  68. package/lib/services/git.js +35 -519
  69. package/lib/services/git.js.map +1 -1
  70. package/lib/services/iaas.d.ts +9 -337
  71. package/lib/services/iaas.d.ts.map +1 -1
  72. package/lib/services/iaas.js +181 -3542
  73. package/lib/services/iaas.js.map +1 -1
  74. package/lib/services/index.js +0 -2
  75. package/lib/services/intake.d.ts +8 -75
  76. package/lib/services/intake.d.ts.map +1 -1
  77. package/lib/services/intake.js +29 -474
  78. package/lib/services/intake.js.map +1 -1
  79. package/lib/services/kms.d.ts +9 -92
  80. package/lib/services/kms.d.ts.map +1 -1
  81. package/lib/services/kms.js +41 -662
  82. package/lib/services/kms.js.map +1 -1
  83. package/lib/services/lb_ip_lists.d.ts +9 -25
  84. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  85. package/lib/services/lb_ip_lists.js +1 -153
  86. package/lib/services/lb_ip_lists.js.map +1 -1
  87. package/lib/services/load_balancer.d.ts +10 -81
  88. package/lib/services/load_balancer.d.ts.map +1 -1
  89. package/lib/services/load_balancer.js +29 -496
  90. package/lib/services/load_balancer.js.map +1 -1
  91. package/lib/services/logme.d.ts +8 -69
  92. package/lib/services/logme.d.ts.map +1 -1
  93. package/lib/services/logme.js +33 -573
  94. package/lib/services/logme.js.map +1 -1
  95. package/lib/services/logs.d.ts +8 -64
  96. package/lib/services/logs.d.ts.map +1 -1
  97. package/lib/services/logs.js +34 -474
  98. package/lib/services/logs.js.map +1 -1
  99. package/lib/services/mariadb.d.ts +8 -65
  100. package/lib/services/mariadb.d.ts.map +1 -1
  101. package/lib/services/mariadb.js +34 -550
  102. package/lib/services/mariadb.js.map +1 -1
  103. package/lib/services/model_experiments.d.ts +9 -48
  104. package/lib/services/model_experiments.d.ts.map +1 -1
  105. package/lib/services/model_experiments.js +1 -335
  106. package/lib/services/model_experiments.js.map +1 -1
  107. package/lib/services/model_serving.d.ts +7 -47
  108. package/lib/services/model_serving.d.ts.map +1 -1
  109. package/lib/services/model_serving.js +1 -286
  110. package/lib/services/model_serving.js.map +1 -1
  111. package/lib/services/mongodb_flex.d.ts +8 -137
  112. package/lib/services/mongodb_flex.d.ts.map +1 -1
  113. package/lib/services/mongodb_flex.js +42 -802
  114. package/lib/services/mongodb_flex.js.map +1 -1
  115. package/lib/services/object_storage.d.ts +12 -59
  116. package/lib/services/object_storage.d.ts.map +1 -1
  117. package/lib/services/object_storage.js +38 -539
  118. package/lib/services/object_storage.js.map +1 -1
  119. package/lib/services/observability.d.ts +8 -407
  120. package/lib/services/observability.d.ts.map +1 -1
  121. package/lib/services/observability.js +159 -3157
  122. package/lib/services/observability.js.map +1 -1
  123. package/lib/services/opensearch.d.ts +8 -71
  124. package/lib/services/opensearch.d.ts.map +1 -1
  125. package/lib/services/opensearch.js +34 -562
  126. package/lib/services/opensearch.js.map +1 -1
  127. package/lib/services/pim.d.ts +12 -108
  128. package/lib/services/pim.d.ts.map +1 -1
  129. package/lib/services/pim.js +31 -735
  130. package/lib/services/pim.js.map +1 -1
  131. package/lib/services/postgres_flex.d.ts +14 -136
  132. package/lib/services/postgres_flex.d.ts.map +1 -1
  133. package/lib/services/postgres_flex.js +47 -852
  134. package/lib/services/postgres_flex.js.map +1 -1
  135. package/lib/services/pubsub.d.ts +11 -73
  136. package/lib/services/pubsub.d.ts.map +1 -1
  137. package/lib/services/pubsub.js +37 -518
  138. package/lib/services/pubsub.js.map +1 -1
  139. package/lib/services/rabbitmq.d.ts +8 -76
  140. package/lib/services/rabbitmq.d.ts.map +1 -1
  141. package/lib/services/rabbitmq.js +35 -573
  142. package/lib/services/rabbitmq.js.map +1 -1
  143. package/lib/services/registry.d.ts +10 -28
  144. package/lib/services/registry.d.ts.map +1 -1
  145. package/lib/services/registry.js +1 -197
  146. package/lib/services/registry.js.map +1 -1
  147. package/lib/services/resource_manager.d.ts +9 -61
  148. package/lib/services/resource_manager.d.ts.map +1 -1
  149. package/lib/services/resource_manager.js +36 -472
  150. package/lib/services/resource_manager.js.map +1 -1
  151. package/lib/services/run_command.d.ts +5 -28
  152. package/lib/services/run_command.d.ts.map +1 -1
  153. package/lib/services/run_command.js +1 -184
  154. package/lib/services/run_command.js.map +1 -1
  155. package/lib/services/sca.d.ts +8 -79
  156. package/lib/services/sca.d.ts.map +1 -1
  157. package/lib/services/sca.js +25 -444
  158. package/lib/services/sca.js.map +1 -1
  159. package/lib/services/scf.d.ts +8 -64
  160. package/lib/services/scf.d.ts.map +1 -1
  161. package/lib/services/scf.js +40 -669
  162. package/lib/services/scf.js.map +1 -1
  163. package/lib/services/secrets_manager.d.ts +8 -61
  164. package/lib/services/secrets_manager.d.ts.map +1 -1
  165. package/lib/services/secrets_manager.js +42 -612
  166. package/lib/services/secrets_manager.js.map +1 -1
  167. package/lib/services/server_backup.d.ts +7 -50
  168. package/lib/services/server_backup.d.ts.map +1 -1
  169. package/lib/services/server_backup.js +29 -453
  170. package/lib/services/server_backup.js.map +1 -1
  171. package/lib/services/server_update.d.ts +7 -35
  172. package/lib/services/server_update.d.ts.map +1 -1
  173. package/lib/services/server_update.js +1 -351
  174. package/lib/services/server_update.js.map +1 -1
  175. package/lib/services/service_account.d.ts +10 -68
  176. package/lib/services/service_account.d.ts.map +1 -1
  177. package/lib/services/service_account.js +30 -505
  178. package/lib/services/service_account.js.map +1 -1
  179. package/lib/services/service_enablement.d.ts +7 -29
  180. package/lib/services/service_enablement.d.ts.map +1 -1
  181. package/lib/services/service_enablement.js +1 -156
  182. package/lib/services/service_enablement.js.map +1 -1
  183. package/lib/services/sfs.d.ts +4 -96
  184. package/lib/services/sfs.d.ts.map +1 -1
  185. package/lib/services/sfs.js +46 -789
  186. package/lib/services/sfs.js.map +1 -1
  187. package/lib/services/ske.d.ts +9 -108
  188. package/lib/services/ske.d.ts.map +1 -1
  189. package/lib/services/ske.js +26 -557
  190. package/lib/services/ske.js.map +1 -1
  191. package/lib/services/sqlserverflex.d.ts +11 -152
  192. package/lib/services/sqlserverflex.d.ts.map +1 -1
  193. package/lib/services/sqlserverflex.js +46 -935
  194. package/lib/services/sqlserverflex.js.map +1 -1
  195. package/lib/services/stackit_marketplace.d.ts +9 -38
  196. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  197. package/lib/services/stackit_marketplace.js +26 -378
  198. package/lib/services/stackit_marketplace.js.map +1 -1
  199. package/lib/services/telemetry_link.d.ts +8 -61
  200. package/lib/services/telemetry_link.d.ts.map +1 -1
  201. package/lib/services/telemetry_link.js +34 -531
  202. package/lib/services/telemetry_link.js.map +1 -1
  203. package/lib/services/telemetry_router.d.ts +8 -72
  204. package/lib/services/telemetry_router.d.ts.map +1 -1
  205. package/lib/services/telemetry_router.js +29 -483
  206. package/lib/services/telemetry_router.js.map +1 -1
  207. package/lib/services/ufw.d.ts +7 -42
  208. package/lib/services/ufw.d.ts.map +1 -1
  209. package/lib/services/ufw.js +1 -278
  210. package/lib/services/ufw.js.map +1 -1
  211. package/lib/services/valkey.d.ts +8 -68
  212. package/lib/services/valkey.d.ts.map +1 -1
  213. package/lib/services/valkey.js +34 -566
  214. package/lib/services/valkey.js.map +1 -1
  215. package/lib/services/vpn.d.ts +21 -186
  216. package/lib/services/vpn.d.ts.map +1 -1
  217. package/lib/services/vpn.js +43 -930
  218. package/lib/services/vpn.js.map +1 -1
  219. package/lib/services/workflows.d.ts +15 -84
  220. package/lib/services/workflows.d.ts.map +1 -1
  221. package/lib/services/workflows.js +27 -507
  222. package/lib/services/workflows.js.map +1 -1
  223. package/lib/services.lazy/alb.js +4 -0
  224. package/lib/services.lazy/alb_waf.js +4 -0
  225. package/lib/services.lazy/authorization.js +1 -0
  226. package/lib/services.lazy/automation.js +1 -0
  227. package/lib/services.lazy/cdn.js +4 -0
  228. package/lib/services.lazy/certificates.js +1 -0
  229. package/lib/services.lazy/cost.js +1 -0
  230. package/lib/services.lazy/dns.js +4 -0
  231. package/lib/services.lazy/dremio.js +1 -0
  232. package/lib/services.lazy/edge.js +1 -0
  233. package/lib/services.lazy/functions.js +1 -0
  234. package/lib/services.lazy/git.js +4 -0
  235. package/lib/services.lazy/iaas.js +4 -0
  236. package/lib/services.lazy/index.js +3 -0
  237. package/lib/services.lazy/intake.js +4 -0
  238. package/lib/services.lazy/kms.js +4 -0
  239. package/lib/services.lazy/lb_ip_lists.js +1 -0
  240. package/lib/services.lazy/load_balancer.js +4 -0
  241. package/lib/services.lazy/logme.js +4 -0
  242. package/lib/services.lazy/logs.js +4 -0
  243. package/lib/services.lazy/mariadb.js +4 -0
  244. package/lib/services.lazy/model_experiments.js +1 -0
  245. package/lib/services.lazy/model_serving.js +1 -0
  246. package/lib/services.lazy/mongodb_flex.js +4 -0
  247. package/lib/services.lazy/object_storage.js +4 -0
  248. package/lib/services.lazy/observability.js +4 -0
  249. package/lib/services.lazy/opensearch.js +4 -0
  250. package/lib/services.lazy/pim.js +4 -0
  251. package/lib/services.lazy/postgres_flex.js +4 -0
  252. package/lib/services.lazy/pubsub.js +4 -0
  253. package/lib/services.lazy/rabbitmq.js +4 -0
  254. package/lib/services.lazy/registry.js +1 -0
  255. package/lib/services.lazy/resource_manager.js +4 -0
  256. package/lib/services.lazy/run_command.js +1 -0
  257. package/lib/services.lazy/sca.js +4 -0
  258. package/lib/services.lazy/scf.js +4 -0
  259. package/lib/services.lazy/secrets_manager.js +4 -0
  260. package/lib/services.lazy/server_backup.js +4 -0
  261. package/lib/services.lazy/server_update.js +1 -0
  262. package/lib/services.lazy/service_account.js +4 -0
  263. package/lib/services.lazy/service_enablement.js +1 -0
  264. package/lib/services.lazy/sfs.js +4 -0
  265. package/lib/services.lazy/ske.js +4 -0
  266. package/lib/services.lazy/sqlserverflex.js +4 -0
  267. package/lib/services.lazy/stackit_marketplace.js +4 -0
  268. package/lib/services.lazy/telemetry_link.js +4 -0
  269. package/lib/services.lazy/telemetry_router.js +4 -0
  270. package/lib/services.lazy/ufw.js +1 -0
  271. package/lib/services.lazy/valkey.js +4 -0
  272. package/lib/services.lazy/vpn.js +4 -0
  273. package/lib/services.lazy/workflows.js +4 -0
  274. package/lib/traits.d.ts +1 -1
  275. package/lib/traits.js +1 -15
  276. package/package.json +9 -7
  277. package/src/credentials.ts +21 -18
  278. package/src/errors.ts +10 -14
  279. package/src/index.ts +2 -2
  280. package/src/pagination.ts +2 -2
  281. package/src/protocol.ts +12 -9
  282. package/src/retry.ts +6 -4
  283. package/src/services/alb.ts +599 -655
  284. package/src/services/alb_waf.ts +597 -637
  285. package/src/services/authorization.ts +400 -383
  286. package/src/services/automation.ts +422 -405
  287. package/src/services/cdn.ts +817 -1375
  288. package/src/services/certificates.ts +209 -190
  289. package/src/services/cost.ts +100 -207
  290. package/src/services/dns.ts +793 -833
  291. package/src/services/dremio.ts +356 -349
  292. package/src/services/edge.ts +406 -366
  293. package/src/services/functions.ts +465 -463
  294. package/src/services/git.ts +602 -547
  295. package/src/services/iaas.ts +3931 -3821
  296. package/src/services/intake.ts +521 -549
  297. package/src/services/kms.ts +715 -692
  298. package/src/services/lb_ip_lists.ts +173 -152
  299. package/src/services/load_balancer.ts +576 -619
  300. package/src/services/logme.ts +696 -641
  301. package/src/services/logs.ts +510 -493
  302. package/src/services/mariadb.ts +671 -604
  303. package/src/services/model_experiments.ts +343 -356
  304. package/src/services/model_serving.ts +337 -328
  305. package/src/services/mongodb_flex.ts +955 -1007
  306. package/src/services/object_storage.ts +614 -557
  307. package/src/services/observability.ts +3469 -3866
  308. package/src/services/opensearch.ts +679 -628
  309. package/src/services/pim.ts +672 -909
  310. package/src/services/postgres_flex.ts +966 -986
  311. package/src/services/pubsub.ts +524 -546
  312. package/src/services/rabbitmq.ts +693 -654
  313. package/src/services/registry.ts +227 -194
  314. package/src/services/resource_manager.ts +520 -517
  315. package/src/services/run_command.ts +219 -211
  316. package/src/services/sca.ts +543 -570
  317. package/src/services/scf.ts +790 -716
  318. package/src/services/secrets_manager.ts +707 -622
  319. package/src/services/server_backup.ts +490 -475
  320. package/src/services/server_update.ts +353 -356
  321. package/src/services/service_account.ts +515 -553
  322. package/src/services/service_enablement.ts +162 -166
  323. package/src/services/sfs.ts +879 -958
  324. package/src/services/ske.ts +694 -769
  325. package/src/services/sqlserverflex.ts +1042 -1117
  326. package/src/services/stackit_marketplace.ts +377 -372
  327. package/src/services/telemetry_link.ts +530 -531
  328. package/src/services/telemetry_router.ts +509 -534
  329. package/src/services/ufw.ts +305 -307
  330. package/src/services/valkey.ts +684 -629
  331. package/src/services/vpn.ts +935 -1195
  332. package/src/services/workflows.ts +426 -586
  333. package/src/traits.ts +1 -1
  334. package/lib/credentials.js.map +0 -1
  335. package/lib/errors.js.map +0 -1
  336. package/lib/pagination.js.map +0 -1
  337. package/lib/protocol.js.map +0 -1
  338. package/lib/protocol.test.d.ts +0 -2
  339. package/lib/protocol.test.d.ts.map +0 -1
  340. package/lib/protocol.test.js +0 -181
  341. package/lib/protocol.test.js.map +0 -1
  342. package/lib/retry.js.map +0 -1
  343. package/lib/services/index.js.map +0 -1
  344. package/lib/traits.js.map +0 -1
  345. package/src/protocol.test.ts +0 -304
  346. /package/lib/{index.js.map → index.lazy.js.map} +0 -0
@@ -1,30 +1,22 @@
1
1
  import * as API from "@distilled.cloud/core/api";
2
2
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
3
- import * as S from "@distilled.cloud/core/schema";
4
- import * as Redacted from "effect/Redacted";
3
+ import * as S from "@distilled.cloud/core/schema-lite";
4
+ import * as __L from "@distilled.cloud/core/schema-lite";
5
+ import type * as Redacted from "effect/Redacted";
5
6
  import { UnknownStackitError } from "../errors.ts";
6
7
  import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
7
8
  import * as Retry from "../retry.ts";
8
9
  import * as T from "../traits.ts";
10
+ // Schema table, filled on first reach (see __S at the end).
11
+ const __s: any[] = [];
9
12
 
10
13
  export type { StackitOpError, StackitOpContext };
11
14
 
12
15
  export type CreateFunctionRequestLabelsMap = { [key: string]: string | undefined };
13
- export const CreateFunctionRequestLabelsMap = /*@__PURE__*/ S.Record(
14
- S.String,
15
- S.String,
16
- ) as any as S.Schema<CreateFunctionRequestLabelsMap>;
17
-
18
16
  /** Status of this function's latest revision. */
19
17
  export type CreateFunctionRequestState = "CREATING" | "ACTIVE" | "FAILED";
20
- export const CreateFunctionRequestState = S.String;
21
-
22
18
  /** URLs that resolve to the function. */
23
19
  export type CreateFunctionRequestUrlList = Array<string>;
24
- export const CreateFunctionRequestUrlList = /*@__PURE__*/ S.Array(
25
- S.String,
26
- ) as any as S.Schema<CreateFunctionRequestUrlList>;
27
-
28
20
  export interface CreateFunctionRequest {
29
21
  /** The STACKIT portal project UUID the resource is located in. */
30
22
  projectId: string;
@@ -46,42 +38,11 @@ export interface CreateFunctionRequest {
46
38
  /** URLs that resolve to the function. */
47
39
  url?: CreateFunctionRequestUrlList;
48
40
  }
49
- export const CreateFunctionRequest = /*@__PURE__*/ S.suspend(() =>
50
- S.Struct({
51
- projectId: S.String.pipe(T.Label()),
52
- created_at: S.optional(S.String),
53
- current_revision: S.optional(S.String),
54
- id: S.optional(S.String),
55
- labels: S.optional(CreateFunctionRequestLabelsMap),
56
- name: S.String,
57
- state: S.optional(CreateFunctionRequestState),
58
- state_error: S.optional(S.String),
59
- updated_at: S.optional(S.String),
60
- url: S.optional(CreateFunctionRequestUrlList),
61
- }).pipe(
62
- T.Http({
63
- method: "POST",
64
- uri: "/v1alpha/projects/{projectId}/functions",
65
- code: 200,
66
- baseUrl: "https://functions.api.{region}stackit.cloud",
67
- }),
68
- ),
69
- ).annotate({ identifier: "CreateFunctionRequest" }) as any as S.Schema<CreateFunctionRequest>;
70
-
71
41
  export type FunctionLabelsMap = { [key: string]: string | undefined };
72
- export const FunctionLabelsMap = /*@__PURE__*/ S.Record(
73
- S.String,
74
- S.String,
75
- ) as any as S.Schema<FunctionLabelsMap>;
76
-
77
42
  /** Status of this function's latest revision. */
78
43
  export type FunctionState = "CREATING" | "ACTIVE" | "FAILED";
79
- export const FunctionState = S.String;
80
-
81
44
  /** URLs that resolve to the function. */
82
45
  export type FunctionUrlList = Array<string>;
83
- export const FunctionUrlList = /*@__PURE__*/ S.Array(S.String) as any as S.Schema<FunctionUrlList>;
84
-
85
46
  /** Represents a STACKIT Functions function. */
86
47
  export interface Function {
87
48
  /** Time the function was created. */
@@ -102,42 +63,14 @@ export interface Function {
102
63
  /** URLs that resolve to the function. */
103
64
  url?: FunctionUrlList;
104
65
  }
105
- export const Function = /*@__PURE__*/ S.suspend(() =>
106
- S.Struct({
107
- created_at: S.optional(S.String),
108
- current_revision: S.optional(S.String),
109
- id: S.optional(S.String),
110
- labels: S.optional(FunctionLabelsMap),
111
- name: S.String,
112
- state: S.optional(FunctionState),
113
- state_error: S.optional(S.String),
114
- updated_at: S.optional(S.String),
115
- url: S.optional(FunctionUrlList),
116
- }),
117
- ).annotate({ identifier: "Function" }) as any as S.Schema<Function>;
118
-
119
66
  export type CreateFunctionRevisionRequestLabelsMap = { [key: string]: string | undefined };
120
- export const CreateFunctionRevisionRequestLabelsMap = /*@__PURE__*/ S.Record(
121
- S.String,
122
- S.String,
123
- ) as any as S.Schema<CreateFunctionRevisionRequestLabelsMap>;
124
-
125
67
  /** Resource utilization limitations */
126
68
  export interface ResourceLimits {
127
69
  concurrency: number;
128
70
  plan: string;
129
71
  }
130
- export const ResourceLimits = /*@__PURE__*/ S.suspend(() =>
131
- S.Struct({
132
- concurrency: S.Number,
133
- plan: S.String,
134
- }),
135
- ).annotate({ identifier: "ResourceLimits" }) as any as S.Schema<ResourceLimits>;
136
-
137
72
  /** Status of this revision. */
138
73
  export type CreateFunctionRevisionRequestState = "CANCELLED" | "CREATING" | "ACTIVE" | "FAILED";
139
- export const CreateFunctionRevisionRequestState = S.String;
140
-
141
74
  /** Represents a variable value for a specific revision. */
142
75
  export interface RevisionVariable {
143
76
  /** Name of the variable (must match a variable definition on the function). */
@@ -147,20 +80,8 @@ export interface RevisionVariable {
147
80
  /** Reference to the vault secret. Only present for secret variables. */
148
81
  vault_reference?: string | null;
149
82
  }
150
- export const RevisionVariable = /*@__PURE__*/ S.suspend(() =>
151
- S.Struct({
152
- name: S.String,
153
- value: S.optional(S.NullOr(S.String)),
154
- vault_reference: S.optional(S.NullOr(S.String)),
155
- }),
156
- ).annotate({ identifier: "RevisionVariable" }) as any as S.Schema<RevisionVariable>;
157
-
158
83
  /** Variable values for this revision. Each variable must reference a variable definition on the function. */
159
84
  export type CreateFunctionRevisionRequestVariablesList = Array<RevisionVariable>;
160
- export const CreateFunctionRevisionRequestVariablesList = /*@__PURE__*/ S.Array(
161
- RevisionVariable,
162
- ) as any as S.Schema<CreateFunctionRevisionRequestVariablesList>;
163
-
164
85
  export interface CreateFunctionRevisionRequest {
165
86
  /** The STACKIT portal project UUID the resource is located in. */
166
87
  projectId: string;
@@ -195,53 +116,11 @@ export interface CreateFunctionRevisionRequest {
195
116
  /** The version number of the revision. */
196
117
  version?: number;
197
118
  }
198
- export const CreateFunctionRevisionRequest = /*@__PURE__*/ S.suspend(() =>
199
- S.Struct({
200
- projectId: S.String.pipe(T.Label()),
201
- functionId: S.String.pipe(T.Label()),
202
- created_at: S.optional(S.String),
203
- digest: S.optional(S.String),
204
- function_id: S.optional(S.String),
205
- id: S.optional(S.String),
206
- labels: S.optional(CreateFunctionRevisionRequestLabelsMap),
207
- limits: ResourceLimits,
208
- message: S.optional(S.String),
209
- name: S.optional(S.String),
210
- oci_pull_credential_id: S.optional(S.String),
211
- oci_reference: S.String,
212
- state: S.optional(CreateFunctionRevisionRequestState),
213
- state_error: S.optional(S.String),
214
- updated_at: S.optional(S.String),
215
- variables: S.optional(CreateFunctionRevisionRequestVariablesList),
216
- version: S.optional(S.Number),
217
- }).pipe(
218
- T.Http({
219
- method: "POST",
220
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions",
221
- code: 200,
222
- baseUrl: "https://functions.api.{region}stackit.cloud",
223
- }),
224
- ),
225
- ).annotate({
226
- identifier: "CreateFunctionRevisionRequest",
227
- }) as any as S.Schema<CreateFunctionRevisionRequest>;
228
-
229
119
  export type RevisionLabelsMap = { [key: string]: string | undefined };
230
- export const RevisionLabelsMap = /*@__PURE__*/ S.Record(
231
- S.String,
232
- S.String,
233
- ) as any as S.Schema<RevisionLabelsMap>;
234
-
235
120
  /** Status of this revision. */
236
121
  export type RevisionState = "CANCELLED" | "CREATING" | "ACTIVE" | "FAILED";
237
- export const RevisionState = S.String;
238
-
239
122
  /** Variable values for this revision. Each variable must reference a variable definition on the function. */
240
123
  export type RevisionVariablesList = Array<RevisionVariable>;
241
- export const RevisionVariablesList = /*@__PURE__*/ S.Array(
242
- RevisionVariable,
243
- ) as any as S.Schema<RevisionVariablesList>;
244
-
245
124
  /** The function revision */
246
125
  export interface Revision {
247
126
  /** Time the function was created. */
@@ -273,32 +152,7 @@ export interface Revision {
273
152
  /** The version number of the revision. */
274
153
  version?: number;
275
154
  }
276
- export const Revision = /*@__PURE__*/ S.suspend(() =>
277
- S.Struct({
278
- created_at: S.optional(S.String),
279
- digest: S.optional(S.String),
280
- function_id: S.optional(S.String),
281
- id: S.optional(S.String),
282
- labels: S.optional(RevisionLabelsMap),
283
- limits: ResourceLimits,
284
- message: S.optional(S.String),
285
- name: S.optional(S.String),
286
- oci_pull_credential_id: S.optional(S.String),
287
- oci_reference: S.String,
288
- state: S.optional(RevisionState),
289
- state_error: S.optional(S.String),
290
- updated_at: S.optional(S.String),
291
- variables: S.optional(RevisionVariablesList),
292
- version: S.optional(S.Number),
293
- }),
294
- ).annotate({ identifier: "Revision" }) as any as S.Schema<Revision>;
295
-
296
155
  export type CreatePullCredentialRequestLabelsMap = { [key: string]: string | undefined };
297
- export const CreatePullCredentialRequestLabelsMap = /*@__PURE__*/ S.Record(
298
- S.String,
299
- S.String,
300
- ) as any as S.Schema<CreatePullCredentialRequestLabelsMap>;
301
-
302
156
  export interface CreatePullCredentialRequest {
303
157
  /** The STACKIT portal project UUID the resource is located in. */
304
158
  projectId: string;
@@ -314,33 +168,7 @@ export interface CreatePullCredentialRequest {
314
168
  /** The username for the OCI registry pull-credentials. */
315
169
  username: string;
316
170
  }
317
- export const CreatePullCredentialRequest = /*@__PURE__*/ S.suspend(() =>
318
- S.Struct({
319
- projectId: S.String.pipe(T.Label()),
320
- address: S.String,
321
- id: S.optional(S.String),
322
- labels: S.optional(CreatePullCredentialRequestLabelsMap),
323
- name: S.optional(S.String),
324
- password: S.String.pipe(T.SensitiveValue({})),
325
- username: S.String,
326
- }).pipe(
327
- T.Http({
328
- method: "POST",
329
- uri: "/v1alpha/projects/{projectId}/pull-credentials",
330
- code: 200,
331
- baseUrl: "https://functions.api.{region}stackit.cloud",
332
- }),
333
- ),
334
- ).annotate({
335
- identifier: "CreatePullCredentialRequest",
336
- }) as any as S.Schema<CreatePullCredentialRequest>;
337
-
338
171
  export type PullCredentialLabelsMap = { [key: string]: string | undefined };
339
- export const PullCredentialLabelsMap = /*@__PURE__*/ S.Record(
340
- S.String,
341
- S.String,
342
- ) as any as S.Schema<PullCredentialLabelsMap>;
343
-
344
172
  export interface PullCredential {
345
173
  /** The OCI registry address. */
346
174
  address: string;
@@ -354,69 +182,20 @@ export interface PullCredential {
354
182
  /** The username for the OCI registry pull-credentials. */
355
183
  username: string;
356
184
  }
357
- export const PullCredential = /*@__PURE__*/ S.suspend(() =>
358
- S.Struct({
359
- address: S.String,
360
- id: S.optional(S.String),
361
- labels: S.optional(PullCredentialLabelsMap),
362
- name: S.optional(S.String),
363
- password: S.String.pipe(T.SensitiveValue({})),
364
- username: S.String,
365
- }),
366
- ).annotate({ identifier: "PullCredential" }) as any as S.Schema<PullCredential>;
367
-
368
185
  export interface DeleteFunctionRequest {
369
186
  /** The STACKIT portal project UUID the resource is located in. */
370
187
  projectId: string;
371
188
  /** The STACKIT Functions functionId */
372
189
  functionId: string;
373
190
  }
374
- export const DeleteFunctionRequest = /*@__PURE__*/ S.suspend(() =>
375
- S.Struct({
376
- projectId: S.String.pipe(T.Label()),
377
- functionId: S.String.pipe(T.Label()),
378
- }).pipe(
379
- T.Http({
380
- method: "DELETE",
381
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}",
382
- code: 200,
383
- baseUrl: "https://functions.api.{region}stackit.cloud",
384
- }),
385
- ),
386
- ).annotate({ identifier: "DeleteFunctionRequest" }) as any as S.Schema<DeleteFunctionRequest>;
387
-
388
191
  export interface DeleteFunctionResponse {}
389
- export const DeleteFunctionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
390
- identifier: "DeleteFunctionResponse",
391
- }) as any as S.Schema<DeleteFunctionResponse>;
392
-
393
192
  export interface DeletePullCredentialRequest {
394
193
  /** The STACKIT portal project UUID the resource is located in. */
395
194
  projectId: string;
396
195
  /** The identifier of the OCI registry pull credential configuration */
397
196
  pullCredentialId: string;
398
197
  }
399
- export const DeletePullCredentialRequest = /*@__PURE__*/ S.suspend(() =>
400
- S.Struct({
401
- projectId: S.String.pipe(T.Label()),
402
- pullCredentialId: S.String.pipe(T.Label()),
403
- }).pipe(
404
- T.Http({
405
- method: "DELETE",
406
- uri: "/v1alpha/projects/{projectId}/pull-credentials/{pullCredentialId}",
407
- code: 200,
408
- baseUrl: "https://functions.api.{region}stackit.cloud",
409
- }),
410
- ),
411
- ).annotate({
412
- identifier: "DeletePullCredentialRequest",
413
- }) as any as S.Schema<DeletePullCredentialRequest>;
414
-
415
198
  export interface DeletePullCredentialResponse {}
416
- export const DeletePullCredentialResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
417
- identifier: "DeletePullCredentialResponse",
418
- }) as any as S.Schema<DeletePullCredentialResponse>;
419
-
420
199
  export interface DeleteRevisionRequest {
421
200
  /** The STACKIT portal project UUID the resource is located in. */
422
201
  projectId: string;
@@ -425,66 +204,19 @@ export interface DeleteRevisionRequest {
425
204
  /** The identifier of the revision */
426
205
  revisionId: string;
427
206
  }
428
- export const DeleteRevisionRequest = /*@__PURE__*/ S.suspend(() =>
429
- S.Struct({
430
- projectId: S.String.pipe(T.Label()),
431
- functionId: S.String.pipe(T.Label()),
432
- revisionId: S.String.pipe(T.Label()),
433
- }).pipe(
434
- T.Http({
435
- method: "DELETE",
436
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions/{revisionId}",
437
- code: 200,
438
- baseUrl: "https://functions.api.{region}stackit.cloud",
439
- }),
440
- ),
441
- ).annotate({ identifier: "DeleteRevisionRequest" }) as any as S.Schema<DeleteRevisionRequest>;
442
-
443
207
  export interface DeleteRevisionResponse {}
444
- export const DeleteRevisionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
445
- identifier: "DeleteRevisionResponse",
446
- }) as any as S.Schema<DeleteRevisionResponse>;
447
-
448
208
  export interface GetFunctionRequest {
449
209
  /** The STACKIT portal project UUID the resource is located in. */
450
210
  projectId: string;
451
211
  /** The STACKIT Functions functionId */
452
212
  functionId: string;
453
213
  }
454
- export const GetFunctionRequest = /*@__PURE__*/ S.suspend(() =>
455
- S.Struct({
456
- projectId: S.String.pipe(T.Label()),
457
- functionId: S.String.pipe(T.Label()),
458
- }).pipe(
459
- T.Http({
460
- method: "GET",
461
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}",
462
- code: 200,
463
- baseUrl: "https://functions.api.{region}stackit.cloud",
464
- }),
465
- ),
466
- ).annotate({ identifier: "GetFunctionRequest" }) as any as S.Schema<GetFunctionRequest>;
467
-
468
214
  export interface GetPullCredentialRequest {
469
215
  /** The STACKIT portal project UUID the resource is located in. */
470
216
  projectId: string;
471
217
  /** The identifier of the OCI registry pull credential configuration */
472
218
  pullCredentialId: string;
473
219
  }
474
- export const GetPullCredentialRequest = /*@__PURE__*/ S.suspend(() =>
475
- S.Struct({
476
- projectId: S.String.pipe(T.Label()),
477
- pullCredentialId: S.String.pipe(T.Label()),
478
- }).pipe(
479
- T.Http({
480
- method: "GET",
481
- uri: "/v1alpha/projects/{projectId}/pull-credentials/{pullCredentialId}",
482
- code: 200,
483
- baseUrl: "https://functions.api.{region}stackit.cloud",
484
- }),
485
- ),
486
- ).annotate({ identifier: "GetPullCredentialRequest" }) as any as S.Schema<GetPullCredentialRequest>;
487
-
488
220
  export interface GetRevisionRequest {
489
221
  /** The STACKIT portal project UUID the resource is located in. */
490
222
  projectId: string;
@@ -493,121 +225,38 @@ export interface GetRevisionRequest {
493
225
  /** The identifier of the revision */
494
226
  revisionId: string;
495
227
  }
496
- export const GetRevisionRequest = /*@__PURE__*/ S.suspend(() =>
497
- S.Struct({
498
- projectId: S.String.pipe(T.Label()),
499
- functionId: S.String.pipe(T.Label()),
500
- revisionId: S.String.pipe(T.Label()),
501
- }).pipe(
502
- T.Http({
503
- method: "GET",
504
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions/{revisionId}",
505
- code: 200,
506
- baseUrl: "https://functions.api.{region}stackit.cloud",
507
- }),
508
- ),
509
- ).annotate({ identifier: "GetRevisionRequest" }) as any as S.Schema<GetRevisionRequest>;
510
-
511
228
  export interface ListFunctionsRequest {
512
229
  /** The STACKIT portal project UUID the resource is located in. */
513
230
  projectId: string;
514
231
  }
515
- export const ListFunctionsRequest = /*@__PURE__*/ S.suspend(() =>
516
- S.Struct({
517
- projectId: S.String.pipe(T.Label()),
518
- }).pipe(
519
- T.Http({
520
- method: "GET",
521
- uri: "/v1alpha/projects/{projectId}/functions",
522
- code: 200,
523
- baseUrl: "https://functions.api.{region}stackit.cloud",
524
- }),
525
- ),
526
- ).annotate({ identifier: "ListFunctionsRequest" }) as any as S.Schema<ListFunctionsRequest>;
527
-
528
232
  /** List of functions. */
529
233
  export type ListFunctionsFunctionsList = Array<Function>;
530
- export const ListFunctionsFunctionsList = /*@__PURE__*/ S.Array(
531
- Function,
532
- ) as any as S.Schema<ListFunctionsFunctionsList>;
533
-
534
234
  export interface ListFunctions {
535
235
  /** List of functions. */
536
236
  functions?: ListFunctionsFunctionsList;
537
237
  /** Token for the next page of results. */
538
238
  next_page_token?: string;
539
239
  }
540
- export const ListFunctions = /*@__PURE__*/ S.suspend(() =>
541
- S.Struct({
542
- functions: S.optional(ListFunctionsFunctionsList),
543
- next_page_token: S.optional(S.String),
544
- }),
545
- ).annotate({ identifier: "ListFunctions" }) as any as S.Schema<ListFunctions>;
546
-
547
240
  export interface ListPullCredentialsRequest {
548
241
  /** The STACKIT portal project UUID the resource is located in. */
549
242
  projectId: string;
550
243
  }
551
- export const ListPullCredentialsRequest = /*@__PURE__*/ S.suspend(() =>
552
- S.Struct({
553
- projectId: S.String.pipe(T.Label()),
554
- }).pipe(
555
- T.Http({
556
- method: "GET",
557
- uri: "/v1alpha/projects/{projectId}/pull-credentials",
558
- code: 200,
559
- baseUrl: "https://functions.api.{region}stackit.cloud",
560
- }),
561
- ),
562
- ).annotate({
563
- identifier: "ListPullCredentialsRequest",
564
- }) as any as S.Schema<ListPullCredentialsRequest>;
565
-
566
244
  /** List of oci registries pull credentials associated with the project. */
567
245
  export type ListPullCredentialsPullCredentialsList = Array<PullCredential>;
568
- export const ListPullCredentialsPullCredentialsList = /*@__PURE__*/ S.Array(
569
- PullCredential,
570
- ) as any as S.Schema<ListPullCredentialsPullCredentialsList>;
571
-
572
246
  export interface ListPullCredentials {
573
247
  /** Token for the next page of results. */
574
248
  next_page_token?: string;
575
249
  /** List of oci registries pull credentials associated with the project. */
576
250
  pull_credentials?: ListPullCredentialsPullCredentialsList;
577
251
  }
578
- export const ListPullCredentials = /*@__PURE__*/ S.suspend(() =>
579
- S.Struct({
580
- next_page_token: S.optional(S.String),
581
- pull_credentials: S.optional(ListPullCredentialsPullCredentialsList),
582
- }),
583
- ).annotate({ identifier: "ListPullCredentials" }) as any as S.Schema<ListPullCredentials>;
584
-
585
252
  export interface ListRevisionsRequest {
586
253
  /** The STACKIT portal project UUID the resource is located in. */
587
254
  projectId: string;
588
255
  /** The STACKIT Functions functionId */
589
256
  functionId: string;
590
257
  }
591
- export const ListRevisionsRequest = /*@__PURE__*/ S.suspend(() =>
592
- S.Struct({
593
- projectId: S.String.pipe(T.Label()),
594
- functionId: S.String.pipe(T.Label()),
595
- }).pipe(
596
- T.Http({
597
- method: "GET",
598
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions",
599
- code: 200,
600
- baseUrl: "https://functions.api.{region}stackit.cloud",
601
- }),
602
- ),
603
- ).annotate({ identifier: "ListRevisionsRequest" }) as any as S.Schema<ListRevisionsRequest>;
604
-
605
258
  /** List of revisions. */
606
259
  export type ListRevisionsRevisionListList = Array<Revision>;
607
- export const ListRevisionsRevisionListList = /*@__PURE__*/ S.Array(
608
- Revision,
609
- ) as any as S.Schema<ListRevisionsRevisionListList>;
610
-
611
260
  export interface ListRevisions {
612
261
  /** Maximum number of items */
613
262
  maxItems?: number;
@@ -616,20 +265,7 @@ export interface ListRevisions {
616
265
  /** List of revisions. */
617
266
  revisionList?: ListRevisionsRevisionListList;
618
267
  }
619
- export const ListRevisions = /*@__PURE__*/ S.suspend(() =>
620
- S.Struct({
621
- maxItems: S.optional(S.Number),
622
- next_page_token: S.optional(S.String),
623
- revisionList: S.optional(ListRevisionsRevisionListList),
624
- }),
625
- ).annotate({ identifier: "ListRevisions" }) as any as S.Schema<ListRevisions>;
626
-
627
268
  export type UpdateFunctionRequestLabelsMap = { [key: string]: string | undefined };
628
- export const UpdateFunctionRequestLabelsMap = /*@__PURE__*/ S.Record(
629
- S.String,
630
- S.String,
631
- ) as any as S.Schema<UpdateFunctionRequestLabelsMap>;
632
-
633
269
  export interface UpdateFunctionRequest {
634
270
  /** The STACKIT portal project UUID the resource is located in. */
635
271
  projectId: string;
@@ -639,28 +275,7 @@ export interface UpdateFunctionRequest {
639
275
  /** User-defined name of the function. */
640
276
  name?: string;
641
277
  }
642
- export const UpdateFunctionRequest = /*@__PURE__*/ S.suspend(() =>
643
- S.Struct({
644
- projectId: S.String.pipe(T.Label()),
645
- functionId: S.String.pipe(T.Label()),
646
- labels: S.optional(UpdateFunctionRequestLabelsMap),
647
- name: S.optional(S.String),
648
- }).pipe(
649
- T.Http({
650
- method: "PATCH",
651
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}",
652
- code: 200,
653
- baseUrl: "https://functions.api.{region}stackit.cloud",
654
- }),
655
- ),
656
- ).annotate({ identifier: "UpdateFunctionRequest" }) as any as S.Schema<UpdateFunctionRequest>;
657
-
658
278
  export type UpdatePullCredentialRequestLabelsMap = { [key: string]: string | undefined };
659
- export const UpdatePullCredentialRequestLabelsMap = /*@__PURE__*/ S.Record(
660
- S.String,
661
- S.String,
662
- ) as any as S.Schema<UpdatePullCredentialRequestLabelsMap>;
663
-
664
279
  export interface UpdatePullCredentialRequest {
665
280
  /** The STACKIT portal project UUID the resource is located in. */
666
281
  projectId: string;
@@ -676,33 +291,7 @@ export interface UpdatePullCredentialRequest {
676
291
  /** The username for the OCI registry pull-credentials. */
677
292
  username?: string;
678
293
  }
679
- export const UpdatePullCredentialRequest = /*@__PURE__*/ S.suspend(() =>
680
- S.Struct({
681
- projectId: S.String.pipe(T.Label()),
682
- pullCredentialId: S.String.pipe(T.Label()),
683
- address: S.optional(S.String),
684
- labels: S.optional(UpdatePullCredentialRequestLabelsMap),
685
- name: S.optional(S.String),
686
- password: S.optional(S.String.pipe(T.SensitiveValue({}))),
687
- username: S.optional(S.String),
688
- }).pipe(
689
- T.Http({
690
- method: "PATCH",
691
- uri: "/v1alpha/projects/{projectId}/pull-credentials/{pullCredentialId}",
692
- code: 200,
693
- baseUrl: "https://functions.api.{region}stackit.cloud",
694
- }),
695
- ),
696
- ).annotate({
697
- identifier: "UpdatePullCredentialRequest",
698
- }) as any as S.Schema<UpdatePullCredentialRequest>;
699
-
700
294
  export type UpdateRevisionRequestLabelsMap = { [key: string]: string | undefined };
701
- export const UpdateRevisionRequestLabelsMap = /*@__PURE__*/ S.Record(
702
- S.String,
703
- S.String,
704
- ) as any as S.Schema<UpdateRevisionRequestLabelsMap>;
705
-
706
295
  export interface UpdateRevisionRequest {
707
296
  /** The STACKIT portal project UUID the resource is located in. */
708
297
  projectId: string;
@@ -714,23 +303,6 @@ export interface UpdateRevisionRequest {
714
303
  /** The name of the the revision. Must be unique within the function. */
715
304
  name?: string;
716
305
  }
717
- export const UpdateRevisionRequest = /*@__PURE__*/ S.suspend(() =>
718
- S.Struct({
719
- projectId: S.String.pipe(T.Label()),
720
- functionId: S.String.pipe(T.Label()),
721
- revisionId: S.String.pipe(T.Label()),
722
- labels: S.optional(UpdateRevisionRequestLabelsMap),
723
- name: S.optional(S.String),
724
- }).pipe(
725
- T.Http({
726
- method: "PATCH",
727
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions/{revisionId}",
728
- code: 200,
729
- baseUrl: "https://functions.api.{region}stackit.cloud",
730
- }),
731
- ),
732
- ).annotate({ identifier: "UpdateRevisionRequest" }) as any as S.Schema<UpdateRevisionRequest>;
733
-
734
306
  export type CreateFunctionError = StackitOpError;
735
307
  /** Creates a new function. */
736
308
  export const createFunction: API.OperationMethod<
@@ -739,8 +311,8 @@ export const createFunction: API.OperationMethod<
739
311
  CreateFunctionError,
740
312
  StackitOpContext
741
313
  > = /*@__PURE__*/ API.make(() => ({
742
- input: CreateFunctionRequest,
743
- output: Function,
314
+ input: __S(0, __c0, 0) as any as S.Schema<CreateFunctionRequest>,
315
+ output: __S(9, __c2, 1) as any as S.Schema<Function>,
744
316
  errors: [UnknownStackitError],
745
317
  protocol: StackitProtocol,
746
318
  retry: Retry.Retry,
@@ -754,8 +326,8 @@ export const createFunctionRevision: API.OperationMethod<
754
326
  CreateFunctionRevisionError,
755
327
  StackitOpContext
756
328
  > = /*@__PURE__*/ API.make(() => ({
757
- input: CreateFunctionRevisionRequest,
758
- output: Revision,
329
+ input: __S(12, __c3, 0) as any as S.Schema<CreateFunctionRevisionRequest>,
330
+ output: __S(19, __c4, 3) as any as S.Schema<Revision>,
759
331
  errors: [UnknownStackitError],
760
332
  protocol: StackitProtocol,
761
333
  retry: Retry.Retry,
@@ -769,8 +341,8 @@ export const createPullCredential: API.OperationMethod<
769
341
  CreatePullCredentialError,
770
342
  StackitOpContext
771
343
  > = /*@__PURE__*/ API.make(() => ({
772
- input: CreatePullCredentialRequest,
773
- output: PullCredential,
344
+ input: __S(40, __c10, 0) as any as S.Schema<CreatePullCredentialRequest>,
345
+ output: __S(44, __c11, 0) as any as S.Schema<PullCredential>,
774
346
  errors: [UnknownStackitError],
775
347
  protocol: StackitProtocol,
776
348
  retry: Retry.Retry,
@@ -784,8 +356,8 @@ export const deleteFunction: API.OperationMethod<
784
356
  DeleteFunctionError,
785
357
  StackitOpContext
786
358
  > = /*@__PURE__*/ API.make(() => ({
787
- input: DeleteFunctionRequest,
788
- output: DeleteFunctionResponse,
359
+ input: __S(48, __c12, 0) as any as S.Schema<DeleteFunctionRequest>,
360
+ output: __S(52, __c13, 0) as any as S.Schema<DeleteFunctionResponse>,
789
361
  errors: [UnknownStackitError],
790
362
  protocol: StackitProtocol,
791
363
  retry: Retry.Retry,
@@ -799,8 +371,8 @@ export const deletePullCredential: API.OperationMethod<
799
371
  DeletePullCredentialError,
800
372
  StackitOpContext
801
373
  > = /*@__PURE__*/ API.make(() => ({
802
- input: DeletePullCredentialRequest,
803
- output: DeletePullCredentialResponse,
374
+ input: __S(56, __c14, 0) as any as S.Schema<DeletePullCredentialRequest>,
375
+ output: __S(52, __c13, 0) as any as S.Schema<DeletePullCredentialResponse>,
804
376
  errors: [UnknownStackitError],
805
377
  protocol: StackitProtocol,
806
378
  retry: Retry.Retry,
@@ -814,8 +386,8 @@ export const deleteRevision: API.OperationMethod<
814
386
  DeleteRevisionError,
815
387
  StackitOpContext
816
388
  > = /*@__PURE__*/ API.make(() => ({
817
- input: DeleteRevisionRequest,
818
- output: DeleteRevisionResponse,
389
+ input: __S(60, __c15, 0) as any as S.Schema<DeleteRevisionRequest>,
390
+ output: __S(52, __c13, 0) as any as S.Schema<DeleteRevisionResponse>,
819
391
  errors: [UnknownStackitError],
820
392
  protocol: StackitProtocol,
821
393
  retry: Retry.Retry,
@@ -829,8 +401,8 @@ export const getFunction: API.OperationMethod<
829
401
  GetFunctionError,
830
402
  StackitOpContext
831
403
  > = /*@__PURE__*/ API.make(() => ({
832
- input: GetFunctionRequest,
833
- output: Function,
404
+ input: __S(64, __c16, 0) as any as S.Schema<GetFunctionRequest>,
405
+ output: __S(9, __c2, 1) as any as S.Schema<Function>,
834
406
  errors: [UnknownStackitError],
835
407
  protocol: StackitProtocol,
836
408
  retry: Retry.Retry,
@@ -844,8 +416,8 @@ export const getPullCredential: API.OperationMethod<
844
416
  GetPullCredentialError,
845
417
  StackitOpContext
846
418
  > = /*@__PURE__*/ API.make(() => ({
847
- input: GetPullCredentialRequest,
848
- output: PullCredential,
419
+ input: __S(68, __c17, 0) as any as S.Schema<GetPullCredentialRequest>,
420
+ output: __S(44, __c11, 0) as any as S.Schema<PullCredential>,
849
421
  errors: [UnknownStackitError],
850
422
  protocol: StackitProtocol,
851
423
  retry: Retry.Retry,
@@ -859,8 +431,8 @@ export const getRevision: API.OperationMethod<
859
431
  GetRevisionError,
860
432
  StackitOpContext
861
433
  > = /*@__PURE__*/ API.make(() => ({
862
- input: GetRevisionRequest,
863
- output: Revision,
434
+ input: __S(72, __c18, 0) as any as S.Schema<GetRevisionRequest>,
435
+ output: __S(19, __c4, 3) as any as S.Schema<Revision>,
864
436
  errors: [UnknownStackitError],
865
437
  protocol: StackitProtocol,
866
438
  retry: Retry.Retry,
@@ -874,8 +446,8 @@ export const listFunctions2: API.OperationMethod<
874
446
  ListFunctions2Error,
875
447
  StackitOpContext
876
448
  > = /*@__PURE__*/ API.make(() => ({
877
- input: ListFunctionsRequest,
878
- output: ListFunctions,
449
+ input: __S(76, __c19, 0) as any as S.Schema<ListFunctionsRequest>,
450
+ output: __S(78, __c19, 2) as any as S.Schema<ListFunctions>,
879
451
  errors: [UnknownStackitError],
880
452
  protocol: StackitProtocol,
881
453
  retry: Retry.Retry,
@@ -889,8 +461,8 @@ export const listPullCredentials2: API.OperationMethod<
889
461
  ListPullCredentials2Error,
890
462
  StackitOpContext
891
463
  > = /*@__PURE__*/ API.make(() => ({
892
- input: ListPullCredentialsRequest,
893
- output: ListPullCredentials,
464
+ input: __S(20, __c5, 0) as any as S.Schema<ListPullCredentialsRequest>,
465
+ output: __S(22, __c5, 2) as any as S.Schema<ListPullCredentials>,
894
466
  errors: [UnknownStackitError],
895
467
  protocol: StackitProtocol,
896
468
  retry: Retry.Retry,
@@ -904,8 +476,8 @@ export const listRevisions2: API.OperationMethod<
904
476
  ListRevisions2Error,
905
477
  StackitOpContext
906
478
  > = /*@__PURE__*/ API.make(() => ({
907
- input: ListRevisionsRequest,
908
- output: ListRevisions,
479
+ input: __S(24, __c6, 0) as any as S.Schema<ListRevisionsRequest>,
480
+ output: __S(26, __c6, 2) as any as S.Schema<ListRevisions>,
909
481
  errors: [UnknownStackitError],
910
482
  protocol: StackitProtocol,
911
483
  retry: Retry.Retry,
@@ -919,8 +491,8 @@ export const updateFunction: API.OperationMethod<
919
491
  UpdateFunctionError,
920
492
  StackitOpContext
921
493
  > = /*@__PURE__*/ API.make(() => ({
922
- input: UpdateFunctionRequest,
923
- output: Function,
494
+ input: __S(28, __c7, 0) as any as S.Schema<UpdateFunctionRequest>,
495
+ output: __S(9, __c2, 1) as any as S.Schema<Function>,
924
496
  errors: [UnknownStackitError],
925
497
  protocol: StackitProtocol,
926
498
  retry: Retry.Retry,
@@ -934,8 +506,8 @@ export const updatePullCredential: API.OperationMethod<
934
506
  UpdatePullCredentialError,
935
507
  StackitOpContext
936
508
  > = /*@__PURE__*/ API.make(() => ({
937
- input: UpdatePullCredentialRequest,
938
- output: PullCredential,
509
+ input: __S(32, __c8, 0) as any as S.Schema<UpdatePullCredentialRequest>,
510
+ output: __S(44, __c11, 0) as any as S.Schema<PullCredential>,
939
511
  errors: [UnknownStackitError],
940
512
  protocol: StackitProtocol,
941
513
  retry: Retry.Retry,
@@ -949,9 +521,439 @@ export const updateRevision: API.OperationMethod<
949
521
  UpdateRevisionError,
950
522
  StackitOpContext
951
523
  > = /*@__PURE__*/ API.make(() => ({
952
- input: UpdateRevisionRequest,
953
- output: Revision,
524
+ input: __S(36, __c9, 0) as any as S.Schema<UpdateRevisionRequest>,
525
+ output: __S(19, __c4, 3) as any as S.Schema<Revision>,
954
526
  errors: [UnknownStackitError],
955
527
  protocol: StackitProtocol,
956
528
  retry: Retry.Retry,
957
529
  }));
530
+
531
+ // Schema builders: each runs one schema initializer, on that schema's first use.
532
+ function __c0(j: number): any {
533
+ switch (j) {
534
+ case 0:
535
+ return S.suspend(() =>
536
+ S.Struct({
537
+ projectId: S.String.pipe(T.Label()),
538
+ created_at: S.optional(S.String),
539
+ current_revision: S.optional(S.String),
540
+ id: S.optional(S.String),
541
+ labels: S.optional(__S(4, __c1, 0)),
542
+ name: S.String,
543
+ state: S.optional(S.String),
544
+ state_error: S.optional(S.String),
545
+ updated_at: S.optional(S.String),
546
+ url: S.optional(__S(8, __c2, 0)),
547
+ }).pipe(
548
+ T.Http({
549
+ method: "POST",
550
+ uri: "/v1alpha/projects/{projectId}/functions",
551
+ code: 200,
552
+ baseUrl: "https://functions.api.{region}stackit.cloud",
553
+ }),
554
+ ),
555
+ ).annotate({ identifier: "CreateFunctionRequest" });
556
+ }
557
+ }
558
+ function __c1(j: number): any {
559
+ switch (j) {
560
+ case 0:
561
+ return S.Record(S.String, S.String);
562
+ }
563
+ }
564
+ function __c2(j: number): any {
565
+ switch (j) {
566
+ case 0:
567
+ return S.Array(S.String);
568
+ case 1:
569
+ return S.suspend(() =>
570
+ S.Struct({
571
+ created_at: S.optional(S.String),
572
+ current_revision: S.optional(S.String),
573
+ id: S.optional(S.String),
574
+ labels: S.optional(__S(4, __c1, 0)),
575
+ name: S.String,
576
+ state: S.optional(S.String),
577
+ state_error: S.optional(S.String),
578
+ updated_at: S.optional(S.String),
579
+ url: S.optional(__S(8, __c2, 0)),
580
+ }),
581
+ ).annotate({ identifier: "Function" });
582
+ }
583
+ }
584
+ function __c3(j: number): any {
585
+ switch (j) {
586
+ case 0:
587
+ return S.suspend(() =>
588
+ S.Struct({
589
+ projectId: S.String.pipe(T.Label()),
590
+ functionId: S.String.pipe(T.Label()),
591
+ created_at: S.optional(S.String),
592
+ digest: S.optional(S.String),
593
+ function_id: S.optional(S.String),
594
+ id: S.optional(S.String),
595
+ labels: S.optional(__S(4, __c1, 0)),
596
+ limits: __S(16, __c4, 0),
597
+ message: S.optional(S.String),
598
+ name: S.optional(S.String),
599
+ oci_pull_credential_id: S.optional(S.String),
600
+ oci_reference: S.String,
601
+ state: S.optional(S.String),
602
+ state_error: S.optional(S.String),
603
+ updated_at: S.optional(S.String),
604
+ variables: S.optional(__S(18, __c4, 2)),
605
+ version: S.optional(S.Number),
606
+ }).pipe(
607
+ T.Http({
608
+ method: "POST",
609
+ uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions",
610
+ code: 200,
611
+ baseUrl: "https://functions.api.{region}stackit.cloud",
612
+ }),
613
+ ),
614
+ ).annotate({ identifier: "CreateFunctionRevisionRequest" });
615
+ }
616
+ }
617
+ function __c4(j: number): any {
618
+ switch (j) {
619
+ case 0:
620
+ return S.suspend(() =>
621
+ S.Struct({
622
+ concurrency: S.Number,
623
+ plan: S.String,
624
+ }),
625
+ ).annotate({ identifier: "ResourceLimits" });
626
+ case 1:
627
+ return S.suspend(() =>
628
+ S.Struct({
629
+ name: S.String,
630
+ value: S.optional(S.NullOr(S.String)),
631
+ vault_reference: S.optional(S.NullOr(S.String)),
632
+ }),
633
+ ).annotate({ identifier: "RevisionVariable" });
634
+ case 2:
635
+ return S.Array(__S(17, __c4, 1));
636
+ case 3:
637
+ return S.suspend(() =>
638
+ S.Struct({
639
+ created_at: S.optional(S.String),
640
+ digest: S.optional(S.String),
641
+ function_id: S.optional(S.String),
642
+ id: S.optional(S.String),
643
+ labels: S.optional(__S(4, __c1, 0)),
644
+ limits: __S(16, __c4, 0),
645
+ message: S.optional(S.String),
646
+ name: S.optional(S.String),
647
+ oci_pull_credential_id: S.optional(S.String),
648
+ oci_reference: S.String,
649
+ state: S.optional(S.String),
650
+ state_error: S.optional(S.String),
651
+ updated_at: S.optional(S.String),
652
+ variables: S.optional(__S(18, __c4, 2)),
653
+ version: S.optional(S.Number),
654
+ }),
655
+ ).annotate({ identifier: "Revision" });
656
+ }
657
+ }
658
+ function __c5(j: number): any {
659
+ switch (j) {
660
+ case 0:
661
+ return S.suspend(() =>
662
+ S.Struct({
663
+ projectId: S.String.pipe(T.Label()),
664
+ }).pipe(
665
+ T.Http({
666
+ method: "GET",
667
+ uri: "/v1alpha/projects/{projectId}/pull-credentials",
668
+ code: 200,
669
+ baseUrl: "https://functions.api.{region}stackit.cloud",
670
+ }),
671
+ ),
672
+ ).annotate({ identifier: "ListPullCredentialsRequest" });
673
+ case 1:
674
+ return S.Array(__S(44, __c11, 0));
675
+ case 2:
676
+ return S.suspend(() =>
677
+ S.Struct({
678
+ next_page_token: S.optional(S.String),
679
+ pull_credentials: S.optional(__S(21, __c5, 1)),
680
+ }),
681
+ ).annotate({ identifier: "ListPullCredentials" });
682
+ }
683
+ }
684
+ function __c6(j: number): any {
685
+ switch (j) {
686
+ case 0:
687
+ return S.suspend(() =>
688
+ S.Struct({
689
+ projectId: S.String.pipe(T.Label()),
690
+ functionId: S.String.pipe(T.Label()),
691
+ }).pipe(
692
+ T.Http({
693
+ method: "GET",
694
+ uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions",
695
+ code: 200,
696
+ baseUrl: "https://functions.api.{region}stackit.cloud",
697
+ }),
698
+ ),
699
+ ).annotate({ identifier: "ListRevisionsRequest" });
700
+ case 1:
701
+ return S.Array(__S(19, __c4, 3));
702
+ case 2:
703
+ return S.suspend(() =>
704
+ S.Struct({
705
+ maxItems: S.optional(S.Number),
706
+ next_page_token: S.optional(S.String),
707
+ revisionList: S.optional(__S(25, __c6, 1)),
708
+ }),
709
+ ).annotate({ identifier: "ListRevisions" });
710
+ }
711
+ }
712
+ function __c7(j: number): any {
713
+ switch (j) {
714
+ case 0:
715
+ return S.suspend(() =>
716
+ S.Struct({
717
+ projectId: S.String.pipe(T.Label()),
718
+ functionId: S.String.pipe(T.Label()),
719
+ labels: S.optional(__S(4, __c1, 0)),
720
+ name: S.optional(S.String),
721
+ }).pipe(
722
+ T.Http({
723
+ method: "PATCH",
724
+ uri: "/v1alpha/projects/{projectId}/functions/{functionId}",
725
+ code: 200,
726
+ baseUrl: "https://functions.api.{region}stackit.cloud",
727
+ }),
728
+ ),
729
+ ).annotate({ identifier: "UpdateFunctionRequest" });
730
+ }
731
+ }
732
+ function __c8(j: number): any {
733
+ switch (j) {
734
+ case 0:
735
+ return S.suspend(() =>
736
+ S.Struct({
737
+ projectId: S.String.pipe(T.Label()),
738
+ pullCredentialId: S.String.pipe(T.Label()),
739
+ address: S.optional(S.String),
740
+ labels: S.optional(__S(4, __c1, 0)),
741
+ name: S.optional(S.String),
742
+ password: S.optional(S.String.pipe(T.SensitiveValue({}))),
743
+ username: S.optional(S.String),
744
+ }).pipe(
745
+ T.Http({
746
+ method: "PATCH",
747
+ uri: "/v1alpha/projects/{projectId}/pull-credentials/{pullCredentialId}",
748
+ code: 200,
749
+ baseUrl: "https://functions.api.{region}stackit.cloud",
750
+ }),
751
+ ),
752
+ ).annotate({ identifier: "UpdatePullCredentialRequest" });
753
+ }
754
+ }
755
+ function __c9(j: number): any {
756
+ switch (j) {
757
+ case 0:
758
+ return S.suspend(() =>
759
+ S.Struct({
760
+ projectId: S.String.pipe(T.Label()),
761
+ functionId: S.String.pipe(T.Label()),
762
+ revisionId: S.String.pipe(T.Label()),
763
+ labels: S.optional(__S(4, __c1, 0)),
764
+ name: S.optional(S.String),
765
+ }).pipe(
766
+ T.Http({
767
+ method: "PATCH",
768
+ uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions/{revisionId}",
769
+ code: 200,
770
+ baseUrl: "https://functions.api.{region}stackit.cloud",
771
+ }),
772
+ ),
773
+ ).annotate({ identifier: "UpdateRevisionRequest" });
774
+ }
775
+ }
776
+ function __c10(j: number): any {
777
+ switch (j) {
778
+ case 0:
779
+ return S.suspend(() =>
780
+ S.Struct({
781
+ projectId: S.String.pipe(T.Label()),
782
+ address: S.String,
783
+ id: S.optional(S.String),
784
+ labels: S.optional(__S(4, __c1, 0)),
785
+ name: S.optional(S.String),
786
+ password: S.String.pipe(T.SensitiveValue({})),
787
+ username: S.String,
788
+ }).pipe(
789
+ T.Http({
790
+ method: "POST",
791
+ uri: "/v1alpha/projects/{projectId}/pull-credentials",
792
+ code: 200,
793
+ baseUrl: "https://functions.api.{region}stackit.cloud",
794
+ }),
795
+ ),
796
+ ).annotate({ identifier: "CreatePullCredentialRequest" });
797
+ }
798
+ }
799
+ function __c11(j: number): any {
800
+ switch (j) {
801
+ case 0:
802
+ return S.suspend(() =>
803
+ S.Struct({
804
+ address: S.String,
805
+ id: S.optional(S.String),
806
+ labels: S.optional(__S(4, __c1, 0)),
807
+ name: S.optional(S.String),
808
+ password: S.String.pipe(T.SensitiveValue({})),
809
+ username: S.String,
810
+ }),
811
+ ).annotate({ identifier: "PullCredential" });
812
+ }
813
+ }
814
+ function __c12(j: number): any {
815
+ switch (j) {
816
+ case 0:
817
+ return S.suspend(() =>
818
+ S.Struct({
819
+ projectId: S.String.pipe(T.Label()),
820
+ functionId: S.String.pipe(T.Label()),
821
+ }).pipe(
822
+ T.Http({
823
+ method: "DELETE",
824
+ uri: "/v1alpha/projects/{projectId}/functions/{functionId}",
825
+ code: 200,
826
+ baseUrl: "https://functions.api.{region}stackit.cloud",
827
+ }),
828
+ ),
829
+ ).annotate({ identifier: "DeleteFunctionRequest" });
830
+ }
831
+ }
832
+ function __c13(j: number): any {
833
+ switch (j) {
834
+ case 0:
835
+ return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteFunctionResponse" });
836
+ }
837
+ }
838
+ function __c14(j: number): any {
839
+ switch (j) {
840
+ case 0:
841
+ return S.suspend(() =>
842
+ S.Struct({
843
+ projectId: S.String.pipe(T.Label()),
844
+ pullCredentialId: S.String.pipe(T.Label()),
845
+ }).pipe(
846
+ T.Http({
847
+ method: "DELETE",
848
+ uri: "/v1alpha/projects/{projectId}/pull-credentials/{pullCredentialId}",
849
+ code: 200,
850
+ baseUrl: "https://functions.api.{region}stackit.cloud",
851
+ }),
852
+ ),
853
+ ).annotate({ identifier: "DeletePullCredentialRequest" });
854
+ }
855
+ }
856
+ function __c15(j: number): any {
857
+ switch (j) {
858
+ case 0:
859
+ return S.suspend(() =>
860
+ S.Struct({
861
+ projectId: S.String.pipe(T.Label()),
862
+ functionId: S.String.pipe(T.Label()),
863
+ revisionId: S.String.pipe(T.Label()),
864
+ }).pipe(
865
+ T.Http({
866
+ method: "DELETE",
867
+ uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions/{revisionId}",
868
+ code: 200,
869
+ baseUrl: "https://functions.api.{region}stackit.cloud",
870
+ }),
871
+ ),
872
+ ).annotate({ identifier: "DeleteRevisionRequest" });
873
+ }
874
+ }
875
+ function __c16(j: number): any {
876
+ switch (j) {
877
+ case 0:
878
+ return S.suspend(() =>
879
+ S.Struct({
880
+ projectId: S.String.pipe(T.Label()),
881
+ functionId: S.String.pipe(T.Label()),
882
+ }).pipe(
883
+ T.Http({
884
+ method: "GET",
885
+ uri: "/v1alpha/projects/{projectId}/functions/{functionId}",
886
+ code: 200,
887
+ baseUrl: "https://functions.api.{region}stackit.cloud",
888
+ }),
889
+ ),
890
+ ).annotate({ identifier: "GetFunctionRequest" });
891
+ }
892
+ }
893
+ function __c17(j: number): any {
894
+ switch (j) {
895
+ case 0:
896
+ return S.suspend(() =>
897
+ S.Struct({
898
+ projectId: S.String.pipe(T.Label()),
899
+ pullCredentialId: S.String.pipe(T.Label()),
900
+ }).pipe(
901
+ T.Http({
902
+ method: "GET",
903
+ uri: "/v1alpha/projects/{projectId}/pull-credentials/{pullCredentialId}",
904
+ code: 200,
905
+ baseUrl: "https://functions.api.{region}stackit.cloud",
906
+ }),
907
+ ),
908
+ ).annotate({ identifier: "GetPullCredentialRequest" });
909
+ }
910
+ }
911
+ function __c18(j: number): any {
912
+ switch (j) {
913
+ case 0:
914
+ return S.suspend(() =>
915
+ S.Struct({
916
+ projectId: S.String.pipe(T.Label()),
917
+ functionId: S.String.pipe(T.Label()),
918
+ revisionId: S.String.pipe(T.Label()),
919
+ }).pipe(
920
+ T.Http({
921
+ method: "GET",
922
+ uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions/{revisionId}",
923
+ code: 200,
924
+ baseUrl: "https://functions.api.{region}stackit.cloud",
925
+ }),
926
+ ),
927
+ ).annotate({ identifier: "GetRevisionRequest" });
928
+ }
929
+ }
930
+ function __c19(j: number): any {
931
+ switch (j) {
932
+ case 0:
933
+ return S.suspend(() =>
934
+ S.Struct({
935
+ projectId: S.String.pipe(T.Label()),
936
+ }).pipe(
937
+ T.Http({
938
+ method: "GET",
939
+ uri: "/v1alpha/projects/{projectId}/functions",
940
+ code: 200,
941
+ baseUrl: "https://functions.api.{region}stackit.cloud",
942
+ }),
943
+ ),
944
+ ).annotate({ identifier: "ListFunctionsRequest" });
945
+ case 1:
946
+ return S.Array(__S(9, __c2, 1));
947
+ case 2:
948
+ return S.suspend(() =>
949
+ S.Struct({
950
+ functions: S.optional(__S(77, __c19, 1)),
951
+ next_page_token: S.optional(S.String),
952
+ }),
953
+ ).annotate({ identifier: "ListFunctions" });
954
+ }
955
+ }
956
+ // Schema table: entry i is schema j of builder f, made on first reach.
957
+ function __S(i: number, f: (j: number) => unknown, j: number): any {
958
+ return (__s[i] ??= __L.at(f, j));
959
+ }