@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
@@ -13,6 +13,19 @@ const __s: any[] = [];
13
13
 
14
14
  export type { StackitOpError, StackitOpContext };
15
15
 
16
+ /** Span facts shared by every operation (com.distilled.telemetry#service). */
17
+ const TELEMETRY = {
18
+ system: "stackit-api",
19
+ responseHeaders: [
20
+ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
21
+ { header: "request-id", name: "http.response.header.request-id", transform: "list" },
22
+ ],
23
+ prefix: "STACKIT",
24
+ service: "Git",
25
+ labels: "stackit",
26
+ propagate: "w3c",
27
+ } as const;
28
+
16
29
  export class BadRequest
17
30
  extends /*@__PURE__*/ T.applyErrorMatchers(
18
31
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
@@ -52,13 +65,13 @@ export interface CreateAuthenticationRequest {
52
65
  /** The IDP client secret to use. */
53
66
  client_secret: string | Redacted.Redacted<string>;
54
67
  /** The url of the icon to use for this authentication definition. */
55
- icon_url?: string;
68
+ icon_url?: string | undefined;
56
69
  /** The name to identify an authentication definition associated with a STACKIT Git instance. */
57
70
  name: string;
58
71
  /** The Oauth2 provider to use. */
59
- provider?: string;
72
+ provider?: string | undefined;
60
73
  /** Scopes defines the OIDC scopes to request. */
61
- scopes?: string;
74
+ scopes?: string | undefined;
62
75
  }
63
76
  /** The current status of the authentication definition. */
64
77
  export type AuthenticationStatus = "Creating" | "Updating" | "Deleting" | "Ready" | "Error";
@@ -83,7 +96,7 @@ export interface Authentication {
83
96
  /** The current status of the authentication definition. */
84
97
  status: AuthenticationStatus;
85
98
  /** Provides additional information or error details when the status is 'Error'. */
86
- status_message?: string;
99
+ status_message?: string | undefined;
87
100
  }
88
101
  /** A list of CIDR network addresses that are allowed to access the instance. */
89
102
  export type Acl = Array<string>;
@@ -91,8 +104,8 @@ export type CreateInstanceRequestFlavor = "git-10" | "git-100";
91
104
  export interface CreateInstanceRequest {
92
105
  /** Project identifier. */
93
106
  projectId: string;
94
- acl?: Acl;
95
- flavor?: CreateInstanceRequestFlavor | (string & {});
107
+ acl?: Acl | undefined;
108
+ flavor?: CreateInstanceRequestFlavor | (string & {}) | undefined;
96
109
  /** A user chosen name to distinguish multiple STACKIT Git instances. */
97
110
  name: string;
98
111
  }
@@ -107,17 +120,21 @@ export type FeatureToggleDefaultEmailNotifications =
107
120
  /** Feature toggles for instance pipelines */
108
121
  export interface Pipelines {
109
122
  /** The action URL for the pipelines */
110
- action_url?: string | null;
123
+ action_url?: string | null | undefined;
111
124
  /** Enable pipelines for this instance */
112
- enabled?: boolean | null;
125
+ enabled?: boolean | null | undefined;
113
126
  }
114
127
  /** Feature toggles for the instance. */
115
128
  export interface FeatureToggle {
116
129
  /** Default email notifications. */
117
- default_email_notifications?: FeatureToggleDefaultEmailNotifications | (string & {}) | null;
130
+ default_email_notifications?:
131
+ | FeatureToggleDefaultEmailNotifications
132
+ | (string & {})
133
+ | null
134
+ | undefined;
118
135
  /** Enable local login. */
119
- enable_local_login?: boolean | null;
120
- pipelines?: Pipelines;
136
+ enable_local_login?: boolean | null | undefined;
137
+ pipelines?: Pipelines | undefined;
121
138
  }
122
139
  /** Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. The `stackit-` prefix is reserved and cannot be used for Keys. */
123
140
  export type Labels = { [key: string]: string | undefined };
@@ -146,7 +163,7 @@ export interface Instance {
146
163
  flavor: string;
147
164
  /** A auto generated unique id which identifies the STACKIT Git instances. */
148
165
  id: string;
149
- labels?: Labels;
166
+ labels?: Labels | undefined;
150
167
  /** A user chosen name to distinguish multiple STACKIT Git instances. */
151
168
  name: string;
152
169
  /** The current state of the STACKIT Git instance. */
@@ -162,12 +179,16 @@ export interface CreateRunnerRequest {
162
179
  projectId: string;
163
180
  /** Instance identifier. */
164
181
  instanceId: string;
182
+ /** The runner's job family name. */
183
+ familyName?: string | undefined;
165
184
  labels: CreateRunnerRequestLabelsList;
166
185
  }
167
186
  export type RunnerLabelsList = Array<string>;
168
187
  /** Describes a runner associated to a STACKIT Git instance. */
169
188
  export interface Runner {
170
189
  created_at: string;
190
+ /** The runner's job family name. */
191
+ familyName?: string | undefined;
171
192
  id: string;
172
193
  labels: RunnerLabelsList;
173
194
  /** The current status of the runner. */
@@ -181,7 +202,7 @@ export interface CreateUserRequest {
181
202
  /** A user chosen email to distinguish multiple STACKIT Git instance Users. */
182
203
  email: string;
183
204
  /** Whether to force sending a reset password email. */
184
- force_send_reset_password?: boolean;
205
+ force_send_reset_password?: boolean | undefined;
185
206
  /** Name of the user. */
186
207
  name: string;
187
208
  /** A user password to allow user/pass instance login. */
@@ -194,7 +215,7 @@ export interface User {
194
215
  /** A user chosen email to distinguish multiple STACKIT Git instance Users. */
195
216
  email: string;
196
217
  /** A auto generated unique id which identifies the STACKIT Git instances. */
197
- id?: number;
218
+ id?: number | undefined;
198
219
  /** Name of the user. */
199
220
  name: string;
200
221
  /** A user chosen username to distinguish multiple STACKIT Git instance Users. */
@@ -246,6 +267,56 @@ export interface GetInstanceRequest {
246
267
  /** Instance identifier. */
247
268
  instanceId: string;
248
269
  }
270
+ export interface GetOrganizationsRequest {
271
+ /** Project identifier. */
272
+ projectId: string;
273
+ /** Instance identifier. */
274
+ instanceId: string;
275
+ /** Page number for pagination (1-indexed). Each page contains up to 50 organizations. */
276
+ page?: number | undefined;
277
+ }
278
+ /** Describes a STACKIT Git instance Organization. */
279
+ export interface Organization {
280
+ /** Name of the organization. */
281
+ name: string;
282
+ }
283
+ export type ListOrganizationsOrganizationsList = Array<Organization>;
284
+ /** A paginated list of STACKIT Git instance Organizations. */
285
+ export interface ListOrganizations {
286
+ /** Number of organizations returned in this page. */
287
+ itemsCount: number;
288
+ /** Zero-based index of the first item in this page. */
289
+ offset: number;
290
+ organizations: ListOrganizationsOrganizationsList;
291
+ /** Total number of pages available based on the fixed page size of 50. */
292
+ totalPages: number;
293
+ }
294
+ export interface GetOrganizationTeamsRequest {
295
+ /** Project identifier. */
296
+ projectId: string;
297
+ /** Instance identifier. */
298
+ instanceId: string;
299
+ /** Organization name. */
300
+ org: string;
301
+ /** Page number for pagination (1-indexed). Each page contains up to 50 teams. */
302
+ page?: number | undefined;
303
+ }
304
+ /** Describes a STACKIT Git instance Organization Team. */
305
+ export interface OrganizationTeam {
306
+ /** Name of the team. */
307
+ name: string;
308
+ }
309
+ export type ListOrganizationTeamsTeamsList = Array<OrganizationTeam>;
310
+ /** A paginated list of STACKIT Git instance Organization Teams. */
311
+ export interface ListOrganizationTeams {
312
+ /** Number of teams returned in this page. */
313
+ itemsCount: number;
314
+ /** Zero-based index of the first item in this page. */
315
+ offset: number;
316
+ teams: ListOrganizationTeamsTeamsList;
317
+ /** Total number of pages available based on the fixed page size of 50. */
318
+ totalPages: number;
319
+ }
249
320
  export interface GetRunnerRequest {
250
321
  /** Project identifier. */
251
322
  projectId: string;
@@ -267,7 +338,7 @@ export interface GetUsersRequest {
267
338
  /** Instance identifier. */
268
339
  instanceId: string;
269
340
  /** Page number for pagination (1-indexed). Each page contains up to 50 users. */
270
- page?: number;
341
+ page?: number | undefined;
271
342
  }
272
343
  export type ListUsersUsersList = Array<User>;
273
344
  /** A paginated list of STACKIT Git instance Users. */
@@ -324,15 +395,43 @@ export type ListInstancesInstancesList = Array<Instance>;
324
395
  export interface ListInstances {
325
396
  instances: ListInstancesInstancesList;
326
397
  }
398
+ export interface ListRunnerFamiliesRequest {
399
+ /** Project identifier. */
400
+ projectId: string;
401
+ }
402
+ /** Describes a STACKIT Git Runner Family. */
403
+ export interface RunnerFamily {
404
+ /** Indicates the runner image architecture. */
405
+ arch: string;
406
+ /** Indicates the availability of the runner label */
407
+ availability: string;
408
+ /** CPU virtual cores resource limit of jobs. */
409
+ cpu: string;
410
+ /** Disk size limit of jobs. */
411
+ disk: string;
412
+ /** Human-friendly name of the runtime. */
413
+ display_name: string;
414
+ /** Family name identifier. */
415
+ name: string;
416
+ /** RAM resource limit of jobs. */
417
+ ram: string;
418
+ }
419
+ export type RunnerFamilyListItemsList = Array<RunnerFamily>;
420
+ /** A list of STACKIT Git RunnerFamily. */
421
+ export interface RunnerFamilyList {
422
+ items: RunnerFamilyListItemsList;
423
+ }
327
424
  export interface ListRunnerRuntimesRequest {
328
425
  /** Project identifier. */
329
426
  projectId: string;
330
427
  }
331
428
  /** Describes a STACKIT Git Runner runtime. */
332
429
  export interface RunnerRuntime {
430
+ /** Indicates the runner image architecture. */
431
+ arch: string;
333
432
  /** Indicates the availability of the runner label */
334
433
  availability: string;
335
- /** Human-friendly description of the runtime and its capabilities. */
434
+ /** Human-friendly description of the runtime and it's capabilities. */
336
435
  description: string;
337
436
  /** Human-friendly name of the runtime. */
338
437
  display_name: string;
@@ -354,28 +453,28 @@ export interface PatchAuthenticationRequest {
354
453
  /** Authentication Source identifier. */
355
454
  authenticationId: string;
356
455
  /** The well-known configuration url to use for this authentication definition. */
357
- auto_discover_url?: string;
456
+ auto_discover_url?: string | undefined;
358
457
  /** The IDP client id to use. */
359
- client_id?: string;
458
+ client_id?: string | undefined;
360
459
  /** The IDP client secret to use. */
361
- client_secret?: string | Redacted.Redacted<string>;
460
+ client_secret?: string | Redacted.Redacted<string> | undefined;
362
461
  /** The url of the icon to use for this authentication definition. */
363
- icon_url?: string;
462
+ icon_url?: string | undefined;
364
463
  /** The Oauth2 provider to use. */
365
- provider?: string;
464
+ provider?: string | undefined;
366
465
  /** Scopes defines the OIDC scopes to request. */
367
- scopes?: string;
466
+ scopes?: string | undefined;
368
467
  }
369
468
  export interface PatchInstanceRequest {
370
469
  /** Project identifier. */
371
470
  projectId: string;
372
471
  /** Instance identifier. */
373
472
  instanceId: string;
374
- acl?: Acl | null;
473
+ acl?: Acl | null | undefined;
375
474
  /** Enable Admin IdP */
376
- admin_login?: boolean;
377
- feature_toggle?: FeatureToggle;
378
- labels?: Labels;
475
+ admin_login?: boolean | undefined;
476
+ feature_toggle?: FeatureToggle | undefined;
477
+ labels?: Labels | undefined;
379
478
  }
380
479
  export interface UpdateUserRequest {
381
480
  /** Project identifier. */
@@ -385,11 +484,11 @@ export interface UpdateUserRequest {
385
484
  /** Instance User identifier. */
386
485
  username: string;
387
486
  /** A user chosen email to distinguish multiple STACKIT Git instance Users. */
388
- email?: string;
487
+ email?: string | undefined;
389
488
  /** Name of the user. */
390
- name?: string;
489
+ name?: string | undefined;
391
490
  /** A user password to allow user/pass instance login. */
392
- password?: string | Redacted.Redacted<string>;
491
+ password?: string | Redacted.Redacted<string> | undefined;
393
492
  }
394
493
  export type CreateAuthenticationError = BadRequest | NotFound | Conflict | StackitOpError;
395
494
  /** Creates an authentication source Creates an authentication source for the corresponding STACKIT Git instance */
@@ -399,11 +498,13 @@ export const createAuthentication: API.OperationMethod<
399
498
  CreateAuthenticationError,
400
499
  StackitOpContext
401
500
  > = /*@__PURE__*/ API.make(() => ({
402
- input: __S(52, __c13, 0) as any as S.Schema<CreateAuthenticationRequest>,
403
- output: __S(56, __c14, 0) as any as S.Schema<Authentication>,
501
+ input: __S(68, __c17, 0) as any as S.Schema<CreateAuthenticationRequest>,
502
+ output: __S(72, __c18, 0) as any as S.Schema<Authentication>,
404
503
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
405
504
  protocol: StackitProtocol,
406
505
  retry: Retry.Retry,
506
+ telemetry: TELEMETRY,
507
+ span: "CreateAuthentication",
407
508
  }));
408
509
 
409
510
  export type CreateInstanceError = BadRequest | Conflict | StackitOpError;
@@ -414,11 +515,13 @@ export const createInstance: API.OperationMethod<
414
515
  CreateInstanceError,
415
516
  StackitOpContext
416
517
  > = /*@__PURE__*/ API.make(() => ({
417
- input: __S(60, __c15, 0) as any as S.Schema<CreateInstanceRequest>,
418
- output: __S(67, __c16, 3) as any as S.Schema<Instance>,
518
+ input: __S(76, __c19, 0) as any as S.Schema<CreateInstanceRequest>,
519
+ output: __S(83, __c20, 3) as any as S.Schema<Instance>,
419
520
  errors: [BadRequest, Conflict, UnknownStackitError],
420
521
  protocol: StackitProtocol,
421
522
  retry: Retry.Retry,
523
+ telemetry: TELEMETRY,
524
+ span: "CreateInstance",
422
525
  }));
423
526
 
424
527
  export type CreateRunnerError = BadRequest | Conflict | StackitOpError;
@@ -429,11 +532,13 @@ export const createRunner: API.OperationMethod<
429
532
  CreateRunnerError,
430
533
  StackitOpContext
431
534
  > = /*@__PURE__*/ API.make(() => ({
432
- input: __S(72, __c18, 0) as any as S.Schema<CreateRunnerRequest>,
433
- output: __S(76, __c19, 0) as any as S.Schema<Runner>,
535
+ input: __S(88, __c22, 0) as any as S.Schema<CreateRunnerRequest>,
536
+ output: __S(92, __c23, 0) as any as S.Schema<Runner>,
434
537
  errors: [BadRequest, Conflict, UnknownStackitError],
435
538
  protocol: StackitProtocol,
436
539
  retry: Retry.Retry,
540
+ telemetry: TELEMETRY,
541
+ span: "CreateRunner",
437
542
  }));
438
543
 
439
544
  export type CreateUserError = BadRequest | Conflict | StackitOpError;
@@ -444,11 +549,13 @@ export const createUser: API.OperationMethod<
444
549
  CreateUserError,
445
550
  StackitOpContext
446
551
  > = /*@__PURE__*/ API.make(() => ({
447
- input: __S(80, __c20, 0) as any as S.Schema<CreateUserRequest>,
448
- output: __S(84, __c21, 0) as any as S.Schema<User>,
552
+ input: __S(96, __c24, 0) as any as S.Schema<CreateUserRequest>,
553
+ output: __S(100, __c25, 0) as any as S.Schema<User>,
449
554
  errors: [BadRequest, Conflict, UnknownStackitError],
450
555
  protocol: StackitProtocol,
451
556
  retry: Retry.Retry,
557
+ telemetry: TELEMETRY,
558
+ span: "CreateUser",
452
559
  }));
453
560
 
454
561
  export type DeleteAuthenticationError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -459,11 +566,13 @@ export const deleteAuthentication: API.OperationMethod<
459
566
  DeleteAuthenticationError,
460
567
  StackitOpContext
461
568
  > = /*@__PURE__*/ API.make(() => ({
462
- input: __S(88, __c22, 0) as any as S.Schema<DeleteAuthenticationRequest>,
463
- output: __S(92, __c23, 0) as any as S.Schema<DeleteAuthenticationResponse>,
569
+ input: __S(104, __c26, 0) as any as S.Schema<DeleteAuthenticationRequest>,
570
+ output: __S(108, __c27, 0) as any as S.Schema<DeleteAuthenticationResponse>,
464
571
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
465
572
  protocol: StackitProtocol,
466
573
  retry: Retry.Retry,
574
+ telemetry: TELEMETRY,
575
+ span: "DeleteAuthentication",
467
576
  }));
468
577
 
469
578
  export type DeleteInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -474,11 +583,13 @@ export const deleteInstance: API.OperationMethod<
474
583
  DeleteInstanceError,
475
584
  StackitOpContext
476
585
  > = /*@__PURE__*/ API.make(() => ({
477
- input: __S(96, __c24, 0) as any as S.Schema<DeleteInstanceRequest>,
478
- output: __S(92, __c23, 0) as any as S.Schema<DeleteInstanceResponse>,
586
+ input: __S(112, __c28, 0) as any as S.Schema<DeleteInstanceRequest>,
587
+ output: __S(108, __c27, 0) as any as S.Schema<DeleteInstanceResponse>,
479
588
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
480
589
  protocol: StackitProtocol,
481
590
  retry: Retry.Retry,
591
+ telemetry: TELEMETRY,
592
+ span: "DeleteInstance",
482
593
  }));
483
594
 
484
595
  export type DeleteRunnerError = BadRequest | NotFound | StackitOpError;
@@ -489,11 +600,13 @@ export const deleteRunner: API.OperationMethod<
489
600
  DeleteRunnerError,
490
601
  StackitOpContext
491
602
  > = /*@__PURE__*/ API.make(() => ({
492
- input: __S(100, __c25, 0) as any as S.Schema<DeleteRunnerRequest>,
493
- output: __S(92, __c23, 0) as any as S.Schema<DeleteRunnerResponse>,
603
+ input: __S(116, __c29, 0) as any as S.Schema<DeleteRunnerRequest>,
604
+ output: __S(108, __c27, 0) as any as S.Schema<DeleteRunnerResponse>,
494
605
  errors: [BadRequest, NotFound, UnknownStackitError],
495
606
  protocol: StackitProtocol,
496
607
  retry: Retry.Retry,
608
+ telemetry: TELEMETRY,
609
+ span: "DeleteRunner",
497
610
  }));
498
611
 
499
612
  export type DeleteUserError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -505,10 +618,12 @@ export const deleteUser: API.OperationMethod<
505
618
  StackitOpContext
506
619
  > = /*@__PURE__*/ API.make(() => ({
507
620
  input: __S(0, __c0, 0) as any as S.Schema<DeleteUserRequest>,
508
- output: __S(92, __c23, 0) as any as S.Schema<DeleteUserResponse>,
621
+ output: __S(108, __c27, 0) as any as S.Schema<DeleteUserResponse>,
509
622
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
510
623
  protocol: StackitProtocol,
511
624
  retry: Retry.Retry,
625
+ telemetry: TELEMETRY,
626
+ span: "DeleteUser",
512
627
  }));
513
628
 
514
629
  export type GetAuthenticationError = BadRequest | StackitOpError;
@@ -520,10 +635,12 @@ export const getAuthentication: API.OperationMethod<
520
635
  StackitOpContext
521
636
  > = /*@__PURE__*/ API.make(() => ({
522
637
  input: __S(4, __c1, 0) as any as S.Schema<GetAuthenticationRequest>,
523
- output: __S(56, __c14, 0) as any as S.Schema<Authentication>,
638
+ output: __S(72, __c18, 0) as any as S.Schema<Authentication>,
524
639
  errors: [BadRequest, UnknownStackitError],
525
640
  protocol: StackitProtocol,
526
641
  retry: Retry.Retry,
642
+ telemetry: TELEMETRY,
643
+ span: "GetAuthentication",
527
644
  }));
528
645
 
529
646
  export type GetInstanceError = BadRequest | NotFound | StackitOpError;
@@ -535,10 +652,46 @@ export const getInstance: API.OperationMethod<
535
652
  StackitOpContext
536
653
  > = /*@__PURE__*/ API.make(() => ({
537
654
  input: __S(8, __c2, 0) as any as S.Schema<GetInstanceRequest>,
538
- output: __S(67, __c16, 3) as any as S.Schema<Instance>,
655
+ output: __S(83, __c20, 3) as any as S.Schema<Instance>,
656
+ errors: [BadRequest, NotFound, UnknownStackitError],
657
+ protocol: StackitProtocol,
658
+ retry: Retry.Retry,
659
+ telemetry: TELEMETRY,
660
+ span: "GetInstance",
661
+ }));
662
+
663
+ export type GetOrganizationsError = BadRequest | NotFound | StackitOpError;
664
+ /** Get instance Organizations. Lists all STACKIT Git Organizations within an instance. Supports pagination via the optional `page` query parameter. Each page returns up to 50 organizations. */
665
+ export const getOrganizations: API.OperationMethod<
666
+ GetOrganizationsRequest,
667
+ ListOrganizations,
668
+ GetOrganizationsError,
669
+ StackitOpContext
670
+ > = /*@__PURE__*/ API.make(() => ({
671
+ input: __S(12, __c3, 0) as any as S.Schema<GetOrganizationsRequest>,
672
+ output: __S(13, __c3, 1) as any as S.Schema<ListOrganizations>,
673
+ errors: [BadRequest, NotFound, UnknownStackitError],
674
+ protocol: StackitProtocol,
675
+ retry: Retry.Retry,
676
+ telemetry: TELEMETRY,
677
+ span: "GetOrganizations",
678
+ }));
679
+
680
+ export type GetOrganizationTeamsError = BadRequest | NotFound | StackitOpError;
681
+ /** Get Organization Teams. Lists all STACKIT Git Organization Teams within an instance. Supports pagination via the optional `page` query parameter. Each page returns up to 50 teams. */
682
+ export const getOrganizationTeams: API.OperationMethod<
683
+ GetOrganizationTeamsRequest,
684
+ ListOrganizationTeams,
685
+ GetOrganizationTeamsError,
686
+ StackitOpContext
687
+ > = /*@__PURE__*/ API.make(() => ({
688
+ input: __S(20, __c5, 0) as any as S.Schema<GetOrganizationTeamsRequest>,
689
+ output: __S(21, __c5, 1) as any as S.Schema<ListOrganizationTeams>,
539
690
  errors: [BadRequest, NotFound, UnknownStackitError],
540
691
  protocol: StackitProtocol,
541
692
  retry: Retry.Retry,
693
+ telemetry: TELEMETRY,
694
+ span: "GetOrganizationTeams",
542
695
  }));
543
696
 
544
697
  export type GetRunnerError = BadRequest | NotFound | StackitOpError;
@@ -549,11 +702,13 @@ export const getRunner: API.OperationMethod<
549
702
  GetRunnerError,
550
703
  StackitOpContext
551
704
  > = /*@__PURE__*/ API.make(() => ({
552
- input: __S(12, __c3, 0) as any as S.Schema<GetRunnerRequest>,
553
- output: __S(76, __c19, 0) as any as S.Schema<Runner>,
705
+ input: __S(24, __c6, 0) as any as S.Schema<GetRunnerRequest>,
706
+ output: __S(92, __c23, 0) as any as S.Schema<Runner>,
554
707
  errors: [BadRequest, NotFound, UnknownStackitError],
555
708
  protocol: StackitProtocol,
556
709
  retry: Retry.Retry,
710
+ telemetry: TELEMETRY,
711
+ span: "GetRunner",
557
712
  }));
558
713
 
559
714
  export type GetUserError = BadRequest | NotFound | StackitOpError;
@@ -564,11 +719,13 @@ export const getUser: API.OperationMethod<
564
719
  GetUserError,
565
720
  StackitOpContext
566
721
  > = /*@__PURE__*/ API.make(() => ({
567
- input: __S(16, __c4, 0) as any as S.Schema<GetUserRequest>,
568
- output: __S(92, __c23, 0) as any as S.Schema<GetUserResponse>,
722
+ input: __S(28, __c7, 0) as any as S.Schema<GetUserRequest>,
723
+ output: __S(108, __c27, 0) as any as S.Schema<GetUserResponse>,
569
724
  errors: [BadRequest, NotFound, UnknownStackitError],
570
725
  protocol: StackitProtocol,
571
726
  retry: Retry.Retry,
727
+ telemetry: TELEMETRY,
728
+ span: "GetUser",
572
729
  }));
573
730
 
574
731
  export type GetUsersError = BadRequest | StackitOpError;
@@ -579,11 +736,13 @@ export const getUsers: API.OperationMethod<
579
736
  GetUsersError,
580
737
  StackitOpContext
581
738
  > = /*@__PURE__*/ API.make(() => ({
582
- input: __S(20, __c5, 0) as any as S.Schema<GetUsersRequest>,
583
- output: __S(22, __c5, 2) as any as S.Schema<ListUsers>,
739
+ input: __S(32, __c8, 0) as any as S.Schema<GetUsersRequest>,
740
+ output: __S(34, __c8, 2) as any as S.Schema<ListUsers>,
584
741
  errors: [BadRequest, UnknownStackitError],
585
742
  protocol: StackitProtocol,
586
743
  retry: Retry.Retry,
744
+ telemetry: TELEMETRY,
745
+ span: "GetUsers",
587
746
  }));
588
747
 
589
748
  export type ListAuthenticationError = BadRequest | StackitOpError;
@@ -594,11 +753,13 @@ export const listAuthentication: API.OperationMethod<
594
753
  ListAuthenticationError,
595
754
  StackitOpContext
596
755
  > = /*@__PURE__*/ API.make(() => ({
597
- input: __S(24, __c6, 0) as any as S.Schema<ListAuthenticationRequest>,
598
- output: __S(26, __c6, 2) as any as S.Schema<AuthenticationList>,
756
+ input: __S(36, __c9, 0) as any as S.Schema<ListAuthenticationRequest>,
757
+ output: __S(38, __c9, 2) as any as S.Schema<AuthenticationList>,
599
758
  errors: [BadRequest, UnknownStackitError],
600
759
  protocol: StackitProtocol,
601
760
  retry: Retry.Retry,
761
+ telemetry: TELEMETRY,
762
+ span: "ListAuthentication",
602
763
  }));
603
764
 
604
765
  export type ListFlavors2Error = BadRequest | NotFound | StackitOpError;
@@ -609,11 +770,13 @@ export const listFlavors2: API.OperationMethod<
609
770
  ListFlavors2Error,
610
771
  StackitOpContext
611
772
  > = /*@__PURE__*/ API.make(() => ({
612
- input: __S(28, __c7, 0) as any as S.Schema<ListFlavorsRequest>,
613
- output: __S(31, __c7, 3) as any as S.Schema<ListFlavors>,
773
+ input: __S(40, __c10, 0) as any as S.Schema<ListFlavorsRequest>,
774
+ output: __S(43, __c10, 3) as any as S.Schema<ListFlavors>,
614
775
  errors: [BadRequest, NotFound, UnknownStackitError],
615
776
  protocol: StackitProtocol,
616
777
  retry: Retry.Retry,
778
+ telemetry: TELEMETRY,
779
+ span: "ListFlavors2",
617
780
  }));
618
781
 
619
782
  export type ListInstances2Error = BadRequest | StackitOpError;
@@ -624,11 +787,30 @@ export const listInstances2: API.OperationMethod<
624
787
  ListInstances2Error,
625
788
  StackitOpContext
626
789
  > = /*@__PURE__*/ API.make(() => ({
627
- input: __S(32, __c8, 0) as any as S.Schema<ListInstancesRequest>,
628
- output: __S(34, __c8, 2) as any as S.Schema<ListInstances>,
790
+ input: __S(44, __c11, 0) as any as S.Schema<ListInstancesRequest>,
791
+ output: __S(46, __c11, 2) as any as S.Schema<ListInstances>,
629
792
  errors: [BadRequest, UnknownStackitError],
630
793
  protocol: StackitProtocol,
631
794
  retry: Retry.Retry,
795
+ telemetry: TELEMETRY,
796
+ span: "ListInstances2",
797
+ }));
798
+
799
+ export type ListRunnerFamiliesError = BadRequest | NotFound | StackitOpError;
800
+ /** A list of runner job families that are available for the project. */
801
+ export const listRunnerFamilies: API.OperationMethod<
802
+ ListRunnerFamiliesRequest,
803
+ RunnerFamilyList,
804
+ ListRunnerFamiliesError,
805
+ StackitOpContext
806
+ > = /*@__PURE__*/ API.make(() => ({
807
+ input: __S(48, __c12, 0) as any as S.Schema<ListRunnerFamiliesRequest>,
808
+ output: __S(51, __c12, 3) as any as S.Schema<RunnerFamilyList>,
809
+ errors: [BadRequest, NotFound, UnknownStackitError],
810
+ protocol: StackitProtocol,
811
+ retry: Retry.Retry,
812
+ telemetry: TELEMETRY,
813
+ span: "ListRunnerFamilies",
632
814
  }));
633
815
 
634
816
  export type ListRunnerRuntimesError = BadRequest | NotFound | StackitOpError;
@@ -639,11 +821,13 @@ export const listRunnerRuntimes: API.OperationMethod<
639
821
  ListRunnerRuntimesError,
640
822
  StackitOpContext
641
823
  > = /*@__PURE__*/ API.make(() => ({
642
- input: __S(36, __c9, 0) as any as S.Schema<ListRunnerRuntimesRequest>,
643
- output: __S(39, __c9, 3) as any as S.Schema<RunnerRuntimeList>,
824
+ input: __S(52, __c13, 0) as any as S.Schema<ListRunnerRuntimesRequest>,
825
+ output: __S(55, __c13, 3) as any as S.Schema<RunnerRuntimeList>,
644
826
  errors: [BadRequest, NotFound, UnknownStackitError],
645
827
  protocol: StackitProtocol,
646
828
  retry: Retry.Retry,
829
+ telemetry: TELEMETRY,
830
+ span: "ListRunnerRuntimes",
647
831
  }));
648
832
 
649
833
  export type PatchAuthenticationError = BadRequest | NotFound | StackitOpError;
@@ -654,11 +838,13 @@ export const patchAuthentication: API.OperationMethod<
654
838
  PatchAuthenticationError,
655
839
  StackitOpContext
656
840
  > = /*@__PURE__*/ API.make(() => ({
657
- input: __S(40, __c10, 0) as any as S.Schema<PatchAuthenticationRequest>,
658
- output: __S(56, __c14, 0) as any as S.Schema<Authentication>,
841
+ input: __S(56, __c14, 0) as any as S.Schema<PatchAuthenticationRequest>,
842
+ output: __S(72, __c18, 0) as any as S.Schema<Authentication>,
659
843
  errors: [BadRequest, NotFound, UnknownStackitError],
660
844
  protocol: StackitProtocol,
661
845
  retry: Retry.Retry,
846
+ telemetry: TELEMETRY,
847
+ span: "PatchAuthentication",
662
848
  }));
663
849
 
664
850
  export type PatchInstanceError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -669,11 +855,13 @@ export const patchInstance: API.OperationMethod<
669
855
  PatchInstanceError,
670
856
  StackitOpContext
671
857
  > = /*@__PURE__*/ API.make(() => ({
672
- input: __S(44, __c11, 0) as any as S.Schema<PatchInstanceRequest>,
673
- output: __S(67, __c16, 3) as any as S.Schema<Instance>,
858
+ input: __S(60, __c15, 0) as any as S.Schema<PatchInstanceRequest>,
859
+ output: __S(83, __c20, 3) as any as S.Schema<Instance>,
674
860
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
675
861
  protocol: StackitProtocol,
676
862
  retry: Retry.Retry,
863
+ telemetry: TELEMETRY,
864
+ span: "PatchInstance",
677
865
  }));
678
866
 
679
867
  export type UpdateUserError = BadRequest | NotFound | Conflict | StackitOpError;
@@ -684,11 +872,13 @@ export const updateUser: API.OperationMethod<
684
872
  UpdateUserError,
685
873
  StackitOpContext
686
874
  > = /*@__PURE__*/ API.make(() => ({
687
- input: __S(48, __c12, 0) as any as S.Schema<UpdateUserRequest>,
688
- output: __S(84, __c21, 0) as any as S.Schema<User>,
875
+ input: __S(64, __c16, 0) as any as S.Schema<UpdateUserRequest>,
876
+ output: __S(100, __c25, 0) as any as S.Schema<User>,
689
877
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
690
878
  protocol: StackitProtocol,
691
879
  retry: Retry.Retry,
880
+ telemetry: TELEMETRY,
881
+ span: "UpdateUser",
692
882
  }));
693
883
 
694
884
  // Schema builders: each runs one schema initializer, on that schema's first use.
@@ -749,6 +939,75 @@ function __c2(j: number): any {
749
939
  }
750
940
  }
751
941
  function __c3(j: number): any {
942
+ switch (j) {
943
+ case 0:
944
+ return S.suspend(() =>
945
+ S.Struct({
946
+ projectId: S.String.pipe(T.Label()),
947
+ instanceId: S.String.pipe(T.Label()),
948
+ page: S.optional(S.Number.pipe(T.Query())),
949
+ }).pipe(
950
+ T.Http({
951
+ method: "GET",
952
+ uri: "/v1beta/projects/{projectId}/instances/{instanceId}/organizations",
953
+ code: 200,
954
+ baseUrl: "https://git.api.stackit.cloud",
955
+ }),
956
+ ),
957
+ ).annotate({ identifier: "GetOrganizationsRequest" });
958
+ case 1:
959
+ return S.suspend(() =>
960
+ S.Struct({
961
+ itemsCount: S.Number,
962
+ offset: S.Number,
963
+ organizations: __S(17, __c4, 1),
964
+ totalPages: S.Number,
965
+ }),
966
+ ).annotate({ identifier: "ListOrganizations" });
967
+ }
968
+ }
969
+ function __c4(j: number): any {
970
+ switch (j) {
971
+ case 0:
972
+ return S.suspend(() =>
973
+ S.Struct({
974
+ name: S.String,
975
+ }),
976
+ ).annotate({ identifier: "Organization" });
977
+ case 1:
978
+ return S.Array(__S(16, __c4, 0));
979
+ }
980
+ }
981
+ function __c5(j: number): any {
982
+ switch (j) {
983
+ case 0:
984
+ return S.suspend(() =>
985
+ S.Struct({
986
+ projectId: S.String.pipe(T.Label()),
987
+ instanceId: S.String.pipe(T.Label()),
988
+ org: S.String.pipe(T.Label()),
989
+ page: S.optional(S.Number.pipe(T.Query())),
990
+ }).pipe(
991
+ T.Http({
992
+ method: "GET",
993
+ uri: "/v1beta/projects/{projectId}/instances/{instanceId}/organizations/{org}/teams",
994
+ code: 200,
995
+ baseUrl: "https://git.api.stackit.cloud",
996
+ }),
997
+ ),
998
+ ).annotate({ identifier: "GetOrganizationTeamsRequest" });
999
+ case 1:
1000
+ return S.suspend(() =>
1001
+ S.Struct({
1002
+ itemsCount: S.Number,
1003
+ offset: S.Number,
1004
+ teams: __S(17, __c4, 1),
1005
+ totalPages: S.Number,
1006
+ }),
1007
+ ).annotate({ identifier: "ListOrganizationTeams" });
1008
+ }
1009
+ }
1010
+ function __c6(j: number): any {
752
1011
  switch (j) {
753
1012
  case 0:
754
1013
  return S.suspend(() =>
@@ -766,7 +1025,7 @@ function __c3(j: number): any {
766
1025
  ).annotate({ identifier: "GetRunnerRequest" });
767
1026
  }
768
1027
  }
769
- function __c4(j: number): any {
1028
+ function __c7(j: number): any {
770
1029
  switch (j) {
771
1030
  case 0:
772
1031
  return S.suspend(() =>
@@ -785,7 +1044,7 @@ function __c4(j: number): any {
785
1044
  ).annotate({ identifier: "GetUserRequest" });
786
1045
  }
787
1046
  }
788
- function __c5(j: number): any {
1047
+ function __c8(j: number): any {
789
1048
  switch (j) {
790
1049
  case 0:
791
1050
  return S.suspend(() =>
@@ -803,19 +1062,19 @@ function __c5(j: number): any {
803
1062
  ),
804
1063
  ).annotate({ identifier: "GetUsersRequest" });
805
1064
  case 1:
806
- return S.Array(__S(84, __c21, 0));
1065
+ return S.Array(__S(100, __c25, 0));
807
1066
  case 2:
808
1067
  return S.suspend(() =>
809
1068
  S.Struct({
810
1069
  itemsCount: S.Number,
811
1070
  offset: S.Number,
812
1071
  totalPages: S.Number,
813
- users: __S(21, __c5, 1),
1072
+ users: __S(33, __c8, 1),
814
1073
  }),
815
1074
  ).annotate({ identifier: "ListUsers" });
816
1075
  }
817
1076
  }
818
- function __c6(j: number): any {
1077
+ function __c9(j: number): any {
819
1078
  switch (j) {
820
1079
  case 0:
821
1080
  return S.suspend(() =>
@@ -832,16 +1091,16 @@ function __c6(j: number): any {
832
1091
  ),
833
1092
  ).annotate({ identifier: "ListAuthenticationRequest" });
834
1093
  case 1:
835
- return S.Array(__S(56, __c14, 0));
1094
+ return S.Array(__S(72, __c18, 0));
836
1095
  case 2:
837
1096
  return S.suspend(() =>
838
1097
  S.Struct({
839
- authentication: __S(25, __c6, 1),
1098
+ authentication: __S(37, __c9, 1),
840
1099
  }),
841
1100
  ).annotate({ identifier: "AuthenticationList" });
842
1101
  }
843
1102
  }
844
- function __c7(j: number): any {
1103
+ function __c10(j: number): any {
845
1104
  switch (j) {
846
1105
  case 0:
847
1106
  return S.suspend(() =>
@@ -867,16 +1126,16 @@ function __c7(j: number): any {
867
1126
  }),
868
1127
  ).annotate({ identifier: "Flavor" });
869
1128
  case 2:
870
- return S.Array(__S(29, __c7, 1));
1129
+ return S.Array(__S(41, __c10, 1));
871
1130
  case 3:
872
1131
  return S.suspend(() =>
873
1132
  S.Struct({
874
- flavors: __S(30, __c7, 2),
1133
+ flavors: __S(42, __c10, 2),
875
1134
  }),
876
1135
  ).annotate({ identifier: "ListFlavors" });
877
1136
  }
878
1137
  }
879
- function __c8(j: number): any {
1138
+ function __c11(j: number): any {
880
1139
  switch (j) {
881
1140
  case 0:
882
1141
  return S.suspend(() =>
@@ -892,16 +1151,53 @@ function __c8(j: number): any {
892
1151
  ),
893
1152
  ).annotate({ identifier: "ListInstancesRequest" });
894
1153
  case 1:
895
- return S.Array(__S(67, __c16, 3));
1154
+ return S.Array(__S(83, __c20, 3));
896
1155
  case 2:
897
1156
  return S.suspend(() =>
898
1157
  S.Struct({
899
- instances: __S(33, __c8, 1),
1158
+ instances: __S(45, __c11, 1),
900
1159
  }),
901
1160
  ).annotate({ identifier: "ListInstances" });
902
1161
  }
903
1162
  }
904
- function __c9(j: number): any {
1163
+ function __c12(j: number): any {
1164
+ switch (j) {
1165
+ case 0:
1166
+ return S.suspend(() =>
1167
+ S.Struct({
1168
+ projectId: S.String.pipe(T.Label()),
1169
+ }).pipe(
1170
+ T.Http({
1171
+ method: "GET",
1172
+ uri: "/v1beta/projects/{projectId}/runner-families",
1173
+ code: 200,
1174
+ baseUrl: "https://git.api.stackit.cloud",
1175
+ }),
1176
+ ),
1177
+ ).annotate({ identifier: "ListRunnerFamiliesRequest" });
1178
+ case 1:
1179
+ return S.suspend(() =>
1180
+ S.Struct({
1181
+ arch: S.String,
1182
+ availability: S.String,
1183
+ cpu: S.String,
1184
+ disk: S.String,
1185
+ display_name: S.String,
1186
+ name: S.String,
1187
+ ram: S.String,
1188
+ }),
1189
+ ).annotate({ identifier: "RunnerFamily" });
1190
+ case 2:
1191
+ return S.Array(__S(49, __c12, 1));
1192
+ case 3:
1193
+ return S.suspend(() =>
1194
+ S.Struct({
1195
+ items: __S(50, __c12, 2),
1196
+ }),
1197
+ ).annotate({ identifier: "RunnerFamilyList" });
1198
+ }
1199
+ }
1200
+ function __c13(j: number): any {
905
1201
  switch (j) {
906
1202
  case 0:
907
1203
  return S.suspend(() =>
@@ -919,6 +1215,7 @@ function __c9(j: number): any {
919
1215
  case 1:
920
1216
  return S.suspend(() =>
921
1217
  S.Struct({
1218
+ arch: S.String,
922
1219
  availability: S.String,
923
1220
  description: S.String,
924
1221
  display_name: S.String,
@@ -927,16 +1224,16 @@ function __c9(j: number): any {
927
1224
  }),
928
1225
  ).annotate({ identifier: "RunnerRuntime" });
929
1226
  case 2:
930
- return S.Array(__S(37, __c9, 1));
1227
+ return S.Array(__S(53, __c13, 1));
931
1228
  case 3:
932
1229
  return S.suspend(() =>
933
1230
  S.Struct({
934
- items: __S(38, __c9, 2),
1231
+ items: __S(54, __c13, 2),
935
1232
  }),
936
1233
  ).annotate({ identifier: "RunnerRuntimeList" });
937
1234
  }
938
1235
  }
939
- function __c10(j: number): any {
1236
+ function __c14(j: number): any {
940
1237
  switch (j) {
941
1238
  case 0:
942
1239
  return S.suspend(() =>
@@ -961,17 +1258,17 @@ function __c10(j: number): any {
961
1258
  ).annotate({ identifier: "PatchAuthenticationRequest" });
962
1259
  }
963
1260
  }
964
- function __c11(j: number): any {
1261
+ function __c15(j: number): any {
965
1262
  switch (j) {
966
1263
  case 0:
967
1264
  return S.suspend(() =>
968
1265
  S.Struct({
969
1266
  projectId: S.String.pipe(T.Label()),
970
1267
  instanceId: S.String.pipe(T.Label()),
971
- acl: S.optional(S.NullOr(__S(68, __c17, 0))),
1268
+ acl: S.optional(S.NullOr(__S(84, __c21, 0))),
972
1269
  admin_login: S.optional(S.Boolean),
973
- feature_toggle: S.optional(__S(65, __c16, 1)),
974
- labels: S.optional(__S(66, __c16, 2)),
1270
+ feature_toggle: S.optional(__S(81, __c20, 1)),
1271
+ labels: S.optional(__S(82, __c20, 2)),
975
1272
  }).pipe(
976
1273
  T.Http({
977
1274
  method: "PATCH",
@@ -983,7 +1280,7 @@ function __c11(j: number): any {
983
1280
  ).annotate({ identifier: "PatchInstanceRequest" });
984
1281
  }
985
1282
  }
986
- function __c12(j: number): any {
1283
+ function __c16(j: number): any {
987
1284
  switch (j) {
988
1285
  case 0:
989
1286
  return S.suspend(() =>
@@ -1005,7 +1302,7 @@ function __c12(j: number): any {
1005
1302
  ).annotate({ identifier: "UpdateUserRequest" });
1006
1303
  }
1007
1304
  }
1008
- function __c13(j: number): any {
1305
+ function __c17(j: number): any {
1009
1306
  switch (j) {
1010
1307
  case 0:
1011
1308
  return S.suspend(() =>
@@ -1030,7 +1327,7 @@ function __c13(j: number): any {
1030
1327
  ).annotate({ identifier: "CreateAuthenticationRequest" });
1031
1328
  }
1032
1329
  }
1033
- function __c14(j: number): any {
1330
+ function __c18(j: number): any {
1034
1331
  switch (j) {
1035
1332
  case 0:
1036
1333
  return S.suspend(() =>
@@ -1049,13 +1346,13 @@ function __c14(j: number): any {
1049
1346
  ).annotate({ identifier: "Authentication" });
1050
1347
  }
1051
1348
  }
1052
- function __c15(j: number): any {
1349
+ function __c19(j: number): any {
1053
1350
  switch (j) {
1054
1351
  case 0:
1055
1352
  return S.suspend(() =>
1056
1353
  S.Struct({
1057
1354
  projectId: S.String.pipe(T.Label()),
1058
- acl: S.optional(__S(68, __c17, 0)),
1355
+ acl: S.optional(__S(84, __c21, 0)),
1059
1356
  flavor: S.optional(S.String),
1060
1357
  name: S.String,
1061
1358
  }).pipe(
@@ -1069,7 +1366,7 @@ function __c15(j: number): any {
1069
1366
  ).annotate({ identifier: "CreateInstanceRequest" });
1070
1367
  }
1071
1368
  }
1072
- function __c16(j: number): any {
1369
+ function __c20(j: number): any {
1073
1370
  switch (j) {
1074
1371
  case 0:
1075
1372
  return S.suspend(() =>
@@ -1083,7 +1380,7 @@ function __c16(j: number): any {
1083
1380
  S.Struct({
1084
1381
  default_email_notifications: S.optional(S.NullOr(S.String)),
1085
1382
  enable_local_login: S.optional(S.NullOr(S.Boolean)),
1086
- pipelines: S.optional(__S(64, __c16, 0)),
1383
+ pipelines: S.optional(__S(80, __c20, 0)),
1087
1384
  }),
1088
1385
  ).annotate({ identifier: "FeatureToggle" });
1089
1386
  case 2:
@@ -1091,15 +1388,15 @@ function __c16(j: number): any {
1091
1388
  case 3:
1092
1389
  return S.suspend(() =>
1093
1390
  S.Struct({
1094
- acl: __S(68, __c17, 0),
1391
+ acl: __S(84, __c21, 0),
1095
1392
  admin_login: S.Boolean,
1096
1393
  consumed_disk: S.String,
1097
1394
  consumed_object_storage: S.String,
1098
1395
  created: S.String,
1099
- feature_toggle: __S(65, __c16, 1),
1396
+ feature_toggle: __S(81, __c20, 1),
1100
1397
  flavor: S.String,
1101
1398
  id: S.String,
1102
- labels: S.optional(__S(66, __c16, 2)),
1399
+ labels: S.optional(__S(82, __c20, 2)),
1103
1400
  name: S.String,
1104
1401
  state: S.String,
1105
1402
  url: S.String,
@@ -1108,20 +1405,21 @@ function __c16(j: number): any {
1108
1405
  ).annotate({ identifier: "Instance" });
1109
1406
  }
1110
1407
  }
1111
- function __c17(j: number): any {
1408
+ function __c21(j: number): any {
1112
1409
  switch (j) {
1113
1410
  case 0:
1114
1411
  return S.Array(S.String);
1115
1412
  }
1116
1413
  }
1117
- function __c18(j: number): any {
1414
+ function __c22(j: number): any {
1118
1415
  switch (j) {
1119
1416
  case 0:
1120
1417
  return S.suspend(() =>
1121
1418
  S.Struct({
1122
1419
  projectId: S.String.pipe(T.Label()),
1123
1420
  instanceId: S.String.pipe(T.Label()),
1124
- labels: __S(68, __c17, 0),
1421
+ familyName: S.optional(S.String),
1422
+ labels: __S(84, __c21, 0),
1125
1423
  }).pipe(
1126
1424
  T.Http({
1127
1425
  method: "POST",
@@ -1133,20 +1431,21 @@ function __c18(j: number): any {
1133
1431
  ).annotate({ identifier: "CreateRunnerRequest" });
1134
1432
  }
1135
1433
  }
1136
- function __c19(j: number): any {
1434
+ function __c23(j: number): any {
1137
1435
  switch (j) {
1138
1436
  case 0:
1139
1437
  return S.suspend(() =>
1140
1438
  S.Struct({
1141
1439
  created_at: S.String,
1440
+ familyName: S.optional(S.String),
1142
1441
  id: S.String,
1143
- labels: __S(68, __c17, 0),
1442
+ labels: __S(84, __c21, 0),
1144
1443
  status: S.String,
1145
1444
  }),
1146
1445
  ).annotate({ identifier: "Runner" });
1147
1446
  }
1148
1447
  }
1149
- function __c20(j: number): any {
1448
+ function __c24(j: number): any {
1150
1449
  switch (j) {
1151
1450
  case 0:
1152
1451
  return S.suspend(() =>
@@ -1169,7 +1468,7 @@ function __c20(j: number): any {
1169
1468
  ).annotate({ identifier: "CreateUserRequest" });
1170
1469
  }
1171
1470
  }
1172
- function __c21(j: number): any {
1471
+ function __c25(j: number): any {
1173
1472
  switch (j) {
1174
1473
  case 0:
1175
1474
  return S.suspend(() =>
@@ -1182,7 +1481,7 @@ function __c21(j: number): any {
1182
1481
  ).annotate({ identifier: "User" });
1183
1482
  }
1184
1483
  }
1185
- function __c22(j: number): any {
1484
+ function __c26(j: number): any {
1186
1485
  switch (j) {
1187
1486
  case 0:
1188
1487
  return S.suspend(() =>
@@ -1201,13 +1500,13 @@ function __c22(j: number): any {
1201
1500
  ).annotate({ identifier: "DeleteAuthenticationRequest" });
1202
1501
  }
1203
1502
  }
1204
- function __c23(j: number): any {
1503
+ function __c27(j: number): any {
1205
1504
  switch (j) {
1206
1505
  case 0:
1207
1506
  return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteAuthenticationResponse" });
1208
1507
  }
1209
1508
  }
1210
- function __c24(j: number): any {
1509
+ function __c28(j: number): any {
1211
1510
  switch (j) {
1212
1511
  case 0:
1213
1512
  return S.suspend(() =>
@@ -1225,7 +1524,7 @@ function __c24(j: number): any {
1225
1524
  ).annotate({ identifier: "DeleteInstanceRequest" });
1226
1525
  }
1227
1526
  }
1228
- function __c25(j: number): any {
1527
+ function __c29(j: number): any {
1229
1528
  switch (j) {
1230
1529
  case 0:
1231
1530
  return S.suspend(() =>