@distilled.cloud/stackit 0.0.0-stage → 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/LICENSE +201 -0
- package/README.md +33 -2
- package/lib/credentials.d.ts +29 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +49 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +30 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +30 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +9 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +45 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +32 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +147 -0
- package/lib/protocol.js.map +1 -0
- 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 +31 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +31 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/alb.d.ts +603 -0
- package/lib/services/alb.d.ts.map +1 -0
- package/lib/services/alb.js +513 -0
- package/lib/services/alb.js.map +1 -0
- package/lib/services/alb_waf.d.ts +526 -0
- package/lib/services/alb_waf.d.ts.map +1 -0
- package/lib/services/alb_waf.js +521 -0
- package/lib/services/alb_waf.js.map +1 -0
- package/lib/services/authorization.d.ts +251 -0
- package/lib/services/authorization.d.ts.map +1 -0
- package/lib/services/authorization.js +323 -0
- package/lib/services/authorization.js.map +1 -0
- package/lib/services/automation.d.ts +321 -0
- package/lib/services/automation.d.ts.map +1 -0
- package/lib/services/automation.js +363 -0
- package/lib/services/automation.js.map +1 -0
- package/lib/services/cdn.d.ts +1239 -0
- package/lib/services/cdn.d.ts.map +1 -0
- package/lib/services/cdn.js +906 -0
- package/lib/services/cdn.js.map +1 -0
- package/lib/services/certificates.d.ts +201 -0
- package/lib/services/certificates.d.ts.map +1 -0
- package/lib/services/certificates.js +179 -0
- package/lib/services/certificates.js.map +1 -0
- package/lib/services/cost.d.ts +222 -0
- package/lib/services/cost.d.ts.map +1 -0
- package/lib/services/cost.js +177 -0
- package/lib/services/cost.js.map +1 -0
- package/lib/services/dns.d.ts +842 -0
- package/lib/services/dns.d.ts.map +1 -0
- package/lib/services/dns.js +726 -0
- package/lib/services/dns.js.map +1 -0
- package/lib/services/dremio.d.ts +358 -0
- package/lib/services/dremio.d.ts.map +1 -0
- package/lib/services/dremio.js +317 -0
- package/lib/services/dremio.js.map +1 -0
- package/lib/services/edge.d.ts +312 -0
- package/lib/services/edge.d.ts.map +1 -0
- package/lib/services/edge.js +357 -0
- package/lib/services/edge.js.map +1 -0
- package/lib/services/functions.d.ts +409 -0
- package/lib/services/functions.d.ts.map +1 -0
- package/lib/services/functions.js +399 -0
- package/lib/services/functions.js.map +1 -0
- package/lib/services/git.d.ts +497 -0
- package/lib/services/git.d.ts.map +1 -0
- package/lib/services/git.js +520 -0
- package/lib/services/git.js.map +1 -0
- package/lib/services/iaas.d.ts +2986 -0
- package/lib/services/iaas.d.ts.map +1 -0
- package/lib/services/iaas.js +3543 -0
- package/lib/services/iaas.js.map +1 -0
- package/lib/services/index.d.ts +51 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +52 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/intake.d.ts +555 -0
- package/lib/services/intake.d.ts.map +1 -0
- package/lib/services/intake.js +475 -0
- package/lib/services/intake.js.map +1 -0
- package/lib/services/kms.d.ts +654 -0
- package/lib/services/kms.d.ts.map +1 -0
- package/lib/services/kms.js +663 -0
- package/lib/services/kms.js.map +1 -0
- package/lib/services/lb_ip_lists.d.ts +160 -0
- package/lib/services/lb_ip_lists.d.ts.map +1 -0
- package/lib/services/lb_ip_lists.js +154 -0
- package/lib/services/lb_ip_lists.js.map +1 -0
- package/lib/services/load_balancer.d.ts +563 -0
- package/lib/services/load_balancer.d.ts.map +1 -0
- package/lib/services/load_balancer.js +497 -0
- package/lib/services/load_balancer.js.map +1 -0
- package/lib/services/logme.d.ts +516 -0
- package/lib/services/logme.d.ts.map +1 -0
- package/lib/services/logme.js +574 -0
- package/lib/services/logme.js.map +1 -0
- package/lib/services/logs.d.ts +436 -0
- package/lib/services/logs.d.ts.map +1 -0
- package/lib/services/logs.js +475 -0
- package/lib/services/logs.js.map +1 -0
- package/lib/services/mariadb.d.ts +479 -0
- package/lib/services/mariadb.d.ts.map +1 -0
- package/lib/services/mariadb.js +551 -0
- package/lib/services/mariadb.js.map +1 -0
- package/lib/services/model_experiments.d.ts +306 -0
- package/lib/services/model_experiments.d.ts.map +1 -0
- package/lib/services/model_experiments.js +336 -0
- package/lib/services/model_experiments.js.map +1 -0
- package/lib/services/model_serving.d.ts +289 -0
- package/lib/services/model_serving.d.ts.map +1 -0
- package/lib/services/model_serving.js +287 -0
- package/lib/services/model_serving.js.map +1 -0
- package/lib/services/mongodb_flex.d.ts +826 -0
- package/lib/services/mongodb_flex.d.ts.map +1 -0
- package/lib/services/mongodb_flex.js +803 -0
- package/lib/services/mongodb_flex.js.map +1 -0
- package/lib/services/object_storage.d.ts +470 -0
- package/lib/services/object_storage.d.ts.map +1 -0
- package/lib/services/object_storage.js +540 -0
- package/lib/services/object_storage.js.map +1 -0
- package/lib/services/observability.d.ts +2750 -0
- package/lib/services/observability.d.ts.map +1 -0
- package/lib/services/observability.js +3158 -0
- package/lib/services/observability.js.map +1 -0
- package/lib/services/opensearch.d.ts +505 -0
- package/lib/services/opensearch.d.ts.map +1 -0
- package/lib/services/opensearch.js +563 -0
- package/lib/services/opensearch.js.map +1 -0
- package/lib/services/pim.d.ts +997 -0
- package/lib/services/pim.d.ts.map +1 -0
- package/lib/services/pim.js +736 -0
- package/lib/services/pim.js.map +1 -0
- package/lib/services/postgres_flex.d.ts +854 -0
- package/lib/services/postgres_flex.d.ts.map +1 -0
- package/lib/services/postgres_flex.js +853 -0
- package/lib/services/postgres_flex.js.map +1 -0
- package/lib/services/pubsub.d.ts +489 -0
- package/lib/services/pubsub.d.ts.map +1 -0
- package/lib/services/pubsub.js +519 -0
- package/lib/services/pubsub.js.map +1 -0
- package/lib/services/rabbitmq.d.ts +523 -0
- package/lib/services/rabbitmq.d.ts.map +1 -0
- package/lib/services/rabbitmq.js +574 -0
- package/lib/services/rabbitmq.js.map +1 -0
- package/lib/services/registry.d.ts +212 -0
- package/lib/services/registry.d.ts.map +1 -0
- package/lib/services/registry.js +198 -0
- package/lib/services/registry.js.map +1 -0
- package/lib/services/resource_manager.d.ts +458 -0
- package/lib/services/resource_manager.d.ts.map +1 -0
- package/lib/services/resource_manager.js +473 -0
- package/lib/services/resource_manager.js.map +1 -0
- package/lib/services/run_command.d.ts +175 -0
- package/lib/services/run_command.d.ts.map +1 -0
- package/lib/services/run_command.js +185 -0
- package/lib/services/run_command.js.map +1 -0
- package/lib/services/sca.d.ts +553 -0
- package/lib/services/sca.d.ts.map +1 -0
- package/lib/services/sca.js +445 -0
- package/lib/services/sca.js.map +1 -0
- package/lib/services/scf.d.ts +498 -0
- package/lib/services/scf.d.ts.map +1 -0
- package/lib/services/scf.js +670 -0
- package/lib/services/scf.js.map +1 -0
- package/lib/services/secrets_manager.d.ts +505 -0
- package/lib/services/secrets_manager.d.ts.map +1 -0
- package/lib/services/secrets_manager.js +613 -0
- package/lib/services/secrets_manager.js.map +1 -0
- package/lib/services/server_backup.d.ts +380 -0
- package/lib/services/server_backup.d.ts.map +1 -0
- package/lib/services/server_backup.js +454 -0
- package/lib/services/server_backup.js.map +1 -0
- package/lib/services/server_update.d.ts +292 -0
- package/lib/services/server_update.d.ts.map +1 -0
- package/lib/services/server_update.js +352 -0
- package/lib/services/server_update.js.map +1 -0
- package/lib/services/service_account.d.ts +465 -0
- package/lib/services/service_account.d.ts.map +1 -0
- package/lib/services/service_account.js +506 -0
- package/lib/services/service_account.js.map +1 -0
- package/lib/services/service_enablement.d.ts +149 -0
- package/lib/services/service_enablement.d.ts.map +1 -0
- package/lib/services/service_enablement.js +157 -0
- package/lib/services/service_enablement.js.map +1 -0
- package/lib/services/sfs.d.ts +721 -0
- package/lib/services/sfs.d.ts.map +1 -0
- package/lib/services/sfs.js +790 -0
- package/lib/services/sfs.js.map +1 -0
- package/lib/services/ske.d.ts +562 -0
- package/lib/services/ske.d.ts.map +1 -0
- package/lib/services/ske.js +558 -0
- package/lib/services/ske.js.map +1 -0
- package/lib/services/sqlserverflex.d.ts +956 -0
- package/lib/services/sqlserverflex.d.ts.map +1 -0
- package/lib/services/sqlserverflex.js +936 -0
- package/lib/services/sqlserverflex.js.map +1 -0
- package/lib/services/stackit_marketplace.d.ts +288 -0
- package/lib/services/stackit_marketplace.d.ts.map +1 -0
- package/lib/services/stackit_marketplace.js +379 -0
- package/lib/services/stackit_marketplace.js.map +1 -0
- package/lib/services/telemetry_link.d.ts +443 -0
- package/lib/services/telemetry_link.d.ts.map +1 -0
- package/lib/services/telemetry_link.js +532 -0
- package/lib/services/telemetry_link.js.map +1 -0
- package/lib/services/telemetry_router.d.ts +493 -0
- package/lib/services/telemetry_router.d.ts.map +1 -0
- package/lib/services/telemetry_router.js +484 -0
- package/lib/services/telemetry_router.js.map +1 -0
- package/lib/services/ufw.d.ts +295 -0
- package/lib/services/ufw.d.ts.map +1 -0
- package/lib/services/ufw.js +279 -0
- package/lib/services/ufw.js.map +1 -0
- package/lib/services/valkey.d.ts +505 -0
- package/lib/services/valkey.d.ts.map +1 -0
- package/lib/services/valkey.js +567 -0
- package/lib/services/valkey.js.map +1 -0
- package/lib/services/vpn.d.ts +1024 -0
- package/lib/services/vpn.d.ts.map +1 -0
- package/lib/services/vpn.js +931 -0
- package/lib/services/vpn.js.map +1 -0
- package/lib/services/workflows.d.ts +600 -0
- package/lib/services/workflows.d.ts.map +1 -0
- package/lib/services/workflows.js +508 -0
- package/lib/services/workflows.js.map +1 -0
- package/lib/traits.d.ts +24 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +15 -0
- package/lib/traits.js.map +1 -0
- package/package.json +85 -3
- package/src/credentials.ts +84 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +34 -0
- package/src/pagination.ts +57 -0
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +225 -0
- package/src/retry.ts +47 -0
- package/src/services/alb.ts +1326 -0
- package/src/services/alb_waf.ts +1288 -0
- package/src/services/authorization.ts +704 -0
- package/src/services/automation.ts +796 -0
- package/src/services/cdn.ts +2576 -0
- package/src/services/certificates.ts +418 -0
- package/src/services/cost.ts +449 -0
- package/src/services/dns.ts +1936 -0
- package/src/services/dremio.ts +753 -0
- package/src/services/edge.ts +780 -0
- package/src/services/functions.ts +957 -0
- package/src/services/git.ts +1194 -0
- package/src/services/iaas.ts +7878 -0
- package/src/services/index.ts +51 -0
- package/src/services/intake.ts +1166 -0
- package/src/services/kms.ts +1537 -0
- package/src/services/lb_ip_lists.ts +342 -0
- package/src/services/load_balancer.ts +1266 -0
- package/src/services/logme.ts +1284 -0
- package/src/services/logs.ts +1049 -0
- package/src/services/mariadb.ts +1212 -0
- package/src/services/model_experiments.ts +741 -0
- package/src/services/model_serving.ts +654 -0
- package/src/services/mongodb_flex.ts +1932 -0
- package/src/services/object_storage.ts +1195 -0
- package/src/services/observability.ts +7364 -0
- package/src/services/opensearch.ts +1265 -0
- package/src/services/pim.ts +1985 -0
- package/src/services/postgres_flex.ts +2080 -0
- package/src/services/pubsub.ts +1193 -0
- package/src/services/rabbitmq.ts +1310 -0
- package/src/services/registry.ts +446 -0
- package/src/services/resource_manager.ts +1072 -0
- package/src/services/run_command.ts +413 -0
- package/src/services/sca.ts +1187 -0
- package/src/services/scf.ts +1396 -0
- package/src/services/secrets_manager.ts +1317 -0
- package/src/services/server_backup.ts +983 -0
- package/src/services/server_update.ts +738 -0
- package/src/services/service_account.ts +1121 -0
- package/src/services/service_enablement.ts +330 -0
- package/src/services/sfs.ts +1831 -0
- package/src/services/ske.ts +1386 -0
- package/src/services/sqlserverflex.ts +2307 -0
- package/src/services/stackit_marketplace.ts +787 -0
- package/src/services/telemetry_link.ts +1166 -0
- package/src/services/telemetry_router.ts +1110 -0
- package/src/services/ufw.ts +654 -0
- package/src/services/valkey.ts +1266 -0
- package/src/services/vpn.ts +2365 -0
- package/src/services/workflows.ts +1249 -0
- package/src/traits.ts +60 -0
|
@@ -0,0 +1,1985 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as C from "@distilled.cloud/core/category";
|
|
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";
|
|
5
|
+
import { UnknownStackitError } from "../errors.ts";
|
|
6
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
7
|
+
import * as Retry from "../retry.ts";
|
|
8
|
+
import * as T from "../traits.ts";
|
|
9
|
+
|
|
10
|
+
export type { StackitOpError, StackitOpContext };
|
|
11
|
+
|
|
12
|
+
export class BadRequest
|
|
13
|
+
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
14
|
+
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
15
|
+
code: S.Number,
|
|
16
|
+
message: S.String,
|
|
17
|
+
}).pipe(C.withBadRequestError),
|
|
18
|
+
[{ status: 400 }],
|
|
19
|
+
) {}
|
|
20
|
+
|
|
21
|
+
export class Forbidden
|
|
22
|
+
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
23
|
+
/*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
|
|
24
|
+
code: S.Number,
|
|
25
|
+
message: S.String,
|
|
26
|
+
}).pipe(C.withAuthError),
|
|
27
|
+
[{ status: 403 }],
|
|
28
|
+
) {}
|
|
29
|
+
|
|
30
|
+
export class NotFound
|
|
31
|
+
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
32
|
+
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
33
|
+
code: S.Number,
|
|
34
|
+
message: S.String,
|
|
35
|
+
}).pipe(C.withBadRequestError),
|
|
36
|
+
[{ status: 404 }],
|
|
37
|
+
) {}
|
|
38
|
+
|
|
39
|
+
export type GetCategoryRequestLanguage = "en" | "de";
|
|
40
|
+
export const GetCategoryRequestLanguage = S.String;
|
|
41
|
+
|
|
42
|
+
export interface GetCategoryRequest {
|
|
43
|
+
/** The unique identifier for a category. */
|
|
44
|
+
categoryId: string;
|
|
45
|
+
/** The language to retrieve the data in, available for en and de */
|
|
46
|
+
language?: GetCategoryRequestLanguage | (string & {});
|
|
47
|
+
}
|
|
48
|
+
export const GetCategoryRequest = /*@__PURE__*/ S.suspend(() =>
|
|
49
|
+
S.Struct({
|
|
50
|
+
categoryId: S.String.pipe(T.Label()),
|
|
51
|
+
language: S.optional(GetCategoryRequestLanguage.pipe(T.Query())),
|
|
52
|
+
}).pipe(
|
|
53
|
+
T.Http({
|
|
54
|
+
method: "GET",
|
|
55
|
+
uri: "/v2/categories/{categoryId}",
|
|
56
|
+
code: 200,
|
|
57
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
58
|
+
}),
|
|
59
|
+
),
|
|
60
|
+
).annotate({ identifier: "GetCategoryRequest" }) as any as S.Schema<GetCategoryRequest>;
|
|
61
|
+
|
|
62
|
+
export interface PublicCategory {
|
|
63
|
+
/** Description of the category */
|
|
64
|
+
description?: string;
|
|
65
|
+
/** The unique identifier for the category, which is object id from the DB */
|
|
66
|
+
id?: string | null;
|
|
67
|
+
/** URI of the category image */
|
|
68
|
+
image?: string;
|
|
69
|
+
/** Language of the category */
|
|
70
|
+
language?: string;
|
|
71
|
+
/** Category name */
|
|
72
|
+
name?: string;
|
|
73
|
+
/** Date when the current version was approved and became valid in PIM */
|
|
74
|
+
validStart?: string;
|
|
75
|
+
/** Number of the revision from PIM */
|
|
76
|
+
version?: string;
|
|
77
|
+
}
|
|
78
|
+
export const PublicCategory = /*@__PURE__*/ S.suspend(() =>
|
|
79
|
+
S.Struct({
|
|
80
|
+
description: S.optional(S.String),
|
|
81
|
+
id: S.optional(S.NullOr(S.String)),
|
|
82
|
+
image: S.optional(S.String),
|
|
83
|
+
language: S.optional(S.String),
|
|
84
|
+
name: S.optional(S.String),
|
|
85
|
+
validStart: S.optional(S.String),
|
|
86
|
+
version: S.optional(S.String),
|
|
87
|
+
}),
|
|
88
|
+
).annotate({ identifier: "PublicCategory" }) as any as S.Schema<PublicCategory>;
|
|
89
|
+
|
|
90
|
+
export type GetProductRequestLanguage = "en" | "de";
|
|
91
|
+
export const GetProductRequestLanguage = S.String;
|
|
92
|
+
|
|
93
|
+
export interface GetProductRequest {
|
|
94
|
+
/** The unique identifier for a product. */
|
|
95
|
+
productId: string;
|
|
96
|
+
/** The language to retrieve the data in, available for en and de */
|
|
97
|
+
language?: GetProductRequestLanguage | (string & {});
|
|
98
|
+
}
|
|
99
|
+
export const GetProductRequest = /*@__PURE__*/ S.suspend(() =>
|
|
100
|
+
S.Struct({
|
|
101
|
+
productId: S.String.pipe(T.Label()),
|
|
102
|
+
language: S.optional(GetProductRequestLanguage.pipe(T.Query())),
|
|
103
|
+
}).pipe(
|
|
104
|
+
T.Http({
|
|
105
|
+
method: "GET",
|
|
106
|
+
uri: "/v2/products/{productId}",
|
|
107
|
+
code: 200,
|
|
108
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
109
|
+
}),
|
|
110
|
+
),
|
|
111
|
+
).annotate({ identifier: "GetProductRequest" }) as any as S.Schema<GetProductRequest>;
|
|
112
|
+
|
|
113
|
+
/** Api identifier */
|
|
114
|
+
export type PublicProductApiIdentifierList = Array<string>;
|
|
115
|
+
export const PublicProductApiIdentifierList = /*@__PURE__*/ S.Array(
|
|
116
|
+
S.String,
|
|
117
|
+
) as any as S.Schema<PublicProductApiIdentifierList>;
|
|
118
|
+
|
|
119
|
+
export interface PublicProduct {
|
|
120
|
+
/** Api identifier */
|
|
121
|
+
apiIdentifier?: PublicProductApiIdentifierList;
|
|
122
|
+
/** The unique identifier for the category, which is object id from the DB */
|
|
123
|
+
categoryId?: string | null;
|
|
124
|
+
/** Generic categorization to structure the customer's invoice transparently (e.g. `Compute Engine`, `Database`, `Storage`) */
|
|
125
|
+
categoryName?: string | null;
|
|
126
|
+
/** Description of the product */
|
|
127
|
+
description?: string;
|
|
128
|
+
/** Unique identifier of the product, which is object id from the DB */
|
|
129
|
+
id?: string | null;
|
|
130
|
+
/** URI of the category image */
|
|
131
|
+
image?: string;
|
|
132
|
+
/** Language of the product */
|
|
133
|
+
language?: string;
|
|
134
|
+
/** Extended name of the product */
|
|
135
|
+
longName?: string;
|
|
136
|
+
/** An abbreviated name of the product */
|
|
137
|
+
shortName?: string;
|
|
138
|
+
/** Date when the current version was approved and became valid in PIM */
|
|
139
|
+
validStart?: string;
|
|
140
|
+
/** Number of the revision from PIM */
|
|
141
|
+
version?: string;
|
|
142
|
+
}
|
|
143
|
+
export const PublicProduct = /*@__PURE__*/ S.suspend(() =>
|
|
144
|
+
S.Struct({
|
|
145
|
+
apiIdentifier: S.optional(PublicProductApiIdentifierList),
|
|
146
|
+
categoryId: S.optional(S.NullOr(S.String)),
|
|
147
|
+
categoryName: S.optional(S.NullOr(S.String)),
|
|
148
|
+
description: S.optional(S.String),
|
|
149
|
+
id: S.optional(S.NullOr(S.String)),
|
|
150
|
+
image: S.optional(S.String),
|
|
151
|
+
language: S.optional(S.String),
|
|
152
|
+
longName: S.optional(S.String),
|
|
153
|
+
shortName: S.optional(S.String),
|
|
154
|
+
validStart: S.optional(S.String),
|
|
155
|
+
version: S.optional(S.String),
|
|
156
|
+
}),
|
|
157
|
+
).annotate({ identifier: "PublicProduct" }) as any as S.Schema<PublicProduct>;
|
|
158
|
+
|
|
159
|
+
export type GetProductMarketingDataRequestLanguage = "en" | "de";
|
|
160
|
+
export const GetProductMarketingDataRequestLanguage = S.String;
|
|
161
|
+
|
|
162
|
+
export interface GetProductMarketingDataRequest {
|
|
163
|
+
/** The unique identifier for a product. */
|
|
164
|
+
productId: string;
|
|
165
|
+
/** The language to retrieve the data in, available for en and de */
|
|
166
|
+
language?: GetProductMarketingDataRequestLanguage | (string & {});
|
|
167
|
+
}
|
|
168
|
+
export const GetProductMarketingDataRequest = /*@__PURE__*/ S.suspend(() =>
|
|
169
|
+
S.Struct({
|
|
170
|
+
productId: S.String.pipe(T.Label()),
|
|
171
|
+
language: S.optional(GetProductMarketingDataRequestLanguage.pipe(T.Query())),
|
|
172
|
+
}).pipe(
|
|
173
|
+
T.Http({
|
|
174
|
+
method: "GET",
|
|
175
|
+
uri: "/v2/products/{productId}/marketing",
|
|
176
|
+
code: 200,
|
|
177
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
178
|
+
}),
|
|
179
|
+
),
|
|
180
|
+
).annotate({
|
|
181
|
+
identifier: "GetProductMarketingDataRequest",
|
|
182
|
+
}) as any as S.Schema<GetProductMarketingDataRequest>;
|
|
183
|
+
|
|
184
|
+
export interface MarketingAdvantage {
|
|
185
|
+
/** Name of the advantage */
|
|
186
|
+
advantage?: string;
|
|
187
|
+
/** Description of the advantage */
|
|
188
|
+
position?: number;
|
|
189
|
+
}
|
|
190
|
+
export const MarketingAdvantage = /*@__PURE__*/ S.suspend(() =>
|
|
191
|
+
S.Struct({
|
|
192
|
+
advantage: S.optional(S.String),
|
|
193
|
+
position: S.optional(S.Number),
|
|
194
|
+
}),
|
|
195
|
+
).annotate({ identifier: "MarketingAdvantage" }) as any as S.Schema<MarketingAdvantage>;
|
|
196
|
+
|
|
197
|
+
/** List of advantages of the product */
|
|
198
|
+
export type PublicMarketingDataAdvantagesList = Array<MarketingAdvantage>;
|
|
199
|
+
export const PublicMarketingDataAdvantagesList = /*@__PURE__*/ S.Array(
|
|
200
|
+
MarketingAdvantage,
|
|
201
|
+
) as any as S.Schema<PublicMarketingDataAdvantagesList>;
|
|
202
|
+
|
|
203
|
+
export interface MarketingApplication {
|
|
204
|
+
/** Description of the application */
|
|
205
|
+
application?: string;
|
|
206
|
+
/** Title of the application */
|
|
207
|
+
applicationTitle?: string;
|
|
208
|
+
/** Position of the application */
|
|
209
|
+
position?: number;
|
|
210
|
+
}
|
|
211
|
+
export const MarketingApplication = /*@__PURE__*/ S.suspend(() =>
|
|
212
|
+
S.Struct({
|
|
213
|
+
application: S.optional(S.String),
|
|
214
|
+
applicationTitle: S.optional(S.String),
|
|
215
|
+
position: S.optional(S.Number),
|
|
216
|
+
}),
|
|
217
|
+
).annotate({ identifier: "MarketingApplication" }) as any as S.Schema<MarketingApplication>;
|
|
218
|
+
|
|
219
|
+
/** List of applications provided by the product */
|
|
220
|
+
export type PublicMarketingDataApplicationsList = Array<MarketingApplication>;
|
|
221
|
+
export const PublicMarketingDataApplicationsList = /*@__PURE__*/ S.Array(
|
|
222
|
+
MarketingApplication,
|
|
223
|
+
) as any as S.Schema<PublicMarketingDataApplicationsList>;
|
|
224
|
+
|
|
225
|
+
export interface MarketingFunction {
|
|
226
|
+
/** Name of the function */
|
|
227
|
+
function?: string;
|
|
228
|
+
/** Position of the function */
|
|
229
|
+
position?: number;
|
|
230
|
+
}
|
|
231
|
+
export const MarketingFunction = /*@__PURE__*/ S.suspend(() =>
|
|
232
|
+
S.Struct({
|
|
233
|
+
function: S.optional(S.String),
|
|
234
|
+
position: S.optional(S.Number),
|
|
235
|
+
}),
|
|
236
|
+
).annotate({ identifier: "MarketingFunction" }) as any as S.Schema<MarketingFunction>;
|
|
237
|
+
|
|
238
|
+
/** List of functions provided by the product */
|
|
239
|
+
export type PublicMarketingDataFunctionsList = Array<MarketingFunction>;
|
|
240
|
+
export const PublicMarketingDataFunctionsList = /*@__PURE__*/ S.Array(
|
|
241
|
+
MarketingFunction,
|
|
242
|
+
) as any as S.Schema<PublicMarketingDataFunctionsList>;
|
|
243
|
+
|
|
244
|
+
export interface PublicMarketingData {
|
|
245
|
+
/** List of advantages of the product */
|
|
246
|
+
advantages?: PublicMarketingDataAdvantagesList;
|
|
247
|
+
/** List of applications provided by the product */
|
|
248
|
+
applications?: PublicMarketingDataApplicationsList;
|
|
249
|
+
/** List of functions provided by the product */
|
|
250
|
+
functions?: PublicMarketingDataFunctionsList;
|
|
251
|
+
/** Short description of what the product delivers */
|
|
252
|
+
headline?: string;
|
|
253
|
+
/** Unique identifier of the marketing product, which is object id from the DB */
|
|
254
|
+
id?: string | null;
|
|
255
|
+
/** Basic information of the product */
|
|
256
|
+
introductoryText?: string;
|
|
257
|
+
/** Language of the marketing data */
|
|
258
|
+
language?: string;
|
|
259
|
+
/** Extended name of the product */
|
|
260
|
+
longName?: string;
|
|
261
|
+
/** An abbreviated name of the product */
|
|
262
|
+
shortName?: string;
|
|
263
|
+
/** Internal ID of the product in PIM */
|
|
264
|
+
stId?: string;
|
|
265
|
+
/** Date when the current version was approved and became valid in PIM */
|
|
266
|
+
validStart?: string;
|
|
267
|
+
/** Number of the revision from PIM */
|
|
268
|
+
version?: string;
|
|
269
|
+
}
|
|
270
|
+
export const PublicMarketingData = /*@__PURE__*/ S.suspend(() =>
|
|
271
|
+
S.Struct({
|
|
272
|
+
advantages: S.optional(PublicMarketingDataAdvantagesList),
|
|
273
|
+
applications: S.optional(PublicMarketingDataApplicationsList),
|
|
274
|
+
functions: S.optional(PublicMarketingDataFunctionsList),
|
|
275
|
+
headline: S.optional(S.String),
|
|
276
|
+
id: S.optional(S.NullOr(S.String)),
|
|
277
|
+
introductoryText: S.optional(S.String),
|
|
278
|
+
language: S.optional(S.String),
|
|
279
|
+
longName: S.optional(S.String),
|
|
280
|
+
shortName: S.optional(S.String),
|
|
281
|
+
stId: S.optional(S.String),
|
|
282
|
+
validStart: S.optional(S.String),
|
|
283
|
+
version: S.optional(S.String),
|
|
284
|
+
}),
|
|
285
|
+
).annotate({ identifier: "PublicMarketingData" }) as any as S.Schema<PublicMarketingData>;
|
|
286
|
+
|
|
287
|
+
export type GetSKURequestLanguage = "en" | "de";
|
|
288
|
+
export const GetSKURequestLanguage = S.String;
|
|
289
|
+
|
|
290
|
+
export interface GetSKURequest {
|
|
291
|
+
/** The unique identifier for a SKU. */
|
|
292
|
+
skuId: string;
|
|
293
|
+
/** The language to retrieve the data in, available for en and de */
|
|
294
|
+
language?: GetSKURequestLanguage | (string & {});
|
|
295
|
+
}
|
|
296
|
+
export const GetSKURequest = /*@__PURE__*/ S.suspend(() =>
|
|
297
|
+
S.Struct({
|
|
298
|
+
skuId: S.String.pipe(T.Label()),
|
|
299
|
+
language: S.optional(GetSKURequestLanguage.pipe(T.Query())),
|
|
300
|
+
}).pipe(
|
|
301
|
+
T.Http({
|
|
302
|
+
method: "GET",
|
|
303
|
+
uri: "/v2/skus/{skuId}",
|
|
304
|
+
code: 200,
|
|
305
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
306
|
+
}),
|
|
307
|
+
),
|
|
308
|
+
).annotate({ identifier: "GetSKURequest" }) as any as S.Schema<GetSKURequest>;
|
|
309
|
+
|
|
310
|
+
export interface FinOpsFocus {
|
|
311
|
+
/** FinOps Focus service category */
|
|
312
|
+
serviceCategory?: string;
|
|
313
|
+
/** FinOps Focus service subcategory */
|
|
314
|
+
serviceSubCategory?: string;
|
|
315
|
+
}
|
|
316
|
+
export const FinOpsFocus = /*@__PURE__*/ S.suspend(() =>
|
|
317
|
+
S.Struct({
|
|
318
|
+
serviceCategory: S.optional(S.String),
|
|
319
|
+
serviceSubCategory: S.optional(S.String),
|
|
320
|
+
}),
|
|
321
|
+
).annotate({ identifier: "FinOpsFocus" }) as any as S.Schema<FinOpsFocus>;
|
|
322
|
+
|
|
323
|
+
/** Prices' currency code regarding ISO4217 */
|
|
324
|
+
export type CurrencyCodes = "EUR" | "USD" | "GBP";
|
|
325
|
+
export const CurrencyCodes = S.String;
|
|
326
|
+
|
|
327
|
+
/** Prices' currency symbol */
|
|
328
|
+
export type CurrencySymbols = "€" | "$";
|
|
329
|
+
export const CurrencySymbols = S.String;
|
|
330
|
+
|
|
331
|
+
export interface Price {
|
|
332
|
+
currencyCode?: CurrencyCodes;
|
|
333
|
+
currencySymbol?: CurrencySymbols | null;
|
|
334
|
+
/** Monthly price value that is valid at request time, shown with full precision */
|
|
335
|
+
monthlyPrice?: string | null;
|
|
336
|
+
/** Used in Portal rounded to the minimal usable precision 2 digits after 0 */
|
|
337
|
+
roundedMonthlyPrice?: string;
|
|
338
|
+
/** Used in Portal rounded to the minimal usable precision 2 digits after 0 */
|
|
339
|
+
roundedValue?: string;
|
|
340
|
+
validFrom?: string;
|
|
341
|
+
/** Price value that is valid at request time, shown with full precision with 11 decimals */
|
|
342
|
+
value?: string;
|
|
343
|
+
/** Price as integer representation 1e11 */
|
|
344
|
+
valueAsInt?: number;
|
|
345
|
+
}
|
|
346
|
+
export const Price = /*@__PURE__*/ S.suspend(() =>
|
|
347
|
+
S.Struct({
|
|
348
|
+
currencyCode: S.optional(CurrencyCodes),
|
|
349
|
+
currencySymbol: S.optional(S.NullOr(CurrencySymbols)),
|
|
350
|
+
monthlyPrice: S.optional(S.NullOr(S.String)),
|
|
351
|
+
roundedMonthlyPrice: S.optional(S.String),
|
|
352
|
+
roundedValue: S.optional(S.String),
|
|
353
|
+
validFrom: S.optional(S.String),
|
|
354
|
+
value: S.optional(S.String),
|
|
355
|
+
valueAsInt: S.optional(S.Number),
|
|
356
|
+
}),
|
|
357
|
+
).annotate({ identifier: "Price" }) as any as S.Schema<Price>;
|
|
358
|
+
|
|
359
|
+
/** List of prices */
|
|
360
|
+
export type GetSKUResponsePricesList = Array<Price>;
|
|
361
|
+
export const GetSKUResponsePricesList = /*@__PURE__*/ S.Array(
|
|
362
|
+
Price,
|
|
363
|
+
) as any as S.Schema<GetSKUResponsePricesList>;
|
|
364
|
+
|
|
365
|
+
/** List of unique service look up ids (ASCII ordered, ascending) */
|
|
366
|
+
export type GetSKUResponseServiceIdList = Array<string>;
|
|
367
|
+
export const GetSKUResponseServiceIdList = /*@__PURE__*/ S.Array(
|
|
368
|
+
S.String,
|
|
369
|
+
) as any as S.Schema<GetSKUResponseServiceIdList>;
|
|
370
|
+
|
|
371
|
+
/** Performance Classes */
|
|
372
|
+
export type PublicDatabaseSpecificAttributesPerformanceClassesList = Array<string>;
|
|
373
|
+
export const PublicDatabaseSpecificAttributesPerformanceClassesList = /*@__PURE__*/ S.Array(
|
|
374
|
+
S.String,
|
|
375
|
+
) as any as S.Schema<PublicDatabaseSpecificAttributesPerformanceClassesList>;
|
|
376
|
+
|
|
377
|
+
export interface PublicDatabaseSpecificAttributes {
|
|
378
|
+
discriminator: string;
|
|
379
|
+
/** diskStoragePerNode */
|
|
380
|
+
diskStoragePerNode?: string | null;
|
|
381
|
+
/** Flavor */
|
|
382
|
+
flavor?: string | null;
|
|
383
|
+
/** Nodes */
|
|
384
|
+
nodes?: number | null;
|
|
385
|
+
/** Performance Classes */
|
|
386
|
+
performanceClasses?: PublicDatabaseSpecificAttributesPerformanceClassesList;
|
|
387
|
+
/** RAM (in GB) */
|
|
388
|
+
ram?: number | null;
|
|
389
|
+
/** Max Storage in Gb */
|
|
390
|
+
storageMaxGb?: number | null;
|
|
391
|
+
/** Min Storage in Gb */
|
|
392
|
+
storageMinGb?: number | null;
|
|
393
|
+
/** Type (e.g. `single`, `replica`) */
|
|
394
|
+
type?: string | null;
|
|
395
|
+
/** Number of vCPU */
|
|
396
|
+
vCPU?: number | null;
|
|
397
|
+
}
|
|
398
|
+
export const PublicDatabaseSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
399
|
+
S.Struct({
|
|
400
|
+
discriminator: S.String,
|
|
401
|
+
diskStoragePerNode: S.optional(S.NullOr(S.String)),
|
|
402
|
+
flavor: S.optional(S.NullOr(S.String)),
|
|
403
|
+
nodes: S.optional(S.NullOr(S.Number)),
|
|
404
|
+
performanceClasses: S.optional(PublicDatabaseSpecificAttributesPerformanceClassesList),
|
|
405
|
+
ram: S.optional(S.NullOr(S.Number)),
|
|
406
|
+
storageMaxGb: S.optional(S.NullOr(S.Number)),
|
|
407
|
+
storageMinGb: S.optional(S.NullOr(S.Number)),
|
|
408
|
+
type: S.optional(S.NullOr(S.String)),
|
|
409
|
+
vCPU: S.optional(S.NullOr(S.Number)),
|
|
410
|
+
}),
|
|
411
|
+
).annotate({
|
|
412
|
+
identifier: "PublicDatabaseSpecificAttributes",
|
|
413
|
+
}) as any as S.Schema<PublicDatabaseSpecificAttributes>;
|
|
414
|
+
|
|
415
|
+
export interface ArchivingSpecificAttributes {
|
|
416
|
+
discriminator: string;
|
|
417
|
+
/** metro */
|
|
418
|
+
metro?: boolean | null;
|
|
419
|
+
}
|
|
420
|
+
export const ArchivingSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
421
|
+
S.Struct({
|
|
422
|
+
discriminator: S.String,
|
|
423
|
+
metro: S.optional(S.NullOr(S.Boolean)),
|
|
424
|
+
}),
|
|
425
|
+
).annotate({
|
|
426
|
+
identifier: "ArchivingSpecificAttributes",
|
|
427
|
+
}) as any as S.Schema<ArchivingSpecificAttributes>;
|
|
428
|
+
|
|
429
|
+
export interface ComputeEngineSpecificAttributes {
|
|
430
|
+
discriminator: string;
|
|
431
|
+
/** Flavor */
|
|
432
|
+
flavor?: string | null;
|
|
433
|
+
/** Hardware */
|
|
434
|
+
hardware?: string | null;
|
|
435
|
+
/** metro */
|
|
436
|
+
metro?: boolean | null;
|
|
437
|
+
/** Operating System (e.g. `windows`, `windows-managed`) */
|
|
438
|
+
os?: string | null;
|
|
439
|
+
/** RAM (in GB) */
|
|
440
|
+
ram?: number | null;
|
|
441
|
+
/** Number of vCPU */
|
|
442
|
+
vCPU?: number | null;
|
|
443
|
+
}
|
|
444
|
+
export const ComputeEngineSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
445
|
+
S.Struct({
|
|
446
|
+
discriminator: S.String,
|
|
447
|
+
flavor: S.optional(S.NullOr(S.String)),
|
|
448
|
+
hardware: S.optional(S.NullOr(S.String)),
|
|
449
|
+
metro: S.optional(S.NullOr(S.Boolean)),
|
|
450
|
+
os: S.optional(S.NullOr(S.String)),
|
|
451
|
+
ram: S.optional(S.NullOr(S.Number)),
|
|
452
|
+
vCPU: S.optional(S.NullOr(S.Number)),
|
|
453
|
+
}),
|
|
454
|
+
).annotate({
|
|
455
|
+
identifier: "ComputeEngineSpecificAttributes",
|
|
456
|
+
}) as any as S.Schema<ComputeEngineSpecificAttributes>;
|
|
457
|
+
|
|
458
|
+
export type ComputeEngineGPUSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
459
|
+
export const ComputeEngineGPUSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
460
|
+
|
|
461
|
+
export interface NetworkSpecificAttributes {
|
|
462
|
+
/** Connection limit per Load Balancer */
|
|
463
|
+
connectionLimitPerLoadBalancer?: number | null;
|
|
464
|
+
discriminator: string;
|
|
465
|
+
/** Maximum Bandwidth */
|
|
466
|
+
maxBandWidth?: number | null;
|
|
467
|
+
/** Maximum Connections */
|
|
468
|
+
maxConnections?: number | null;
|
|
469
|
+
/** Plan ID */
|
|
470
|
+
planId?: string | null;
|
|
471
|
+
/** Record limit per zone */
|
|
472
|
+
recordLimitPerZone?: number | null;
|
|
473
|
+
/** Type (e.g. `single`, `replica`) */
|
|
474
|
+
type?: string | null;
|
|
475
|
+
}
|
|
476
|
+
export const NetworkSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
477
|
+
S.Struct({
|
|
478
|
+
connectionLimitPerLoadBalancer: S.optional(S.NullOr(S.Number)),
|
|
479
|
+
discriminator: S.String,
|
|
480
|
+
maxBandWidth: S.optional(S.NullOr(S.Number)),
|
|
481
|
+
maxConnections: S.optional(S.NullOr(S.Number)),
|
|
482
|
+
planId: S.optional(S.NullOr(S.String)),
|
|
483
|
+
recordLimitPerZone: S.optional(S.NullOr(S.Number)),
|
|
484
|
+
type: S.optional(S.NullOr(S.String)),
|
|
485
|
+
}),
|
|
486
|
+
).annotate({
|
|
487
|
+
identifier: "NetworkSpecificAttributes",
|
|
488
|
+
}) as any as S.Schema<NetworkSpecificAttributes>;
|
|
489
|
+
|
|
490
|
+
export interface MessagingSpecificAttributes {
|
|
491
|
+
discriminator: string;
|
|
492
|
+
/** diskStoragePerNode */
|
|
493
|
+
diskStoragePerNode?: string | null;
|
|
494
|
+
/** Nodes */
|
|
495
|
+
nodes?: number | null;
|
|
496
|
+
/** RAM (in GB) */
|
|
497
|
+
ram?: number | null;
|
|
498
|
+
/** Type (e.g. `single`, `replica`) */
|
|
499
|
+
type?: string | null;
|
|
500
|
+
/** Number of vCPU */
|
|
501
|
+
vCPU?: number | null;
|
|
502
|
+
}
|
|
503
|
+
export const MessagingSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
504
|
+
S.Struct({
|
|
505
|
+
discriminator: S.String,
|
|
506
|
+
diskStoragePerNode: S.optional(S.NullOr(S.String)),
|
|
507
|
+
nodes: S.optional(S.NullOr(S.Number)),
|
|
508
|
+
ram: S.optional(S.NullOr(S.Number)),
|
|
509
|
+
type: S.optional(S.NullOr(S.String)),
|
|
510
|
+
vCPU: S.optional(S.NullOr(S.Number)),
|
|
511
|
+
}),
|
|
512
|
+
).annotate({
|
|
513
|
+
identifier: "MessagingSpecificAttributes",
|
|
514
|
+
}) as any as S.Schema<MessagingSpecificAttributes>;
|
|
515
|
+
|
|
516
|
+
export interface LoggingAndMonitoringSpecificAttributes {
|
|
517
|
+
discriminator: string;
|
|
518
|
+
/** diskStoragePerNode */
|
|
519
|
+
diskStoragePerNode?: string | null;
|
|
520
|
+
/** metricPerMin */
|
|
521
|
+
metricPerMin?: number | null;
|
|
522
|
+
/** Nodes */
|
|
523
|
+
nodes?: number | null;
|
|
524
|
+
/** Targets */
|
|
525
|
+
targets?: number | null;
|
|
526
|
+
/** Type (e.g. `single`, `replica`) */
|
|
527
|
+
type?: string | null;
|
|
528
|
+
}
|
|
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
|
+
}),
|
|
538
|
+
).annotate({
|
|
539
|
+
identifier: "LoggingAndMonitoringSpecificAttributes",
|
|
540
|
+
}) as any as S.Schema<LoggingAndMonitoringSpecificAttributes>;
|
|
541
|
+
|
|
542
|
+
export type ConfidentialComputingSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
543
|
+
export const ConfidentialComputingSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
544
|
+
|
|
545
|
+
export interface StorageSpecificAttributes {
|
|
546
|
+
/** Storage Class type */
|
|
547
|
+
class?: string | null;
|
|
548
|
+
discriminator: string;
|
|
549
|
+
/** Storage maxIOPerSec */
|
|
550
|
+
maxIOPerSec?: number | null;
|
|
551
|
+
/** Storage maxTroughInMB */
|
|
552
|
+
maxTroughInMB?: number | null;
|
|
553
|
+
/** metro */
|
|
554
|
+
metro?: boolean | null;
|
|
555
|
+
/** Storage (e.g. `image`, `postgresql`, `snapshot`, `volume`) */
|
|
556
|
+
storage?: string | null;
|
|
557
|
+
/** Type (e.g. 'capacity', 'input') */
|
|
558
|
+
type?: string | null;
|
|
559
|
+
}
|
|
560
|
+
export const StorageSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
561
|
+
S.Struct({
|
|
562
|
+
class: S.optional(S.NullOr(S.String)),
|
|
563
|
+
discriminator: S.String,
|
|
564
|
+
maxIOPerSec: S.optional(S.NullOr(S.Number)),
|
|
565
|
+
maxTroughInMB: S.optional(S.NullOr(S.Number)),
|
|
566
|
+
metro: S.optional(S.NullOr(S.Boolean)),
|
|
567
|
+
storage: S.optional(S.NullOr(S.String)),
|
|
568
|
+
type: S.optional(S.NullOr(S.String)),
|
|
569
|
+
}),
|
|
570
|
+
).annotate({
|
|
571
|
+
identifier: "StorageSpecificAttributes",
|
|
572
|
+
}) as any as S.Schema<StorageSpecificAttributes>;
|
|
573
|
+
|
|
574
|
+
export interface DataAndAI {
|
|
575
|
+
discriminator: string;
|
|
576
|
+
/** Type (e.g. `capacity`, `performance`) */
|
|
577
|
+
type?: string | null;
|
|
578
|
+
}
|
|
579
|
+
export const DataAndAI = /*@__PURE__*/ S.suspend(() =>
|
|
580
|
+
S.Struct({
|
|
581
|
+
discriminator: S.String,
|
|
582
|
+
type: S.optional(S.NullOr(S.String)),
|
|
583
|
+
}),
|
|
584
|
+
).annotate({ identifier: "DataAndAI" }) as any as S.Schema<DataAndAI>;
|
|
585
|
+
|
|
586
|
+
export interface RuntimeSpecificAttributes {
|
|
587
|
+
discriminator: string;
|
|
588
|
+
/** Plan ID */
|
|
589
|
+
planId?: string | null;
|
|
590
|
+
/** Type (e.g. `single`, `replica`) */
|
|
591
|
+
type?: string | null;
|
|
592
|
+
}
|
|
593
|
+
export const RuntimeSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
594
|
+
S.Struct({
|
|
595
|
+
discriminator: S.String,
|
|
596
|
+
planId: S.optional(S.NullOr(S.String)),
|
|
597
|
+
type: S.optional(S.NullOr(S.String)),
|
|
598
|
+
}),
|
|
599
|
+
).annotate({
|
|
600
|
+
identifier: "RuntimeSpecificAttributes",
|
|
601
|
+
}) as any as S.Schema<RuntimeSpecificAttributes>;
|
|
602
|
+
|
|
603
|
+
/** Communication Channel */
|
|
604
|
+
export type SupportSpecificAttributesCommunicationChannelList = Array<string>;
|
|
605
|
+
export const SupportSpecificAttributesCommunicationChannelList = /*@__PURE__*/ S.Array(
|
|
606
|
+
S.String,
|
|
607
|
+
) as any as S.Schema<SupportSpecificAttributesCommunicationChannelList>;
|
|
608
|
+
|
|
609
|
+
export interface SupportSpecificAttributes {
|
|
610
|
+
/** Communication Channel */
|
|
611
|
+
communicationChannel?: SupportSpecificAttributesCommunicationChannelList;
|
|
612
|
+
/** Contract notice period in days */
|
|
613
|
+
contractNoticePeriodInDays?: number | null;
|
|
614
|
+
discriminator: string;
|
|
615
|
+
/** Escalation availability BC INC */
|
|
616
|
+
escalationAvailabilityBCINC?: string | null;
|
|
617
|
+
/** Escalation availability INC */
|
|
618
|
+
escalationAvailabilityINC?: string | null;
|
|
619
|
+
/** Escalation availability for Service Requests */
|
|
620
|
+
escalationAvailabilitySR?: string | null;
|
|
621
|
+
/** Escalation threshold BC INC (in minutes) */
|
|
622
|
+
escalationThresholdBCINCInMins?: number | null;
|
|
623
|
+
/** Escalation threshold INC (in minutes) */
|
|
624
|
+
escalationThresholdINCInMins?: number | null;
|
|
625
|
+
/** Escalation threshold for Service Requests */
|
|
626
|
+
escalationThresholdSRInMins?: number | null;
|
|
627
|
+
/** Financial Penalty for SLA Violation <80 (in %) */
|
|
628
|
+
finPenaltySLAVio80Pct?: number | null;
|
|
629
|
+
/** Financial Penalty for SLA Violation <90 - 80 (in %) */
|
|
630
|
+
finPenaltySLAVio90_80Pct?: number | null;
|
|
631
|
+
/** Initial runtime in months */
|
|
632
|
+
initialRuntimeInMonths?: number | null;
|
|
633
|
+
/** Lead time in workdays */
|
|
634
|
+
leadTimeInWorkDays?: number | null;
|
|
635
|
+
/** Location */
|
|
636
|
+
location?: string | null;
|
|
637
|
+
/** Project notice period in workdays */
|
|
638
|
+
projectNoticePeriodInWorkDays?: number | null;
|
|
639
|
+
/** Reaction time (in minutes) */
|
|
640
|
+
reactionTimeInMins?: number | null;
|
|
641
|
+
/** Repeated runtime in months */
|
|
642
|
+
repeatedRuntimeInMonths?: number | null;
|
|
643
|
+
/** Response time BC INC (in minutes) */
|
|
644
|
+
responseTimeBCINCInMins?: number | null;
|
|
645
|
+
/** Response time INC (in minutes) */
|
|
646
|
+
responseTimeINCInMins?: number | null;
|
|
647
|
+
/** Response time (in minutes) for Service Requests */
|
|
648
|
+
responseTimeSRInMins?: number | null;
|
|
649
|
+
/** Service hours BC INC */
|
|
650
|
+
serviceHoursBCINC?: string | null;
|
|
651
|
+
/** Service hours INC */
|
|
652
|
+
serviceHoursINC?: string | null;
|
|
653
|
+
/** Service hours for Service Requests */
|
|
654
|
+
serviceHoursSR?: string | null;
|
|
655
|
+
/** SLA goal in percentage */
|
|
656
|
+
slaGoalInPercentage?: number | null;
|
|
657
|
+
}
|
|
658
|
+
export const SupportSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
659
|
+
S.Struct({
|
|
660
|
+
communicationChannel: S.optional(SupportSpecificAttributesCommunicationChannelList),
|
|
661
|
+
contractNoticePeriodInDays: S.optional(S.NullOr(S.Number)),
|
|
662
|
+
discriminator: S.String,
|
|
663
|
+
escalationAvailabilityBCINC: S.optional(S.NullOr(S.String)),
|
|
664
|
+
escalationAvailabilityINC: S.optional(S.NullOr(S.String)),
|
|
665
|
+
escalationAvailabilitySR: S.optional(S.NullOr(S.String)),
|
|
666
|
+
escalationThresholdBCINCInMins: S.optional(S.NullOr(S.Number)),
|
|
667
|
+
escalationThresholdINCInMins: S.optional(S.NullOr(S.Number)),
|
|
668
|
+
escalationThresholdSRInMins: S.optional(S.NullOr(S.Number)),
|
|
669
|
+
finPenaltySLAVio80Pct: S.optional(S.NullOr(S.Number)),
|
|
670
|
+
finPenaltySLAVio90_80Pct: S.optional(
|
|
671
|
+
S.NullOr(S.Number).pipe(T.Body("finPenaltySLAVio90-80Pct")),
|
|
672
|
+
),
|
|
673
|
+
initialRuntimeInMonths: S.optional(S.NullOr(S.Number)),
|
|
674
|
+
leadTimeInWorkDays: S.optional(S.NullOr(S.Number)),
|
|
675
|
+
location: S.optional(S.NullOr(S.String)),
|
|
676
|
+
projectNoticePeriodInWorkDays: S.optional(S.NullOr(S.Number)),
|
|
677
|
+
reactionTimeInMins: S.optional(S.NullOr(S.Number)),
|
|
678
|
+
repeatedRuntimeInMonths: S.optional(S.NullOr(S.Number)),
|
|
679
|
+
responseTimeBCINCInMins: S.optional(S.NullOr(S.Number)),
|
|
680
|
+
responseTimeINCInMins: S.optional(S.NullOr(S.Number)),
|
|
681
|
+
responseTimeSRInMins: S.optional(S.NullOr(S.Number)),
|
|
682
|
+
serviceHoursBCINC: S.optional(S.NullOr(S.String)),
|
|
683
|
+
serviceHoursINC: S.optional(S.NullOr(S.String)),
|
|
684
|
+
serviceHoursSR: S.optional(S.NullOr(S.String)),
|
|
685
|
+
slaGoalInPercentage: S.optional(S.NullOr(S.Number)),
|
|
686
|
+
}),
|
|
687
|
+
).annotate({
|
|
688
|
+
identifier: "SupportSpecificAttributes",
|
|
689
|
+
}) as any as S.Schema<SupportSpecificAttributes>;
|
|
690
|
+
|
|
691
|
+
export interface DeveloperPlatformSpecificAttributes {
|
|
692
|
+
discriminator: string;
|
|
693
|
+
/** diskStoragePerNode */
|
|
694
|
+
diskStoragePerNode?: string | null;
|
|
695
|
+
/** Storage (e.g. `image`, `postgresql`, `snapshot`, `volume`) */
|
|
696
|
+
storage?: string | null;
|
|
697
|
+
/** Type (e.g. `single`, `replica`) */
|
|
698
|
+
type?: string | null;
|
|
699
|
+
}
|
|
700
|
+
export const DeveloperPlatformSpecificAttributes = /*@__PURE__*/ S.suspend(() =>
|
|
701
|
+
S.Struct({
|
|
702
|
+
discriminator: S.String,
|
|
703
|
+
diskStoragePerNode: S.optional(S.NullOr(S.String)),
|
|
704
|
+
storage: S.optional(S.NullOr(S.String)),
|
|
705
|
+
type: S.optional(S.NullOr(S.String)),
|
|
706
|
+
}),
|
|
707
|
+
).annotate({
|
|
708
|
+
identifier: "DeveloperPlatformSpecificAttributes",
|
|
709
|
+
}) as any as S.Schema<DeveloperPlatformSpecificAttributes>;
|
|
710
|
+
|
|
711
|
+
export type GetSKUResponseProductSpecificAttributes =
|
|
712
|
+
| PublicDatabaseSpecificAttributes
|
|
713
|
+
| ArchivingSpecificAttributes
|
|
714
|
+
| ComputeEngineSpecificAttributes
|
|
715
|
+
| ComputeEngineSpecificAttributes
|
|
716
|
+
| NetworkSpecificAttributes
|
|
717
|
+
| MessagingSpecificAttributes
|
|
718
|
+
| LoggingAndMonitoringSpecificAttributes
|
|
719
|
+
| ComputeEngineSpecificAttributes
|
|
720
|
+
| StorageSpecificAttributes
|
|
721
|
+
| DataAndAI
|
|
722
|
+
| RuntimeSpecificAttributes
|
|
723
|
+
| SupportSpecificAttributes
|
|
724
|
+
| DeveloperPlatformSpecificAttributes;
|
|
725
|
+
export const GetSKUResponseProductSpecificAttributes =
|
|
726
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<GetSKUResponseProductSpecificAttributes>;
|
|
727
|
+
|
|
728
|
+
export interface PublicSavingsPlan {
|
|
729
|
+
/** Discount percentage for the savings plan */
|
|
730
|
+
discount?: number;
|
|
731
|
+
/** Number of years the savings plan is valid */
|
|
732
|
+
validityPeriodInYears?: number;
|
|
733
|
+
}
|
|
734
|
+
export const PublicSavingsPlan = /*@__PURE__*/ S.suspend(() =>
|
|
735
|
+
S.Struct({
|
|
736
|
+
discount: S.optional(S.Number),
|
|
737
|
+
validityPeriodInYears: S.optional(S.Number),
|
|
738
|
+
}),
|
|
739
|
+
).annotate({ identifier: "PublicSavingsPlan" }) as any as S.Schema<PublicSavingsPlan>;
|
|
740
|
+
|
|
741
|
+
export type GetSKUResponseSavingsPlansList = Array<PublicSavingsPlan>;
|
|
742
|
+
export const GetSKUResponseSavingsPlansList = /*@__PURE__*/ S.Array(
|
|
743
|
+
PublicSavingsPlan,
|
|
744
|
+
) as any as S.Schema<GetSKUResponseSavingsPlansList>;
|
|
745
|
+
|
|
746
|
+
export interface GetSKUResponse {
|
|
747
|
+
/** The unique identifier for the category, which is object id from the DB */
|
|
748
|
+
categoryId: string | null;
|
|
749
|
+
/** Generic categorization to structure the customer's invoice transparently (e.g. `Compute Engine`, `Database`, `Storage`) */
|
|
750
|
+
categoryName: string | null;
|
|
751
|
+
/** CPU overprovisioning */
|
|
752
|
+
cpuOverprovisioning?: boolean | null;
|
|
753
|
+
/** Attribute that indicates if product is deprecated or not. */
|
|
754
|
+
deprecated: string | null;
|
|
755
|
+
/** Documentation URL */
|
|
756
|
+
documentation: string | null;
|
|
757
|
+
finOpsFocus: FinOpsFocus;
|
|
758
|
+
/** Category designation one level below the generic designation that describes the overall product group to which all the SKUs are allocated to. */
|
|
759
|
+
generalProductGroup: string | null;
|
|
760
|
+
/** SKU ID \ Complete SAP article number with prefix. Will be shown on the invoice like this */
|
|
761
|
+
id: string;
|
|
762
|
+
/** Language of sku */
|
|
763
|
+
language?: string;
|
|
764
|
+
/** Name of license */
|
|
765
|
+
licenseName?: string | null;
|
|
766
|
+
/** State of the SKU following the mandatory product‘s maturity model progress (e.g. `beta`, `ga`) */
|
|
767
|
+
maturityModelState: string | null;
|
|
768
|
+
/** Metric of service */
|
|
769
|
+
metric?: string | null;
|
|
770
|
+
/** How the line item will appear on the bill */
|
|
771
|
+
name: string | null;
|
|
772
|
+
/** Attribute that indicates if PriceList is visible or not. */
|
|
773
|
+
priceListVisibility: string | null;
|
|
774
|
+
/** List of prices */
|
|
775
|
+
prices: GetSKUResponsePricesList;
|
|
776
|
+
/** The unique identifier for the product, which is object id from the DB */
|
|
777
|
+
productId: string | null;
|
|
778
|
+
/** Generic product (e.g. `Windows Server`, `Server Backup Management`, `Server`) */
|
|
779
|
+
productName: string | null;
|
|
780
|
+
/** Rate type of service */
|
|
781
|
+
rateType?: string | null;
|
|
782
|
+
/** Region of sku */
|
|
783
|
+
region: string;
|
|
784
|
+
/** List of unique service look up ids (ASCII ordered, ascending) */
|
|
785
|
+
serviceId?: GetSKUResponseServiceIdList;
|
|
786
|
+
/** Technical differentiation */
|
|
787
|
+
technicalProductGroup?: string | null;
|
|
788
|
+
/** Tier max value */
|
|
789
|
+
tierMaxValue?: number | null;
|
|
790
|
+
/** Tier min value */
|
|
791
|
+
tierMinValue?: number | null;
|
|
792
|
+
/** Service name */
|
|
793
|
+
title: string;
|
|
794
|
+
/** The unit of measurement for the invoiced items, as to be displayed on the invoice. */
|
|
795
|
+
unit: string;
|
|
796
|
+
/** Unit billing */
|
|
797
|
+
unitBilling: string;
|
|
798
|
+
/** Date when the current version was approved and became valid in PIM */
|
|
799
|
+
validStart: string;
|
|
800
|
+
/** Number of the revision from PIM */
|
|
801
|
+
version: string;
|
|
802
|
+
productSpecificAttributes?: GetSKUResponseProductSpecificAttributes;
|
|
803
|
+
savingsPlans?: GetSKUResponseSavingsPlansList;
|
|
804
|
+
}
|
|
805
|
+
export const GetSKUResponse = /*@__PURE__*/ S.suspend(() =>
|
|
806
|
+
S.Struct({
|
|
807
|
+
categoryId: S.NullOr(S.String),
|
|
808
|
+
categoryName: S.NullOr(S.String),
|
|
809
|
+
cpuOverprovisioning: S.optional(S.NullOr(S.Boolean)),
|
|
810
|
+
deprecated: S.NullOr(S.String),
|
|
811
|
+
documentation: S.NullOr(S.String),
|
|
812
|
+
finOpsFocus: FinOpsFocus,
|
|
813
|
+
generalProductGroup: S.NullOr(S.String),
|
|
814
|
+
id: S.String,
|
|
815
|
+
language: S.optional(S.String),
|
|
816
|
+
licenseName: S.optional(S.NullOr(S.String)),
|
|
817
|
+
maturityModelState: S.NullOr(S.String),
|
|
818
|
+
metric: S.optional(S.NullOr(S.String)),
|
|
819
|
+
name: S.NullOr(S.String),
|
|
820
|
+
priceListVisibility: S.NullOr(S.String),
|
|
821
|
+
prices: GetSKUResponsePricesList,
|
|
822
|
+
productId: S.NullOr(S.String),
|
|
823
|
+
productName: S.NullOr(S.String),
|
|
824
|
+
rateType: S.optional(S.NullOr(S.String)),
|
|
825
|
+
region: S.String,
|
|
826
|
+
serviceId: S.optional(GetSKUResponseServiceIdList),
|
|
827
|
+
technicalProductGroup: S.optional(S.NullOr(S.String)),
|
|
828
|
+
tierMaxValue: S.optional(S.NullOr(S.Number)),
|
|
829
|
+
tierMinValue: S.optional(S.NullOr(S.Number)),
|
|
830
|
+
title: S.String,
|
|
831
|
+
unit: S.String,
|
|
832
|
+
unitBilling: S.String,
|
|
833
|
+
validStart: S.String,
|
|
834
|
+
version: S.String,
|
|
835
|
+
productSpecificAttributes: S.optional(GetSKUResponseProductSpecificAttributes),
|
|
836
|
+
savingsPlans: S.optional(GetSKUResponseSavingsPlansList),
|
|
837
|
+
}),
|
|
838
|
+
).annotate({ identifier: "GetSKUResponse" }) as any as S.Schema<GetSKUResponse>;
|
|
839
|
+
|
|
840
|
+
export type GetSTAXSKURequestLanguage = "en" | "de";
|
|
841
|
+
export const GetSTAXSKURequestLanguage = S.String;
|
|
842
|
+
|
|
843
|
+
export interface GetSTAXSKURequest {
|
|
844
|
+
/** The unique identifier for a SKU. */
|
|
845
|
+
skuId: string;
|
|
846
|
+
/** The language to retrieve the data in, available for en and de */
|
|
847
|
+
language?: GetSTAXSKURequestLanguage | (string & {});
|
|
848
|
+
}
|
|
849
|
+
export const GetSTAXSKURequest = /*@__PURE__*/ S.suspend(() =>
|
|
850
|
+
S.Struct({
|
|
851
|
+
skuId: S.String.pipe(T.Label()),
|
|
852
|
+
language: S.optional(GetSTAXSKURequestLanguage.pipe(T.Query())),
|
|
853
|
+
}).pipe(
|
|
854
|
+
T.Http({
|
|
855
|
+
method: "GET",
|
|
856
|
+
uri: "/v2/stackitx/skus/{skuId}",
|
|
857
|
+
code: 200,
|
|
858
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
859
|
+
}),
|
|
860
|
+
),
|
|
861
|
+
).annotate({ identifier: "GetSTAXSKURequest" }) as any as S.Schema<GetSTAXSKURequest>;
|
|
862
|
+
|
|
863
|
+
/** List of prices */
|
|
864
|
+
export type GetSTAXSKUResponsePricesList = Array<Price>;
|
|
865
|
+
export const GetSTAXSKUResponsePricesList = /*@__PURE__*/ S.Array(
|
|
866
|
+
Price,
|
|
867
|
+
) as any as S.Schema<GetSTAXSKUResponsePricesList>;
|
|
868
|
+
|
|
869
|
+
/** List of unique service look up ids (ASCII ordered, ascending) */
|
|
870
|
+
export type GetSTAXSKUResponseServiceIdList = Array<string>;
|
|
871
|
+
export const GetSTAXSKUResponseServiceIdList = /*@__PURE__*/ S.Array(
|
|
872
|
+
S.String,
|
|
873
|
+
) as any as S.Schema<GetSTAXSKUResponseServiceIdList>;
|
|
874
|
+
|
|
875
|
+
export type GetSTAXSKUResponseProductSpecificAttributes =
|
|
876
|
+
| PublicDatabaseSpecificAttributes
|
|
877
|
+
| ArchivingSpecificAttributes
|
|
878
|
+
| ComputeEngineSpecificAttributes
|
|
879
|
+
| ComputeEngineSpecificAttributes
|
|
880
|
+
| NetworkSpecificAttributes
|
|
881
|
+
| MessagingSpecificAttributes
|
|
882
|
+
| LoggingAndMonitoringSpecificAttributes
|
|
883
|
+
| ComputeEngineSpecificAttributes
|
|
884
|
+
| StorageSpecificAttributes
|
|
885
|
+
| DataAndAI
|
|
886
|
+
| RuntimeSpecificAttributes
|
|
887
|
+
| SupportSpecificAttributes
|
|
888
|
+
| DeveloperPlatformSpecificAttributes;
|
|
889
|
+
export const GetSTAXSKUResponseProductSpecificAttributes =
|
|
890
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<GetSTAXSKUResponseProductSpecificAttributes>;
|
|
891
|
+
|
|
892
|
+
export type GetSTAXSKUResponseSavingsPlansList = Array<PublicSavingsPlan>;
|
|
893
|
+
export const GetSTAXSKUResponseSavingsPlansList = /*@__PURE__*/ S.Array(
|
|
894
|
+
PublicSavingsPlan,
|
|
895
|
+
) as any as S.Schema<GetSTAXSKUResponseSavingsPlansList>;
|
|
896
|
+
|
|
897
|
+
export interface GetSTAXSKUResponse {
|
|
898
|
+
/** The unique identifier for the category, which is object id from the DB */
|
|
899
|
+
categoryId: string | null;
|
|
900
|
+
/** Generic categorization to structure the customer's invoice transparently (e.g. `Compute Engine`, `Database`, `Storage`) */
|
|
901
|
+
categoryName: string | null;
|
|
902
|
+
/** CPU overprovisioning */
|
|
903
|
+
cpuOverprovisioning?: boolean | null;
|
|
904
|
+
/** Attribute that indicates if product is deprecated or not. */
|
|
905
|
+
deprecated: string | null;
|
|
906
|
+
/** Documentation URL */
|
|
907
|
+
documentation: string | null;
|
|
908
|
+
finOpsFocus: FinOpsFocus;
|
|
909
|
+
/** Category designation one level below the generic designation that describes the overall product group to which all the SKUs are allocated to. */
|
|
910
|
+
generalProductGroup: string | null;
|
|
911
|
+
/** SKU ID \ Complete SAP article number with prefix. Will be shown on the invoice like this */
|
|
912
|
+
id: string;
|
|
913
|
+
/** Language of sku */
|
|
914
|
+
language?: string;
|
|
915
|
+
/** Name of license */
|
|
916
|
+
licenseName?: string | null;
|
|
917
|
+
/** State of the SKU following the mandatory product‘s maturity model progress (e.g. `beta`, `ga`) */
|
|
918
|
+
maturityModelState: string | null;
|
|
919
|
+
/** Metric of service */
|
|
920
|
+
metric?: string | null;
|
|
921
|
+
/** How the line item will appear on the bill */
|
|
922
|
+
name: string | null;
|
|
923
|
+
/** Attribute that indicates if PriceList is visible or not. */
|
|
924
|
+
priceListVisibility: string | null;
|
|
925
|
+
/** List of prices */
|
|
926
|
+
prices: GetSTAXSKUResponsePricesList;
|
|
927
|
+
/** The unique identifier for the product, which is object id from the DB */
|
|
928
|
+
productId: string | null;
|
|
929
|
+
/** Generic product (e.g. `Windows Server`, `Server Backup Management`, `Server`) */
|
|
930
|
+
productName: string | null;
|
|
931
|
+
/** Rate type of service */
|
|
932
|
+
rateType?: string | null;
|
|
933
|
+
/** Region of sku */
|
|
934
|
+
region: string;
|
|
935
|
+
/** List of unique service look up ids (ASCII ordered, ascending) */
|
|
936
|
+
serviceId?: GetSTAXSKUResponseServiceIdList;
|
|
937
|
+
/** Technical differentiation */
|
|
938
|
+
technicalProductGroup?: string | null;
|
|
939
|
+
/** Tier max value */
|
|
940
|
+
tierMaxValue?: number | null;
|
|
941
|
+
/** Tier min value */
|
|
942
|
+
tierMinValue?: number | null;
|
|
943
|
+
/** Service name */
|
|
944
|
+
title: string;
|
|
945
|
+
/** The unit of measurement for the invoiced items, as to be displayed on the invoice. */
|
|
946
|
+
unit: string;
|
|
947
|
+
/** Unit billing */
|
|
948
|
+
unitBilling: string;
|
|
949
|
+
/** Date when the current version was approved and became valid in PIM */
|
|
950
|
+
validStart: string;
|
|
951
|
+
/** Number of the revision from PIM */
|
|
952
|
+
version: string;
|
|
953
|
+
productSpecificAttributes?: GetSTAXSKUResponseProductSpecificAttributes;
|
|
954
|
+
savingsPlans?: GetSTAXSKUResponseSavingsPlansList;
|
|
955
|
+
}
|
|
956
|
+
export const GetSTAXSKUResponse = /*@__PURE__*/ S.suspend(() =>
|
|
957
|
+
S.Struct({
|
|
958
|
+
categoryId: S.NullOr(S.String),
|
|
959
|
+
categoryName: S.NullOr(S.String),
|
|
960
|
+
cpuOverprovisioning: S.optional(S.NullOr(S.Boolean)),
|
|
961
|
+
deprecated: S.NullOr(S.String),
|
|
962
|
+
documentation: S.NullOr(S.String),
|
|
963
|
+
finOpsFocus: FinOpsFocus,
|
|
964
|
+
generalProductGroup: S.NullOr(S.String),
|
|
965
|
+
id: S.String,
|
|
966
|
+
language: S.optional(S.String),
|
|
967
|
+
licenseName: S.optional(S.NullOr(S.String)),
|
|
968
|
+
maturityModelState: S.NullOr(S.String),
|
|
969
|
+
metric: S.optional(S.NullOr(S.String)),
|
|
970
|
+
name: S.NullOr(S.String),
|
|
971
|
+
priceListVisibility: S.NullOr(S.String),
|
|
972
|
+
prices: GetSTAXSKUResponsePricesList,
|
|
973
|
+
productId: S.NullOr(S.String),
|
|
974
|
+
productName: S.NullOr(S.String),
|
|
975
|
+
rateType: S.optional(S.NullOr(S.String)),
|
|
976
|
+
region: S.String,
|
|
977
|
+
serviceId: S.optional(GetSTAXSKUResponseServiceIdList),
|
|
978
|
+
technicalProductGroup: S.optional(S.NullOr(S.String)),
|
|
979
|
+
tierMaxValue: S.optional(S.NullOr(S.Number)),
|
|
980
|
+
tierMinValue: S.optional(S.NullOr(S.Number)),
|
|
981
|
+
title: S.String,
|
|
982
|
+
unit: S.String,
|
|
983
|
+
unitBilling: S.String,
|
|
984
|
+
validStart: S.String,
|
|
985
|
+
version: S.String,
|
|
986
|
+
productSpecificAttributes: S.optional(GetSTAXSKUResponseProductSpecificAttributes),
|
|
987
|
+
savingsPlans: S.optional(GetSTAXSKUResponseSavingsPlansList),
|
|
988
|
+
}),
|
|
989
|
+
).annotate({ identifier: "GetSTAXSKUResponse" }) as any as S.Schema<GetSTAXSKUResponse>;
|
|
990
|
+
|
|
991
|
+
export type ListCategoriesRequestLanguage = "en" | "de";
|
|
992
|
+
export const ListCategoriesRequestLanguage = S.String;
|
|
993
|
+
|
|
994
|
+
export interface ListCategoriesRequest {
|
|
995
|
+
/** The number of items to retrieve per page */
|
|
996
|
+
pageSize?: number;
|
|
997
|
+
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
998
|
+
cursor?: string;
|
|
999
|
+
/** The category's name to retrieve the data for */
|
|
1000
|
+
categoryName?: string;
|
|
1001
|
+
/** The language to retrieve the data in, available for en and de */
|
|
1002
|
+
language?: ListCategoriesRequestLanguage | (string & {});
|
|
1003
|
+
}
|
|
1004
|
+
export const ListCategoriesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1005
|
+
S.Struct({
|
|
1006
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1007
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1008
|
+
categoryName: S.optional(S.String.pipe(T.Query())),
|
|
1009
|
+
language: S.optional(ListCategoriesRequestLanguage.pipe(T.Query())),
|
|
1010
|
+
}).pipe(
|
|
1011
|
+
T.Http({
|
|
1012
|
+
method: "GET",
|
|
1013
|
+
uri: "/v2/categories",
|
|
1014
|
+
code: 200,
|
|
1015
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1016
|
+
}),
|
|
1017
|
+
),
|
|
1018
|
+
).annotate({ identifier: "ListCategoriesRequest" }) as any as S.Schema<ListCategoriesRequest>;
|
|
1019
|
+
|
|
1020
|
+
export type ListCategoriesResponseDataList = Array<PublicCategory>;
|
|
1021
|
+
export const ListCategoriesResponseDataList = /*@__PURE__*/ S.Array(
|
|
1022
|
+
PublicCategory,
|
|
1023
|
+
) as any as S.Schema<ListCategoriesResponseDataList>;
|
|
1024
|
+
|
|
1025
|
+
export interface MetaInformation {
|
|
1026
|
+
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
1027
|
+
nextCursor?: string;
|
|
1028
|
+
/** The number of items per page */
|
|
1029
|
+
pageSize?: number;
|
|
1030
|
+
}
|
|
1031
|
+
export const MetaInformation = /*@__PURE__*/ S.suspend(() =>
|
|
1032
|
+
S.Struct({
|
|
1033
|
+
nextCursor: S.optional(S.String),
|
|
1034
|
+
pageSize: S.optional(S.Number),
|
|
1035
|
+
}),
|
|
1036
|
+
).annotate({ identifier: "MetaInformation" }) as any as S.Schema<MetaInformation>;
|
|
1037
|
+
|
|
1038
|
+
export interface ListCategoriesResponse {
|
|
1039
|
+
data?: ListCategoriesResponseDataList;
|
|
1040
|
+
meta?: MetaInformation;
|
|
1041
|
+
}
|
|
1042
|
+
export const ListCategoriesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1043
|
+
S.Struct({
|
|
1044
|
+
data: S.optional(ListCategoriesResponseDataList),
|
|
1045
|
+
meta: S.optional(MetaInformation),
|
|
1046
|
+
}),
|
|
1047
|
+
).annotate({ identifier: "ListCategoriesResponse" }) as any as S.Schema<ListCategoriesResponse>;
|
|
1048
|
+
|
|
1049
|
+
export type ListCategoryProductsRequestLanguage = "en" | "de";
|
|
1050
|
+
export const ListCategoryProductsRequestLanguage = S.String;
|
|
1051
|
+
|
|
1052
|
+
export interface ListCategoryProductsRequest {
|
|
1053
|
+
/** The unique identifier for a category. */
|
|
1054
|
+
categoryId: string;
|
|
1055
|
+
/** The number of items to retrieve per page */
|
|
1056
|
+
pageSize?: number;
|
|
1057
|
+
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
1058
|
+
cursor?: string;
|
|
1059
|
+
/** The product's name to retrieve the data for */
|
|
1060
|
+
productName?: string;
|
|
1061
|
+
/** The language to retrieve the data in, available for en and de */
|
|
1062
|
+
language?: ListCategoryProductsRequestLanguage | (string & {});
|
|
1063
|
+
}
|
|
1064
|
+
export const ListCategoryProductsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1065
|
+
S.Struct({
|
|
1066
|
+
categoryId: S.String.pipe(T.Label()),
|
|
1067
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1068
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1069
|
+
productName: S.optional(S.String.pipe(T.Query())),
|
|
1070
|
+
language: S.optional(ListCategoryProductsRequestLanguage.pipe(T.Query())),
|
|
1071
|
+
}).pipe(
|
|
1072
|
+
T.Http({
|
|
1073
|
+
method: "GET",
|
|
1074
|
+
uri: "/v2/categories/{categoryId}/products",
|
|
1075
|
+
code: 200,
|
|
1076
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1077
|
+
}),
|
|
1078
|
+
),
|
|
1079
|
+
).annotate({
|
|
1080
|
+
identifier: "ListCategoryProductsRequest",
|
|
1081
|
+
}) as any as S.Schema<ListCategoryProductsRequest>;
|
|
1082
|
+
|
|
1083
|
+
export type ListCategoryProductsResponseDataList = Array<PublicProduct>;
|
|
1084
|
+
export const ListCategoryProductsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1085
|
+
PublicProduct,
|
|
1086
|
+
) as any as S.Schema<ListCategoryProductsResponseDataList>;
|
|
1087
|
+
|
|
1088
|
+
export interface ListCategoryProductsResponse {
|
|
1089
|
+
data?: ListCategoryProductsResponseDataList;
|
|
1090
|
+
meta?: MetaInformation;
|
|
1091
|
+
}
|
|
1092
|
+
export const ListCategoryProductsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1093
|
+
S.Struct({
|
|
1094
|
+
data: S.optional(ListCategoryProductsResponseDataList),
|
|
1095
|
+
meta: S.optional(MetaInformation),
|
|
1096
|
+
}),
|
|
1097
|
+
).annotate({
|
|
1098
|
+
identifier: "ListCategoryProductsResponse",
|
|
1099
|
+
}) as any as S.Schema<ListCategoryProductsResponse>;
|
|
1100
|
+
|
|
1101
|
+
export type ListMarketingDataRequestLanguage = "en" | "de";
|
|
1102
|
+
export const ListMarketingDataRequestLanguage = S.String;
|
|
1103
|
+
|
|
1104
|
+
export interface ListMarketingDataRequest {
|
|
1105
|
+
/** The number of items to retrieve per page */
|
|
1106
|
+
pageSize?: number;
|
|
1107
|
+
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
1108
|
+
cursor?: string;
|
|
1109
|
+
/** The language to retrieve the data in, available for en and de */
|
|
1110
|
+
language?: ListMarketingDataRequestLanguage | (string & {});
|
|
1111
|
+
/** The product's name to retrieve the data for */
|
|
1112
|
+
productName?: string;
|
|
1113
|
+
}
|
|
1114
|
+
export const ListMarketingDataRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1115
|
+
S.Struct({
|
|
1116
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1117
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1118
|
+
language: S.optional(ListMarketingDataRequestLanguage.pipe(T.Query())),
|
|
1119
|
+
productName: S.optional(S.String.pipe(T.Query())),
|
|
1120
|
+
}).pipe(
|
|
1121
|
+
T.Http({
|
|
1122
|
+
method: "GET",
|
|
1123
|
+
uri: "/v2/marketing",
|
|
1124
|
+
code: 200,
|
|
1125
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1126
|
+
}),
|
|
1127
|
+
),
|
|
1128
|
+
).annotate({ identifier: "ListMarketingDataRequest" }) as any as S.Schema<ListMarketingDataRequest>;
|
|
1129
|
+
|
|
1130
|
+
export type ListMarketingDataResponseDataList = Array<PublicMarketingData>;
|
|
1131
|
+
export const ListMarketingDataResponseDataList = /*@__PURE__*/ S.Array(
|
|
1132
|
+
PublicMarketingData,
|
|
1133
|
+
) as any as S.Schema<ListMarketingDataResponseDataList>;
|
|
1134
|
+
|
|
1135
|
+
export interface ListMarketingDataResponse {
|
|
1136
|
+
data?: ListMarketingDataResponseDataList;
|
|
1137
|
+
meta?: MetaInformation;
|
|
1138
|
+
}
|
|
1139
|
+
export const ListMarketingDataResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1140
|
+
S.Struct({
|
|
1141
|
+
data: S.optional(ListMarketingDataResponseDataList),
|
|
1142
|
+
meta: S.optional(MetaInformation),
|
|
1143
|
+
}),
|
|
1144
|
+
).annotate({
|
|
1145
|
+
identifier: "ListMarketingDataResponse",
|
|
1146
|
+
}) as any as S.Schema<ListMarketingDataResponse>;
|
|
1147
|
+
|
|
1148
|
+
export type ListProductsRequestLanguage = "en" | "de";
|
|
1149
|
+
export const ListProductsRequestLanguage = S.String;
|
|
1150
|
+
|
|
1151
|
+
export interface ListProductsRequest {
|
|
1152
|
+
/** The number of items to retrieve per page */
|
|
1153
|
+
pageSize?: number;
|
|
1154
|
+
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
1155
|
+
cursor?: string;
|
|
1156
|
+
/** The category's name to retrieve the data for */
|
|
1157
|
+
categoryName?: string;
|
|
1158
|
+
/** The product's name to retrieve the data for */
|
|
1159
|
+
productName?: string;
|
|
1160
|
+
/** The language to retrieve the data in, available for en and de */
|
|
1161
|
+
language?: ListProductsRequestLanguage | (string & {});
|
|
1162
|
+
}
|
|
1163
|
+
export const ListProductsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1164
|
+
S.Struct({
|
|
1165
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1166
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1167
|
+
categoryName: S.optional(S.String.pipe(T.Query())),
|
|
1168
|
+
productName: S.optional(S.String.pipe(T.Query())),
|
|
1169
|
+
language: S.optional(ListProductsRequestLanguage.pipe(T.Query())),
|
|
1170
|
+
}).pipe(
|
|
1171
|
+
T.Http({
|
|
1172
|
+
method: "GET",
|
|
1173
|
+
uri: "/v2/products",
|
|
1174
|
+
code: 200,
|
|
1175
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1176
|
+
}),
|
|
1177
|
+
),
|
|
1178
|
+
).annotate({ identifier: "ListProductsRequest" }) as any as S.Schema<ListProductsRequest>;
|
|
1179
|
+
|
|
1180
|
+
export type ListProductsResponseDataList = Array<PublicProduct>;
|
|
1181
|
+
export const ListProductsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1182
|
+
PublicProduct,
|
|
1183
|
+
) as any as S.Schema<ListProductsResponseDataList>;
|
|
1184
|
+
|
|
1185
|
+
export interface ListProductsResponse {
|
|
1186
|
+
data?: ListProductsResponseDataList;
|
|
1187
|
+
meta?: MetaInformation;
|
|
1188
|
+
}
|
|
1189
|
+
export const ListProductsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1190
|
+
S.Struct({
|
|
1191
|
+
data: S.optional(ListProductsResponseDataList),
|
|
1192
|
+
meta: S.optional(MetaInformation),
|
|
1193
|
+
}),
|
|
1194
|
+
).annotate({ identifier: "ListProductsResponse" }) as any as S.Schema<ListProductsResponse>;
|
|
1195
|
+
|
|
1196
|
+
export type ListProductSKUsRequestLanguage = "en" | "de";
|
|
1197
|
+
export const ListProductSKUsRequestLanguage = S.String;
|
|
1198
|
+
|
|
1199
|
+
export type ListProductSKUsRequestRegionList = Array<string>;
|
|
1200
|
+
export const ListProductSKUsRequestRegionList = /*@__PURE__*/ S.Array(
|
|
1201
|
+
S.String,
|
|
1202
|
+
) as any as S.Schema<ListProductSKUsRequestRegionList>;
|
|
1203
|
+
|
|
1204
|
+
export interface ListProductSKUsRequest {
|
|
1205
|
+
/** The unique identifier for a product. */
|
|
1206
|
+
productId: string;
|
|
1207
|
+
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
1208
|
+
cursor?: string;
|
|
1209
|
+
/** The number of items to retrieve per page */
|
|
1210
|
+
pageSize?: number;
|
|
1211
|
+
/** The language to retrieve the data in, available for en and de */
|
|
1212
|
+
language?: ListProductSKUsRequestLanguage | (string & {});
|
|
1213
|
+
/** The SKU's name to retrieve the data for */
|
|
1214
|
+
skuName?: string;
|
|
1215
|
+
/** The region to retrieve the data in */
|
|
1216
|
+
region?: ListProductSKUsRequestRegionList;
|
|
1217
|
+
}
|
|
1218
|
+
export const ListProductSKUsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1219
|
+
S.Struct({
|
|
1220
|
+
productId: S.String.pipe(T.Label()),
|
|
1221
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1222
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1223
|
+
language: S.optional(ListProductSKUsRequestLanguage.pipe(T.Query())),
|
|
1224
|
+
skuName: S.optional(S.String.pipe(T.Query())),
|
|
1225
|
+
region: S.optional(ListProductSKUsRequestRegionList.pipe(T.Query())),
|
|
1226
|
+
}).pipe(
|
|
1227
|
+
T.Http({
|
|
1228
|
+
method: "GET",
|
|
1229
|
+
uri: "/v2/products/{productId}/skus",
|
|
1230
|
+
code: 200,
|
|
1231
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1232
|
+
}),
|
|
1233
|
+
),
|
|
1234
|
+
).annotate({ identifier: "ListProductSKUsRequest" }) as any as S.Schema<ListProductSKUsRequest>;
|
|
1235
|
+
|
|
1236
|
+
/** List of prices */
|
|
1237
|
+
export type PublicSKUPricesList = Array<Price>;
|
|
1238
|
+
export const PublicSKUPricesList = /*@__PURE__*/ S.Array(
|
|
1239
|
+
Price,
|
|
1240
|
+
) as any as S.Schema<PublicSKUPricesList>;
|
|
1241
|
+
|
|
1242
|
+
/** List of unique service look up ids (ASCII ordered, ascending) */
|
|
1243
|
+
export type PublicSKUServiceIdList = Array<string>;
|
|
1244
|
+
export const PublicSKUServiceIdList = /*@__PURE__*/ S.Array(
|
|
1245
|
+
S.String,
|
|
1246
|
+
) as any as S.Schema<PublicSKUServiceIdList>;
|
|
1247
|
+
|
|
1248
|
+
export type PublicSKUProductSpecificAttributes =
|
|
1249
|
+
| PublicDatabaseSpecificAttributes
|
|
1250
|
+
| ArchivingSpecificAttributes
|
|
1251
|
+
| ComputeEngineSpecificAttributes
|
|
1252
|
+
| ComputeEngineSpecificAttributes
|
|
1253
|
+
| NetworkSpecificAttributes
|
|
1254
|
+
| MessagingSpecificAttributes
|
|
1255
|
+
| LoggingAndMonitoringSpecificAttributes
|
|
1256
|
+
| ComputeEngineSpecificAttributes
|
|
1257
|
+
| StorageSpecificAttributes
|
|
1258
|
+
| DataAndAI
|
|
1259
|
+
| RuntimeSpecificAttributes
|
|
1260
|
+
| SupportSpecificAttributes
|
|
1261
|
+
| DeveloperPlatformSpecificAttributes;
|
|
1262
|
+
export const PublicSKUProductSpecificAttributes =
|
|
1263
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<PublicSKUProductSpecificAttributes>;
|
|
1264
|
+
|
|
1265
|
+
export type PublicSKUSavingsPlansList = Array<PublicSavingsPlan>;
|
|
1266
|
+
export const PublicSKUSavingsPlansList = /*@__PURE__*/ S.Array(
|
|
1267
|
+
PublicSavingsPlan,
|
|
1268
|
+
) as any as S.Schema<PublicSKUSavingsPlansList>;
|
|
1269
|
+
|
|
1270
|
+
export interface PublicSKU {
|
|
1271
|
+
/** The unique identifier for the category, which is object id from the DB */
|
|
1272
|
+
categoryId: string | null;
|
|
1273
|
+
/** Generic categorization to structure the customer's invoice transparently (e.g. `Compute Engine`, `Database`, `Storage`) */
|
|
1274
|
+
categoryName: string | null;
|
|
1275
|
+
/** CPU overprovisioning */
|
|
1276
|
+
cpuOverprovisioning?: boolean | null;
|
|
1277
|
+
/** Attribute that indicates if product is deprecated or not. */
|
|
1278
|
+
deprecated: string | null;
|
|
1279
|
+
/** Documentation URL */
|
|
1280
|
+
documentation: string | null;
|
|
1281
|
+
finOpsFocus: FinOpsFocus;
|
|
1282
|
+
/** Category designation one level below the generic designation that describes the overall product group to which all the SKUs are allocated to. */
|
|
1283
|
+
generalProductGroup: string | null;
|
|
1284
|
+
/** SKU ID \ Complete SAP article number with prefix. Will be shown on the invoice like this */
|
|
1285
|
+
id: string;
|
|
1286
|
+
/** Language of sku */
|
|
1287
|
+
language?: string;
|
|
1288
|
+
/** Name of license */
|
|
1289
|
+
licenseName?: string | null;
|
|
1290
|
+
/** State of the SKU following the mandatory product‘s maturity model progress (e.g. `beta`, `ga`) */
|
|
1291
|
+
maturityModelState: string | null;
|
|
1292
|
+
/** Metric of service */
|
|
1293
|
+
metric?: string | null;
|
|
1294
|
+
/** How the line item will appear on the bill */
|
|
1295
|
+
name: string | null;
|
|
1296
|
+
/** Attribute that indicates if PriceList is visible or not. */
|
|
1297
|
+
priceListVisibility: string | null;
|
|
1298
|
+
/** List of prices */
|
|
1299
|
+
prices: PublicSKUPricesList;
|
|
1300
|
+
/** The unique identifier for the product, which is object id from the DB */
|
|
1301
|
+
productId: string | null;
|
|
1302
|
+
/** Generic product (e.g. `Windows Server`, `Server Backup Management`, `Server`) */
|
|
1303
|
+
productName: string | null;
|
|
1304
|
+
/** Rate type of service */
|
|
1305
|
+
rateType?: string | null;
|
|
1306
|
+
/** Region of sku */
|
|
1307
|
+
region: string;
|
|
1308
|
+
/** List of unique service look up ids (ASCII ordered, ascending) */
|
|
1309
|
+
serviceId?: PublicSKUServiceIdList;
|
|
1310
|
+
/** Technical differentiation */
|
|
1311
|
+
technicalProductGroup?: string | null;
|
|
1312
|
+
/** Tier max value */
|
|
1313
|
+
tierMaxValue?: number | null;
|
|
1314
|
+
/** Tier min value */
|
|
1315
|
+
tierMinValue?: number | null;
|
|
1316
|
+
/** Service name */
|
|
1317
|
+
title: string;
|
|
1318
|
+
/** The unit of measurement for the invoiced items, as to be displayed on the invoice. */
|
|
1319
|
+
unit: string;
|
|
1320
|
+
/** Unit billing */
|
|
1321
|
+
unitBilling: string;
|
|
1322
|
+
/** Date when the current version was approved and became valid in PIM */
|
|
1323
|
+
validStart: string;
|
|
1324
|
+
/** Number of the revision from PIM */
|
|
1325
|
+
version: string;
|
|
1326
|
+
productSpecificAttributes?: PublicSKUProductSpecificAttributes;
|
|
1327
|
+
savingsPlans?: PublicSKUSavingsPlansList;
|
|
1328
|
+
}
|
|
1329
|
+
export const PublicSKU = /*@__PURE__*/ S.suspend(() =>
|
|
1330
|
+
S.Struct({
|
|
1331
|
+
categoryId: S.NullOr(S.String),
|
|
1332
|
+
categoryName: S.NullOr(S.String),
|
|
1333
|
+
cpuOverprovisioning: S.optional(S.NullOr(S.Boolean)),
|
|
1334
|
+
deprecated: S.NullOr(S.String),
|
|
1335
|
+
documentation: S.NullOr(S.String),
|
|
1336
|
+
finOpsFocus: FinOpsFocus,
|
|
1337
|
+
generalProductGroup: S.NullOr(S.String),
|
|
1338
|
+
id: S.String,
|
|
1339
|
+
language: S.optional(S.String),
|
|
1340
|
+
licenseName: S.optional(S.NullOr(S.String)),
|
|
1341
|
+
maturityModelState: S.NullOr(S.String),
|
|
1342
|
+
metric: S.optional(S.NullOr(S.String)),
|
|
1343
|
+
name: S.NullOr(S.String),
|
|
1344
|
+
priceListVisibility: S.NullOr(S.String),
|
|
1345
|
+
prices: PublicSKUPricesList,
|
|
1346
|
+
productId: S.NullOr(S.String),
|
|
1347
|
+
productName: S.NullOr(S.String),
|
|
1348
|
+
rateType: S.optional(S.NullOr(S.String)),
|
|
1349
|
+
region: S.String,
|
|
1350
|
+
serviceId: S.optional(PublicSKUServiceIdList),
|
|
1351
|
+
technicalProductGroup: S.optional(S.NullOr(S.String)),
|
|
1352
|
+
tierMaxValue: S.optional(S.NullOr(S.Number)),
|
|
1353
|
+
tierMinValue: S.optional(S.NullOr(S.Number)),
|
|
1354
|
+
title: S.String,
|
|
1355
|
+
unit: S.String,
|
|
1356
|
+
unitBilling: S.String,
|
|
1357
|
+
validStart: S.String,
|
|
1358
|
+
version: S.String,
|
|
1359
|
+
productSpecificAttributes: S.optional(PublicSKUProductSpecificAttributes),
|
|
1360
|
+
savingsPlans: S.optional(PublicSKUSavingsPlansList),
|
|
1361
|
+
}),
|
|
1362
|
+
).annotate({ identifier: "PublicSKU" }) as any as S.Schema<PublicSKU>;
|
|
1363
|
+
|
|
1364
|
+
export type ListProductSKUsResponseDataList = Array<PublicSKU>;
|
|
1365
|
+
export const ListProductSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1366
|
+
PublicSKU,
|
|
1367
|
+
) as any as S.Schema<ListProductSKUsResponseDataList>;
|
|
1368
|
+
|
|
1369
|
+
export interface ListProductSKUsResponse {
|
|
1370
|
+
data?: ListProductSKUsResponseDataList;
|
|
1371
|
+
meta?: MetaInformation;
|
|
1372
|
+
}
|
|
1373
|
+
export const ListProductSKUsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1374
|
+
S.Struct({
|
|
1375
|
+
data: S.optional(ListProductSKUsResponseDataList),
|
|
1376
|
+
meta: S.optional(MetaInformation),
|
|
1377
|
+
}),
|
|
1378
|
+
).annotate({ identifier: "ListProductSKUsResponse" }) as any as S.Schema<ListProductSKUsResponse>;
|
|
1379
|
+
|
|
1380
|
+
export type ListProductSTAXSKUsRequestLanguage = "en" | "de";
|
|
1381
|
+
export const ListProductSTAXSKUsRequestLanguage = S.String;
|
|
1382
|
+
|
|
1383
|
+
export type ListProductSTAXSKUsRequestRegionList = Array<string>;
|
|
1384
|
+
export const ListProductSTAXSKUsRequestRegionList = /*@__PURE__*/ S.Array(
|
|
1385
|
+
S.String,
|
|
1386
|
+
) as any as S.Schema<ListProductSTAXSKUsRequestRegionList>;
|
|
1387
|
+
|
|
1388
|
+
export interface ListProductSTAXSKUsRequest {
|
|
1389
|
+
/** The unique identifier for a product. */
|
|
1390
|
+
productId: string;
|
|
1391
|
+
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
1392
|
+
cursor?: string;
|
|
1393
|
+
/** The number of items to retrieve per page */
|
|
1394
|
+
pageSize?: number;
|
|
1395
|
+
/** The language to retrieve the data in, available for en and de */
|
|
1396
|
+
language?: ListProductSTAXSKUsRequestLanguage | (string & {});
|
|
1397
|
+
/** The SKU's name to retrieve the data for */
|
|
1398
|
+
skuName?: string;
|
|
1399
|
+
/** The region to retrieve the data in */
|
|
1400
|
+
region?: ListProductSTAXSKUsRequestRegionList;
|
|
1401
|
+
}
|
|
1402
|
+
export const ListProductSTAXSKUsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1403
|
+
S.Struct({
|
|
1404
|
+
productId: S.String.pipe(T.Label()),
|
|
1405
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1406
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1407
|
+
language: S.optional(ListProductSTAXSKUsRequestLanguage.pipe(T.Query())),
|
|
1408
|
+
skuName: S.optional(S.String.pipe(T.Query())),
|
|
1409
|
+
region: S.optional(ListProductSTAXSKUsRequestRegionList.pipe(T.Query())),
|
|
1410
|
+
}).pipe(
|
|
1411
|
+
T.Http({
|
|
1412
|
+
method: "GET",
|
|
1413
|
+
uri: "/v2/products/{productId}/stackitx/skus",
|
|
1414
|
+
code: 200,
|
|
1415
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1416
|
+
}),
|
|
1417
|
+
),
|
|
1418
|
+
).annotate({
|
|
1419
|
+
identifier: "ListProductSTAXSKUsRequest",
|
|
1420
|
+
}) as any as S.Schema<ListProductSTAXSKUsRequest>;
|
|
1421
|
+
|
|
1422
|
+
export type ListProductSTAXSKUsResponseDataList = Array<PublicSKU>;
|
|
1423
|
+
export const ListProductSTAXSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1424
|
+
PublicSKU,
|
|
1425
|
+
) as any as S.Schema<ListProductSTAXSKUsResponseDataList>;
|
|
1426
|
+
|
|
1427
|
+
export interface ListProductSTAXSKUsResponse {
|
|
1428
|
+
data?: ListProductSTAXSKUsResponseDataList;
|
|
1429
|
+
meta?: MetaInformation;
|
|
1430
|
+
}
|
|
1431
|
+
export const ListProductSTAXSKUsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1432
|
+
S.Struct({
|
|
1433
|
+
data: S.optional(ListProductSTAXSKUsResponseDataList),
|
|
1434
|
+
meta: S.optional(MetaInformation),
|
|
1435
|
+
}),
|
|
1436
|
+
).annotate({
|
|
1437
|
+
identifier: "ListProductSTAXSKUsResponse",
|
|
1438
|
+
}) as any as S.Schema<ListProductSTAXSKUsResponse>;
|
|
1439
|
+
|
|
1440
|
+
export type ListSKUsRequestLanguage = "en" | "de";
|
|
1441
|
+
export const ListSKUsRequestLanguage = S.String;
|
|
1442
|
+
|
|
1443
|
+
export type ListSKUsRequestRegionList = Array<string>;
|
|
1444
|
+
export const ListSKUsRequestRegionList = /*@__PURE__*/ S.Array(
|
|
1445
|
+
S.String,
|
|
1446
|
+
) as any as S.Schema<ListSKUsRequestRegionList>;
|
|
1447
|
+
|
|
1448
|
+
export interface ListSKUsRequest {
|
|
1449
|
+
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
1450
|
+
cursor?: string;
|
|
1451
|
+
/** The number of items to retrieve per page */
|
|
1452
|
+
pageSize?: number;
|
|
1453
|
+
/** The language to retrieve the data in, available for en and de */
|
|
1454
|
+
language?: ListSKUsRequestLanguage | (string & {});
|
|
1455
|
+
/** The category's name to retrieve the data for */
|
|
1456
|
+
categoryName?: string;
|
|
1457
|
+
/** The product's name to retrieve the data for */
|
|
1458
|
+
productName?: string;
|
|
1459
|
+
/** The SKU's name to retrieve the data for */
|
|
1460
|
+
skuName?: string;
|
|
1461
|
+
/** The region to retrieve the data in */
|
|
1462
|
+
region?: ListSKUsRequestRegionList;
|
|
1463
|
+
}
|
|
1464
|
+
export const ListSKUsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1465
|
+
S.Struct({
|
|
1466
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1467
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1468
|
+
language: S.optional(ListSKUsRequestLanguage.pipe(T.Query())),
|
|
1469
|
+
categoryName: S.optional(S.String.pipe(T.Query())),
|
|
1470
|
+
productName: S.optional(S.String.pipe(T.Query())),
|
|
1471
|
+
skuName: S.optional(S.String.pipe(T.Query())),
|
|
1472
|
+
region: S.optional(ListSKUsRequestRegionList.pipe(T.Query())),
|
|
1473
|
+
}).pipe(
|
|
1474
|
+
T.Http({ method: "GET", uri: "/v2/skus", code: 200, baseUrl: "https://pim.api.stackit.cloud" }),
|
|
1475
|
+
),
|
|
1476
|
+
).annotate({ identifier: "ListSKUsRequest" }) as any as S.Schema<ListSKUsRequest>;
|
|
1477
|
+
|
|
1478
|
+
export type ListSKUsResponseDataList = Array<PublicSKU>;
|
|
1479
|
+
export const ListSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1480
|
+
PublicSKU,
|
|
1481
|
+
) as any as S.Schema<ListSKUsResponseDataList>;
|
|
1482
|
+
|
|
1483
|
+
export interface ListSKUsResponse {
|
|
1484
|
+
data?: ListSKUsResponseDataList;
|
|
1485
|
+
meta?: MetaInformation;
|
|
1486
|
+
}
|
|
1487
|
+
export const ListSKUsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1488
|
+
S.Struct({
|
|
1489
|
+
data: S.optional(ListSKUsResponseDataList),
|
|
1490
|
+
meta: S.optional(MetaInformation),
|
|
1491
|
+
}),
|
|
1492
|
+
).annotate({ identifier: "ListSKUsResponse" }) as any as S.Schema<ListSKUsResponse>;
|
|
1493
|
+
|
|
1494
|
+
export type ListSTAXSKUsRequestLanguage = "en" | "de";
|
|
1495
|
+
export const ListSTAXSKUsRequestLanguage = S.String;
|
|
1496
|
+
|
|
1497
|
+
export type ListSTAXSKUsRequestRegionList = Array<string>;
|
|
1498
|
+
export const ListSTAXSKUsRequestRegionList = /*@__PURE__*/ S.Array(
|
|
1499
|
+
S.String,
|
|
1500
|
+
) as any as S.Schema<ListSTAXSKUsRequestRegionList>;
|
|
1501
|
+
|
|
1502
|
+
export interface ListSTAXSKUsRequest {
|
|
1503
|
+
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
1504
|
+
cursor?: string;
|
|
1505
|
+
/** The number of items to retrieve per page */
|
|
1506
|
+
pageSize?: number;
|
|
1507
|
+
/** The language to retrieve the data in, available for en and de */
|
|
1508
|
+
language?: ListSTAXSKUsRequestLanguage | (string & {});
|
|
1509
|
+
/** The category's name to retrieve the data for */
|
|
1510
|
+
categoryName?: string;
|
|
1511
|
+
/** The product's name to retrieve the data for */
|
|
1512
|
+
productName?: string;
|
|
1513
|
+
/** The SKU's name to retrieve the data for */
|
|
1514
|
+
skuName?: string;
|
|
1515
|
+
/** The region to retrieve the data in */
|
|
1516
|
+
region?: ListSTAXSKUsRequestRegionList;
|
|
1517
|
+
}
|
|
1518
|
+
export const ListSTAXSKUsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1519
|
+
S.Struct({
|
|
1520
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1521
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1522
|
+
language: S.optional(ListSTAXSKUsRequestLanguage.pipe(T.Query())),
|
|
1523
|
+
categoryName: S.optional(S.String.pipe(T.Query())),
|
|
1524
|
+
productName: S.optional(S.String.pipe(T.Query())),
|
|
1525
|
+
skuName: S.optional(S.String.pipe(T.Query())),
|
|
1526
|
+
region: S.optional(ListSTAXSKUsRequestRegionList.pipe(T.Query())),
|
|
1527
|
+
}).pipe(
|
|
1528
|
+
T.Http({
|
|
1529
|
+
method: "GET",
|
|
1530
|
+
uri: "/v2/stackitx/skus",
|
|
1531
|
+
code: 200,
|
|
1532
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1533
|
+
}),
|
|
1534
|
+
),
|
|
1535
|
+
).annotate({ identifier: "ListSTAXSKUsRequest" }) as any as S.Schema<ListSTAXSKUsRequest>;
|
|
1536
|
+
|
|
1537
|
+
export type ListSTAXSKUsResponseDataList = Array<PublicSKU>;
|
|
1538
|
+
export const ListSTAXSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1539
|
+
PublicSKU,
|
|
1540
|
+
) as any as S.Schema<ListSTAXSKUsResponseDataList>;
|
|
1541
|
+
|
|
1542
|
+
export interface ListSTAXSKUsResponse {
|
|
1543
|
+
data?: ListSTAXSKUsResponseDataList;
|
|
1544
|
+
meta?: MetaInformation;
|
|
1545
|
+
}
|
|
1546
|
+
export const ListSTAXSKUsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1547
|
+
S.Struct({
|
|
1548
|
+
data: S.optional(ListSTAXSKUsResponseDataList),
|
|
1549
|
+
meta: S.optional(MetaInformation),
|
|
1550
|
+
}),
|
|
1551
|
+
).annotate({ identifier: "ListSTAXSKUsResponse" }) as any as S.Schema<ListSTAXSKUsResponse>;
|
|
1552
|
+
|
|
1553
|
+
export type SearchSKUsRequestLanguage = "en" | "de";
|
|
1554
|
+
export const SearchSKUsRequestLanguage = S.String;
|
|
1555
|
+
|
|
1556
|
+
export interface SearchSKUsRequest {
|
|
1557
|
+
/** The language to retrieve the data in, available for en and de */
|
|
1558
|
+
language?: SearchSKUsRequestLanguage | (string & {});
|
|
1559
|
+
/** The number of items to retrieve per page */
|
|
1560
|
+
pageSize?: number;
|
|
1561
|
+
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
1562
|
+
cursor?: string;
|
|
1563
|
+
/** Generic categorization to structure the customer's invoice transparently (e.g. `Compute Engine`, `Database`, `Storage`) */
|
|
1564
|
+
categoryName?: string;
|
|
1565
|
+
/** Storage Class type */
|
|
1566
|
+
class?: string;
|
|
1567
|
+
/** Communication Channel */
|
|
1568
|
+
communicationChannel?: string;
|
|
1569
|
+
/** Connection limit per Load Balancer */
|
|
1570
|
+
connectionLimitPerLoadBalancer?: number;
|
|
1571
|
+
/** Contract notice period in days */
|
|
1572
|
+
contractNoticePeriodInDays?: number | null;
|
|
1573
|
+
/** Attribute that indicates if product is deprecated or not. */
|
|
1574
|
+
deprecated?: string;
|
|
1575
|
+
/** diskStoragePerNode */
|
|
1576
|
+
diskStoragePerNode?: string;
|
|
1577
|
+
/** Documentation URL */
|
|
1578
|
+
documentation?: string;
|
|
1579
|
+
/** Escalation availability BC INC */
|
|
1580
|
+
escalationAvailabilityBCINC?: string | null;
|
|
1581
|
+
/** Escalation availability INC */
|
|
1582
|
+
escalationAvailabilityINC?: string | null;
|
|
1583
|
+
/** Escalation availability for Service Requests */
|
|
1584
|
+
escalationAvailabilitySR?: string | null;
|
|
1585
|
+
/** Escalation threshold BC INC (in minutes) */
|
|
1586
|
+
escalationThresholdBCINCInMins?: number | null;
|
|
1587
|
+
/** Escalation threshold INC (in minutes) */
|
|
1588
|
+
escalationThresholdINCInMins?: number | null;
|
|
1589
|
+
/** Escalation threshold for Service Requests */
|
|
1590
|
+
escalationThresholdSRInMins?: number | null;
|
|
1591
|
+
/** Financial Penalty for SLA Violation <80 (in %) */
|
|
1592
|
+
finPenaltySLAVio80Pct?: number | null;
|
|
1593
|
+
/** Financial Penalty for SLA Violation <90 - 80 (in %) */
|
|
1594
|
+
finPenaltySLAVio90_80Pct?: number | null;
|
|
1595
|
+
/** Flavor */
|
|
1596
|
+
flavor?: string;
|
|
1597
|
+
/** Category designation one level below the generic designation that describes the overall product group to which all the SKUs are allocated to. */
|
|
1598
|
+
generalProductGroup?: string;
|
|
1599
|
+
/** Hardware */
|
|
1600
|
+
hardware?: string;
|
|
1601
|
+
/** Initial runtime in months */
|
|
1602
|
+
initialRuntimeInMonths?: number | null;
|
|
1603
|
+
/** Lead time in workdays */
|
|
1604
|
+
leadTimeInWorkDays?: number | null;
|
|
1605
|
+
/** Location */
|
|
1606
|
+
location?: string | null;
|
|
1607
|
+
/** State of the SKU following the mandatory product‘s maturity model progress (e.g. `beta`, `ga`) */
|
|
1608
|
+
maturityModelState?: string;
|
|
1609
|
+
/** Storage maxIOPerSec */
|
|
1610
|
+
maxIOPerSec?: number;
|
|
1611
|
+
/** Storage maxTroughInMB */
|
|
1612
|
+
maxTroughInMB?: number;
|
|
1613
|
+
/** metricPerMin */
|
|
1614
|
+
metricPerMin?: number;
|
|
1615
|
+
/** metro */
|
|
1616
|
+
metro?: boolean;
|
|
1617
|
+
/** Monthly price value that is valid at request time, shown with full precision */
|
|
1618
|
+
monthlyPrice?: string;
|
|
1619
|
+
/** How the line item will appear on the bill */
|
|
1620
|
+
name?: string;
|
|
1621
|
+
/** Nodes */
|
|
1622
|
+
nodes?: number;
|
|
1623
|
+
/** Operating System (e.g. `windows`, `windows-managed`) */
|
|
1624
|
+
os?: string;
|
|
1625
|
+
/** Attribute that indicates if PriceList is visible or not. */
|
|
1626
|
+
priceListVisibility?: string;
|
|
1627
|
+
/** Generic product (e.g. `Windows Server`, `Server Backup Management`, `Server`) */
|
|
1628
|
+
productName?: string;
|
|
1629
|
+
/** Project notice period in workdays */
|
|
1630
|
+
projectNoticePeriodInWorkDays?: number | null;
|
|
1631
|
+
/** RAM (in GB) */
|
|
1632
|
+
ram?: number;
|
|
1633
|
+
/** Reaction time (in minutes) */
|
|
1634
|
+
reactionTimeInMins?: number | null;
|
|
1635
|
+
/** Record limit per zone */
|
|
1636
|
+
recordLimitPerZone?: number;
|
|
1637
|
+
/** Region of sku */
|
|
1638
|
+
region?: string;
|
|
1639
|
+
/** Repeated runtime in months */
|
|
1640
|
+
repeatedRuntimeInMonths?: number | null;
|
|
1641
|
+
/** Response time BC INC (in minutes) */
|
|
1642
|
+
responseTimeBCINCInMins?: number | null;
|
|
1643
|
+
/** Response time INC (in minutes) */
|
|
1644
|
+
responseTimeINCInMins?: number | null;
|
|
1645
|
+
/** Response time (in minutes) for Service Requests */
|
|
1646
|
+
responseTimeSRInMins?: number | null;
|
|
1647
|
+
/** Service hours BC INC */
|
|
1648
|
+
serviceHoursBCINC?: string | null;
|
|
1649
|
+
/** Service hours INC */
|
|
1650
|
+
serviceHoursINC?: string | null;
|
|
1651
|
+
/** Service hours for Service Requests */
|
|
1652
|
+
serviceHoursSR?: string | null;
|
|
1653
|
+
/** List of unique service look up ids (ASCII ordered, ascending) */
|
|
1654
|
+
serviceId?: string;
|
|
1655
|
+
/** SKU ID \ Complete SAP article number with prefix. Will be shown on the invoice like this */
|
|
1656
|
+
sku?: string;
|
|
1657
|
+
/** SLA goal in percentage */
|
|
1658
|
+
slaGoalInPercentage?: number | null;
|
|
1659
|
+
/** Storage (e.g. `image`, `postgresql`, `snapshot`, `volume`) */
|
|
1660
|
+
storage?: string;
|
|
1661
|
+
/** Max Storage in Gb */
|
|
1662
|
+
storageMaxGb?: number;
|
|
1663
|
+
/** Min Storage in Gb */
|
|
1664
|
+
storageMinGb?: number;
|
|
1665
|
+
/** Targets */
|
|
1666
|
+
targets?: number;
|
|
1667
|
+
/** Technical differentiation */
|
|
1668
|
+
technicalProductGroup?: string;
|
|
1669
|
+
/** Service name */
|
|
1670
|
+
title?: string;
|
|
1671
|
+
/** Type (e.g. `single`, `replica`) */
|
|
1672
|
+
type?: string;
|
|
1673
|
+
/** The unit of measurement for the invoiced items, as to be displayed on the invoice. */
|
|
1674
|
+
unit?: string;
|
|
1675
|
+
/** Unit billing */
|
|
1676
|
+
unitBilling?: string;
|
|
1677
|
+
/** Number of vCPU */
|
|
1678
|
+
vCPU?: number;
|
|
1679
|
+
/** Price valid from */
|
|
1680
|
+
validFrom?: string;
|
|
1681
|
+
/** Price value that is valid at request time, shown with full precision with 11 decimals */
|
|
1682
|
+
value?: string;
|
|
1683
|
+
}
|
|
1684
|
+
export const SearchSKUsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1685
|
+
S.Struct({
|
|
1686
|
+
language: S.optional(SearchSKUsRequestLanguage.pipe(T.Query())),
|
|
1687
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1688
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1689
|
+
categoryName: S.optional(S.String),
|
|
1690
|
+
class: S.optional(S.String),
|
|
1691
|
+
communicationChannel: S.optional(S.String),
|
|
1692
|
+
connectionLimitPerLoadBalancer: S.optional(S.Number),
|
|
1693
|
+
contractNoticePeriodInDays: S.optional(S.NullOr(S.Number)),
|
|
1694
|
+
deprecated: S.optional(S.String),
|
|
1695
|
+
diskStoragePerNode: S.optional(S.String),
|
|
1696
|
+
documentation: S.optional(S.String),
|
|
1697
|
+
escalationAvailabilityBCINC: S.optional(S.NullOr(S.String)),
|
|
1698
|
+
escalationAvailabilityINC: S.optional(S.NullOr(S.String)),
|
|
1699
|
+
escalationAvailabilitySR: S.optional(S.NullOr(S.String)),
|
|
1700
|
+
escalationThresholdBCINCInMins: S.optional(S.NullOr(S.Number)),
|
|
1701
|
+
escalationThresholdINCInMins: S.optional(S.NullOr(S.Number)),
|
|
1702
|
+
escalationThresholdSRInMins: S.optional(S.NullOr(S.Number)),
|
|
1703
|
+
finPenaltySLAVio80Pct: S.optional(S.NullOr(S.Number)),
|
|
1704
|
+
finPenaltySLAVio90_80Pct: S.optional(
|
|
1705
|
+
S.NullOr(S.Number).pipe(T.Body("finPenaltySLAVio90-80Pct")),
|
|
1706
|
+
),
|
|
1707
|
+
flavor: S.optional(S.String),
|
|
1708
|
+
generalProductGroup: S.optional(S.String),
|
|
1709
|
+
hardware: S.optional(S.String),
|
|
1710
|
+
initialRuntimeInMonths: S.optional(S.NullOr(S.Number)),
|
|
1711
|
+
leadTimeInWorkDays: S.optional(S.NullOr(S.Number)),
|
|
1712
|
+
location: S.optional(S.NullOr(S.String)),
|
|
1713
|
+
maturityModelState: S.optional(S.String),
|
|
1714
|
+
maxIOPerSec: S.optional(S.Number),
|
|
1715
|
+
maxTroughInMB: S.optional(S.Number),
|
|
1716
|
+
metricPerMin: S.optional(S.Number),
|
|
1717
|
+
metro: S.optional(S.Boolean),
|
|
1718
|
+
monthlyPrice: S.optional(S.String),
|
|
1719
|
+
name: S.optional(S.String),
|
|
1720
|
+
nodes: S.optional(S.Number),
|
|
1721
|
+
os: S.optional(S.String),
|
|
1722
|
+
priceListVisibility: S.optional(S.String),
|
|
1723
|
+
productName: S.optional(S.String),
|
|
1724
|
+
projectNoticePeriodInWorkDays: S.optional(S.NullOr(S.Number)),
|
|
1725
|
+
ram: S.optional(S.Number),
|
|
1726
|
+
reactionTimeInMins: S.optional(S.NullOr(S.Number)),
|
|
1727
|
+
recordLimitPerZone: S.optional(S.Number),
|
|
1728
|
+
region: S.optional(S.String),
|
|
1729
|
+
repeatedRuntimeInMonths: S.optional(S.NullOr(S.Number)),
|
|
1730
|
+
responseTimeBCINCInMins: S.optional(S.NullOr(S.Number)),
|
|
1731
|
+
responseTimeINCInMins: S.optional(S.NullOr(S.Number)),
|
|
1732
|
+
responseTimeSRInMins: S.optional(S.NullOr(S.Number)),
|
|
1733
|
+
serviceHoursBCINC: S.optional(S.NullOr(S.String)),
|
|
1734
|
+
serviceHoursINC: S.optional(S.NullOr(S.String)),
|
|
1735
|
+
serviceHoursSR: S.optional(S.NullOr(S.String)),
|
|
1736
|
+
serviceId: S.optional(S.String),
|
|
1737
|
+
sku: S.optional(S.String),
|
|
1738
|
+
slaGoalInPercentage: S.optional(S.NullOr(S.Number)),
|
|
1739
|
+
storage: S.optional(S.String),
|
|
1740
|
+
storageMaxGb: S.optional(S.Number),
|
|
1741
|
+
storageMinGb: S.optional(S.Number),
|
|
1742
|
+
targets: S.optional(S.Number),
|
|
1743
|
+
technicalProductGroup: S.optional(S.String),
|
|
1744
|
+
title: S.optional(S.String),
|
|
1745
|
+
type: S.optional(S.String),
|
|
1746
|
+
unit: S.optional(S.String),
|
|
1747
|
+
unitBilling: S.optional(S.String),
|
|
1748
|
+
vCPU: S.optional(S.Number),
|
|
1749
|
+
validFrom: S.optional(S.String),
|
|
1750
|
+
value: S.optional(S.String),
|
|
1751
|
+
}).pipe(
|
|
1752
|
+
T.Http({
|
|
1753
|
+
method: "POST",
|
|
1754
|
+
uri: "/v2/skus/search",
|
|
1755
|
+
code: 200,
|
|
1756
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1757
|
+
}),
|
|
1758
|
+
),
|
|
1759
|
+
).annotate({ identifier: "SearchSKUsRequest" }) as any as S.Schema<SearchSKUsRequest>;
|
|
1760
|
+
|
|
1761
|
+
export type SearchSKUsResponseDataList = Array<PublicSKU>;
|
|
1762
|
+
export const SearchSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1763
|
+
PublicSKU,
|
|
1764
|
+
) as any as S.Schema<SearchSKUsResponseDataList>;
|
|
1765
|
+
|
|
1766
|
+
export interface SearchSKUsResponse {
|
|
1767
|
+
data?: SearchSKUsResponseDataList;
|
|
1768
|
+
meta?: MetaInformation;
|
|
1769
|
+
}
|
|
1770
|
+
export const SearchSKUsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1771
|
+
S.Struct({
|
|
1772
|
+
data: S.optional(SearchSKUsResponseDataList),
|
|
1773
|
+
meta: S.optional(MetaInformation),
|
|
1774
|
+
}),
|
|
1775
|
+
).annotate({ identifier: "SearchSKUsResponse" }) as any as S.Schema<SearchSKUsResponse>;
|
|
1776
|
+
|
|
1777
|
+
export type GetCategoryError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1778
|
+
/** Get category by ID Retrieves a specific category by its ID, available for general public. */
|
|
1779
|
+
export const getCategory: API.OperationMethod<
|
|
1780
|
+
GetCategoryRequest,
|
|
1781
|
+
PublicCategory,
|
|
1782
|
+
GetCategoryError,
|
|
1783
|
+
StackitOpContext
|
|
1784
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1785
|
+
input: GetCategoryRequest,
|
|
1786
|
+
output: PublicCategory,
|
|
1787
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1788
|
+
protocol: StackitProtocol,
|
|
1789
|
+
retry: Retry.Retry,
|
|
1790
|
+
}));
|
|
1791
|
+
|
|
1792
|
+
export type GetProductError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1793
|
+
/** Get product by ID Retrieves a specific product by its ID, available for general public. */
|
|
1794
|
+
export const getProduct: API.OperationMethod<
|
|
1795
|
+
GetProductRequest,
|
|
1796
|
+
PublicProduct,
|
|
1797
|
+
GetProductError,
|
|
1798
|
+
StackitOpContext
|
|
1799
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1800
|
+
input: GetProductRequest,
|
|
1801
|
+
output: PublicProduct,
|
|
1802
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1803
|
+
protocol: StackitProtocol,
|
|
1804
|
+
retry: Retry.Retry,
|
|
1805
|
+
}));
|
|
1806
|
+
|
|
1807
|
+
export type GetProductMarketingDataError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1808
|
+
/** Get marketing data for a product Retrieves the marketing data for a specific product, available for general public. */
|
|
1809
|
+
export const getProductMarketingData: API.OperationMethod<
|
|
1810
|
+
GetProductMarketingDataRequest,
|
|
1811
|
+
PublicMarketingData,
|
|
1812
|
+
GetProductMarketingDataError,
|
|
1813
|
+
StackitOpContext
|
|
1814
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1815
|
+
input: GetProductMarketingDataRequest,
|
|
1816
|
+
output: PublicMarketingData,
|
|
1817
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1818
|
+
protocol: StackitProtocol,
|
|
1819
|
+
retry: Retry.Retry,
|
|
1820
|
+
}));
|
|
1821
|
+
|
|
1822
|
+
export type GetSKUError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1823
|
+
/** Get SKU by ID Retrieves a specific SKU by its ID, available for general public. */
|
|
1824
|
+
export const getSKU: API.OperationMethod<
|
|
1825
|
+
GetSKURequest,
|
|
1826
|
+
GetSKUResponse,
|
|
1827
|
+
GetSKUError,
|
|
1828
|
+
StackitOpContext
|
|
1829
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1830
|
+
input: GetSKURequest,
|
|
1831
|
+
output: GetSKUResponse,
|
|
1832
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1833
|
+
protocol: StackitProtocol,
|
|
1834
|
+
retry: Retry.Retry,
|
|
1835
|
+
}));
|
|
1836
|
+
|
|
1837
|
+
export type GetSTAXSKUError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1838
|
+
/** Get STACKIT:X SKU by ID Retrieves a specific STACKIT:X SKU by its ID, available for general public. */
|
|
1839
|
+
export const getSTAXSKU: API.OperationMethod<
|
|
1840
|
+
GetSTAXSKURequest,
|
|
1841
|
+
GetSTAXSKUResponse,
|
|
1842
|
+
GetSTAXSKUError,
|
|
1843
|
+
StackitOpContext
|
|
1844
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1845
|
+
input: GetSTAXSKURequest,
|
|
1846
|
+
output: GetSTAXSKUResponse,
|
|
1847
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1848
|
+
protocol: StackitProtocol,
|
|
1849
|
+
retry: Retry.Retry,
|
|
1850
|
+
}));
|
|
1851
|
+
|
|
1852
|
+
export type ListCategoriesError = BadRequest | Forbidden | StackitOpError;
|
|
1853
|
+
/** List all categories Returns all categories, available for general public. */
|
|
1854
|
+
export const listCategories: API.OperationMethod<
|
|
1855
|
+
ListCategoriesRequest,
|
|
1856
|
+
ListCategoriesResponse,
|
|
1857
|
+
ListCategoriesError,
|
|
1858
|
+
StackitOpContext
|
|
1859
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1860
|
+
input: ListCategoriesRequest,
|
|
1861
|
+
output: ListCategoriesResponse,
|
|
1862
|
+
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
1863
|
+
protocol: StackitProtocol,
|
|
1864
|
+
retry: Retry.Retry,
|
|
1865
|
+
}));
|
|
1866
|
+
|
|
1867
|
+
export type ListCategoryProductsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1868
|
+
/** List products in a category Retrieves a specific category's products, available for general public. */
|
|
1869
|
+
export const listCategoryProducts: API.OperationMethod<
|
|
1870
|
+
ListCategoryProductsRequest,
|
|
1871
|
+
ListCategoryProductsResponse,
|
|
1872
|
+
ListCategoryProductsError,
|
|
1873
|
+
StackitOpContext
|
|
1874
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1875
|
+
input: ListCategoryProductsRequest,
|
|
1876
|
+
output: ListCategoryProductsResponse,
|
|
1877
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1878
|
+
protocol: StackitProtocol,
|
|
1879
|
+
retry: Retry.Retry,
|
|
1880
|
+
}));
|
|
1881
|
+
|
|
1882
|
+
export type ListMarketingDataError = BadRequest | Forbidden | StackitOpError;
|
|
1883
|
+
/** List all marketing materials Retrieves a list of all marketing materials for all products, available for general public. */
|
|
1884
|
+
export const listMarketingData: API.OperationMethod<
|
|
1885
|
+
ListMarketingDataRequest,
|
|
1886
|
+
ListMarketingDataResponse,
|
|
1887
|
+
ListMarketingDataError,
|
|
1888
|
+
StackitOpContext
|
|
1889
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1890
|
+
input: ListMarketingDataRequest,
|
|
1891
|
+
output: ListMarketingDataResponse,
|
|
1892
|
+
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
1893
|
+
protocol: StackitProtocol,
|
|
1894
|
+
retry: Retry.Retry,
|
|
1895
|
+
}));
|
|
1896
|
+
|
|
1897
|
+
export type ListProductsError = BadRequest | Forbidden | StackitOpError;
|
|
1898
|
+
/** List all products Retrieves a list of all products, available for general public. */
|
|
1899
|
+
export const listProducts: API.OperationMethod<
|
|
1900
|
+
ListProductsRequest,
|
|
1901
|
+
ListProductsResponse,
|
|
1902
|
+
ListProductsError,
|
|
1903
|
+
StackitOpContext
|
|
1904
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1905
|
+
input: ListProductsRequest,
|
|
1906
|
+
output: ListProductsResponse,
|
|
1907
|
+
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
1908
|
+
protocol: StackitProtocol,
|
|
1909
|
+
retry: Retry.Retry,
|
|
1910
|
+
}));
|
|
1911
|
+
|
|
1912
|
+
export type ListProductSKUsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1913
|
+
/** List SKUs for a product Retrieves a list of all SKUs of a product, available for general public. */
|
|
1914
|
+
export const listProductSKUs: API.OperationMethod<
|
|
1915
|
+
ListProductSKUsRequest,
|
|
1916
|
+
ListProductSKUsResponse,
|
|
1917
|
+
ListProductSKUsError,
|
|
1918
|
+
StackitOpContext
|
|
1919
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1920
|
+
input: ListProductSKUsRequest,
|
|
1921
|
+
output: ListProductSKUsResponse,
|
|
1922
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1923
|
+
protocol: StackitProtocol,
|
|
1924
|
+
retry: Retry.Retry,
|
|
1925
|
+
}));
|
|
1926
|
+
|
|
1927
|
+
export type ListProductSTAXSKUsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1928
|
+
/** List STACKIT:X SKUs for a product Retrieves a list of all STACKIT:X SKUs of a product, available for general public. */
|
|
1929
|
+
export const listProductSTAXSKUs: API.OperationMethod<
|
|
1930
|
+
ListProductSTAXSKUsRequest,
|
|
1931
|
+
ListProductSTAXSKUsResponse,
|
|
1932
|
+
ListProductSTAXSKUsError,
|
|
1933
|
+
StackitOpContext
|
|
1934
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1935
|
+
input: ListProductSTAXSKUsRequest,
|
|
1936
|
+
output: ListProductSTAXSKUsResponse,
|
|
1937
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1938
|
+
protocol: StackitProtocol,
|
|
1939
|
+
retry: Retry.Retry,
|
|
1940
|
+
}));
|
|
1941
|
+
|
|
1942
|
+
export type ListSKUsError = BadRequest | Forbidden | StackitOpError;
|
|
1943
|
+
/** List all SKUs Retrieves a list of all SKUs, available for general public. */
|
|
1944
|
+
export const listSKUs: API.OperationMethod<
|
|
1945
|
+
ListSKUsRequest,
|
|
1946
|
+
ListSKUsResponse,
|
|
1947
|
+
ListSKUsError,
|
|
1948
|
+
StackitOpContext
|
|
1949
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1950
|
+
input: ListSKUsRequest,
|
|
1951
|
+
output: ListSKUsResponse,
|
|
1952
|
+
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
1953
|
+
protocol: StackitProtocol,
|
|
1954
|
+
retry: Retry.Retry,
|
|
1955
|
+
}));
|
|
1956
|
+
|
|
1957
|
+
export type ListSTAXSKUsError = BadRequest | Forbidden | StackitOpError;
|
|
1958
|
+
/** List all STACKIT:X SKUs Get all STACKIT:X SKUs data that has maturity model different than alpha. */
|
|
1959
|
+
export const listSTAXSKUs: API.OperationMethod<
|
|
1960
|
+
ListSTAXSKUsRequest,
|
|
1961
|
+
ListSTAXSKUsResponse,
|
|
1962
|
+
ListSTAXSKUsError,
|
|
1963
|
+
StackitOpContext
|
|
1964
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1965
|
+
input: ListSTAXSKUsRequest,
|
|
1966
|
+
output: ListSTAXSKUsResponse,
|
|
1967
|
+
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
1968
|
+
protocol: StackitProtocol,
|
|
1969
|
+
retry: Retry.Retry,
|
|
1970
|
+
}));
|
|
1971
|
+
|
|
1972
|
+
export type SearchSKUsError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
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. */
|
|
1974
|
+
export const searchSKUs: API.OperationMethod<
|
|
1975
|
+
SearchSKUsRequest,
|
|
1976
|
+
SearchSKUsResponse,
|
|
1977
|
+
SearchSKUsError,
|
|
1978
|
+
StackitOpContext
|
|
1979
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1980
|
+
input: SearchSKUsRequest,
|
|
1981
|
+
output: SearchSKUsResponse,
|
|
1982
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1983
|
+
protocol: StackitProtocol,
|
|
1984
|
+
retry: Retry.Retry,
|
|
1985
|
+
}));
|