@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.14
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/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +2 -5
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +9 -10
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.d.ts +2 -0
- package/lib/protocol.test.d.ts.map +1 -0
- package/lib/protocol.test.js +181 -0
- package/lib/protocol.test.js.map +1 -0
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +1 -1
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +33 -82
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +1 -1
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +23 -47
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +1 -1
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +19 -49
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +21 -58
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +49 -112
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +2 -2
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +91 -177
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +1 -1
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +13 -31
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +1 -1
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +17 -28
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +22 -55
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +72 -200
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +1 -1
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +28 -50
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +1 -1
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +14 -32
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +19 -43
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +1 -1
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +25 -57
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +31 -10
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +151 -376
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/intake.d.ts +1 -1
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +45 -83
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +1 -1
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +63 -103
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +1 -3
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +18 -37
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +1 -1
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +32 -77
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +1 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +39 -101
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -59
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +1 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -97
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +2 -2
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +27 -47
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +2 -2
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +29 -61
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +1 -1
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +76 -162
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +25 -1
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +52 -89
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +5 -5
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +170 -419
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +1 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +40 -100
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +1 -1
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +45 -98
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +2 -2
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +96 -261
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +2 -2
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +53 -148
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +2 -2
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +41 -103
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +1 -1
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +16 -39
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +5 -5
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +23 -53
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +1 -1
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +15 -33
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +18 -6
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +42 -75
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +1 -1
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +30 -78
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +1 -1
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +32 -78
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +1 -1
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +16 -36
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +1 -1
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +10 -22
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +1 -1
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -49
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +1 -1
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +11 -13
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +17 -17
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +34 -89
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +27 -1
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +49 -89
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +2 -2
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +104 -255
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +4 -4
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +17 -31
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +1 -1
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -52
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +1 -1
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +49 -88
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +1 -1
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +25 -47
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +2 -2
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +40 -100
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +1 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +98 -180
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +40 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +10 -16
- package/src/errors.ts +1 -1
- package/src/pagination.ts +6 -22
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +29 -47
- package/src/retry.ts +2 -8
- package/src/services/alb.ts +45 -128
- package/src/services/alb_waf.ts +35 -94
- package/src/services/authorization.ts +20 -56
- package/src/services/automation.ts +92 -262
- package/src/services/cdn.ts +191 -351
- package/src/services/certificates.ts +17 -49
- package/src/services/cost.ts +29 -64
- package/src/services/dns.ts +160 -495
- package/src/services/dremio.ts +35 -85
- package/src/services/edge.ts +37 -96
- package/src/services/functions.ts +31 -84
- package/src/services/git.ts +41 -122
- package/src/services/iaas.ts +392 -1184
- package/src/services/intake.ts +57 -124
- package/src/services/kms.ts +91 -192
- package/src/services/lb_ip_lists.ts +21 -56
- package/src/services/load_balancer.ts +43 -119
- package/src/services/logme.ts +55 -150
- package/src/services/logs.ts +57 -158
- package/src/services/mariadb.ts +45 -126
- package/src/services/model_experiments.ts +36 -92
- package/src/services/model_serving.ts +33 -76
- package/src/services/mongodb_flex.ts +113 -259
- package/src/services/object_storage.ts +101 -154
- package/src/services/observability.ts +635 -1127
- package/src/services/opensearch.ts +52 -141
- package/src/services/pim.ts +78 -183
- package/src/services/postgres_flex.ts +120 -366
- package/src/services/pubsub.ts +134 -277
- package/src/services/rabbitmq.ts +53 -145
- package/src/services/registry.ts +24 -72
- package/src/services/resource_manager.ts +46 -129
- package/src/services/run_command.ts +17 -45
- package/src/services/sca.ts +63 -98
- package/src/services/scf.ts +54 -195
- package/src/services/secrets_manager.ts +54 -136
- package/src/services/server_backup.ts +26 -75
- package/src/services/server_update.ts +15 -44
- package/src/services/service_account.ts +185 -272
- package/src/services/service_enablement.ts +18 -47
- package/src/services/sfs.ts +84 -166
- package/src/services/ske.ts +91 -113
- package/src/services/sqlserverflex.ts +147 -383
- package/src/services/stackit_marketplace.ts +184 -250
- package/src/services/telemetry_link.ts +199 -278
- package/src/services/telemetry_router.ts +73 -168
- package/src/services/ufw.ts +32 -82
- package/src/services/valkey.ts +54 -145
- package/src/services/vpn.ts +215 -404
- package/src/services/workflows.ts +57 -169
- package/src/traits.ts +2 -7
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -31
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -45
package/src/services/pim.ts
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
1
|
import * as API from "@distilled.cloud/core/api";
|
|
4
2
|
import * as C from "@distilled.cloud/core/category";
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
StackitProtocol,
|
|
8
|
-
type StackitOpError,
|
|
9
|
-
type StackitOpContext,
|
|
10
|
-
} from "../protocol.ts";
|
|
3
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
11
5
|
import { UnknownStackitError } from "../errors.ts";
|
|
6
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
12
7
|
import * as Retry from "../retry.ts";
|
|
8
|
+
import * as T from "../traits.ts";
|
|
13
9
|
|
|
14
10
|
export type { StackitOpError, StackitOpContext };
|
|
15
11
|
|
|
@@ -41,7 +37,7 @@ export class NotFound
|
|
|
41
37
|
) {}
|
|
42
38
|
|
|
43
39
|
export type GetCategoryRequestLanguage = "en" | "de";
|
|
44
|
-
export const GetCategoryRequestLanguage =
|
|
40
|
+
export const GetCategoryRequestLanguage = S.String;
|
|
45
41
|
|
|
46
42
|
export interface GetCategoryRequest {
|
|
47
43
|
/** The unique identifier for a category. */
|
|
@@ -61,9 +57,7 @@ export const GetCategoryRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
61
57
|
baseUrl: "https://pim.api.stackit.cloud",
|
|
62
58
|
}),
|
|
63
59
|
),
|
|
64
|
-
).annotate({
|
|
65
|
-
identifier: "GetCategoryRequest",
|
|
66
|
-
}) as any as S.Schema<GetCategoryRequest>;
|
|
60
|
+
).annotate({ identifier: "GetCategoryRequest" }) as any as S.Schema<GetCategoryRequest>;
|
|
67
61
|
|
|
68
62
|
export interface PublicCategory {
|
|
69
63
|
/** Description of the category */
|
|
@@ -94,7 +88,7 @@ export const PublicCategory = /*@__PURE__*/ S.suspend(() =>
|
|
|
94
88
|
).annotate({ identifier: "PublicCategory" }) as any as S.Schema<PublicCategory>;
|
|
95
89
|
|
|
96
90
|
export type GetProductRequestLanguage = "en" | "de";
|
|
97
|
-
export const GetProductRequestLanguage =
|
|
91
|
+
export const GetProductRequestLanguage = S.String;
|
|
98
92
|
|
|
99
93
|
export interface GetProductRequest {
|
|
100
94
|
/** The unique identifier for a product. */
|
|
@@ -114,9 +108,7 @@ export const GetProductRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
114
108
|
baseUrl: "https://pim.api.stackit.cloud",
|
|
115
109
|
}),
|
|
116
110
|
),
|
|
117
|
-
).annotate({
|
|
118
|
-
identifier: "GetProductRequest",
|
|
119
|
-
}) as any as S.Schema<GetProductRequest>;
|
|
111
|
+
).annotate({ identifier: "GetProductRequest" }) as any as S.Schema<GetProductRequest>;
|
|
120
112
|
|
|
121
113
|
/** Api identifier */
|
|
122
114
|
export type PublicProductApiIdentifierList = Array<string>;
|
|
@@ -165,7 +157,7 @@ export const PublicProduct = /*@__PURE__*/ S.suspend(() =>
|
|
|
165
157
|
).annotate({ identifier: "PublicProduct" }) as any as S.Schema<PublicProduct>;
|
|
166
158
|
|
|
167
159
|
export type GetProductMarketingDataRequestLanguage = "en" | "de";
|
|
168
|
-
export const GetProductMarketingDataRequestLanguage =
|
|
160
|
+
export const GetProductMarketingDataRequestLanguage = S.String;
|
|
169
161
|
|
|
170
162
|
export interface GetProductMarketingDataRequest {
|
|
171
163
|
/** The unique identifier for a product. */
|
|
@@ -176,9 +168,7 @@ export interface GetProductMarketingDataRequest {
|
|
|
176
168
|
export const GetProductMarketingDataRequest = /*@__PURE__*/ S.suspend(() =>
|
|
177
169
|
S.Struct({
|
|
178
170
|
productId: S.String.pipe(T.Label()),
|
|
179
|
-
language: S.optional(
|
|
180
|
-
GetProductMarketingDataRequestLanguage.pipe(T.Query()),
|
|
181
|
-
),
|
|
171
|
+
language: S.optional(GetProductMarketingDataRequestLanguage.pipe(T.Query())),
|
|
182
172
|
}).pipe(
|
|
183
173
|
T.Http({
|
|
184
174
|
method: "GET",
|
|
@@ -202,9 +192,7 @@ export const MarketingAdvantage = /*@__PURE__*/ S.suspend(() =>
|
|
|
202
192
|
advantage: S.optional(S.String),
|
|
203
193
|
position: S.optional(S.Number),
|
|
204
194
|
}),
|
|
205
|
-
).annotate({
|
|
206
|
-
identifier: "MarketingAdvantage",
|
|
207
|
-
}) as any as S.Schema<MarketingAdvantage>;
|
|
195
|
+
).annotate({ identifier: "MarketingAdvantage" }) as any as S.Schema<MarketingAdvantage>;
|
|
208
196
|
|
|
209
197
|
/** List of advantages of the product */
|
|
210
198
|
export type PublicMarketingDataAdvantagesList = Array<MarketingAdvantage>;
|
|
@@ -226,9 +214,7 @@ export const MarketingApplication = /*@__PURE__*/ S.suspend(() =>
|
|
|
226
214
|
applicationTitle: S.optional(S.String),
|
|
227
215
|
position: S.optional(S.Number),
|
|
228
216
|
}),
|
|
229
|
-
).annotate({
|
|
230
|
-
identifier: "MarketingApplication",
|
|
231
|
-
}) as any as S.Schema<MarketingApplication>;
|
|
217
|
+
).annotate({ identifier: "MarketingApplication" }) as any as S.Schema<MarketingApplication>;
|
|
232
218
|
|
|
233
219
|
/** List of applications provided by the product */
|
|
234
220
|
export type PublicMarketingDataApplicationsList = Array<MarketingApplication>;
|
|
@@ -247,9 +233,7 @@ export const MarketingFunction = /*@__PURE__*/ S.suspend(() =>
|
|
|
247
233
|
function: S.optional(S.String),
|
|
248
234
|
position: S.optional(S.Number),
|
|
249
235
|
}),
|
|
250
|
-
).annotate({
|
|
251
|
-
identifier: "MarketingFunction",
|
|
252
|
-
}) as any as S.Schema<MarketingFunction>;
|
|
236
|
+
).annotate({ identifier: "MarketingFunction" }) as any as S.Schema<MarketingFunction>;
|
|
253
237
|
|
|
254
238
|
/** List of functions provided by the product */
|
|
255
239
|
export type PublicMarketingDataFunctionsList = Array<MarketingFunction>;
|
|
@@ -298,12 +282,10 @@ export const PublicMarketingData = /*@__PURE__*/ S.suspend(() =>
|
|
|
298
282
|
validStart: S.optional(S.String),
|
|
299
283
|
version: S.optional(S.String),
|
|
300
284
|
}),
|
|
301
|
-
).annotate({
|
|
302
|
-
identifier: "PublicMarketingData",
|
|
303
|
-
}) as any as S.Schema<PublicMarketingData>;
|
|
285
|
+
).annotate({ identifier: "PublicMarketingData" }) as any as S.Schema<PublicMarketingData>;
|
|
304
286
|
|
|
305
287
|
export type GetSKURequestLanguage = "en" | "de";
|
|
306
|
-
export const GetSKURequestLanguage =
|
|
288
|
+
export const GetSKURequestLanguage = S.String;
|
|
307
289
|
|
|
308
290
|
export interface GetSKURequest {
|
|
309
291
|
/** The unique identifier for a SKU. */
|
|
@@ -340,11 +322,11 @@ export const FinOpsFocus = /*@__PURE__*/ S.suspend(() =>
|
|
|
340
322
|
|
|
341
323
|
/** Prices' currency code regarding ISO4217 */
|
|
342
324
|
export type CurrencyCodes = "EUR" | "USD" | "GBP";
|
|
343
|
-
export const CurrencyCodes =
|
|
325
|
+
export const CurrencyCodes = S.String;
|
|
344
326
|
|
|
345
327
|
/** Prices' currency symbol */
|
|
346
328
|
export type CurrencySymbols = "€" | "$";
|
|
347
|
-
export const CurrencySymbols =
|
|
329
|
+
export const CurrencySymbols = S.String;
|
|
348
330
|
|
|
349
331
|
export interface Price {
|
|
350
332
|
currencyCode?: CurrencyCodes;
|
|
@@ -387,12 +369,10 @@ export const GetSKUResponseServiceIdList = /*@__PURE__*/ S.Array(
|
|
|
387
369
|
) as any as S.Schema<GetSKUResponseServiceIdList>;
|
|
388
370
|
|
|
389
371
|
/** Performance Classes */
|
|
390
|
-
export type PublicDatabaseSpecificAttributesPerformanceClassesList =
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
S.String,
|
|
395
|
-
) as any as S.Schema<PublicDatabaseSpecificAttributesPerformanceClassesList>;
|
|
372
|
+
export type PublicDatabaseSpecificAttributesPerformanceClassesList = Array<string>;
|
|
373
|
+
export const PublicDatabaseSpecificAttributesPerformanceClassesList = /*@__PURE__*/ S.Array(
|
|
374
|
+
S.String,
|
|
375
|
+
) as any as S.Schema<PublicDatabaseSpecificAttributesPerformanceClassesList>;
|
|
396
376
|
|
|
397
377
|
export interface PublicDatabaseSpecificAttributes {
|
|
398
378
|
discriminator: string;
|
|
@@ -421,9 +401,7 @@ export const PublicDatabaseSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
|
421
401
|
diskStoragePerNode: S.optional(S.NullOr(S.String)),
|
|
422
402
|
flavor: S.optional(S.NullOr(S.String)),
|
|
423
403
|
nodes: S.optional(S.NullOr(S.Number)),
|
|
424
|
-
performanceClasses: S.optional(
|
|
425
|
-
PublicDatabaseSpecificAttributesPerformanceClassesList,
|
|
426
|
-
),
|
|
404
|
+
performanceClasses: S.optional(PublicDatabaseSpecificAttributesPerformanceClassesList),
|
|
427
405
|
ram: S.optional(S.NullOr(S.Number)),
|
|
428
406
|
storageMaxGb: S.optional(S.NullOr(S.Number)),
|
|
429
407
|
storageMinGb: S.optional(S.NullOr(S.Number)),
|
|
@@ -477,10 +455,8 @@ export const ComputeEngineSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
|
477
455
|
identifier: "ComputeEngineSpecificAttributes",
|
|
478
456
|
}) as any as S.Schema<ComputeEngineSpecificAttributes>;
|
|
479
457
|
|
|
480
|
-
export type ComputeEngineGPUSpecificAttributes =
|
|
481
|
-
|
|
482
|
-
export const ComputeEngineGPUSpecificAttributes =
|
|
483
|
-
ComputeEngineSpecificAttributes;
|
|
458
|
+
export type ComputeEngineGPUSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
459
|
+
export const ComputeEngineGPUSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
484
460
|
|
|
485
461
|
export interface NetworkSpecificAttributes {
|
|
486
462
|
/** Connection limit per Load Balancer */
|
|
@@ -550,24 +526,21 @@ export interface LoggingAndMonitoringSpecificAttributes {
|
|
|
550
526
|
/** Type (e.g. `single`, `replica`) */
|
|
551
527
|
type?: string | null;
|
|
552
528
|
}
|
|
553
|
-
export const LoggingAndMonitoringSpecificAttributes = /*@__PURE__*/ S.suspend(
|
|
554
|
-
(
|
|
555
|
-
S.
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
}),
|
|
529
|
+
export const LoggingAndMonitoringSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
530
|
+
S.Struct({
|
|
531
|
+
discriminator: S.String,
|
|
532
|
+
diskStoragePerNode: S.optional(S.NullOr(S.String)),
|
|
533
|
+
metricPerMin: S.optional(S.NullOr(S.Number)),
|
|
534
|
+
nodes: S.optional(S.NullOr(S.Number)),
|
|
535
|
+
targets: S.optional(S.NullOr(S.Number)),
|
|
536
|
+
type: S.optional(S.NullOr(S.String)),
|
|
537
|
+
}),
|
|
563
538
|
).annotate({
|
|
564
539
|
identifier: "LoggingAndMonitoringSpecificAttributes",
|
|
565
540
|
}) as any as S.Schema<LoggingAndMonitoringSpecificAttributes>;
|
|
566
541
|
|
|
567
|
-
export type ConfidentialComputingSpecificAttributes =
|
|
568
|
-
|
|
569
|
-
export const ConfidentialComputingSpecificAttributes =
|
|
570
|
-
ComputeEngineSpecificAttributes;
|
|
542
|
+
export type ConfidentialComputingSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
543
|
+
export const ConfidentialComputingSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
571
544
|
|
|
572
545
|
export interface StorageSpecificAttributes {
|
|
573
546
|
/** Storage Class type */
|
|
@@ -629,10 +602,9 @@ export const RuntimeSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
|
629
602
|
|
|
630
603
|
/** Communication Channel */
|
|
631
604
|
export type SupportSpecificAttributesCommunicationChannelList = Array<string>;
|
|
632
|
-
export const SupportSpecificAttributesCommunicationChannelList =
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
) as any as S.Schema<SupportSpecificAttributesCommunicationChannelList>;
|
|
605
|
+
export const SupportSpecificAttributesCommunicationChannelList = /*@__PURE__*/ S.Array(
|
|
606
|
+
S.String,
|
|
607
|
+
) as any as S.Schema<SupportSpecificAttributesCommunicationChannelList>;
|
|
636
608
|
|
|
637
609
|
export interface SupportSpecificAttributes {
|
|
638
610
|
/** Communication Channel */
|
|
@@ -685,9 +657,7 @@ export interface SupportSpecificAttributes {
|
|
|
685
657
|
}
|
|
686
658
|
export const SupportSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
687
659
|
S.Struct({
|
|
688
|
-
communicationChannel: S.optional(
|
|
689
|
-
SupportSpecificAttributesCommunicationChannelList,
|
|
690
|
-
),
|
|
660
|
+
communicationChannel: S.optional(SupportSpecificAttributesCommunicationChannelList),
|
|
691
661
|
contractNoticePeriodInDays: S.optional(S.NullOr(S.Number)),
|
|
692
662
|
discriminator: S.String,
|
|
693
663
|
escalationAvailabilityBCINC: S.optional(S.NullOr(S.String)),
|
|
@@ -766,9 +736,7 @@ export const PublicSavingsPlan = /*@__PURE__*/ S.suspend(() =>
|
|
|
766
736
|
discount: S.optional(S.Number),
|
|
767
737
|
validityPeriodInYears: S.optional(S.Number),
|
|
768
738
|
}),
|
|
769
|
-
).annotate({
|
|
770
|
-
identifier: "PublicSavingsPlan",
|
|
771
|
-
}) as any as S.Schema<PublicSavingsPlan>;
|
|
739
|
+
).annotate({ identifier: "PublicSavingsPlan" }) as any as S.Schema<PublicSavingsPlan>;
|
|
772
740
|
|
|
773
741
|
export type GetSKUResponseSavingsPlansList = Array<PublicSavingsPlan>;
|
|
774
742
|
export const GetSKUResponseSavingsPlansList = /*@__PURE__*/ S.Array(
|
|
@@ -864,15 +832,13 @@ export const GetSKUResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
864
832
|
unitBilling: S.String,
|
|
865
833
|
validStart: S.String,
|
|
866
834
|
version: S.String,
|
|
867
|
-
productSpecificAttributes: S.optional(
|
|
868
|
-
GetSKUResponseProductSpecificAttributes,
|
|
869
|
-
),
|
|
835
|
+
productSpecificAttributes: S.optional(GetSKUResponseProductSpecificAttributes),
|
|
870
836
|
savingsPlans: S.optional(GetSKUResponseSavingsPlansList),
|
|
871
837
|
}),
|
|
872
838
|
).annotate({ identifier: "GetSKUResponse" }) as any as S.Schema<GetSKUResponse>;
|
|
873
839
|
|
|
874
840
|
export type GetSTAXSKURequestLanguage = "en" | "de";
|
|
875
|
-
export const GetSTAXSKURequestLanguage =
|
|
841
|
+
export const GetSTAXSKURequestLanguage = S.String;
|
|
876
842
|
|
|
877
843
|
export interface GetSTAXSKURequest {
|
|
878
844
|
/** The unique identifier for a SKU. */
|
|
@@ -892,9 +858,7 @@ export const GetSTAXSKURequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
892
858
|
baseUrl: "https://pim.api.stackit.cloud",
|
|
893
859
|
}),
|
|
894
860
|
),
|
|
895
|
-
).annotate({
|
|
896
|
-
identifier: "GetSTAXSKURequest",
|
|
897
|
-
}) as any as S.Schema<GetSTAXSKURequest>;
|
|
861
|
+
).annotate({ identifier: "GetSTAXSKURequest" }) as any as S.Schema<GetSTAXSKURequest>;
|
|
898
862
|
|
|
899
863
|
/** List of prices */
|
|
900
864
|
export type GetSTAXSKUResponsePricesList = Array<Price>;
|
|
@@ -1019,17 +983,13 @@ export const GetSTAXSKUResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1019
983
|
unitBilling: S.String,
|
|
1020
984
|
validStart: S.String,
|
|
1021
985
|
version: S.String,
|
|
1022
|
-
productSpecificAttributes: S.optional(
|
|
1023
|
-
GetSTAXSKUResponseProductSpecificAttributes,
|
|
1024
|
-
),
|
|
986
|
+
productSpecificAttributes: S.optional(GetSTAXSKUResponseProductSpecificAttributes),
|
|
1025
987
|
savingsPlans: S.optional(GetSTAXSKUResponseSavingsPlansList),
|
|
1026
988
|
}),
|
|
1027
|
-
).annotate({
|
|
1028
|
-
identifier: "GetSTAXSKUResponse",
|
|
1029
|
-
}) as any as S.Schema<GetSTAXSKUResponse>;
|
|
989
|
+
).annotate({ identifier: "GetSTAXSKUResponse" }) as any as S.Schema<GetSTAXSKUResponse>;
|
|
1030
990
|
|
|
1031
991
|
export type ListCategoriesRequestLanguage = "en" | "de";
|
|
1032
|
-
export const ListCategoriesRequestLanguage =
|
|
992
|
+
export const ListCategoriesRequestLanguage = S.String;
|
|
1033
993
|
|
|
1034
994
|
export interface ListCategoriesRequest {
|
|
1035
995
|
/** The number of items to retrieve per page */
|
|
@@ -1055,9 +1015,7 @@ export const ListCategoriesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1055
1015
|
baseUrl: "https://pim.api.stackit.cloud",
|
|
1056
1016
|
}),
|
|
1057
1017
|
),
|
|
1058
|
-
).annotate({
|
|
1059
|
-
identifier: "ListCategoriesRequest",
|
|
1060
|
-
}) as any as S.Schema<ListCategoriesRequest>;
|
|
1018
|
+
).annotate({ identifier: "ListCategoriesRequest" }) as any as S.Schema<ListCategoriesRequest>;
|
|
1061
1019
|
|
|
1062
1020
|
export type ListCategoriesResponseDataList = Array<PublicCategory>;
|
|
1063
1021
|
export const ListCategoriesResponseDataList = /*@__PURE__*/ S.Array(
|
|
@@ -1075,9 +1033,7 @@ export const MetaInformation = /*@__PURE__*/ S.suspend(() =>
|
|
|
1075
1033
|
nextCursor: S.optional(S.String),
|
|
1076
1034
|
pageSize: S.optional(S.Number),
|
|
1077
1035
|
}),
|
|
1078
|
-
).annotate({
|
|
1079
|
-
identifier: "MetaInformation",
|
|
1080
|
-
}) as any as S.Schema<MetaInformation>;
|
|
1036
|
+
).annotate({ identifier: "MetaInformation" }) as any as S.Schema<MetaInformation>;
|
|
1081
1037
|
|
|
1082
1038
|
export interface ListCategoriesResponse {
|
|
1083
1039
|
data?: ListCategoriesResponseDataList;
|
|
@@ -1088,12 +1044,10 @@ export const ListCategoriesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1088
1044
|
data: S.optional(ListCategoriesResponseDataList),
|
|
1089
1045
|
meta: S.optional(MetaInformation),
|
|
1090
1046
|
}),
|
|
1091
|
-
).annotate({
|
|
1092
|
-
identifier: "ListCategoriesResponse",
|
|
1093
|
-
}) as any as S.Schema<ListCategoriesResponse>;
|
|
1047
|
+
).annotate({ identifier: "ListCategoriesResponse" }) as any as S.Schema<ListCategoriesResponse>;
|
|
1094
1048
|
|
|
1095
1049
|
export type ListCategoryProductsRequestLanguage = "en" | "de";
|
|
1096
|
-
export const ListCategoryProductsRequestLanguage =
|
|
1050
|
+
export const ListCategoryProductsRequestLanguage = S.String;
|
|
1097
1051
|
|
|
1098
1052
|
export interface ListCategoryProductsRequest {
|
|
1099
1053
|
/** The unique identifier for a category. */
|
|
@@ -1145,7 +1099,7 @@ export const ListCategoryProductsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1145
1099
|
}) as any as S.Schema<ListCategoryProductsResponse>;
|
|
1146
1100
|
|
|
1147
1101
|
export type ListMarketingDataRequestLanguage = "en" | "de";
|
|
1148
|
-
export const ListMarketingDataRequestLanguage =
|
|
1102
|
+
export const ListMarketingDataRequestLanguage = S.String;
|
|
1149
1103
|
|
|
1150
1104
|
export interface ListMarketingDataRequest {
|
|
1151
1105
|
/** The number of items to retrieve per page */
|
|
@@ -1171,9 +1125,7 @@ export const ListMarketingDataRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1171
1125
|
baseUrl: "https://pim.api.stackit.cloud",
|
|
1172
1126
|
}),
|
|
1173
1127
|
),
|
|
1174
|
-
).annotate({
|
|
1175
|
-
identifier: "ListMarketingDataRequest",
|
|
1176
|
-
}) as any as S.Schema<ListMarketingDataRequest>;
|
|
1128
|
+
).annotate({ identifier: "ListMarketingDataRequest" }) as any as S.Schema<ListMarketingDataRequest>;
|
|
1177
1129
|
|
|
1178
1130
|
export type ListMarketingDataResponseDataList = Array<PublicMarketingData>;
|
|
1179
1131
|
export const ListMarketingDataResponseDataList = /*@__PURE__*/ S.Array(
|
|
@@ -1194,7 +1146,7 @@ export const ListMarketingDataResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1194
1146
|
}) as any as S.Schema<ListMarketingDataResponse>;
|
|
1195
1147
|
|
|
1196
1148
|
export type ListProductsRequestLanguage = "en" | "de";
|
|
1197
|
-
export const ListProductsRequestLanguage =
|
|
1149
|
+
export const ListProductsRequestLanguage = S.String;
|
|
1198
1150
|
|
|
1199
1151
|
export interface ListProductsRequest {
|
|
1200
1152
|
/** The number of items to retrieve per page */
|
|
@@ -1223,9 +1175,7 @@ export const ListProductsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1223
1175
|
baseUrl: "https://pim.api.stackit.cloud",
|
|
1224
1176
|
}),
|
|
1225
1177
|
),
|
|
1226
|
-
).annotate({
|
|
1227
|
-
identifier: "ListProductsRequest",
|
|
1228
|
-
}) as any as S.Schema<ListProductsRequest>;
|
|
1178
|
+
).annotate({ identifier: "ListProductsRequest" }) as any as S.Schema<ListProductsRequest>;
|
|
1229
1179
|
|
|
1230
1180
|
export type ListProductsResponseDataList = Array<PublicProduct>;
|
|
1231
1181
|
export const ListProductsResponseDataList = /*@__PURE__*/ S.Array(
|
|
@@ -1241,12 +1191,10 @@ export const ListProductsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1241
1191
|
data: S.optional(ListProductsResponseDataList),
|
|
1242
1192
|
meta: S.optional(MetaInformation),
|
|
1243
1193
|
}),
|
|
1244
|
-
).annotate({
|
|
1245
|
-
identifier: "ListProductsResponse",
|
|
1246
|
-
}) as any as S.Schema<ListProductsResponse>;
|
|
1194
|
+
).annotate({ identifier: "ListProductsResponse" }) as any as S.Schema<ListProductsResponse>;
|
|
1247
1195
|
|
|
1248
1196
|
export type ListProductSKUsRequestLanguage = "en" | "de";
|
|
1249
|
-
export const ListProductSKUsRequestLanguage =
|
|
1197
|
+
export const ListProductSKUsRequestLanguage = S.String;
|
|
1250
1198
|
|
|
1251
1199
|
export type ListProductSKUsRequestRegionList = Array<string>;
|
|
1252
1200
|
export const ListProductSKUsRequestRegionList = /*@__PURE__*/ S.Array(
|
|
@@ -1283,9 +1231,7 @@ export const ListProductSKUsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1283
1231
|
baseUrl: "https://pim.api.stackit.cloud",
|
|
1284
1232
|
}),
|
|
1285
1233
|
),
|
|
1286
|
-
).annotate({
|
|
1287
|
-
identifier: "ListProductSKUsRequest",
|
|
1288
|
-
}) as any as S.Schema<ListProductSKUsRequest>;
|
|
1234
|
+
).annotate({ identifier: "ListProductSKUsRequest" }) as any as S.Schema<ListProductSKUsRequest>;
|
|
1289
1235
|
|
|
1290
1236
|
/** List of prices */
|
|
1291
1237
|
export type PublicSKUPricesList = Array<Price>;
|
|
@@ -1429,12 +1375,10 @@ export const ListProductSKUsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1429
1375
|
data: S.optional(ListProductSKUsResponseDataList),
|
|
1430
1376
|
meta: S.optional(MetaInformation),
|
|
1431
1377
|
}),
|
|
1432
|
-
).annotate({
|
|
1433
|
-
identifier: "ListProductSKUsResponse",
|
|
1434
|
-
}) as any as S.Schema<ListProductSKUsResponse>;
|
|
1378
|
+
).annotate({ identifier: "ListProductSKUsResponse" }) as any as S.Schema<ListProductSKUsResponse>;
|
|
1435
1379
|
|
|
1436
1380
|
export type ListProductSTAXSKUsRequestLanguage = "en" | "de";
|
|
1437
|
-
export const ListProductSTAXSKUsRequestLanguage =
|
|
1381
|
+
export const ListProductSTAXSKUsRequestLanguage = S.String;
|
|
1438
1382
|
|
|
1439
1383
|
export type ListProductSTAXSKUsRequestRegionList = Array<string>;
|
|
1440
1384
|
export const ListProductSTAXSKUsRequestRegionList = /*@__PURE__*/ S.Array(
|
|
@@ -1494,7 +1438,7 @@ export const ListProductSTAXSKUsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1494
1438
|
}) as any as S.Schema<ListProductSTAXSKUsResponse>;
|
|
1495
1439
|
|
|
1496
1440
|
export type ListSKUsRequestLanguage = "en" | "de";
|
|
1497
|
-
export const ListSKUsRequestLanguage =
|
|
1441
|
+
export const ListSKUsRequestLanguage = S.String;
|
|
1498
1442
|
|
|
1499
1443
|
export type ListSKUsRequestRegionList = Array<string>;
|
|
1500
1444
|
export const ListSKUsRequestRegionList = /*@__PURE__*/ S.Array(
|
|
@@ -1527,16 +1471,9 @@ export const ListSKUsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1527
1471
|
skuName: S.optional(S.String.pipe(T.Query())),
|
|
1528
1472
|
region: S.optional(ListSKUsRequestRegionList.pipe(T.Query())),
|
|
1529
1473
|
}).pipe(
|
|
1530
|
-
T.Http({
|
|
1531
|
-
method: "GET",
|
|
1532
|
-
uri: "/v2/skus",
|
|
1533
|
-
code: 200,
|
|
1534
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
1535
|
-
}),
|
|
1474
|
+
T.Http({ method: "GET", uri: "/v2/skus", code: 200, baseUrl: "https://pim.api.stackit.cloud" }),
|
|
1536
1475
|
),
|
|
1537
|
-
).annotate({
|
|
1538
|
-
identifier: "ListSKUsRequest",
|
|
1539
|
-
}) as any as S.Schema<ListSKUsRequest>;
|
|
1476
|
+
).annotate({ identifier: "ListSKUsRequest" }) as any as S.Schema<ListSKUsRequest>;
|
|
1540
1477
|
|
|
1541
1478
|
export type ListSKUsResponseDataList = Array<PublicSKU>;
|
|
1542
1479
|
export const ListSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
@@ -1552,12 +1489,10 @@ export const ListSKUsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1552
1489
|
data: S.optional(ListSKUsResponseDataList),
|
|
1553
1490
|
meta: S.optional(MetaInformation),
|
|
1554
1491
|
}),
|
|
1555
|
-
).annotate({
|
|
1556
|
-
identifier: "ListSKUsResponse",
|
|
1557
|
-
}) as any as S.Schema<ListSKUsResponse>;
|
|
1492
|
+
).annotate({ identifier: "ListSKUsResponse" }) as any as S.Schema<ListSKUsResponse>;
|
|
1558
1493
|
|
|
1559
1494
|
export type ListSTAXSKUsRequestLanguage = "en" | "de";
|
|
1560
|
-
export const ListSTAXSKUsRequestLanguage =
|
|
1495
|
+
export const ListSTAXSKUsRequestLanguage = S.String;
|
|
1561
1496
|
|
|
1562
1497
|
export type ListSTAXSKUsRequestRegionList = Array<string>;
|
|
1563
1498
|
export const ListSTAXSKUsRequestRegionList = /*@__PURE__*/ S.Array(
|
|
@@ -1597,9 +1532,7 @@ export const ListSTAXSKUsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1597
1532
|
baseUrl: "https://pim.api.stackit.cloud",
|
|
1598
1533
|
}),
|
|
1599
1534
|
),
|
|
1600
|
-
).annotate({
|
|
1601
|
-
identifier: "ListSTAXSKUsRequest",
|
|
1602
|
-
}) as any as S.Schema<ListSTAXSKUsRequest>;
|
|
1535
|
+
).annotate({ identifier: "ListSTAXSKUsRequest" }) as any as S.Schema<ListSTAXSKUsRequest>;
|
|
1603
1536
|
|
|
1604
1537
|
export type ListSTAXSKUsResponseDataList = Array<PublicSKU>;
|
|
1605
1538
|
export const ListSTAXSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
@@ -1615,12 +1548,10 @@ export const ListSTAXSKUsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1615
1548
|
data: S.optional(ListSTAXSKUsResponseDataList),
|
|
1616
1549
|
meta: S.optional(MetaInformation),
|
|
1617
1550
|
}),
|
|
1618
|
-
).annotate({
|
|
1619
|
-
identifier: "ListSTAXSKUsResponse",
|
|
1620
|
-
}) as any as S.Schema<ListSTAXSKUsResponse>;
|
|
1551
|
+
).annotate({ identifier: "ListSTAXSKUsResponse" }) as any as S.Schema<ListSTAXSKUsResponse>;
|
|
1621
1552
|
|
|
1622
1553
|
export type SearchSKUsRequestLanguage = "en" | "de";
|
|
1623
|
-
export const SearchSKUsRequestLanguage =
|
|
1554
|
+
export const SearchSKUsRequestLanguage = S.String;
|
|
1624
1555
|
|
|
1625
1556
|
export interface SearchSKUsRequest {
|
|
1626
1557
|
/** The language to retrieve the data in, available for en and de */
|
|
@@ -1825,9 +1756,7 @@ export const SearchSKUsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
1825
1756
|
baseUrl: "https://pim.api.stackit.cloud",
|
|
1826
1757
|
}),
|
|
1827
1758
|
),
|
|
1828
|
-
).annotate({
|
|
1829
|
-
identifier: "SearchSKUsRequest",
|
|
1830
|
-
}) as any as S.Schema<SearchSKUsRequest>;
|
|
1759
|
+
).annotate({ identifier: "SearchSKUsRequest" }) as any as S.Schema<SearchSKUsRequest>;
|
|
1831
1760
|
|
|
1832
1761
|
export type SearchSKUsResponseDataList = Array<PublicSKU>;
|
|
1833
1762
|
export const SearchSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
@@ -1843,15 +1772,9 @@ export const SearchSKUsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
1843
1772
|
data: S.optional(SearchSKUsResponseDataList),
|
|
1844
1773
|
meta: S.optional(MetaInformation),
|
|
1845
1774
|
}),
|
|
1846
|
-
).annotate({
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
export type GetCategoryError =
|
|
1851
|
-
| BadRequest
|
|
1852
|
-
| Forbidden
|
|
1853
|
-
| NotFound
|
|
1854
|
-
| StackitOpError;
|
|
1775
|
+
).annotate({ identifier: "SearchSKUsResponse" }) as any as S.Schema<SearchSKUsResponse>;
|
|
1776
|
+
|
|
1777
|
+
export type GetCategoryError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1855
1778
|
/** Get category by ID Retrieves a specific category by its ID, available for general public. */
|
|
1856
1779
|
export const getCategory: API.OperationMethod<
|
|
1857
1780
|
GetCategoryRequest,
|
|
@@ -1866,11 +1789,7 @@ export const getCategory: API.OperationMethod<
|
|
|
1866
1789
|
retry: Retry.Retry,
|
|
1867
1790
|
}));
|
|
1868
1791
|
|
|
1869
|
-
export type GetProductError =
|
|
1870
|
-
| BadRequest
|
|
1871
|
-
| Forbidden
|
|
1872
|
-
| NotFound
|
|
1873
|
-
| StackitOpError;
|
|
1792
|
+
export type GetProductError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1874
1793
|
/** Get product by ID Retrieves a specific product by its ID, available for general public. */
|
|
1875
1794
|
export const getProduct: API.OperationMethod<
|
|
1876
1795
|
GetProductRequest,
|
|
@@ -1885,11 +1804,7 @@ export const getProduct: API.OperationMethod<
|
|
|
1885
1804
|
retry: Retry.Retry,
|
|
1886
1805
|
}));
|
|
1887
1806
|
|
|
1888
|
-
export type GetProductMarketingDataError =
|
|
1889
|
-
| BadRequest
|
|
1890
|
-
| Forbidden
|
|
1891
|
-
| NotFound
|
|
1892
|
-
| StackitOpError;
|
|
1807
|
+
export type GetProductMarketingDataError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1893
1808
|
/** Get marketing data for a product Retrieves the marketing data for a specific product, available for general public. */
|
|
1894
1809
|
export const getProductMarketingData: API.OperationMethod<
|
|
1895
1810
|
GetProductMarketingDataRequest,
|
|
@@ -1919,11 +1834,7 @@ export const getSKU: API.OperationMethod<
|
|
|
1919
1834
|
retry: Retry.Retry,
|
|
1920
1835
|
}));
|
|
1921
1836
|
|
|
1922
|
-
export type GetSTAXSKUError =
|
|
1923
|
-
| BadRequest
|
|
1924
|
-
| Forbidden
|
|
1925
|
-
| NotFound
|
|
1926
|
-
| StackitOpError;
|
|
1837
|
+
export type GetSTAXSKUError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1927
1838
|
/** Get STACKIT:X SKU by ID Retrieves a specific STACKIT:X SKU by its ID, available for general public. */
|
|
1928
1839
|
export const getSTAXSKU: API.OperationMethod<
|
|
1929
1840
|
GetSTAXSKURequest,
|
|
@@ -1953,11 +1864,7 @@ export const listCategories: API.OperationMethod<
|
|
|
1953
1864
|
retry: Retry.Retry,
|
|
1954
1865
|
}));
|
|
1955
1866
|
|
|
1956
|
-
export type ListCategoryProductsError =
|
|
1957
|
-
| BadRequest
|
|
1958
|
-
| Forbidden
|
|
1959
|
-
| NotFound
|
|
1960
|
-
| StackitOpError;
|
|
1867
|
+
export type ListCategoryProductsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1961
1868
|
/** List products in a category Retrieves a specific category's products, available for general public. */
|
|
1962
1869
|
export const listCategoryProducts: API.OperationMethod<
|
|
1963
1870
|
ListCategoryProductsRequest,
|
|
@@ -2002,11 +1909,7 @@ export const listProducts: API.OperationMethod<
|
|
|
2002
1909
|
retry: Retry.Retry,
|
|
2003
1910
|
}));
|
|
2004
1911
|
|
|
2005
|
-
export type ListProductSKUsError =
|
|
2006
|
-
| BadRequest
|
|
2007
|
-
| Forbidden
|
|
2008
|
-
| NotFound
|
|
2009
|
-
| StackitOpError;
|
|
1912
|
+
export type ListProductSKUsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2010
1913
|
/** List SKUs for a product Retrieves a list of all SKUs of a product, available for general public. */
|
|
2011
1914
|
export const listProductSKUs: API.OperationMethod<
|
|
2012
1915
|
ListProductSKUsRequest,
|
|
@@ -2021,11 +1924,7 @@ export const listProductSKUs: API.OperationMethod<
|
|
|
2021
1924
|
retry: Retry.Retry,
|
|
2022
1925
|
}));
|
|
2023
1926
|
|
|
2024
|
-
export type ListProductSTAXSKUsError =
|
|
2025
|
-
| BadRequest
|
|
2026
|
-
| Forbidden
|
|
2027
|
-
| NotFound
|
|
2028
|
-
| StackitOpError;
|
|
1927
|
+
export type ListProductSTAXSKUsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2029
1928
|
/** List STACKIT:X SKUs for a product Retrieves a list of all STACKIT:X SKUs of a product, available for general public. */
|
|
2030
1929
|
export const listProductSTAXSKUs: API.OperationMethod<
|
|
2031
1930
|
ListProductSTAXSKUsRequest,
|
|
@@ -2070,11 +1969,7 @@ export const listSTAXSKUs: API.OperationMethod<
|
|
|
2070
1969
|
retry: Retry.Retry,
|
|
2071
1970
|
}));
|
|
2072
1971
|
|
|
2073
|
-
export type SearchSKUsError =
|
|
2074
|
-
| BadRequest
|
|
2075
|
-
| Forbidden
|
|
2076
|
-
| NotFound
|
|
2077
|
-
| StackitOpError;
|
|
1972
|
+
export type SearchSKUsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
2078
1973
|
/** Performs a SKUs search with specific attributes Accepts a JSON object with a predefined set of optional attributes to be used as search criteria. */
|
|
2079
1974
|
export const searchSKUs: API.OperationMethod<
|
|
2080
1975
|
SearchSKUsRequest,
|