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

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 (318) hide show
  1. package/lib/_bundle/sdk.js +1 -1
  2. package/lib/_bundle/sdk.js.map +1 -1
  3. package/lib/credentials.d.ts +2 -1
  4. package/lib/credentials.d.ts.map +1 -1
  5. package/lib/index.d.ts +3 -3
  6. package/lib/pagination.d.ts.map +1 -1
  7. package/lib/protocol.d.ts +3 -2
  8. package/lib/protocol.d.ts.map +1 -1
  9. package/lib/services/alb.d.ts +134 -132
  10. package/lib/services/alb.d.ts.map +1 -1
  11. package/lib/services/alb.js +27 -26
  12. package/lib/services/alb.js.map +1 -1
  13. package/lib/services/alb_waf.d.ts +51 -51
  14. package/lib/services/alb_waf.d.ts.map +1 -1
  15. package/lib/services/alb_waf.js +32 -31
  16. package/lib/services/alb_waf.js.map +1 -1
  17. package/lib/services/authorization.d.ts +15 -15
  18. package/lib/services/authorization.d.ts.map +1 -1
  19. package/lib/services/authorization.js +1 -1
  20. package/lib/services/authorization.js.map +1 -1
  21. package/lib/services/automation.d.ts +47 -46
  22. package/lib/services/automation.d.ts.map +1 -1
  23. package/lib/services/automation.js +24 -1
  24. package/lib/services/automation.js.map +1 -1
  25. package/lib/services/cdn.d.ts +129 -129
  26. package/lib/services/cdn.d.ts.map +1 -1
  27. package/lib/services/cdn.js +30 -29
  28. package/lib/services/cdn.js.map +1 -1
  29. package/lib/services/certificates.d.ts +40 -40
  30. package/lib/services/certificates.d.ts.map +1 -1
  31. package/lib/services/certificates.js +1 -1
  32. package/lib/services/certificates.js.map +1 -1
  33. package/lib/services/cost.d.ts +15 -15
  34. package/lib/services/cost.d.ts.map +1 -1
  35. package/lib/services/cost.js +1 -1
  36. package/lib/services/cost.js.map +1 -1
  37. package/lib/services/dns.d.ts +218 -161
  38. package/lib/services/dns.d.ts.map +1 -1
  39. package/lib/services/dns.js +40 -38
  40. package/lib/services/dns.js.map +1 -1
  41. package/lib/services/dremio.d.ts +49 -34
  42. package/lib/services/dremio.d.ts.map +1 -1
  43. package/lib/services/dremio.js +1 -1
  44. package/lib/services/dremio.js.map +1 -1
  45. package/lib/services/edge.d.ts +21 -21
  46. package/lib/services/edge.d.ts.map +1 -1
  47. package/lib/services/edge.js +28 -1
  48. package/lib/services/edge.js.map +1 -1
  49. package/lib/services/functions.d.ts +104 -101
  50. package/lib/services/functions.d.ts.map +1 -1
  51. package/lib/services/functions.js +27 -1
  52. package/lib/services/functions.js.map +1 -1
  53. package/lib/services/git.d.ts +120 -29
  54. package/lib/services/git.d.ts.map +1 -1
  55. package/lib/services/git.js +38 -33
  56. package/lib/services/git.js.map +1 -1
  57. package/lib/services/iaas.d.ts +430 -415
  58. package/lib/services/iaas.d.ts.map +1 -1
  59. package/lib/services/iaas.js +180 -179
  60. package/lib/services/iaas.js.map +1 -1
  61. package/lib/services/identity.d.ts +204 -0
  62. package/lib/services/identity.d.ts.map +1 -0
  63. package/lib/services/identity.js +2 -0
  64. package/lib/services/identity.js.map +1 -0
  65. package/lib/services/index.d.ts +2 -0
  66. package/lib/services/index.d.ts.map +1 -1
  67. package/lib/services/index.js +2 -0
  68. package/lib/services/intake.d.ts +58 -58
  69. package/lib/services/intake.d.ts.map +1 -1
  70. package/lib/services/intake.js +28 -27
  71. package/lib/services/intake.js.map +1 -1
  72. package/lib/services/kms.d.ts +13 -13
  73. package/lib/services/kms.d.ts.map +1 -1
  74. package/lib/services/kms.js +40 -39
  75. package/lib/services/kms.js.map +1 -1
  76. package/lib/services/lb_ip_lists.d.ts +14 -14
  77. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  78. package/lib/services/lb_ip_lists.js +1 -1
  79. package/lib/services/lb_ip_lists.js.map +1 -1
  80. package/lib/services/load_balancer.d.ts +128 -126
  81. package/lib/services/load_balancer.d.ts.map +1 -1
  82. package/lib/services/load_balancer.js +28 -27
  83. package/lib/services/load_balancer.js.map +1 -1
  84. package/lib/services/logme.d.ts +96 -45
  85. package/lib/services/logme.d.ts.map +1 -1
  86. package/lib/services/logme.js +35 -31
  87. package/lib/services/logme.js.map +1 -1
  88. package/lib/services/logs.d.ts +78 -24
  89. package/lib/services/logs.d.ts.map +1 -1
  90. package/lib/services/logs.js +34 -32
  91. package/lib/services/logs.js.map +1 -1
  92. package/lib/services/mailout.d.ts +476 -0
  93. package/lib/services/mailout.d.ts.map +1 -0
  94. package/lib/services/mailout.js +33 -0
  95. package/lib/services/mailout.js.map +1 -0
  96. package/lib/services/mariadb.d.ts +81 -30
  97. package/lib/services/mariadb.d.ts.map +1 -1
  98. package/lib/services/mariadb.js +36 -32
  99. package/lib/services/mariadb.js.map +1 -1
  100. package/lib/services/model_experiments.d.ts +33 -33
  101. package/lib/services/model_experiments.d.ts.map +1 -1
  102. package/lib/services/model_experiments.js +1 -1
  103. package/lib/services/model_experiments.js.map +1 -1
  104. package/lib/services/model_serving.d.ts +25 -25
  105. package/lib/services/model_serving.d.ts.map +1 -1
  106. package/lib/services/model_serving.js +1 -1
  107. package/lib/services/model_serving.js.map +1 -1
  108. package/lib/services/mongodb_flex.d.ts +142 -137
  109. package/lib/services/mongodb_flex.d.ts.map +1 -1
  110. package/lib/services/mongodb_flex.js +41 -40
  111. package/lib/services/mongodb_flex.js.map +1 -1
  112. package/lib/services/object_storage.d.ts +6 -6
  113. package/lib/services/object_storage.d.ts.map +1 -1
  114. package/lib/services/object_storage.js +37 -36
  115. package/lib/services/object_storage.js.map +1 -1
  116. package/lib/services/observability.d.ts +362 -362
  117. package/lib/services/observability.d.ts.map +1 -1
  118. package/lib/services/observability.js +158 -157
  119. package/lib/services/observability.js.map +1 -1
  120. package/lib/services/opensearch.d.ts +87 -36
  121. package/lib/services/opensearch.d.ts.map +1 -1
  122. package/lib/services/opensearch.js +36 -32
  123. package/lib/services/opensearch.js.map +1 -1
  124. package/lib/services/pim.d.ts +334 -278
  125. package/lib/services/pim.d.ts.map +1 -1
  126. package/lib/services/pim.js +30 -29
  127. package/lib/services/pim.js.map +1 -1
  128. package/lib/services/postgres_flex.d.ts +59 -55
  129. package/lib/services/postgres_flex.d.ts.map +1 -1
  130. package/lib/services/postgres_flex.js +47 -45
  131. package/lib/services/postgres_flex.js.map +1 -1
  132. package/lib/services/pubsub.d.ts +36 -36
  133. package/lib/services/pubsub.d.ts.map +1 -1
  134. package/lib/services/pubsub.js +36 -35
  135. package/lib/services/pubsub.js.map +1 -1
  136. package/lib/services/rabbitmq.d.ts +92 -41
  137. package/lib/services/rabbitmq.d.ts.map +1 -1
  138. package/lib/services/rabbitmq.js +37 -33
  139. package/lib/services/rabbitmq.js.map +1 -1
  140. package/lib/services/registry.d.ts +26 -22
  141. package/lib/services/registry.d.ts.map +1 -1
  142. package/lib/services/registry.js +1 -1
  143. package/lib/services/registry.js.map +1 -1
  144. package/lib/services/resource_manager.d.ts +56 -56
  145. package/lib/services/resource_manager.d.ts.map +1 -1
  146. package/lib/services/resource_manager.js +35 -34
  147. package/lib/services/resource_manager.js.map +1 -1
  148. package/lib/services/run_command.d.ts +42 -42
  149. package/lib/services/run_command.d.ts.map +1 -1
  150. package/lib/services/run_command.js +1 -1
  151. package/lib/services/run_command.js.map +1 -1
  152. package/lib/services/sca.d.ts +349 -213
  153. package/lib/services/sca.d.ts.map +1 -1
  154. package/lib/services/sca.js +32 -23
  155. package/lib/services/sca.js.map +1 -1
  156. package/lib/services/scf.d.ts +24 -24
  157. package/lib/services/scf.d.ts.map +1 -1
  158. package/lib/services/scf.js +39 -38
  159. package/lib/services/scf.js.map +1 -1
  160. package/lib/services/secrets_manager.d.ts +21 -21
  161. package/lib/services/secrets_manager.d.ts.map +1 -1
  162. package/lib/services/secrets_manager.js +41 -40
  163. package/lib/services/secrets_manager.js.map +1 -1
  164. package/lib/services/server_backup.d.ts +31 -31
  165. package/lib/services/server_backup.d.ts.map +1 -1
  166. package/lib/services/server_backup.js +28 -27
  167. package/lib/services/server_backup.js.map +1 -1
  168. package/lib/services/server_update.d.ts +17 -17
  169. package/lib/services/server_update.d.ts.map +1 -1
  170. package/lib/services/server_update.js +1 -1
  171. package/lib/services/server_update.js.map +1 -1
  172. package/lib/services/service_account.d.ts +30 -30
  173. package/lib/services/service_account.d.ts.map +1 -1
  174. package/lib/services/service_account.js +29 -28
  175. package/lib/services/service_account.js.map +1 -1
  176. package/lib/services/service_enablement.d.ts +22 -21
  177. package/lib/services/service_enablement.d.ts.map +1 -1
  178. package/lib/services/service_enablement.js +1 -1
  179. package/lib/services/service_enablement.js.map +1 -1
  180. package/lib/services/sfs.d.ts +151 -141
  181. package/lib/services/sfs.d.ts.map +1 -1
  182. package/lib/services/sfs.js +46 -44
  183. package/lib/services/sfs.js.map +1 -1
  184. package/lib/services/ske.d.ts +121 -110
  185. package/lib/services/ske.d.ts.map +1 -1
  186. package/lib/services/ske.js +25 -24
  187. package/lib/services/ske.js.map +1 -1
  188. package/lib/services/sqlserverflex.d.ts +47 -47
  189. package/lib/services/sqlserverflex.d.ts.map +1 -1
  190. package/lib/services/sqlserverflex.js +45 -44
  191. package/lib/services/sqlserverflex.js.map +1 -1
  192. package/lib/services/stackit_marketplace.d.ts +39 -39
  193. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  194. package/lib/services/stackit_marketplace.js +25 -24
  195. package/lib/services/stackit_marketplace.js.map +1 -1
  196. package/lib/services/telemetry_link.d.ts +80 -38
  197. package/lib/services/telemetry_link.d.ts.map +1 -1
  198. package/lib/services/telemetry_link.js +34 -32
  199. package/lib/services/telemetry_link.js.map +1 -1
  200. package/lib/services/telemetry_router.d.ts +116 -41
  201. package/lib/services/telemetry_router.d.ts.map +1 -1
  202. package/lib/services/telemetry_router.js +31 -27
  203. package/lib/services/telemetry_router.js.map +1 -1
  204. package/lib/services/ufw.d.ts +55 -54
  205. package/lib/services/ufw.d.ts.map +1 -1
  206. package/lib/services/ufw.js +1 -1
  207. package/lib/services/ufw.js.map +1 -1
  208. package/lib/services/valkey.d.ts +94 -43
  209. package/lib/services/valkey.d.ts.map +1 -1
  210. package/lib/services/valkey.js +36 -32
  211. package/lib/services/valkey.js.map +1 -1
  212. package/lib/services/vpn.d.ts +150 -142
  213. package/lib/services/vpn.d.ts.map +1 -1
  214. package/lib/services/vpn.js +42 -41
  215. package/lib/services/vpn.js.map +1 -1
  216. package/lib/services/workflows.d.ts +65 -65
  217. package/lib/services/workflows.d.ts.map +1 -1
  218. package/lib/services/workflows.js +26 -25
  219. package/lib/services/workflows.js.map +1 -1
  220. package/lib/services.lazy/alb.js +1 -1
  221. package/lib/services.lazy/alb_waf.js +1 -1
  222. package/lib/services.lazy/automation.js +4 -1
  223. package/lib/services.lazy/cdn.js +1 -1
  224. package/lib/services.lazy/dns.js +2 -2
  225. package/lib/services.lazy/edge.js +4 -1
  226. package/lib/services.lazy/functions.js +3 -1
  227. package/lib/services.lazy/git.js +2 -2
  228. package/lib/services.lazy/iaas.js +1 -1
  229. package/lib/services.lazy/identity.js +1 -0
  230. package/lib/services.lazy/index.js +2 -2
  231. package/lib/services.lazy/intake.js +1 -1
  232. package/lib/services.lazy/kms.js +1 -1
  233. package/lib/services.lazy/load_balancer.js +1 -1
  234. package/lib/services.lazy/logme.js +2 -2
  235. package/lib/services.lazy/logs.js +1 -1
  236. package/lib/services.lazy/mailout.js +4 -0
  237. package/lib/services.lazy/mariadb.js +2 -2
  238. package/lib/services.lazy/mongodb_flex.js +1 -1
  239. package/lib/services.lazy/object_storage.js +1 -1
  240. package/lib/services.lazy/observability.js +1 -1
  241. package/lib/services.lazy/opensearch.js +2 -2
  242. package/lib/services.lazy/pim.js +1 -1
  243. package/lib/services.lazy/postgres_flex.js +1 -1
  244. package/lib/services.lazy/pubsub.js +1 -1
  245. package/lib/services.lazy/rabbitmq.js +2 -2
  246. package/lib/services.lazy/resource_manager.js +1 -1
  247. package/lib/services.lazy/sca.js +2 -2
  248. package/lib/services.lazy/scf.js +1 -1
  249. package/lib/services.lazy/secrets_manager.js +1 -1
  250. package/lib/services.lazy/server_backup.js +1 -1
  251. package/lib/services.lazy/service_account.js +1 -1
  252. package/lib/services.lazy/sfs.js +2 -2
  253. package/lib/services.lazy/ske.js +1 -1
  254. package/lib/services.lazy/sqlserverflex.js +1 -1
  255. package/lib/services.lazy/stackit_marketplace.js +1 -1
  256. package/lib/services.lazy/telemetry_link.js +1 -1
  257. package/lib/services.lazy/telemetry_router.js +2 -2
  258. package/lib/services.lazy/valkey.js +2 -2
  259. package/lib/services.lazy/vpn.js +1 -1
  260. package/lib/services.lazy/workflows.js +1 -1
  261. package/package.json +6 -5
  262. package/src/credentials.ts +1 -2
  263. package/src/index.ts +3 -3
  264. package/src/pagination.ts +7 -3
  265. package/src/protocol.ts +22 -20
  266. package/src/services/alb.ts +174 -132
  267. package/src/services/alb_waf.ts +96 -51
  268. package/src/services/authorization.ts +50 -15
  269. package/src/services/automation.ts +86 -49
  270. package/src/services/cdn.ts +172 -129
  271. package/src/services/certificates.ts +63 -40
  272. package/src/services/cost.ts +34 -15
  273. package/src/services/dns.ts +552 -269
  274. package/src/services/dremio.ts +187 -118
  275. package/src/services/edge.ts +62 -21
  276. package/src/services/functions.ts +217 -170
  277. package/src/services/git.ts +407 -108
  278. package/src/services/iaas.ts +723 -415
  279. package/src/services/identity.ts +625 -0
  280. package/src/services/index.ts +2 -0
  281. package/src/services/intake.ts +101 -58
  282. package/src/services/kms.ts +76 -13
  283. package/src/services/lb_ip_lists.ts +37 -14
  284. package/src/services/load_balancer.ts +168 -126
  285. package/src/services/logme.ts +345 -122
  286. package/src/services/logs.ts +172 -72
  287. package/src/services/mailout.ts +1277 -0
  288. package/src/services/mariadb.ts +328 -105
  289. package/src/services/model_experiments.ts +66 -33
  290. package/src/services/model_serving.ts +54 -25
  291. package/src/services/mongodb_flex.ts +205 -137
  292. package/src/services/object_storage.ts +61 -6
  293. package/src/services/observability.ts +594 -362
  294. package/src/services/opensearch.ts +337 -114
  295. package/src/services/pim.ts +403 -278
  296. package/src/services/postgres_flex.ts +258 -179
  297. package/src/services/pubsub.ts +85 -36
  298. package/src/services/rabbitmq.ts +348 -125
  299. package/src/services/registry.ts +55 -26
  300. package/src/services/resource_manager.ts +102 -57
  301. package/src/services/run_command.ts +65 -42
  302. package/src/services/sca.ts +769 -371
  303. package/src/services/scf.ts +83 -24
  304. package/src/services/secrets_manager.ts +87 -22
  305. package/src/services/server_backup.ts +76 -31
  306. package/src/services/server_update.ts +54 -17
  307. package/src/services/service_account.ts +75 -30
  308. package/src/services/service_enablement.ts +49 -24
  309. package/src/services/sfs.ts +469 -395
  310. package/src/services/ske.ts +299 -228
  311. package/src/services/sqlserverflex.ts +116 -47
  312. package/src/services/stackit_marketplace.ts +78 -39
  313. package/src/services/telemetry_link.ts +191 -81
  314. package/src/services/telemetry_router.ts +326 -94
  315. package/src/services/ufw.ts +85 -54
  316. package/src/services/valkey.ts +341 -118
  317. package/src/services/vpn.ts +213 -142
  318. package/src/services/workflows.ts +106 -65
@@ -12,6 +12,19 @@ const __s: any[] = [];
12
12
 
13
13
  export type { StackitOpError, StackitOpContext };
14
14
 
15
+ /** Span facts shared by every operation (com.distilled.telemetry#service). */
16
+ const TELEMETRY = {
17
+ system: "stackit-api",
18
+ responseHeaders: [
19
+ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
20
+ { header: "request-id", name: "http.response.header.request-id", transform: "list" },
21
+ ],
22
+ prefix: "STACKIT",
23
+ service: "Functions",
24
+ labels: "stackit",
25
+ propagate: "w3c",
26
+ } as const;
27
+
15
28
  export type CreateFunctionRequestLabelsMap = { [key: string]: string | undefined };
16
29
  /** Status of this function's latest revision. */
17
30
  export type CreateFunctionRequestState = "CREATING" | "ACTIVE" | "FAILED";
@@ -21,22 +34,22 @@ export interface CreateFunctionRequest {
21
34
  /** The STACKIT portal project UUID the resource is located in. */
22
35
  projectId: string;
23
36
  /** Time the function was created. */
24
- created_at?: string;
37
+ created_at?: string | undefined;
25
38
  /** The ID of the currently-deployed revision associated with this function. */
26
- current_revision?: string;
39
+ current_revision?: string | undefined;
27
40
  /** Unique identifier for the function. */
28
- id?: string;
29
- labels?: CreateFunctionRequestLabelsMap;
41
+ id?: string | undefined;
42
+ labels?: CreateFunctionRequestLabelsMap | undefined;
30
43
  /** User-defined name of the function. */
31
44
  name: string;
32
45
  /** Status of this function's latest revision. */
33
- state?: CreateFunctionRequestState | (string & {});
46
+ state?: CreateFunctionRequestState | (string & {}) | undefined;
34
47
  /** Error message related to this function's status. */
35
- state_error?: string;
48
+ state_error?: string | undefined;
36
49
  /** Time the function was last updated. */
37
- updated_at?: string;
50
+ updated_at?: string | undefined;
38
51
  /** URLs that resolve to the function. */
39
- url?: CreateFunctionRequestUrlList;
52
+ url?: CreateFunctionRequestUrlList | undefined;
40
53
  }
41
54
  export type FunctionLabelsMap = { [key: string]: string | undefined };
42
55
  /** Status of this function's latest revision. */
@@ -46,75 +59,108 @@ export type FunctionUrlList = Array<string>;
46
59
  /** Represents a STACKIT Functions function. */
47
60
  export interface Function {
48
61
  /** Time the function was created. */
49
- created_at?: string;
62
+ created_at?: string | undefined;
50
63
  /** The ID of the currently-deployed revision associated with this function. */
51
- current_revision?: string;
64
+ current_revision?: string | undefined;
52
65
  /** Unique identifier for the function. */
53
- id?: string;
54
- labels?: FunctionLabelsMap;
66
+ id?: string | undefined;
67
+ labels?: FunctionLabelsMap | undefined;
55
68
  /** User-defined name of the function. */
56
69
  name: string;
57
70
  /** Status of this function's latest revision. */
58
- state?: FunctionState;
71
+ state?: FunctionState | undefined;
59
72
  /** Error message related to this function's status. */
60
- state_error?: string;
73
+ state_error?: string | undefined;
61
74
  /** Time the function was last updated. */
62
- updated_at?: string;
75
+ updated_at?: string | undefined;
63
76
  /** URLs that resolve to the function. */
64
- url?: FunctionUrlList;
77
+ url?: FunctionUrlList | undefined;
65
78
  }
66
- export type CreateFunctionRevisionRequestLabelsMap = { [key: string]: string | undefined };
79
+ export type CreatePullCredentialRequestLabelsMap = { [key: string]: string | undefined };
80
+ export interface CreatePullCredentialRequest {
81
+ /** The STACKIT portal project UUID the resource is located in. */
82
+ projectId: string;
83
+ /** The OCI registry address. */
84
+ address: string;
85
+ /** Unique identifier for the OCI registry pull credential. */
86
+ id?: string | undefined;
87
+ labels?: CreatePullCredentialRequestLabelsMap | undefined;
88
+ /** Unique name for the OCI registry pull credential. */
89
+ name?: string | undefined;
90
+ /** The password for the OCI registry pull-credentials. */
91
+ password: string | Redacted.Redacted<string>;
92
+ /** The username for the OCI registry pull-credentials. */
93
+ username: string;
94
+ }
95
+ export type PullCredentialLabelsMap = { [key: string]: string | undefined };
96
+ export interface PullCredential {
97
+ /** The OCI registry address. */
98
+ address: string;
99
+ /** Unique identifier for the OCI registry pull credential. */
100
+ id?: string | undefined;
101
+ labels?: PullCredentialLabelsMap | undefined;
102
+ /** Unique name for the OCI registry pull credential. */
103
+ name?: string | undefined;
104
+ /** The password for the OCI registry pull-credentials. */
105
+ password: string | Redacted.Redacted<string>;
106
+ /** The username for the OCI registry pull-credentials. */
107
+ username: string;
108
+ }
109
+ export type CreateRevisionRequestLabelsMap = { [key: string]: string | undefined };
67
110
  /** Resource utilization limitations */
68
111
  export interface ResourceLimits {
112
+ /** Maximum number of in-flight requests to a single instance */
69
113
  concurrency: number;
114
+ /** Maximum number of running instances */
115
+ max_scale?: number | undefined;
70
116
  plan: string;
71
117
  }
72
118
  /** Status of this revision. */
73
- export type CreateFunctionRevisionRequestState = "CANCELLED" | "CREATING" | "ACTIVE" | "FAILED";
119
+ export type CreateRevisionRequestState = "CANCELLED" | "CREATING" | "ACTIVE" | "FAILED";
74
120
  /** Represents a variable value for a specific revision. */
75
121
  export interface RevisionVariable {
76
122
  /** Name of the variable (must match a variable definition on the function). */
77
123
  name: string;
78
124
  /** The value of the variable. Only present for normal variables. Secrets will have a vault reference instead. */
79
- value?: string | null;
125
+ value?: string | null | undefined;
80
126
  /** Reference to the vault secret. Only present for secret variables. */
81
- vault_reference?: string | null;
127
+ vault_reference?: string | null | undefined;
82
128
  }
83
129
  /** Variable values for this revision. Each variable must reference a variable definition on the function. */
84
- export type CreateFunctionRevisionRequestVariablesList = Array<RevisionVariable>;
85
- export interface CreateFunctionRevisionRequest {
130
+ export type CreateRevisionRequestVariablesList = Array<RevisionVariable>;
131
+ export interface CreateRevisionRequest {
86
132
  /** The STACKIT portal project UUID the resource is located in. */
87
133
  projectId: string;
88
134
  /** The STACKIT Functions functionId */
89
135
  functionId: string;
90
136
  /** Time the function was created. */
91
- created_at?: string;
137
+ created_at?: string | undefined;
92
138
  /** A hashed fingerprint of the revision artifact. */
93
- digest?: string;
139
+ digest?: string | undefined;
94
140
  /** The ID of the function associated with this revision. */
95
- function_id?: string;
141
+ function_id?: string | undefined;
96
142
  /** The revision identifier. */
97
- id?: string;
98
- labels?: CreateFunctionRevisionRequestLabelsMap;
143
+ id?: string | undefined;
144
+ labels?: CreateRevisionRequestLabelsMap | undefined;
99
145
  limits: ResourceLimits;
100
146
  /** Revision message */
101
- message?: string;
147
+ message?: string | undefined;
102
148
  /** The name of the the revision. Must be unique within the function. */
103
- name?: string;
149
+ name?: string | undefined;
104
150
  /** OCI Registry pull credential to use for pulling the revision's image. */
105
- oci_pull_credential_id?: string;
151
+ oci_pull_credential_id?: string | undefined;
106
152
  /** OCI reference for the revision. */
107
153
  oci_reference: string;
108
154
  /** Status of this revision. */
109
- state?: CreateFunctionRevisionRequestState | (string & {});
155
+ state?: CreateRevisionRequestState | (string & {}) | undefined;
110
156
  /** Error message related to this revision. */
111
- state_error?: string;
157
+ state_error?: string | undefined;
112
158
  /** Time the function was last updated. */
113
- updated_at?: string;
159
+ updated_at?: string | undefined;
114
160
  /** Variable values for this revision. Each variable must reference a variable definition on the function. */
115
- variables?: CreateFunctionRevisionRequestVariablesList;
161
+ variables?: CreateRevisionRequestVariablesList | undefined;
116
162
  /** The version number of the revision. */
117
- version?: number;
163
+ version?: number | undefined;
118
164
  }
119
165
  export type RevisionLabelsMap = { [key: string]: string | undefined };
120
166
  /** Status of this revision. */
@@ -124,63 +170,33 @@ export type RevisionVariablesList = Array<RevisionVariable>;
124
170
  /** The function revision */
125
171
  export interface Revision {
126
172
  /** Time the function was created. */
127
- created_at?: string;
173
+ created_at?: string | undefined;
128
174
  /** A hashed fingerprint of the revision artifact. */
129
- digest?: string;
175
+ digest?: string | undefined;
130
176
  /** The ID of the function associated with this revision. */
131
- function_id?: string;
177
+ function_id?: string | undefined;
132
178
  /** The revision identifier. */
133
- id?: string;
134
- labels?: RevisionLabelsMap;
179
+ id?: string | undefined;
180
+ labels?: RevisionLabelsMap | undefined;
135
181
  limits: ResourceLimits;
136
182
  /** Revision message */
137
- message?: string;
183
+ message?: string | undefined;
138
184
  /** The name of the the revision. Must be unique within the function. */
139
- name?: string;
185
+ name?: string | undefined;
140
186
  /** OCI Registry pull credential to use for pulling the revision's image. */
141
- oci_pull_credential_id?: string;
187
+ oci_pull_credential_id?: string | undefined;
142
188
  /** OCI reference for the revision. */
143
189
  oci_reference: string;
144
190
  /** Status of this revision. */
145
- state?: RevisionState;
191
+ state?: RevisionState | undefined;
146
192
  /** Error message related to this revision. */
147
- state_error?: string;
193
+ state_error?: string | undefined;
148
194
  /** Time the function was last updated. */
149
- updated_at?: string;
195
+ updated_at?: string | undefined;
150
196
  /** Variable values for this revision. Each variable must reference a variable definition on the function. */
151
- variables?: RevisionVariablesList;
197
+ variables?: RevisionVariablesList | undefined;
152
198
  /** The version number of the revision. */
153
- version?: number;
154
- }
155
- export type CreatePullCredentialRequestLabelsMap = { [key: string]: string | undefined };
156
- export interface CreatePullCredentialRequest {
157
- /** The STACKIT portal project UUID the resource is located in. */
158
- projectId: string;
159
- /** The OCI registry address. */
160
- address: string;
161
- /** Unique identifier for the OCI registry pull credential. */
162
- id?: string;
163
- labels?: CreatePullCredentialRequestLabelsMap;
164
- /** Unique name for the OCI registry pull credential. */
165
- name?: string;
166
- /** The password for the OCI registry pull-credentials. */
167
- password: string | Redacted.Redacted<string>;
168
- /** The username for the OCI registry pull-credentials. */
169
- username: string;
170
- }
171
- export type PullCredentialLabelsMap = { [key: string]: string | undefined };
172
- export interface PullCredential {
173
- /** The OCI registry address. */
174
- address: string;
175
- /** Unique identifier for the OCI registry pull credential. */
176
- id?: string;
177
- labels?: PullCredentialLabelsMap;
178
- /** Unique name for the OCI registry pull credential. */
179
- name?: string;
180
- /** The password for the OCI registry pull-credentials. */
181
- password: string | Redacted.Redacted<string>;
182
- /** The username for the OCI registry pull-credentials. */
183
- username: string;
199
+ version?: number | undefined;
184
200
  }
185
201
  export interface DeleteFunctionRequest {
186
202
  /** The STACKIT portal project UUID the resource is located in. */
@@ -233,9 +249,9 @@ export interface ListFunctionsRequest {
233
249
  export type ListFunctionsFunctionsList = Array<Function>;
234
250
  export interface ListFunctions {
235
251
  /** List of functions. */
236
- functions?: ListFunctionsFunctionsList;
252
+ functions?: ListFunctionsFunctionsList | undefined;
237
253
  /** Token for the next page of results. */
238
- next_page_token?: string;
254
+ next_page_token?: string | undefined;
239
255
  }
240
256
  export interface ListPullCredentialsRequest {
241
257
  /** The STACKIT portal project UUID the resource is located in. */
@@ -245,9 +261,9 @@ export interface ListPullCredentialsRequest {
245
261
  export type ListPullCredentialsPullCredentialsList = Array<PullCredential>;
246
262
  export interface ListPullCredentials {
247
263
  /** Token for the next page of results. */
248
- next_page_token?: string;
264
+ next_page_token?: string | undefined;
249
265
  /** List of oci registries pull credentials associated with the project. */
250
- pull_credentials?: ListPullCredentialsPullCredentialsList;
266
+ pull_credentials?: ListPullCredentialsPullCredentialsList | undefined;
251
267
  }
252
268
  export interface ListRevisionsRequest {
253
269
  /** The STACKIT portal project UUID the resource is located in. */
@@ -259,11 +275,11 @@ export interface ListRevisionsRequest {
259
275
  export type ListRevisionsRevisionListList = Array<Revision>;
260
276
  export interface ListRevisions {
261
277
  /** Maximum number of items */
262
- maxItems?: number;
278
+ maxItems?: number | undefined;
263
279
  /** Token for the next page of results. */
264
- next_page_token?: string;
280
+ next_page_token?: string | undefined;
265
281
  /** List of revisions. */
266
- revisionList?: ListRevisionsRevisionListList;
282
+ revisionList?: ListRevisionsRevisionListList | undefined;
267
283
  }
268
284
  export type UpdateFunctionRequestLabelsMap = { [key: string]: string | undefined };
269
285
  export interface UpdateFunctionRequest {
@@ -271,9 +287,9 @@ export interface UpdateFunctionRequest {
271
287
  projectId: string;
272
288
  /** The STACKIT Functions functionId */
273
289
  functionId: string;
274
- labels?: UpdateFunctionRequestLabelsMap;
290
+ labels?: UpdateFunctionRequestLabelsMap | undefined;
275
291
  /** User-defined name of the function. */
276
- name?: string;
292
+ name?: string | undefined;
277
293
  }
278
294
  export type UpdatePullCredentialRequestLabelsMap = { [key: string]: string | undefined };
279
295
  export interface UpdatePullCredentialRequest {
@@ -282,14 +298,14 @@ export interface UpdatePullCredentialRequest {
282
298
  /** The identifier of the OCI registry pull credential configuration */
283
299
  pullCredentialId: string;
284
300
  /** The OCI registry address. */
285
- address?: string;
286
- labels?: UpdatePullCredentialRequestLabelsMap;
301
+ address?: string | undefined;
302
+ labels?: UpdatePullCredentialRequestLabelsMap | undefined;
287
303
  /** Unique name for the OCI registry pull secret. */
288
- name?: string;
304
+ name?: string | undefined;
289
305
  /** The password for the OCI registry pull-credentials. */
290
- password?: string | Redacted.Redacted<string>;
306
+ password?: string | Redacted.Redacted<string> | undefined;
291
307
  /** The username for the OCI registry pull-credentials. */
292
- username?: string;
308
+ username?: string | undefined;
293
309
  }
294
310
  export type UpdateRevisionRequestLabelsMap = { [key: string]: string | undefined };
295
311
  export interface UpdateRevisionRequest {
@@ -299,9 +315,9 @@ export interface UpdateRevisionRequest {
299
315
  functionId: string;
300
316
  /** The identifier of the revision */
301
317
  revisionId: string;
302
- labels?: UpdateRevisionRequestLabelsMap;
318
+ labels?: UpdateRevisionRequestLabelsMap | undefined;
303
319
  /** The name of the the revision. Must be unique within the function. */
304
- name?: string;
320
+ name?: string | undefined;
305
321
  }
306
322
  export type CreateFunctionError = StackitOpError;
307
323
  /** Creates a new function. */
@@ -316,36 +332,42 @@ export const createFunction: API.OperationMethod<
316
332
  errors: [UnknownStackitError],
317
333
  protocol: StackitProtocol,
318
334
  retry: Retry.Retry,
335
+ telemetry: TELEMETRY,
336
+ span: "CreateFunction",
319
337
  }));
320
338
 
321
- export type CreateFunctionRevisionError = StackitOpError;
322
- /** Create a new function revision */
323
- export const createFunctionRevision: API.OperationMethod<
324
- CreateFunctionRevisionRequest,
325
- Revision,
326
- CreateFunctionRevisionError,
339
+ export type CreatePullCredentialError = StackitOpError;
340
+ /** Create OCI image registry pull credential definition Create a new OCI image registry pull credential configuration. */
341
+ export const createPullCredential: API.OperationMethod<
342
+ CreatePullCredentialRequest,
343
+ PullCredential,
344
+ CreatePullCredentialError,
327
345
  StackitOpContext
328
346
  > = /*@__PURE__*/ API.make(() => ({
329
- input: __S(12, __c3, 0) as any as S.Schema<CreateFunctionRevisionRequest>,
330
- output: __S(19, __c4, 3) as any as S.Schema<Revision>,
347
+ input: __S(12, __c3, 0) as any as S.Schema<CreatePullCredentialRequest>,
348
+ output: __S(16, __c4, 0) as any as S.Schema<PullCredential>,
331
349
  errors: [UnknownStackitError],
332
350
  protocol: StackitProtocol,
333
351
  retry: Retry.Retry,
352
+ telemetry: TELEMETRY,
353
+ span: "CreatePullCredential",
334
354
  }));
335
355
 
336
- export type CreatePullCredentialError = StackitOpError;
337
- /** Create OCI image registry pull credential definition Create a new OCI image registry pull credential configuration. */
338
- export const createPullCredential: API.OperationMethod<
339
- CreatePullCredentialRequest,
340
- PullCredential,
341
- CreatePullCredentialError,
356
+ export type CreateRevisionError = StackitOpError;
357
+ /** Create a new function revision */
358
+ export const createRevision: API.OperationMethod<
359
+ CreateRevisionRequest,
360
+ Revision,
361
+ CreateRevisionError,
342
362
  StackitOpContext
343
363
  > = /*@__PURE__*/ API.make(() => ({
344
- input: __S(40, __c10, 0) as any as S.Schema<CreatePullCredentialRequest>,
345
- output: __S(44, __c11, 0) as any as S.Schema<PullCredential>,
364
+ input: __S(40, __c10, 0) as any as S.Schema<CreateRevisionRequest>,
365
+ output: __S(47, __c11, 3) as any as S.Schema<Revision>,
346
366
  errors: [UnknownStackitError],
347
367
  protocol: StackitProtocol,
348
368
  retry: Retry.Retry,
369
+ telemetry: TELEMETRY,
370
+ span: "CreateRevision",
349
371
  }));
350
372
 
351
373
  export type DeleteFunctionError = StackitOpError;
@@ -361,6 +383,8 @@ export const deleteFunction: API.OperationMethod<
361
383
  errors: [UnknownStackitError],
362
384
  protocol: StackitProtocol,
363
385
  retry: Retry.Retry,
386
+ telemetry: TELEMETRY,
387
+ span: "DeleteFunction",
364
388
  }));
365
389
 
366
390
  export type DeletePullCredentialError = StackitOpError;
@@ -376,6 +400,8 @@ export const deletePullCredential: API.OperationMethod<
376
400
  errors: [UnknownStackitError],
377
401
  protocol: StackitProtocol,
378
402
  retry: Retry.Retry,
403
+ telemetry: TELEMETRY,
404
+ span: "DeletePullCredential",
379
405
  }));
380
406
 
381
407
  export type DeleteRevisionError = StackitOpError;
@@ -391,6 +417,8 @@ export const deleteRevision: API.OperationMethod<
391
417
  errors: [UnknownStackitError],
392
418
  protocol: StackitProtocol,
393
419
  retry: Retry.Retry,
420
+ telemetry: TELEMETRY,
421
+ span: "DeleteRevision",
394
422
  }));
395
423
 
396
424
  export type GetFunctionError = StackitOpError;
@@ -406,6 +434,8 @@ export const getFunction: API.OperationMethod<
406
434
  errors: [UnknownStackitError],
407
435
  protocol: StackitProtocol,
408
436
  retry: Retry.Retry,
437
+ telemetry: TELEMETRY,
438
+ span: "GetFunction",
409
439
  }));
410
440
 
411
441
  export type GetPullCredentialError = StackitOpError;
@@ -417,10 +447,12 @@ export const getPullCredential: API.OperationMethod<
417
447
  StackitOpContext
418
448
  > = /*@__PURE__*/ API.make(() => ({
419
449
  input: __S(68, __c17, 0) as any as S.Schema<GetPullCredentialRequest>,
420
- output: __S(44, __c11, 0) as any as S.Schema<PullCredential>,
450
+ output: __S(16, __c4, 0) as any as S.Schema<PullCredential>,
421
451
  errors: [UnknownStackitError],
422
452
  protocol: StackitProtocol,
423
453
  retry: Retry.Retry,
454
+ telemetry: TELEMETRY,
455
+ span: "GetPullCredential",
424
456
  }));
425
457
 
426
458
  export type GetRevisionError = StackitOpError;
@@ -432,10 +464,12 @@ export const getRevision: API.OperationMethod<
432
464
  StackitOpContext
433
465
  > = /*@__PURE__*/ API.make(() => ({
434
466
  input: __S(72, __c18, 0) as any as S.Schema<GetRevisionRequest>,
435
- output: __S(19, __c4, 3) as any as S.Schema<Revision>,
467
+ output: __S(47, __c11, 3) as any as S.Schema<Revision>,
436
468
  errors: [UnknownStackitError],
437
469
  protocol: StackitProtocol,
438
470
  retry: Retry.Retry,
471
+ telemetry: TELEMETRY,
472
+ span: "GetRevision",
439
473
  }));
440
474
 
441
475
  export type ListFunctions2Error = StackitOpError;
@@ -451,6 +485,8 @@ export const listFunctions2: API.OperationMethod<
451
485
  errors: [UnknownStackitError],
452
486
  protocol: StackitProtocol,
453
487
  retry: Retry.Retry,
488
+ telemetry: TELEMETRY,
489
+ span: "ListFunctions2",
454
490
  }));
455
491
 
456
492
  export type ListPullCredentials2Error = StackitOpError;
@@ -466,6 +502,8 @@ export const listPullCredentials2: API.OperationMethod<
466
502
  errors: [UnknownStackitError],
467
503
  protocol: StackitProtocol,
468
504
  retry: Retry.Retry,
505
+ telemetry: TELEMETRY,
506
+ span: "ListPullCredentials2",
469
507
  }));
470
508
 
471
509
  export type ListRevisions2Error = StackitOpError;
@@ -481,6 +519,8 @@ export const listRevisions2: API.OperationMethod<
481
519
  errors: [UnknownStackitError],
482
520
  protocol: StackitProtocol,
483
521
  retry: Retry.Retry,
522
+ telemetry: TELEMETRY,
523
+ span: "ListRevisions2",
484
524
  }));
485
525
 
486
526
  export type UpdateFunctionError = StackitOpError;
@@ -496,6 +536,8 @@ export const updateFunction: API.OperationMethod<
496
536
  errors: [UnknownStackitError],
497
537
  protocol: StackitProtocol,
498
538
  retry: Retry.Retry,
539
+ telemetry: TELEMETRY,
540
+ span: "UpdateFunction",
499
541
  }));
500
542
 
501
543
  export type UpdatePullCredentialError = StackitOpError;
@@ -507,10 +549,12 @@ export const updatePullCredential: API.OperationMethod<
507
549
  StackitOpContext
508
550
  > = /*@__PURE__*/ API.make(() => ({
509
551
  input: __S(32, __c8, 0) as any as S.Schema<UpdatePullCredentialRequest>,
510
- output: __S(44, __c11, 0) as any as S.Schema<PullCredential>,
552
+ output: __S(16, __c4, 0) as any as S.Schema<PullCredential>,
511
553
  errors: [UnknownStackitError],
512
554
  protocol: StackitProtocol,
513
555
  retry: Retry.Retry,
556
+ telemetry: TELEMETRY,
557
+ span: "UpdatePullCredential",
514
558
  }));
515
559
 
516
560
  export type UpdateRevisionError = StackitOpError;
@@ -522,10 +566,12 @@ export const updateRevision: API.OperationMethod<
522
566
  StackitOpContext
523
567
  > = /*@__PURE__*/ API.make(() => ({
524
568
  input: __S(36, __c9, 0) as any as S.Schema<UpdateRevisionRequest>,
525
- output: __S(19, __c4, 3) as any as S.Schema<Revision>,
569
+ output: __S(47, __c11, 3) as any as S.Schema<Revision>,
526
570
  errors: [UnknownStackitError],
527
571
  protocol: StackitProtocol,
528
572
  retry: Retry.Retry,
573
+ telemetry: TELEMETRY,
574
+ span: "UpdateRevision",
529
575
  }));
530
576
 
531
577
  // Schema builders: each runs one schema initializer, on that schema's first use.
@@ -587,31 +633,21 @@ function __c3(j: number): any {
587
633
  return S.suspend(() =>
588
634
  S.Struct({
589
635
  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),
636
+ address: S.String,
594
637
  id: S.optional(S.String),
595
638
  labels: S.optional(__S(4, __c1, 0)),
596
- limits: __S(16, __c4, 0),
597
- message: S.optional(S.String),
598
639
  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),
640
+ password: S.String.pipe(T.SensitiveValue({})),
641
+ username: S.String,
606
642
  }).pipe(
607
643
  T.Http({
608
644
  method: "POST",
609
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions",
645
+ uri: "/v1alpha/projects/{projectId}/pull-credentials",
610
646
  code: 200,
611
647
  baseUrl: "https://functions.api.{region}stackit.cloud",
612
648
  }),
613
649
  ),
614
- ).annotate({ identifier: "CreateFunctionRevisionRequest" });
650
+ ).annotate({ identifier: "CreatePullCredentialRequest" });
615
651
  }
616
652
  }
617
653
  function __c4(j: number): any {
@@ -619,40 +655,14 @@ function __c4(j: number): any {
619
655
  case 0:
620
656
  return S.suspend(() =>
621
657
  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),
658
+ address: S.String,
642
659
  id: S.optional(S.String),
643
660
  labels: S.optional(__S(4, __c1, 0)),
644
- limits: __S(16, __c4, 0),
645
- message: S.optional(S.String),
646
661
  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),
662
+ password: S.String.pipe(T.SensitiveValue({})),
663
+ username: S.String,
654
664
  }),
655
- ).annotate({ identifier: "Revision" });
665
+ ).annotate({ identifier: "PullCredential" });
656
666
  }
657
667
  }
658
668
  function __c5(j: number): any {
@@ -671,7 +681,7 @@ function __c5(j: number): any {
671
681
  ),
672
682
  ).annotate({ identifier: "ListPullCredentialsRequest" });
673
683
  case 1:
674
- return S.Array(__S(44, __c11, 0));
684
+ return S.Array(__S(16, __c4, 0));
675
685
  case 2:
676
686
  return S.suspend(() =>
677
687
  S.Struct({
@@ -698,7 +708,7 @@ function __c6(j: number): any {
698
708
  ),
699
709
  ).annotate({ identifier: "ListRevisionsRequest" });
700
710
  case 1:
701
- return S.Array(__S(19, __c4, 3));
711
+ return S.Array(__S(47, __c11, 3));
702
712
  case 2:
703
713
  return S.suspend(() =>
704
714
  S.Struct({
@@ -779,21 +789,31 @@ function __c10(j: number): any {
779
789
  return S.suspend(() =>
780
790
  S.Struct({
781
791
  projectId: S.String.pipe(T.Label()),
782
- address: S.String,
792
+ functionId: S.String.pipe(T.Label()),
793
+ created_at: S.optional(S.String),
794
+ digest: S.optional(S.String),
795
+ function_id: S.optional(S.String),
783
796
  id: S.optional(S.String),
784
797
  labels: S.optional(__S(4, __c1, 0)),
798
+ limits: __S(44, __c11, 0),
799
+ message: S.optional(S.String),
785
800
  name: S.optional(S.String),
786
- password: S.String.pipe(T.SensitiveValue({})),
787
- username: S.String,
801
+ oci_pull_credential_id: S.optional(S.String),
802
+ oci_reference: S.String,
803
+ state: S.optional(S.String),
804
+ state_error: S.optional(S.String),
805
+ updated_at: S.optional(S.String),
806
+ variables: S.optional(__S(46, __c11, 2)),
807
+ version: S.optional(S.Number),
788
808
  }).pipe(
789
809
  T.Http({
790
810
  method: "POST",
791
- uri: "/v1alpha/projects/{projectId}/pull-credentials",
811
+ uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions",
792
812
  code: 200,
793
813
  baseUrl: "https://functions.api.{region}stackit.cloud",
794
814
  }),
795
815
  ),
796
- ).annotate({ identifier: "CreatePullCredentialRequest" });
816
+ ).annotate({ identifier: "CreateRevisionRequest" });
797
817
  }
798
818
  }
799
819
  function __c11(j: number): any {
@@ -801,14 +821,41 @@ function __c11(j: number): any {
801
821
  case 0:
802
822
  return S.suspend(() =>
803
823
  S.Struct({
804
- address: S.String,
824
+ concurrency: S.Number,
825
+ max_scale: S.optional(S.Number),
826
+ plan: S.String,
827
+ }),
828
+ ).annotate({ identifier: "ResourceLimits" });
829
+ case 1:
830
+ return S.suspend(() =>
831
+ S.Struct({
832
+ name: S.String,
833
+ value: S.optional(S.NullOr(S.String)),
834
+ vault_reference: S.optional(S.NullOr(S.String)),
835
+ }),
836
+ ).annotate({ identifier: "RevisionVariable" });
837
+ case 2:
838
+ return S.Array(__S(45, __c11, 1));
839
+ case 3:
840
+ return S.suspend(() =>
841
+ S.Struct({
842
+ created_at: S.optional(S.String),
843
+ digest: S.optional(S.String),
844
+ function_id: S.optional(S.String),
805
845
  id: S.optional(S.String),
806
846
  labels: S.optional(__S(4, __c1, 0)),
847
+ limits: __S(44, __c11, 0),
848
+ message: S.optional(S.String),
807
849
  name: S.optional(S.String),
808
- password: S.String.pipe(T.SensitiveValue({})),
809
- username: S.String,
850
+ oci_pull_credential_id: S.optional(S.String),
851
+ oci_reference: S.String,
852
+ state: S.optional(S.String),
853
+ state_error: S.optional(S.String),
854
+ updated_at: S.optional(S.String),
855
+ variables: S.optional(__S(46, __c11, 2)),
856
+ version: S.optional(S.Number),
810
857
  }),
811
- ).annotate({ identifier: "PullCredential" });
858
+ ).annotate({ identifier: "Revision" });
812
859
  }
813
860
  }
814
861
  function __c12(j: number): any {