@distilled.cloud/stackit 1.0.0-rc.18 → 1.0.0-rc.20
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.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/errors.d.ts +5 -8
- package/lib/errors.d.ts.map +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +2 -1
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +24 -24
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +29 -29
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +22 -22
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +27 -27
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -39
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +23 -23
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +24 -24
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +37 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +179 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +25 -25
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +37 -37
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +25 -25
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +34 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -33
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +35 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +38 -38
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +34 -34
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +155 -155
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +35 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +27 -27
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -46
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +33 -33
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +36 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +32 -32
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +31 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +36 -36
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +39 -39
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +25 -25
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +26 -26
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -45
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +23 -23
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +42 -42
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +22 -22
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -33
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -28
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +35 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +40 -40
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +23 -23
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/functions.js +2 -2
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/package.json +5 -5
- package/src/errors.ts +5 -5
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +11 -10
- package/src/services/alb.ts +135 -132
- package/src/services/alb_waf.ts +51 -51
- package/src/services/authorization.ts +15 -15
- package/src/services/automation.ts +53 -49
- package/src/services/cdn.ts +129 -129
- package/src/services/certificates.ts +40 -40
- package/src/services/cost.ts +15 -15
- package/src/services/dns.ts +497 -269
- package/src/services/dremio.ts +156 -118
- package/src/services/edge.ts +21 -21
- package/src/services/functions.ts +176 -172
- package/src/services/git.ts +354 -108
- package/src/services/iaas.ts +438 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +58 -58
- package/src/services/kms.ts +13 -13
- package/src/services/lb_ip_lists.ts +14 -14
- package/src/services/load_balancer.ts +129 -126
- package/src/services/logme.ts +294 -122
- package/src/services/logs.ts +123 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +277 -105
- package/src/services/model_experiments.ts +33 -33
- package/src/services/model_serving.ts +25 -25
- package/src/services/mongodb_flex.ts +142 -137
- package/src/services/object_storage.ts +6 -6
- package/src/services/observability.ts +369 -362
- package/src/services/opensearch.ts +286 -114
- package/src/services/pim.ts +362 -278
- package/src/services/postgres_flex.ts +191 -179
- package/src/services/pubsub.ts +36 -36
- package/src/services/rabbitmq.ts +297 -125
- package/src/services/registry.ts +30 -26
- package/src/services/resource_manager.ts +57 -57
- package/src/services/run_command.ts +42 -42
- package/src/services/sca.ts +732 -371
- package/src/services/scf.ts +24 -24
- package/src/services/secrets_manager.ts +22 -22
- package/src/services/server_backup.ts +31 -31
- package/src/services/server_update.ts +17 -17
- package/src/services/service_account.ts +32 -30
- package/src/services/service_enablement.ts +28 -24
- package/src/services/sfs.ts +404 -395
- package/src/services/ske.ts +258 -228
- package/src/services/sqlserverflex.ts +47 -47
- package/src/services/stackit_marketplace.ts +39 -39
- package/src/services/telemetry_link.ts +136 -81
- package/src/services/telemetry_router.ts +283 -94
- package/src/services/ufw.ts +56 -54
- package/src/services/valkey.ts +290 -118
- package/src/services/vpn.ts +152 -142
- package/src/services/workflows.ts +65 -65
package/src/services/git.ts
CHANGED
|
@@ -65,13 +65,13 @@ export interface CreateAuthenticationRequest {
|
|
|
65
65
|
/** The IDP client secret to use. */
|
|
66
66
|
client_secret: string | Redacted.Redacted<string>;
|
|
67
67
|
/** The url of the icon to use for this authentication definition. */
|
|
68
|
-
icon_url?: string;
|
|
68
|
+
icon_url?: string | undefined;
|
|
69
69
|
/** The name to identify an authentication definition associated with a STACKIT Git instance. */
|
|
70
70
|
name: string;
|
|
71
71
|
/** The Oauth2 provider to use. */
|
|
72
|
-
provider?: string;
|
|
72
|
+
provider?: string | undefined;
|
|
73
73
|
/** Scopes defines the OIDC scopes to request. */
|
|
74
|
-
scopes?: string;
|
|
74
|
+
scopes?: string | undefined;
|
|
75
75
|
}
|
|
76
76
|
/** The current status of the authentication definition. */
|
|
77
77
|
export type AuthenticationStatus = "Creating" | "Updating" | "Deleting" | "Ready" | "Error";
|
|
@@ -96,7 +96,7 @@ export interface Authentication {
|
|
|
96
96
|
/** The current status of the authentication definition. */
|
|
97
97
|
status: AuthenticationStatus;
|
|
98
98
|
/** Provides additional information or error details when the status is 'Error'. */
|
|
99
|
-
status_message?: string;
|
|
99
|
+
status_message?: string | undefined;
|
|
100
100
|
}
|
|
101
101
|
/** A list of CIDR network addresses that are allowed to access the instance. */
|
|
102
102
|
export type Acl = Array<string>;
|
|
@@ -104,8 +104,8 @@ export type CreateInstanceRequestFlavor = "git-10" | "git-100";
|
|
|
104
104
|
export interface CreateInstanceRequest {
|
|
105
105
|
/** Project identifier. */
|
|
106
106
|
projectId: string;
|
|
107
|
-
acl?: Acl;
|
|
108
|
-
flavor?: CreateInstanceRequestFlavor | (string & {});
|
|
107
|
+
acl?: Acl | undefined;
|
|
108
|
+
flavor?: CreateInstanceRequestFlavor | (string & {}) | undefined;
|
|
109
109
|
/** A user chosen name to distinguish multiple STACKIT Git instances. */
|
|
110
110
|
name: string;
|
|
111
111
|
}
|
|
@@ -120,17 +120,21 @@ export type FeatureToggleDefaultEmailNotifications =
|
|
|
120
120
|
/** Feature toggles for instance pipelines */
|
|
121
121
|
export interface Pipelines {
|
|
122
122
|
/** The action URL for the pipelines */
|
|
123
|
-
action_url?: string | null;
|
|
123
|
+
action_url?: string | null | undefined;
|
|
124
124
|
/** Enable pipelines for this instance */
|
|
125
|
-
enabled?: boolean | null;
|
|
125
|
+
enabled?: boolean | null | undefined;
|
|
126
126
|
}
|
|
127
127
|
/** Feature toggles for the instance. */
|
|
128
128
|
export interface FeatureToggle {
|
|
129
129
|
/** Default email notifications. */
|
|
130
|
-
default_email_notifications?:
|
|
130
|
+
default_email_notifications?:
|
|
131
|
+
| FeatureToggleDefaultEmailNotifications
|
|
132
|
+
| (string & {})
|
|
133
|
+
| null
|
|
134
|
+
| undefined;
|
|
131
135
|
/** Enable local login. */
|
|
132
|
-
enable_local_login?: boolean | null;
|
|
133
|
-
pipelines?: Pipelines;
|
|
136
|
+
enable_local_login?: boolean | null | undefined;
|
|
137
|
+
pipelines?: Pipelines | undefined;
|
|
134
138
|
}
|
|
135
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. */
|
|
136
140
|
export type Labels = { [key: string]: string | undefined };
|
|
@@ -159,7 +163,7 @@ export interface Instance {
|
|
|
159
163
|
flavor: string;
|
|
160
164
|
/** A auto generated unique id which identifies the STACKIT Git instances. */
|
|
161
165
|
id: string;
|
|
162
|
-
labels?: Labels;
|
|
166
|
+
labels?: Labels | undefined;
|
|
163
167
|
/** A user chosen name to distinguish multiple STACKIT Git instances. */
|
|
164
168
|
name: string;
|
|
165
169
|
/** The current state of the STACKIT Git instance. */
|
|
@@ -175,12 +179,16 @@ export interface CreateRunnerRequest {
|
|
|
175
179
|
projectId: string;
|
|
176
180
|
/** Instance identifier. */
|
|
177
181
|
instanceId: string;
|
|
182
|
+
/** The runner's job family name. */
|
|
183
|
+
familyName?: string | undefined;
|
|
178
184
|
labels: CreateRunnerRequestLabelsList;
|
|
179
185
|
}
|
|
180
186
|
export type RunnerLabelsList = Array<string>;
|
|
181
187
|
/** Describes a runner associated to a STACKIT Git instance. */
|
|
182
188
|
export interface Runner {
|
|
183
189
|
created_at: string;
|
|
190
|
+
/** The runner's job family name. */
|
|
191
|
+
familyName?: string | undefined;
|
|
184
192
|
id: string;
|
|
185
193
|
labels: RunnerLabelsList;
|
|
186
194
|
/** The current status of the runner. */
|
|
@@ -194,7 +202,7 @@ export interface CreateUserRequest {
|
|
|
194
202
|
/** A user chosen email to distinguish multiple STACKIT Git instance Users. */
|
|
195
203
|
email: string;
|
|
196
204
|
/** Whether to force sending a reset password email. */
|
|
197
|
-
force_send_reset_password?: boolean;
|
|
205
|
+
force_send_reset_password?: boolean | undefined;
|
|
198
206
|
/** Name of the user. */
|
|
199
207
|
name: string;
|
|
200
208
|
/** A user password to allow user/pass instance login. */
|
|
@@ -207,7 +215,7 @@ export interface User {
|
|
|
207
215
|
/** A user chosen email to distinguish multiple STACKIT Git instance Users. */
|
|
208
216
|
email: string;
|
|
209
217
|
/** A auto generated unique id which identifies the STACKIT Git instances. */
|
|
210
|
-
id?: number;
|
|
218
|
+
id?: number | undefined;
|
|
211
219
|
/** Name of the user. */
|
|
212
220
|
name: string;
|
|
213
221
|
/** A user chosen username to distinguish multiple STACKIT Git instance Users. */
|
|
@@ -259,6 +267,56 @@ export interface GetInstanceRequest {
|
|
|
259
267
|
/** Instance identifier. */
|
|
260
268
|
instanceId: string;
|
|
261
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
|
+
}
|
|
262
320
|
export interface GetRunnerRequest {
|
|
263
321
|
/** Project identifier. */
|
|
264
322
|
projectId: string;
|
|
@@ -280,7 +338,7 @@ export interface GetUsersRequest {
|
|
|
280
338
|
/** Instance identifier. */
|
|
281
339
|
instanceId: string;
|
|
282
340
|
/** Page number for pagination (1-indexed). Each page contains up to 50 users. */
|
|
283
|
-
page?: number;
|
|
341
|
+
page?: number | undefined;
|
|
284
342
|
}
|
|
285
343
|
export type ListUsersUsersList = Array<User>;
|
|
286
344
|
/** A paginated list of STACKIT Git instance Users. */
|
|
@@ -337,15 +395,43 @@ export type ListInstancesInstancesList = Array<Instance>;
|
|
|
337
395
|
export interface ListInstances {
|
|
338
396
|
instances: ListInstancesInstancesList;
|
|
339
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
|
+
}
|
|
340
424
|
export interface ListRunnerRuntimesRequest {
|
|
341
425
|
/** Project identifier. */
|
|
342
426
|
projectId: string;
|
|
343
427
|
}
|
|
344
428
|
/** Describes a STACKIT Git Runner runtime. */
|
|
345
429
|
export interface RunnerRuntime {
|
|
430
|
+
/** Indicates the runner image architecture. */
|
|
431
|
+
arch: string;
|
|
346
432
|
/** Indicates the availability of the runner label */
|
|
347
433
|
availability: string;
|
|
348
|
-
/** Human-friendly description of the runtime and
|
|
434
|
+
/** Human-friendly description of the runtime and it's capabilities. */
|
|
349
435
|
description: string;
|
|
350
436
|
/** Human-friendly name of the runtime. */
|
|
351
437
|
display_name: string;
|
|
@@ -367,28 +453,28 @@ export interface PatchAuthenticationRequest {
|
|
|
367
453
|
/** Authentication Source identifier. */
|
|
368
454
|
authenticationId: string;
|
|
369
455
|
/** The well-known configuration url to use for this authentication definition. */
|
|
370
|
-
auto_discover_url?: string;
|
|
456
|
+
auto_discover_url?: string | undefined;
|
|
371
457
|
/** The IDP client id to use. */
|
|
372
|
-
client_id?: string;
|
|
458
|
+
client_id?: string | undefined;
|
|
373
459
|
/** The IDP client secret to use. */
|
|
374
|
-
client_secret?: string | Redacted.Redacted<string
|
|
460
|
+
client_secret?: string | Redacted.Redacted<string> | undefined;
|
|
375
461
|
/** The url of the icon to use for this authentication definition. */
|
|
376
|
-
icon_url?: string;
|
|
462
|
+
icon_url?: string | undefined;
|
|
377
463
|
/** The Oauth2 provider to use. */
|
|
378
|
-
provider?: string;
|
|
464
|
+
provider?: string | undefined;
|
|
379
465
|
/** Scopes defines the OIDC scopes to request. */
|
|
380
|
-
scopes?: string;
|
|
466
|
+
scopes?: string | undefined;
|
|
381
467
|
}
|
|
382
468
|
export interface PatchInstanceRequest {
|
|
383
469
|
/** Project identifier. */
|
|
384
470
|
projectId: string;
|
|
385
471
|
/** Instance identifier. */
|
|
386
472
|
instanceId: string;
|
|
387
|
-
acl?: Acl | null;
|
|
473
|
+
acl?: Acl | null | undefined;
|
|
388
474
|
/** Enable Admin IdP */
|
|
389
|
-
admin_login?: boolean;
|
|
390
|
-
feature_toggle?: FeatureToggle;
|
|
391
|
-
labels?: Labels;
|
|
475
|
+
admin_login?: boolean | undefined;
|
|
476
|
+
feature_toggle?: FeatureToggle | undefined;
|
|
477
|
+
labels?: Labels | undefined;
|
|
392
478
|
}
|
|
393
479
|
export interface UpdateUserRequest {
|
|
394
480
|
/** Project identifier. */
|
|
@@ -398,11 +484,11 @@ export interface UpdateUserRequest {
|
|
|
398
484
|
/** Instance User identifier. */
|
|
399
485
|
username: string;
|
|
400
486
|
/** A user chosen email to distinguish multiple STACKIT Git instance Users. */
|
|
401
|
-
email?: string;
|
|
487
|
+
email?: string | undefined;
|
|
402
488
|
/** Name of the user. */
|
|
403
|
-
name?: string;
|
|
489
|
+
name?: string | undefined;
|
|
404
490
|
/** A user password to allow user/pass instance login. */
|
|
405
|
-
password?: string | Redacted.Redacted<string
|
|
491
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
406
492
|
}
|
|
407
493
|
export type CreateAuthenticationError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
408
494
|
/** Creates an authentication source Creates an authentication source for the corresponding STACKIT Git instance */
|
|
@@ -412,8 +498,8 @@ export const createAuthentication: API.OperationMethod<
|
|
|
412
498
|
CreateAuthenticationError,
|
|
413
499
|
StackitOpContext
|
|
414
500
|
> = /*@__PURE__*/ API.make(() => ({
|
|
415
|
-
input: __S(
|
|
416
|
-
output: __S(
|
|
501
|
+
input: __S(68, __c17, 0) as any as S.Schema<CreateAuthenticationRequest>,
|
|
502
|
+
output: __S(72, __c18, 0) as any as S.Schema<Authentication>,
|
|
417
503
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
418
504
|
protocol: StackitProtocol,
|
|
419
505
|
retry: Retry.Retry,
|
|
@@ -429,8 +515,8 @@ export const createInstance: API.OperationMethod<
|
|
|
429
515
|
CreateInstanceError,
|
|
430
516
|
StackitOpContext
|
|
431
517
|
> = /*@__PURE__*/ API.make(() => ({
|
|
432
|
-
input: __S(
|
|
433
|
-
output: __S(
|
|
518
|
+
input: __S(76, __c19, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
519
|
+
output: __S(83, __c20, 3) as any as S.Schema<Instance>,
|
|
434
520
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
435
521
|
protocol: StackitProtocol,
|
|
436
522
|
retry: Retry.Retry,
|
|
@@ -446,8 +532,8 @@ export const createRunner: API.OperationMethod<
|
|
|
446
532
|
CreateRunnerError,
|
|
447
533
|
StackitOpContext
|
|
448
534
|
> = /*@__PURE__*/ API.make(() => ({
|
|
449
|
-
input: __S(
|
|
450
|
-
output: __S(
|
|
535
|
+
input: __S(88, __c22, 0) as any as S.Schema<CreateRunnerRequest>,
|
|
536
|
+
output: __S(92, __c23, 0) as any as S.Schema<Runner>,
|
|
451
537
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
452
538
|
protocol: StackitProtocol,
|
|
453
539
|
retry: Retry.Retry,
|
|
@@ -463,8 +549,8 @@ export const createUser: API.OperationMethod<
|
|
|
463
549
|
CreateUserError,
|
|
464
550
|
StackitOpContext
|
|
465
551
|
> = /*@__PURE__*/ API.make(() => ({
|
|
466
|
-
input: __S(
|
|
467
|
-
output: __S(
|
|
552
|
+
input: __S(96, __c24, 0) as any as S.Schema<CreateUserRequest>,
|
|
553
|
+
output: __S(100, __c25, 0) as any as S.Schema<User>,
|
|
468
554
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
469
555
|
protocol: StackitProtocol,
|
|
470
556
|
retry: Retry.Retry,
|
|
@@ -480,8 +566,8 @@ export const deleteAuthentication: API.OperationMethod<
|
|
|
480
566
|
DeleteAuthenticationError,
|
|
481
567
|
StackitOpContext
|
|
482
568
|
> = /*@__PURE__*/ API.make(() => ({
|
|
483
|
-
input: __S(
|
|
484
|
-
output: __S(
|
|
569
|
+
input: __S(104, __c26, 0) as any as S.Schema<DeleteAuthenticationRequest>,
|
|
570
|
+
output: __S(108, __c27, 0) as any as S.Schema<DeleteAuthenticationResponse>,
|
|
485
571
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
486
572
|
protocol: StackitProtocol,
|
|
487
573
|
retry: Retry.Retry,
|
|
@@ -497,8 +583,8 @@ export const deleteInstance: API.OperationMethod<
|
|
|
497
583
|
DeleteInstanceError,
|
|
498
584
|
StackitOpContext
|
|
499
585
|
> = /*@__PURE__*/ API.make(() => ({
|
|
500
|
-
input: __S(
|
|
501
|
-
output: __S(
|
|
586
|
+
input: __S(112, __c28, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
587
|
+
output: __S(108, __c27, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
502
588
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
503
589
|
protocol: StackitProtocol,
|
|
504
590
|
retry: Retry.Retry,
|
|
@@ -514,8 +600,8 @@ export const deleteRunner: API.OperationMethod<
|
|
|
514
600
|
DeleteRunnerError,
|
|
515
601
|
StackitOpContext
|
|
516
602
|
> = /*@__PURE__*/ API.make(() => ({
|
|
517
|
-
input: __S(
|
|
518
|
-
output: __S(
|
|
603
|
+
input: __S(116, __c29, 0) as any as S.Schema<DeleteRunnerRequest>,
|
|
604
|
+
output: __S(108, __c27, 0) as any as S.Schema<DeleteRunnerResponse>,
|
|
519
605
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
520
606
|
protocol: StackitProtocol,
|
|
521
607
|
retry: Retry.Retry,
|
|
@@ -532,7 +618,7 @@ export const deleteUser: API.OperationMethod<
|
|
|
532
618
|
StackitOpContext
|
|
533
619
|
> = /*@__PURE__*/ API.make(() => ({
|
|
534
620
|
input: __S(0, __c0, 0) as any as S.Schema<DeleteUserRequest>,
|
|
535
|
-
output: __S(
|
|
621
|
+
output: __S(108, __c27, 0) as any as S.Schema<DeleteUserResponse>,
|
|
536
622
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
537
623
|
protocol: StackitProtocol,
|
|
538
624
|
retry: Retry.Retry,
|
|
@@ -549,7 +635,7 @@ export const getAuthentication: API.OperationMethod<
|
|
|
549
635
|
StackitOpContext
|
|
550
636
|
> = /*@__PURE__*/ API.make(() => ({
|
|
551
637
|
input: __S(4, __c1, 0) as any as S.Schema<GetAuthenticationRequest>,
|
|
552
|
-
output: __S(
|
|
638
|
+
output: __S(72, __c18, 0) as any as S.Schema<Authentication>,
|
|
553
639
|
errors: [BadRequest, UnknownStackitError],
|
|
554
640
|
protocol: StackitProtocol,
|
|
555
641
|
retry: Retry.Retry,
|
|
@@ -566,7 +652,7 @@ export const getInstance: API.OperationMethod<
|
|
|
566
652
|
StackitOpContext
|
|
567
653
|
> = /*@__PURE__*/ API.make(() => ({
|
|
568
654
|
input: __S(8, __c2, 0) as any as S.Schema<GetInstanceRequest>,
|
|
569
|
-
output: __S(
|
|
655
|
+
output: __S(83, __c20, 3) as any as S.Schema<Instance>,
|
|
570
656
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
571
657
|
protocol: StackitProtocol,
|
|
572
658
|
retry: Retry.Retry,
|
|
@@ -574,6 +660,40 @@ export const getInstance: API.OperationMethod<
|
|
|
574
660
|
span: "GetInstance",
|
|
575
661
|
}));
|
|
576
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>,
|
|
690
|
+
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
691
|
+
protocol: StackitProtocol,
|
|
692
|
+
retry: Retry.Retry,
|
|
693
|
+
telemetry: TELEMETRY,
|
|
694
|
+
span: "GetOrganizationTeams",
|
|
695
|
+
}));
|
|
696
|
+
|
|
577
697
|
export type GetRunnerError = BadRequest | NotFound | StackitOpError;
|
|
578
698
|
/** Get Runner information. Retrieves information about a runner in a STACKIT Git instance. */
|
|
579
699
|
export const getRunner: API.OperationMethod<
|
|
@@ -582,8 +702,8 @@ export const getRunner: API.OperationMethod<
|
|
|
582
702
|
GetRunnerError,
|
|
583
703
|
StackitOpContext
|
|
584
704
|
> = /*@__PURE__*/ API.make(() => ({
|
|
585
|
-
input: __S(
|
|
586
|
-
output: __S(
|
|
705
|
+
input: __S(24, __c6, 0) as any as S.Schema<GetRunnerRequest>,
|
|
706
|
+
output: __S(92, __c23, 0) as any as S.Schema<Runner>,
|
|
587
707
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
588
708
|
protocol: StackitProtocol,
|
|
589
709
|
retry: Retry.Retry,
|
|
@@ -599,8 +719,8 @@ export const getUser: API.OperationMethod<
|
|
|
599
719
|
GetUserError,
|
|
600
720
|
StackitOpContext
|
|
601
721
|
> = /*@__PURE__*/ API.make(() => ({
|
|
602
|
-
input: __S(
|
|
603
|
-
output: __S(
|
|
722
|
+
input: __S(28, __c7, 0) as any as S.Schema<GetUserRequest>,
|
|
723
|
+
output: __S(108, __c27, 0) as any as S.Schema<GetUserResponse>,
|
|
604
724
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
605
725
|
protocol: StackitProtocol,
|
|
606
726
|
retry: Retry.Retry,
|
|
@@ -616,8 +736,8 @@ export const getUsers: API.OperationMethod<
|
|
|
616
736
|
GetUsersError,
|
|
617
737
|
StackitOpContext
|
|
618
738
|
> = /*@__PURE__*/ API.make(() => ({
|
|
619
|
-
input: __S(
|
|
620
|
-
output: __S(
|
|
739
|
+
input: __S(32, __c8, 0) as any as S.Schema<GetUsersRequest>,
|
|
740
|
+
output: __S(34, __c8, 2) as any as S.Schema<ListUsers>,
|
|
621
741
|
errors: [BadRequest, UnknownStackitError],
|
|
622
742
|
protocol: StackitProtocol,
|
|
623
743
|
retry: Retry.Retry,
|
|
@@ -633,8 +753,8 @@ export const listAuthentication: API.OperationMethod<
|
|
|
633
753
|
ListAuthenticationError,
|
|
634
754
|
StackitOpContext
|
|
635
755
|
> = /*@__PURE__*/ API.make(() => ({
|
|
636
|
-
input: __S(
|
|
637
|
-
output: __S(
|
|
756
|
+
input: __S(36, __c9, 0) as any as S.Schema<ListAuthenticationRequest>,
|
|
757
|
+
output: __S(38, __c9, 2) as any as S.Schema<AuthenticationList>,
|
|
638
758
|
errors: [BadRequest, UnknownStackitError],
|
|
639
759
|
protocol: StackitProtocol,
|
|
640
760
|
retry: Retry.Retry,
|
|
@@ -650,8 +770,8 @@ export const listFlavors2: API.OperationMethod<
|
|
|
650
770
|
ListFlavors2Error,
|
|
651
771
|
StackitOpContext
|
|
652
772
|
> = /*@__PURE__*/ API.make(() => ({
|
|
653
|
-
input: __S(
|
|
654
|
-
output: __S(
|
|
773
|
+
input: __S(40, __c10, 0) as any as S.Schema<ListFlavorsRequest>,
|
|
774
|
+
output: __S(43, __c10, 3) as any as S.Schema<ListFlavors>,
|
|
655
775
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
656
776
|
protocol: StackitProtocol,
|
|
657
777
|
retry: Retry.Retry,
|
|
@@ -667,8 +787,8 @@ export const listInstances2: API.OperationMethod<
|
|
|
667
787
|
ListInstances2Error,
|
|
668
788
|
StackitOpContext
|
|
669
789
|
> = /*@__PURE__*/ API.make(() => ({
|
|
670
|
-
input: __S(
|
|
671
|
-
output: __S(
|
|
790
|
+
input: __S(44, __c11, 0) as any as S.Schema<ListInstancesRequest>,
|
|
791
|
+
output: __S(46, __c11, 2) as any as S.Schema<ListInstances>,
|
|
672
792
|
errors: [BadRequest, UnknownStackitError],
|
|
673
793
|
protocol: StackitProtocol,
|
|
674
794
|
retry: Retry.Retry,
|
|
@@ -676,6 +796,23 @@ export const listInstances2: API.OperationMethod<
|
|
|
676
796
|
span: "ListInstances2",
|
|
677
797
|
}));
|
|
678
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",
|
|
814
|
+
}));
|
|
815
|
+
|
|
679
816
|
export type ListRunnerRuntimesError = BadRequest | NotFound | StackitOpError;
|
|
680
817
|
/** A list of runner runtimes that are available to be enabled for the project. */
|
|
681
818
|
export const listRunnerRuntimes: API.OperationMethod<
|
|
@@ -684,8 +821,8 @@ export const listRunnerRuntimes: API.OperationMethod<
|
|
|
684
821
|
ListRunnerRuntimesError,
|
|
685
822
|
StackitOpContext
|
|
686
823
|
> = /*@__PURE__*/ API.make(() => ({
|
|
687
|
-
input: __S(
|
|
688
|
-
output: __S(
|
|
824
|
+
input: __S(52, __c13, 0) as any as S.Schema<ListRunnerRuntimesRequest>,
|
|
825
|
+
output: __S(55, __c13, 3) as any as S.Schema<RunnerRuntimeList>,
|
|
689
826
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
690
827
|
protocol: StackitProtocol,
|
|
691
828
|
retry: Retry.Retry,
|
|
@@ -701,8 +838,8 @@ export const patchAuthentication: API.OperationMethod<
|
|
|
701
838
|
PatchAuthenticationError,
|
|
702
839
|
StackitOpContext
|
|
703
840
|
> = /*@__PURE__*/ API.make(() => ({
|
|
704
|
-
input: __S(
|
|
705
|
-
output: __S(
|
|
841
|
+
input: __S(56, __c14, 0) as any as S.Schema<PatchAuthenticationRequest>,
|
|
842
|
+
output: __S(72, __c18, 0) as any as S.Schema<Authentication>,
|
|
706
843
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
707
844
|
protocol: StackitProtocol,
|
|
708
845
|
retry: Retry.Retry,
|
|
@@ -718,8 +855,8 @@ export const patchInstance: API.OperationMethod<
|
|
|
718
855
|
PatchInstanceError,
|
|
719
856
|
StackitOpContext
|
|
720
857
|
> = /*@__PURE__*/ API.make(() => ({
|
|
721
|
-
input: __S(
|
|
722
|
-
output: __S(
|
|
858
|
+
input: __S(60, __c15, 0) as any as S.Schema<PatchInstanceRequest>,
|
|
859
|
+
output: __S(83, __c20, 3) as any as S.Schema<Instance>,
|
|
723
860
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
724
861
|
protocol: StackitProtocol,
|
|
725
862
|
retry: Retry.Retry,
|
|
@@ -735,8 +872,8 @@ export const updateUser: API.OperationMethod<
|
|
|
735
872
|
UpdateUserError,
|
|
736
873
|
StackitOpContext
|
|
737
874
|
> = /*@__PURE__*/ API.make(() => ({
|
|
738
|
-
input: __S(
|
|
739
|
-
output: __S(
|
|
875
|
+
input: __S(64, __c16, 0) as any as S.Schema<UpdateUserRequest>,
|
|
876
|
+
output: __S(100, __c25, 0) as any as S.Schema<User>,
|
|
740
877
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
741
878
|
protocol: StackitProtocol,
|
|
742
879
|
retry: Retry.Retry,
|
|
@@ -802,6 +939,75 @@ function __c2(j: number): any {
|
|
|
802
939
|
}
|
|
803
940
|
}
|
|
804
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 {
|
|
805
1011
|
switch (j) {
|
|
806
1012
|
case 0:
|
|
807
1013
|
return S.suspend(() =>
|
|
@@ -819,7 +1025,7 @@ function __c3(j: number): any {
|
|
|
819
1025
|
).annotate({ identifier: "GetRunnerRequest" });
|
|
820
1026
|
}
|
|
821
1027
|
}
|
|
822
|
-
function
|
|
1028
|
+
function __c7(j: number): any {
|
|
823
1029
|
switch (j) {
|
|
824
1030
|
case 0:
|
|
825
1031
|
return S.suspend(() =>
|
|
@@ -838,7 +1044,7 @@ function __c4(j: number): any {
|
|
|
838
1044
|
).annotate({ identifier: "GetUserRequest" });
|
|
839
1045
|
}
|
|
840
1046
|
}
|
|
841
|
-
function
|
|
1047
|
+
function __c8(j: number): any {
|
|
842
1048
|
switch (j) {
|
|
843
1049
|
case 0:
|
|
844
1050
|
return S.suspend(() =>
|
|
@@ -856,19 +1062,19 @@ function __c5(j: number): any {
|
|
|
856
1062
|
),
|
|
857
1063
|
).annotate({ identifier: "GetUsersRequest" });
|
|
858
1064
|
case 1:
|
|
859
|
-
return S.Array(__S(
|
|
1065
|
+
return S.Array(__S(100, __c25, 0));
|
|
860
1066
|
case 2:
|
|
861
1067
|
return S.suspend(() =>
|
|
862
1068
|
S.Struct({
|
|
863
1069
|
itemsCount: S.Number,
|
|
864
1070
|
offset: S.Number,
|
|
865
1071
|
totalPages: S.Number,
|
|
866
|
-
users: __S(
|
|
1072
|
+
users: __S(33, __c8, 1),
|
|
867
1073
|
}),
|
|
868
1074
|
).annotate({ identifier: "ListUsers" });
|
|
869
1075
|
}
|
|
870
1076
|
}
|
|
871
|
-
function
|
|
1077
|
+
function __c9(j: number): any {
|
|
872
1078
|
switch (j) {
|
|
873
1079
|
case 0:
|
|
874
1080
|
return S.suspend(() =>
|
|
@@ -885,16 +1091,16 @@ function __c6(j: number): any {
|
|
|
885
1091
|
),
|
|
886
1092
|
).annotate({ identifier: "ListAuthenticationRequest" });
|
|
887
1093
|
case 1:
|
|
888
|
-
return S.Array(__S(
|
|
1094
|
+
return S.Array(__S(72, __c18, 0));
|
|
889
1095
|
case 2:
|
|
890
1096
|
return S.suspend(() =>
|
|
891
1097
|
S.Struct({
|
|
892
|
-
authentication: __S(
|
|
1098
|
+
authentication: __S(37, __c9, 1),
|
|
893
1099
|
}),
|
|
894
1100
|
).annotate({ identifier: "AuthenticationList" });
|
|
895
1101
|
}
|
|
896
1102
|
}
|
|
897
|
-
function
|
|
1103
|
+
function __c10(j: number): any {
|
|
898
1104
|
switch (j) {
|
|
899
1105
|
case 0:
|
|
900
1106
|
return S.suspend(() =>
|
|
@@ -920,16 +1126,16 @@ function __c7(j: number): any {
|
|
|
920
1126
|
}),
|
|
921
1127
|
).annotate({ identifier: "Flavor" });
|
|
922
1128
|
case 2:
|
|
923
|
-
return S.Array(__S(
|
|
1129
|
+
return S.Array(__S(41, __c10, 1));
|
|
924
1130
|
case 3:
|
|
925
1131
|
return S.suspend(() =>
|
|
926
1132
|
S.Struct({
|
|
927
|
-
flavors: __S(
|
|
1133
|
+
flavors: __S(42, __c10, 2),
|
|
928
1134
|
}),
|
|
929
1135
|
).annotate({ identifier: "ListFlavors" });
|
|
930
1136
|
}
|
|
931
1137
|
}
|
|
932
|
-
function
|
|
1138
|
+
function __c11(j: number): any {
|
|
933
1139
|
switch (j) {
|
|
934
1140
|
case 0:
|
|
935
1141
|
return S.suspend(() =>
|
|
@@ -945,16 +1151,53 @@ function __c8(j: number): any {
|
|
|
945
1151
|
),
|
|
946
1152
|
).annotate({ identifier: "ListInstancesRequest" });
|
|
947
1153
|
case 1:
|
|
948
|
-
return S.Array(__S(
|
|
1154
|
+
return S.Array(__S(83, __c20, 3));
|
|
949
1155
|
case 2:
|
|
950
1156
|
return S.suspend(() =>
|
|
951
1157
|
S.Struct({
|
|
952
|
-
instances: __S(
|
|
1158
|
+
instances: __S(45, __c11, 1),
|
|
953
1159
|
}),
|
|
954
1160
|
).annotate({ identifier: "ListInstances" });
|
|
955
1161
|
}
|
|
956
1162
|
}
|
|
957
|
-
function
|
|
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 {
|
|
958
1201
|
switch (j) {
|
|
959
1202
|
case 0:
|
|
960
1203
|
return S.suspend(() =>
|
|
@@ -972,6 +1215,7 @@ function __c9(j: number): any {
|
|
|
972
1215
|
case 1:
|
|
973
1216
|
return S.suspend(() =>
|
|
974
1217
|
S.Struct({
|
|
1218
|
+
arch: S.String,
|
|
975
1219
|
availability: S.String,
|
|
976
1220
|
description: S.String,
|
|
977
1221
|
display_name: S.String,
|
|
@@ -980,16 +1224,16 @@ function __c9(j: number): any {
|
|
|
980
1224
|
}),
|
|
981
1225
|
).annotate({ identifier: "RunnerRuntime" });
|
|
982
1226
|
case 2:
|
|
983
|
-
return S.Array(__S(
|
|
1227
|
+
return S.Array(__S(53, __c13, 1));
|
|
984
1228
|
case 3:
|
|
985
1229
|
return S.suspend(() =>
|
|
986
1230
|
S.Struct({
|
|
987
|
-
items: __S(
|
|
1231
|
+
items: __S(54, __c13, 2),
|
|
988
1232
|
}),
|
|
989
1233
|
).annotate({ identifier: "RunnerRuntimeList" });
|
|
990
1234
|
}
|
|
991
1235
|
}
|
|
992
|
-
function
|
|
1236
|
+
function __c14(j: number): any {
|
|
993
1237
|
switch (j) {
|
|
994
1238
|
case 0:
|
|
995
1239
|
return S.suspend(() =>
|
|
@@ -1014,17 +1258,17 @@ function __c10(j: number): any {
|
|
|
1014
1258
|
).annotate({ identifier: "PatchAuthenticationRequest" });
|
|
1015
1259
|
}
|
|
1016
1260
|
}
|
|
1017
|
-
function
|
|
1261
|
+
function __c15(j: number): any {
|
|
1018
1262
|
switch (j) {
|
|
1019
1263
|
case 0:
|
|
1020
1264
|
return S.suspend(() =>
|
|
1021
1265
|
S.Struct({
|
|
1022
1266
|
projectId: S.String.pipe(T.Label()),
|
|
1023
1267
|
instanceId: S.String.pipe(T.Label()),
|
|
1024
|
-
acl: S.optional(S.NullOr(__S(
|
|
1268
|
+
acl: S.optional(S.NullOr(__S(84, __c21, 0))),
|
|
1025
1269
|
admin_login: S.optional(S.Boolean),
|
|
1026
|
-
feature_toggle: S.optional(__S(
|
|
1027
|
-
labels: S.optional(__S(
|
|
1270
|
+
feature_toggle: S.optional(__S(81, __c20, 1)),
|
|
1271
|
+
labels: S.optional(__S(82, __c20, 2)),
|
|
1028
1272
|
}).pipe(
|
|
1029
1273
|
T.Http({
|
|
1030
1274
|
method: "PATCH",
|
|
@@ -1036,7 +1280,7 @@ function __c11(j: number): any {
|
|
|
1036
1280
|
).annotate({ identifier: "PatchInstanceRequest" });
|
|
1037
1281
|
}
|
|
1038
1282
|
}
|
|
1039
|
-
function
|
|
1283
|
+
function __c16(j: number): any {
|
|
1040
1284
|
switch (j) {
|
|
1041
1285
|
case 0:
|
|
1042
1286
|
return S.suspend(() =>
|
|
@@ -1058,7 +1302,7 @@ function __c12(j: number): any {
|
|
|
1058
1302
|
).annotate({ identifier: "UpdateUserRequest" });
|
|
1059
1303
|
}
|
|
1060
1304
|
}
|
|
1061
|
-
function
|
|
1305
|
+
function __c17(j: number): any {
|
|
1062
1306
|
switch (j) {
|
|
1063
1307
|
case 0:
|
|
1064
1308
|
return S.suspend(() =>
|
|
@@ -1083,7 +1327,7 @@ function __c13(j: number): any {
|
|
|
1083
1327
|
).annotate({ identifier: "CreateAuthenticationRequest" });
|
|
1084
1328
|
}
|
|
1085
1329
|
}
|
|
1086
|
-
function
|
|
1330
|
+
function __c18(j: number): any {
|
|
1087
1331
|
switch (j) {
|
|
1088
1332
|
case 0:
|
|
1089
1333
|
return S.suspend(() =>
|
|
@@ -1102,13 +1346,13 @@ function __c14(j: number): any {
|
|
|
1102
1346
|
).annotate({ identifier: "Authentication" });
|
|
1103
1347
|
}
|
|
1104
1348
|
}
|
|
1105
|
-
function
|
|
1349
|
+
function __c19(j: number): any {
|
|
1106
1350
|
switch (j) {
|
|
1107
1351
|
case 0:
|
|
1108
1352
|
return S.suspend(() =>
|
|
1109
1353
|
S.Struct({
|
|
1110
1354
|
projectId: S.String.pipe(T.Label()),
|
|
1111
|
-
acl: S.optional(__S(
|
|
1355
|
+
acl: S.optional(__S(84, __c21, 0)),
|
|
1112
1356
|
flavor: S.optional(S.String),
|
|
1113
1357
|
name: S.String,
|
|
1114
1358
|
}).pipe(
|
|
@@ -1122,7 +1366,7 @@ function __c15(j: number): any {
|
|
|
1122
1366
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1123
1367
|
}
|
|
1124
1368
|
}
|
|
1125
|
-
function
|
|
1369
|
+
function __c20(j: number): any {
|
|
1126
1370
|
switch (j) {
|
|
1127
1371
|
case 0:
|
|
1128
1372
|
return S.suspend(() =>
|
|
@@ -1136,7 +1380,7 @@ function __c16(j: number): any {
|
|
|
1136
1380
|
S.Struct({
|
|
1137
1381
|
default_email_notifications: S.optional(S.NullOr(S.String)),
|
|
1138
1382
|
enable_local_login: S.optional(S.NullOr(S.Boolean)),
|
|
1139
|
-
pipelines: S.optional(__S(
|
|
1383
|
+
pipelines: S.optional(__S(80, __c20, 0)),
|
|
1140
1384
|
}),
|
|
1141
1385
|
).annotate({ identifier: "FeatureToggle" });
|
|
1142
1386
|
case 2:
|
|
@@ -1144,15 +1388,15 @@ function __c16(j: number): any {
|
|
|
1144
1388
|
case 3:
|
|
1145
1389
|
return S.suspend(() =>
|
|
1146
1390
|
S.Struct({
|
|
1147
|
-
acl: __S(
|
|
1391
|
+
acl: __S(84, __c21, 0),
|
|
1148
1392
|
admin_login: S.Boolean,
|
|
1149
1393
|
consumed_disk: S.String,
|
|
1150
1394
|
consumed_object_storage: S.String,
|
|
1151
1395
|
created: S.String,
|
|
1152
|
-
feature_toggle: __S(
|
|
1396
|
+
feature_toggle: __S(81, __c20, 1),
|
|
1153
1397
|
flavor: S.String,
|
|
1154
1398
|
id: S.String,
|
|
1155
|
-
labels: S.optional(__S(
|
|
1399
|
+
labels: S.optional(__S(82, __c20, 2)),
|
|
1156
1400
|
name: S.String,
|
|
1157
1401
|
state: S.String,
|
|
1158
1402
|
url: S.String,
|
|
@@ -1161,20 +1405,21 @@ function __c16(j: number): any {
|
|
|
1161
1405
|
).annotate({ identifier: "Instance" });
|
|
1162
1406
|
}
|
|
1163
1407
|
}
|
|
1164
|
-
function
|
|
1408
|
+
function __c21(j: number): any {
|
|
1165
1409
|
switch (j) {
|
|
1166
1410
|
case 0:
|
|
1167
1411
|
return S.Array(S.String);
|
|
1168
1412
|
}
|
|
1169
1413
|
}
|
|
1170
|
-
function
|
|
1414
|
+
function __c22(j: number): any {
|
|
1171
1415
|
switch (j) {
|
|
1172
1416
|
case 0:
|
|
1173
1417
|
return S.suspend(() =>
|
|
1174
1418
|
S.Struct({
|
|
1175
1419
|
projectId: S.String.pipe(T.Label()),
|
|
1176
1420
|
instanceId: S.String.pipe(T.Label()),
|
|
1177
|
-
|
|
1421
|
+
familyName: S.optional(S.String),
|
|
1422
|
+
labels: __S(84, __c21, 0),
|
|
1178
1423
|
}).pipe(
|
|
1179
1424
|
T.Http({
|
|
1180
1425
|
method: "POST",
|
|
@@ -1186,20 +1431,21 @@ function __c18(j: number): any {
|
|
|
1186
1431
|
).annotate({ identifier: "CreateRunnerRequest" });
|
|
1187
1432
|
}
|
|
1188
1433
|
}
|
|
1189
|
-
function
|
|
1434
|
+
function __c23(j: number): any {
|
|
1190
1435
|
switch (j) {
|
|
1191
1436
|
case 0:
|
|
1192
1437
|
return S.suspend(() =>
|
|
1193
1438
|
S.Struct({
|
|
1194
1439
|
created_at: S.String,
|
|
1440
|
+
familyName: S.optional(S.String),
|
|
1195
1441
|
id: S.String,
|
|
1196
|
-
labels: __S(
|
|
1442
|
+
labels: __S(84, __c21, 0),
|
|
1197
1443
|
status: S.String,
|
|
1198
1444
|
}),
|
|
1199
1445
|
).annotate({ identifier: "Runner" });
|
|
1200
1446
|
}
|
|
1201
1447
|
}
|
|
1202
|
-
function
|
|
1448
|
+
function __c24(j: number): any {
|
|
1203
1449
|
switch (j) {
|
|
1204
1450
|
case 0:
|
|
1205
1451
|
return S.suspend(() =>
|
|
@@ -1222,7 +1468,7 @@ function __c20(j: number): any {
|
|
|
1222
1468
|
).annotate({ identifier: "CreateUserRequest" });
|
|
1223
1469
|
}
|
|
1224
1470
|
}
|
|
1225
|
-
function
|
|
1471
|
+
function __c25(j: number): any {
|
|
1226
1472
|
switch (j) {
|
|
1227
1473
|
case 0:
|
|
1228
1474
|
return S.suspend(() =>
|
|
@@ -1235,7 +1481,7 @@ function __c21(j: number): any {
|
|
|
1235
1481
|
).annotate({ identifier: "User" });
|
|
1236
1482
|
}
|
|
1237
1483
|
}
|
|
1238
|
-
function
|
|
1484
|
+
function __c26(j: number): any {
|
|
1239
1485
|
switch (j) {
|
|
1240
1486
|
case 0:
|
|
1241
1487
|
return S.suspend(() =>
|
|
@@ -1254,13 +1500,13 @@ function __c22(j: number): any {
|
|
|
1254
1500
|
).annotate({ identifier: "DeleteAuthenticationRequest" });
|
|
1255
1501
|
}
|
|
1256
1502
|
}
|
|
1257
|
-
function
|
|
1503
|
+
function __c27(j: number): any {
|
|
1258
1504
|
switch (j) {
|
|
1259
1505
|
case 0:
|
|
1260
1506
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteAuthenticationResponse" });
|
|
1261
1507
|
}
|
|
1262
1508
|
}
|
|
1263
|
-
function
|
|
1509
|
+
function __c28(j: number): any {
|
|
1264
1510
|
switch (j) {
|
|
1265
1511
|
case 0:
|
|
1266
1512
|
return S.suspend(() =>
|
|
@@ -1278,7 +1524,7 @@ function __c24(j: number): any {
|
|
|
1278
1524
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1279
1525
|
}
|
|
1280
1526
|
}
|
|
1281
|
-
function
|
|
1527
|
+
function __c29(j: number): any {
|
|
1282
1528
|
switch (j) {
|
|
1283
1529
|
case 0:
|
|
1284
1530
|
return S.suspend(() =>
|