@distilled.cloud/stackit 1.0.0-rc.14 → 1.0.0-rc.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +32 -28
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +13 -13
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +16 -16
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +22 -22
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.js +15 -15
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +31 -29
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +24 -23
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +10 -87
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +73 -502
- package/lib/services/alb_waf.d.ts +9 -82
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +84 -510
- package/lib/services/authorization.d.ts +5 -47
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +67 -314
- package/lib/services/automation.d.ts +7 -47
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +58 -353
- package/lib/services/cdn.d.ts +8 -220
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +81 -896
- package/lib/services/certificates.d.ts +8 -27
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +45 -171
- package/lib/services/cost.d.ts +10 -37
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +39 -169
- package/lib/services/dns.d.ts +9 -104
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +98 -714
- package/lib/services/dremio.d.ts +8 -50
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +56 -307
- package/lib/services/edge.d.ts +7 -40
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +66 -347
- package/lib/services/functions.d.ts +1 -48
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +64 -393
- package/lib/services/git.d.ts +8 -61
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +87 -510
- package/lib/services/iaas.d.ts +9 -337
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +409 -3532
- package/lib/services/intake.d.ts +8 -75
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +74 -465
- package/lib/services/kms.d.ts +9 -92
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +95 -650
- package/lib/services/lb_ip_lists.d.ts +9 -25
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +45 -146
- package/lib/services/load_balancer.d.ts +10 -81
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +76 -486
- package/lib/services/logme.d.ts +8 -69
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +82 -564
- package/lib/services/logs.d.ts +8 -64
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +84 -465
- package/lib/services/mariadb.d.ts +8 -65
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +84 -541
- package/lib/services/model_experiments.d.ts +9 -48
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +66 -325
- package/lib/services/model_serving.d.ts +7 -47
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +55 -277
- package/lib/services/mongodb_flex.d.ts +8 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +102 -793
- package/lib/services/object_storage.d.ts +12 -59
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +93 -528
- package/lib/services/observability.d.ts +8 -407
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +375 -3148
- package/lib/services/opensearch.d.ts +8 -71
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +85 -553
- package/lib/services/pim.d.ts +12 -108
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +81 -726
- package/lib/services/postgres_flex.d.ts +14 -136
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +114 -841
- package/lib/services/pubsub.d.ts +11 -73
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +92 -507
- package/lib/services/rabbitmq.d.ts +8 -76
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +88 -564
- package/lib/services/registry.d.ts +10 -28
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +49 -189
- package/lib/services/resource_manager.d.ts +9 -61
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +92 -462
- package/lib/services/run_command.d.ts +5 -28
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +38 -176
- package/lib/services/sca.d.ts +8 -79
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +63 -435
- package/lib/services/scf.d.ts +8 -64
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +99 -660
- package/lib/services/secrets_manager.d.ts +8 -61
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +99 -601
- package/lib/services/server_backup.d.ts +7 -50
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +70 -444
- package/lib/services/server_update.d.ts +7 -35
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +58 -342
- package/lib/services/service_account.d.ts +10 -68
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +75 -495
- package/lib/services/service_enablement.d.ts +7 -29
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +40 -147
- package/lib/services/sfs.d.ts +4 -96
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +117 -782
- package/lib/services/ske.d.ts +9 -108
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +67 -549
- package/lib/services/sqlserverflex.d.ts +11 -152
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +112 -925
- package/lib/services/stackit_marketplace.d.ts +9 -38
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +64 -369
- package/lib/services/telemetry_link.d.ts +8 -61
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +81 -522
- package/lib/services/telemetry_router.d.ts +8 -72
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +73 -474
- package/lib/services/ufw.d.ts +7 -42
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +55 -269
- package/lib/services/valkey.d.ts +8 -68
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +85 -557
- package/lib/services/vpn.d.ts +21 -186
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +105 -920
- package/lib/services/workflows.d.ts +15 -84
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +67 -497
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +10 -10
- package/package.json +13 -9
- package/src/credentials.ts +21 -18
- package/src/errors.ts +10 -14
- package/src/index.ts +2 -2
- package/src/pagination.ts +2 -2
- package/src/protocol.ts +12 -9
- package/src/retry.ts +6 -4
- package/src/services/alb.ts +599 -655
- package/src/services/alb_waf.ts +597 -637
- package/src/services/authorization.ts +400 -383
- package/src/services/automation.ts +422 -405
- package/src/services/cdn.ts +817 -1375
- package/src/services/certificates.ts +209 -190
- package/src/services/cost.ts +100 -207
- package/src/services/dns.ts +793 -833
- package/src/services/dremio.ts +356 -349
- package/src/services/edge.ts +406 -366
- package/src/services/functions.ts +465 -463
- package/src/services/git.ts +602 -547
- package/src/services/iaas.ts +3931 -3821
- package/src/services/intake.ts +521 -549
- package/src/services/kms.ts +715 -692
- package/src/services/lb_ip_lists.ts +173 -152
- package/src/services/load_balancer.ts +576 -619
- package/src/services/logme.ts +696 -641
- package/src/services/logs.ts +510 -493
- package/src/services/mariadb.ts +671 -604
- package/src/services/model_experiments.ts +343 -356
- package/src/services/model_serving.ts +337 -328
- package/src/services/mongodb_flex.ts +955 -1007
- package/src/services/object_storage.ts +614 -557
- package/src/services/observability.ts +3469 -3866
- package/src/services/opensearch.ts +679 -628
- package/src/services/pim.ts +672 -909
- package/src/services/postgres_flex.ts +966 -986
- package/src/services/pubsub.ts +524 -546
- package/src/services/rabbitmq.ts +693 -654
- package/src/services/registry.ts +227 -194
- package/src/services/resource_manager.ts +520 -517
- package/src/services/run_command.ts +219 -211
- package/src/services/sca.ts +543 -570
- package/src/services/scf.ts +790 -716
- package/src/services/secrets_manager.ts +707 -622
- package/src/services/server_backup.ts +490 -475
- package/src/services/server_update.ts +353 -356
- package/src/services/service_account.ts +515 -553
- package/src/services/service_enablement.ts +162 -166
- package/src/services/sfs.ts +879 -958
- package/src/services/ske.ts +694 -769
- package/src/services/sqlserverflex.ts +1042 -1117
- package/src/services/stackit_marketplace.ts +377 -372
- package/src/services/telemetry_link.ts +530 -531
- package/src/services/telemetry_router.ts +509 -534
- package/src/services/ufw.ts +305 -307
- package/src/services/valkey.ts +684 -629
- package/src/services/vpn.ts +935 -1195
- package/src/services/workflows.ts +426 -586
- package/src/traits.ts +1 -1
- package/lib/protocol.test.d.ts +0 -2
- package/lib/protocol.test.d.ts.map +0 -1
- package/lib/protocol.test.js +0 -181
- package/lib/protocol.test.js.map +0 -1
- package/lib/services/alb.js.map +0 -1
- package/lib/services/alb_waf.js.map +0 -1
- package/lib/services/authorization.js.map +0 -1
- package/lib/services/automation.js.map +0 -1
- package/lib/services/cdn.js.map +0 -1
- package/lib/services/certificates.js.map +0 -1
- package/lib/services/cost.js.map +0 -1
- package/lib/services/dns.js.map +0 -1
- package/lib/services/dremio.js.map +0 -1
- package/lib/services/edge.js.map +0 -1
- package/lib/services/functions.js.map +0 -1
- package/lib/services/git.js.map +0 -1
- package/lib/services/iaas.js.map +0 -1
- package/lib/services/intake.js.map +0 -1
- package/lib/services/kms.js.map +0 -1
- package/lib/services/lb_ip_lists.js.map +0 -1
- package/lib/services/load_balancer.js.map +0 -1
- package/lib/services/logme.js.map +0 -1
- package/lib/services/logs.js.map +0 -1
- package/lib/services/mariadb.js.map +0 -1
- package/lib/services/model_experiments.js.map +0 -1
- package/lib/services/model_serving.js.map +0 -1
- package/lib/services/mongodb_flex.js.map +0 -1
- package/lib/services/object_storage.js.map +0 -1
- package/lib/services/observability.js.map +0 -1
- package/lib/services/opensearch.js.map +0 -1
- package/lib/services/pim.js.map +0 -1
- package/lib/services/postgres_flex.js.map +0 -1
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/rabbitmq.js.map +0 -1
- package/lib/services/registry.js.map +0 -1
- package/lib/services/resource_manager.js.map +0 -1
- package/lib/services/run_command.js.map +0 -1
- package/lib/services/sca.js.map +0 -1
- package/lib/services/scf.js.map +0 -1
- package/lib/services/secrets_manager.js.map +0 -1
- package/lib/services/server_backup.js.map +0 -1
- package/lib/services/server_update.js.map +0 -1
- package/lib/services/service_account.js.map +0 -1
- package/lib/services/service_enablement.js.map +0 -1
- package/lib/services/sfs.js.map +0 -1
- package/lib/services/ske.js.map +0 -1
- package/lib/services/sqlserverflex.js.map +0 -1
- package/lib/services/stackit_marketplace.js.map +0 -1
- package/lib/services/telemetry_link.js.map +0 -1
- package/lib/services/telemetry_router.js.map +0 -1
- package/lib/services/ufw.js.map +0 -1
- package/lib/services/valkey.js.map +0 -1
- package/lib/services/vpn.js.map +0 -1
- package/lib/services/workflows.js.map +0 -1
- package/src/protocol.test.ts +0 -304
package/src/services/pim.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
2
|
import * as C from "@distilled.cloud/core/category";
|
|
3
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";
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
5
6
|
import { UnknownStackitError } from "../errors.ts";
|
|
6
7
|
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
7
8
|
import * as Retry from "../retry.ts";
|
|
8
9
|
import * as T from "../traits.ts";
|
|
10
|
+
// Schema table, filled on first reach (see __S at the end).
|
|
11
|
+
const __s: any[] = [];
|
|
9
12
|
|
|
10
13
|
export type { StackitOpError, StackitOpContext };
|
|
11
14
|
|
|
@@ -37,28 +40,12 @@ export class NotFound
|
|
|
37
40
|
) {}
|
|
38
41
|
|
|
39
42
|
export type GetCategoryRequestLanguage = "en" | "de";
|
|
40
|
-
export const GetCategoryRequestLanguage = S.String;
|
|
41
|
-
|
|
42
43
|
export interface GetCategoryRequest {
|
|
43
44
|
/** The unique identifier for a category. */
|
|
44
45
|
categoryId: string;
|
|
45
46
|
/** The language to retrieve the data in, available for en and de */
|
|
46
47
|
language?: GetCategoryRequestLanguage | (string & {});
|
|
47
48
|
}
|
|
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
49
|
export interface PublicCategory {
|
|
63
50
|
/** Description of the category */
|
|
64
51
|
description?: string;
|
|
@@ -75,47 +62,15 @@ export interface PublicCategory {
|
|
|
75
62
|
/** Number of the revision from PIM */
|
|
76
63
|
version?: string;
|
|
77
64
|
}
|
|
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
65
|
export type GetProductRequestLanguage = "en" | "de";
|
|
91
|
-
export const GetProductRequestLanguage = S.String;
|
|
92
|
-
|
|
93
66
|
export interface GetProductRequest {
|
|
94
67
|
/** The unique identifier for a product. */
|
|
95
68
|
productId: string;
|
|
96
69
|
/** The language to retrieve the data in, available for en and de */
|
|
97
70
|
language?: GetProductRequestLanguage | (string & {});
|
|
98
71
|
}
|
|
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
72
|
/** Api identifier */
|
|
114
73
|
export type PublicProductApiIdentifierList = Array<string>;
|
|
115
|
-
export const PublicProductApiIdentifierList = /*@__PURE__*/ S.Array(
|
|
116
|
-
S.String,
|
|
117
|
-
) as any as S.Schema<PublicProductApiIdentifierList>;
|
|
118
|
-
|
|
119
74
|
export interface PublicProduct {
|
|
120
75
|
/** Api identifier */
|
|
121
76
|
apiIdentifier?: PublicProductApiIdentifierList;
|
|
@@ -140,66 +95,21 @@ export interface PublicProduct {
|
|
|
140
95
|
/** Number of the revision from PIM */
|
|
141
96
|
version?: string;
|
|
142
97
|
}
|
|
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
98
|
export type GetProductMarketingDataRequestLanguage = "en" | "de";
|
|
160
|
-
export const GetProductMarketingDataRequestLanguage = S.String;
|
|
161
|
-
|
|
162
99
|
export interface GetProductMarketingDataRequest {
|
|
163
100
|
/** The unique identifier for a product. */
|
|
164
101
|
productId: string;
|
|
165
102
|
/** The language to retrieve the data in, available for en and de */
|
|
166
103
|
language?: GetProductMarketingDataRequestLanguage | (string & {});
|
|
167
104
|
}
|
|
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
105
|
export interface MarketingAdvantage {
|
|
185
106
|
/** Name of the advantage */
|
|
186
107
|
advantage?: string;
|
|
187
108
|
/** Description of the advantage */
|
|
188
109
|
position?: number;
|
|
189
110
|
}
|
|
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
111
|
/** List of advantages of the product */
|
|
198
112
|
export type PublicMarketingDataAdvantagesList = Array<MarketingAdvantage>;
|
|
199
|
-
export const PublicMarketingDataAdvantagesList = /*@__PURE__*/ S.Array(
|
|
200
|
-
MarketingAdvantage,
|
|
201
|
-
) as any as S.Schema<PublicMarketingDataAdvantagesList>;
|
|
202
|
-
|
|
203
113
|
export interface MarketingApplication {
|
|
204
114
|
/** Description of the application */
|
|
205
115
|
application?: string;
|
|
@@ -208,39 +118,16 @@ export interface MarketingApplication {
|
|
|
208
118
|
/** Position of the application */
|
|
209
119
|
position?: number;
|
|
210
120
|
}
|
|
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
121
|
/** List of applications provided by the product */
|
|
220
122
|
export type PublicMarketingDataApplicationsList = Array<MarketingApplication>;
|
|
221
|
-
export const PublicMarketingDataApplicationsList = /*@__PURE__*/ S.Array(
|
|
222
|
-
MarketingApplication,
|
|
223
|
-
) as any as S.Schema<PublicMarketingDataApplicationsList>;
|
|
224
|
-
|
|
225
123
|
export interface MarketingFunction {
|
|
226
124
|
/** Name of the function */
|
|
227
125
|
function?: string;
|
|
228
126
|
/** Position of the function */
|
|
229
127
|
position?: number;
|
|
230
128
|
}
|
|
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
129
|
/** List of functions provided by the product */
|
|
239
130
|
export type PublicMarketingDataFunctionsList = Array<MarketingFunction>;
|
|
240
|
-
export const PublicMarketingDataFunctionsList = /*@__PURE__*/ S.Array(
|
|
241
|
-
MarketingFunction,
|
|
242
|
-
) as any as S.Schema<PublicMarketingDataFunctionsList>;
|
|
243
|
-
|
|
244
131
|
export interface PublicMarketingData {
|
|
245
132
|
/** List of advantages of the product */
|
|
246
133
|
advantages?: PublicMarketingDataAdvantagesList;
|
|
@@ -267,67 +154,23 @@ export interface PublicMarketingData {
|
|
|
267
154
|
/** Number of the revision from PIM */
|
|
268
155
|
version?: string;
|
|
269
156
|
}
|
|
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
157
|
export type GetSKURequestLanguage = "en" | "de";
|
|
288
|
-
export const GetSKURequestLanguage = S.String;
|
|
289
|
-
|
|
290
158
|
export interface GetSKURequest {
|
|
291
159
|
/** The unique identifier for a SKU. */
|
|
292
160
|
skuId: string;
|
|
293
161
|
/** The language to retrieve the data in, available for en and de */
|
|
294
162
|
language?: GetSKURequestLanguage | (string & {});
|
|
295
163
|
}
|
|
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
164
|
export interface FinOpsFocus {
|
|
311
165
|
/** FinOps Focus service category */
|
|
312
166
|
serviceCategory?: string;
|
|
313
167
|
/** FinOps Focus service subcategory */
|
|
314
168
|
serviceSubCategory?: string;
|
|
315
169
|
}
|
|
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
170
|
/** Prices' currency code regarding ISO4217 */
|
|
324
171
|
export type CurrencyCodes = "EUR" | "USD" | "GBP";
|
|
325
|
-
export const CurrencyCodes = S.String;
|
|
326
|
-
|
|
327
172
|
/** Prices' currency symbol */
|
|
328
|
-
export type CurrencySymbols = "
|
|
329
|
-
export const CurrencySymbols = S.String;
|
|
330
|
-
|
|
173
|
+
export type CurrencySymbols = "\u20ac" | "$";
|
|
331
174
|
export interface Price {
|
|
332
175
|
currencyCode?: CurrencyCodes;
|
|
333
176
|
currencySymbol?: CurrencySymbols | null;
|
|
@@ -343,37 +186,12 @@ export interface Price {
|
|
|
343
186
|
/** Price as integer representation 1e11 */
|
|
344
187
|
valueAsInt?: number;
|
|
345
188
|
}
|
|
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
189
|
/** List of prices */
|
|
360
190
|
export type GetSKUResponsePricesList = Array<Price>;
|
|
361
|
-
export const GetSKUResponsePricesList = /*@__PURE__*/ S.Array(
|
|
362
|
-
Price,
|
|
363
|
-
) as any as S.Schema<GetSKUResponsePricesList>;
|
|
364
|
-
|
|
365
191
|
/** List of unique service look up ids (ASCII ordered, ascending) */
|
|
366
192
|
export type GetSKUResponseServiceIdList = Array<string>;
|
|
367
|
-
export const GetSKUResponseServiceIdList = /*@__PURE__*/ S.Array(
|
|
368
|
-
S.String,
|
|
369
|
-
) as any as S.Schema<GetSKUResponseServiceIdList>;
|
|
370
|
-
|
|
371
193
|
/** Performance Classes */
|
|
372
194
|
export type PublicDatabaseSpecificAttributesPerformanceClassesList = Array<string>;
|
|
373
|
-
export const PublicDatabaseSpecificAttributesPerformanceClassesList = /*@__PURE__*/ S.Array(
|
|
374
|
-
S.String,
|
|
375
|
-
) as any as S.Schema<PublicDatabaseSpecificAttributesPerformanceClassesList>;
|
|
376
|
-
|
|
377
195
|
export interface PublicDatabaseSpecificAttributes {
|
|
378
196
|
discriminator: string;
|
|
379
197
|
/** diskStoragePerNode */
|
|
@@ -395,37 +213,11 @@ export interface PublicDatabaseSpecificAttributes {
|
|
|
395
213
|
/** Number of vCPU */
|
|
396
214
|
vCPU?: number | null;
|
|
397
215
|
}
|
|
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
216
|
export interface ArchivingSpecificAttributes {
|
|
416
217
|
discriminator: string;
|
|
417
218
|
/** metro */
|
|
418
219
|
metro?: boolean | null;
|
|
419
220
|
}
|
|
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
221
|
export interface ComputeEngineSpecificAttributes {
|
|
430
222
|
discriminator: string;
|
|
431
223
|
/** Flavor */
|
|
@@ -441,23 +233,7 @@ export interface ComputeEngineSpecificAttributes {
|
|
|
441
233
|
/** Number of vCPU */
|
|
442
234
|
vCPU?: number | null;
|
|
443
235
|
}
|
|
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
236
|
export type ComputeEngineGPUSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
459
|
-
export const ComputeEngineGPUSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
460
|
-
|
|
461
237
|
export interface NetworkSpecificAttributes {
|
|
462
238
|
/** Connection limit per Load Balancer */
|
|
463
239
|
connectionLimitPerLoadBalancer?: number | null;
|
|
@@ -473,20 +249,6 @@ export interface NetworkSpecificAttributes {
|
|
|
473
249
|
/** Type (e.g. `single`, `replica`) */
|
|
474
250
|
type?: string | null;
|
|
475
251
|
}
|
|
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
252
|
export interface MessagingSpecificAttributes {
|
|
491
253
|
discriminator: string;
|
|
492
254
|
/** diskStoragePerNode */
|
|
@@ -500,19 +262,6 @@ export interface MessagingSpecificAttributes {
|
|
|
500
262
|
/** Number of vCPU */
|
|
501
263
|
vCPU?: number | null;
|
|
502
264
|
}
|
|
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
265
|
export interface LoggingAndMonitoringSpecificAttributes {
|
|
517
266
|
discriminator: string;
|
|
518
267
|
/** diskStoragePerNode */
|
|
@@ -526,22 +275,7 @@ export interface LoggingAndMonitoringSpecificAttributes {
|
|
|
526
275
|
/** Type (e.g. `single`, `replica`) */
|
|
527
276
|
type?: string | null;
|
|
528
277
|
}
|
|
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
278
|
export type ConfidentialComputingSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
543
|
-
export const ConfidentialComputingSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
544
|
-
|
|
545
279
|
export interface StorageSpecificAttributes {
|
|
546
280
|
/** Storage Class type */
|
|
547
281
|
class?: string | null;
|
|
@@ -557,32 +291,11 @@ export interface StorageSpecificAttributes {
|
|
|
557
291
|
/** Type (e.g. 'capacity', 'input') */
|
|
558
292
|
type?: string | null;
|
|
559
293
|
}
|
|
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
294
|
export interface DataAndAI {
|
|
575
295
|
discriminator: string;
|
|
576
296
|
/** Type (e.g. `capacity`, `performance`) */
|
|
577
297
|
type?: string | null;
|
|
578
298
|
}
|
|
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
299
|
export interface RuntimeSpecificAttributes {
|
|
587
300
|
discriminator: string;
|
|
588
301
|
/** Plan ID */
|
|
@@ -590,22 +303,8 @@ export interface RuntimeSpecificAttributes {
|
|
|
590
303
|
/** Type (e.g. `single`, `replica`) */
|
|
591
304
|
type?: string | null;
|
|
592
305
|
}
|
|
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
306
|
/** Communication Channel */
|
|
604
307
|
export type SupportSpecificAttributesCommunicationChannelList = Array<string>;
|
|
605
|
-
export const SupportSpecificAttributesCommunicationChannelList = /*@__PURE__*/ S.Array(
|
|
606
|
-
S.String,
|
|
607
|
-
) as any as S.Schema<SupportSpecificAttributesCommunicationChannelList>;
|
|
608
|
-
|
|
609
308
|
export interface SupportSpecificAttributes {
|
|
610
309
|
/** Communication Channel */
|
|
611
310
|
communicationChannel?: SupportSpecificAttributesCommunicationChannelList;
|
|
@@ -655,39 +354,6 @@ export interface SupportSpecificAttributes {
|
|
|
655
354
|
/** SLA goal in percentage */
|
|
656
355
|
slaGoalInPercentage?: number | null;
|
|
657
356
|
}
|
|
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
357
|
export interface DeveloperPlatformSpecificAttributes {
|
|
692
358
|
discriminator: string;
|
|
693
359
|
/** diskStoragePerNode */
|
|
@@ -697,17 +363,6 @@ export interface DeveloperPlatformSpecificAttributes {
|
|
|
697
363
|
/** Type (e.g. `single`, `replica`) */
|
|
698
364
|
type?: string | null;
|
|
699
365
|
}
|
|
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
366
|
export type GetSKUResponseProductSpecificAttributes =
|
|
712
367
|
| PublicDatabaseSpecificAttributes
|
|
713
368
|
| ArchivingSpecificAttributes
|
|
@@ -722,27 +377,13 @@ export type GetSKUResponseProductSpecificAttributes =
|
|
|
722
377
|
| RuntimeSpecificAttributes
|
|
723
378
|
| SupportSpecificAttributes
|
|
724
379
|
| DeveloperPlatformSpecificAttributes;
|
|
725
|
-
export const GetSKUResponseProductSpecificAttributes =
|
|
726
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<GetSKUResponseProductSpecificAttributes>;
|
|
727
|
-
|
|
728
380
|
export interface PublicSavingsPlan {
|
|
729
381
|
/** Discount percentage for the savings plan */
|
|
730
382
|
discount?: number;
|
|
731
383
|
/** Number of years the savings plan is valid */
|
|
732
384
|
validityPeriodInYears?: number;
|
|
733
385
|
}
|
|
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
386
|
export type GetSKUResponseSavingsPlansList = Array<PublicSavingsPlan>;
|
|
742
|
-
export const GetSKUResponseSavingsPlansList = /*@__PURE__*/ S.Array(
|
|
743
|
-
PublicSavingsPlan,
|
|
744
|
-
) as any as S.Schema<GetSKUResponseSavingsPlansList>;
|
|
745
|
-
|
|
746
387
|
export interface GetSKUResponse {
|
|
747
388
|
/** The unique identifier for the category, which is object id from the DB */
|
|
748
389
|
categoryId: string | null;
|
|
@@ -763,7 +404,7 @@ export interface GetSKUResponse {
|
|
|
763
404
|
language?: string;
|
|
764
405
|
/** Name of license */
|
|
765
406
|
licenseName?: string | null;
|
|
766
|
-
/** State of the SKU following the mandatory product
|
|
407
|
+
/** State of the SKU following the mandatory product's maturity model progress (e.g. `beta`, `ga`) */
|
|
767
408
|
maturityModelState: string | null;
|
|
768
409
|
/** Metric of service */
|
|
769
410
|
metric?: string | null;
|
|
@@ -802,76 +443,17 @@ export interface GetSKUResponse {
|
|
|
802
443
|
productSpecificAttributes?: GetSKUResponseProductSpecificAttributes;
|
|
803
444
|
savingsPlans?: GetSKUResponseSavingsPlansList;
|
|
804
445
|
}
|
|
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
446
|
export type GetSTAXSKURequestLanguage = "en" | "de";
|
|
841
|
-
export const GetSTAXSKURequestLanguage = S.String;
|
|
842
|
-
|
|
843
447
|
export interface GetSTAXSKURequest {
|
|
844
448
|
/** The unique identifier for a SKU. */
|
|
845
449
|
skuId: string;
|
|
846
450
|
/** The language to retrieve the data in, available for en and de */
|
|
847
451
|
language?: GetSTAXSKURequestLanguage | (string & {});
|
|
848
452
|
}
|
|
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
453
|
/** List of prices */
|
|
864
454
|
export type GetSTAXSKUResponsePricesList = Array<Price>;
|
|
865
|
-
export const GetSTAXSKUResponsePricesList = /*@__PURE__*/ S.Array(
|
|
866
|
-
Price,
|
|
867
|
-
) as any as S.Schema<GetSTAXSKUResponsePricesList>;
|
|
868
|
-
|
|
869
455
|
/** List of unique service look up ids (ASCII ordered, ascending) */
|
|
870
456
|
export type GetSTAXSKUResponseServiceIdList = Array<string>;
|
|
871
|
-
export const GetSTAXSKUResponseServiceIdList = /*@__PURE__*/ S.Array(
|
|
872
|
-
S.String,
|
|
873
|
-
) as any as S.Schema<GetSTAXSKUResponseServiceIdList>;
|
|
874
|
-
|
|
875
457
|
export type GetSTAXSKUResponseProductSpecificAttributes =
|
|
876
458
|
| PublicDatabaseSpecificAttributes
|
|
877
459
|
| ArchivingSpecificAttributes
|
|
@@ -886,14 +468,7 @@ export type GetSTAXSKUResponseProductSpecificAttributes =
|
|
|
886
468
|
| RuntimeSpecificAttributes
|
|
887
469
|
| SupportSpecificAttributes
|
|
888
470
|
| DeveloperPlatformSpecificAttributes;
|
|
889
|
-
export const GetSTAXSKUResponseProductSpecificAttributes =
|
|
890
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<GetSTAXSKUResponseProductSpecificAttributes>;
|
|
891
|
-
|
|
892
471
|
export type GetSTAXSKUResponseSavingsPlansList = Array<PublicSavingsPlan>;
|
|
893
|
-
export const GetSTAXSKUResponseSavingsPlansList = /*@__PURE__*/ S.Array(
|
|
894
|
-
PublicSavingsPlan,
|
|
895
|
-
) as any as S.Schema<GetSTAXSKUResponseSavingsPlansList>;
|
|
896
|
-
|
|
897
472
|
export interface GetSTAXSKUResponse {
|
|
898
473
|
/** The unique identifier for the category, which is object id from the DB */
|
|
899
474
|
categoryId: string | null;
|
|
@@ -914,7 +489,7 @@ export interface GetSTAXSKUResponse {
|
|
|
914
489
|
language?: string;
|
|
915
490
|
/** Name of license */
|
|
916
491
|
licenseName?: string | null;
|
|
917
|
-
/** State of the SKU following the mandatory product
|
|
492
|
+
/** State of the SKU following the mandatory product's maturity model progress (e.g. `beta`, `ga`) */
|
|
918
493
|
maturityModelState: string | null;
|
|
919
494
|
/** Metric of service */
|
|
920
495
|
metric?: string | null;
|
|
@@ -953,44 +528,7 @@ export interface GetSTAXSKUResponse {
|
|
|
953
528
|
productSpecificAttributes?: GetSTAXSKUResponseProductSpecificAttributes;
|
|
954
529
|
savingsPlans?: GetSTAXSKUResponseSavingsPlansList;
|
|
955
530
|
}
|
|
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
531
|
export type ListCategoriesRequestLanguage = "en" | "de";
|
|
992
|
-
export const ListCategoriesRequestLanguage = S.String;
|
|
993
|
-
|
|
994
532
|
export interface ListCategoriesRequest {
|
|
995
533
|
/** The number of items to retrieve per page */
|
|
996
534
|
pageSize?: number;
|
|
@@ -1001,54 +539,18 @@ export interface ListCategoriesRequest {
|
|
|
1001
539
|
/** The language to retrieve the data in, available for en and de */
|
|
1002
540
|
language?: ListCategoriesRequestLanguage | (string & {});
|
|
1003
541
|
}
|
|
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
542
|
export type ListCategoriesResponseDataList = Array<PublicCategory>;
|
|
1021
|
-
export const ListCategoriesResponseDataList = /*@__PURE__*/ S.Array(
|
|
1022
|
-
PublicCategory,
|
|
1023
|
-
) as any as S.Schema<ListCategoriesResponseDataList>;
|
|
1024
|
-
|
|
1025
543
|
export interface MetaInformation {
|
|
1026
544
|
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
1027
545
|
nextCursor?: string;
|
|
1028
546
|
/** The number of items per page */
|
|
1029
547
|
pageSize?: number;
|
|
1030
548
|
}
|
|
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
549
|
export interface ListCategoriesResponse {
|
|
1039
550
|
data?: ListCategoriesResponseDataList;
|
|
1040
551
|
meta?: MetaInformation;
|
|
1041
552
|
}
|
|
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
553
|
export type ListCategoryProductsRequestLanguage = "en" | "de";
|
|
1050
|
-
export const ListCategoryProductsRequestLanguage = S.String;
|
|
1051
|
-
|
|
1052
554
|
export interface ListCategoryProductsRequest {
|
|
1053
555
|
/** The unique identifier for a category. */
|
|
1054
556
|
categoryId: string;
|
|
@@ -1061,46 +563,12 @@ export interface ListCategoryProductsRequest {
|
|
|
1061
563
|
/** The language to retrieve the data in, available for en and de */
|
|
1062
564
|
language?: ListCategoryProductsRequestLanguage | (string & {});
|
|
1063
565
|
}
|
|
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
566
|
export type ListCategoryProductsResponseDataList = Array<PublicProduct>;
|
|
1084
|
-
export const ListCategoryProductsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1085
|
-
PublicProduct,
|
|
1086
|
-
) as any as S.Schema<ListCategoryProductsResponseDataList>;
|
|
1087
|
-
|
|
1088
567
|
export interface ListCategoryProductsResponse {
|
|
1089
568
|
data?: ListCategoryProductsResponseDataList;
|
|
1090
569
|
meta?: MetaInformation;
|
|
1091
570
|
}
|
|
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
571
|
export type ListMarketingDataRequestLanguage = "en" | "de";
|
|
1102
|
-
export const ListMarketingDataRequestLanguage = S.String;
|
|
1103
|
-
|
|
1104
572
|
export interface ListMarketingDataRequest {
|
|
1105
573
|
/** The number of items to retrieve per page */
|
|
1106
574
|
pageSize?: number;
|
|
@@ -1111,43 +579,12 @@ export interface ListMarketingDataRequest {
|
|
|
1111
579
|
/** The product's name to retrieve the data for */
|
|
1112
580
|
productName?: string;
|
|
1113
581
|
}
|
|
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
582
|
export type ListMarketingDataResponseDataList = Array<PublicMarketingData>;
|
|
1131
|
-
export const ListMarketingDataResponseDataList = /*@__PURE__*/ S.Array(
|
|
1132
|
-
PublicMarketingData,
|
|
1133
|
-
) as any as S.Schema<ListMarketingDataResponseDataList>;
|
|
1134
|
-
|
|
1135
583
|
export interface ListMarketingDataResponse {
|
|
1136
584
|
data?: ListMarketingDataResponseDataList;
|
|
1137
585
|
meta?: MetaInformation;
|
|
1138
586
|
}
|
|
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
587
|
export type ListProductsRequestLanguage = "en" | "de";
|
|
1149
|
-
export const ListProductsRequestLanguage = S.String;
|
|
1150
|
-
|
|
1151
588
|
export interface ListProductsRequest {
|
|
1152
589
|
/** The number of items to retrieve per page */
|
|
1153
590
|
pageSize?: number;
|
|
@@ -1160,47 +597,13 @@ export interface ListProductsRequest {
|
|
|
1160
597
|
/** The language to retrieve the data in, available for en and de */
|
|
1161
598
|
language?: ListProductsRequestLanguage | (string & {});
|
|
1162
599
|
}
|
|
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
600
|
export type ListProductsResponseDataList = Array<PublicProduct>;
|
|
1181
|
-
export const ListProductsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1182
|
-
PublicProduct,
|
|
1183
|
-
) as any as S.Schema<ListProductsResponseDataList>;
|
|
1184
|
-
|
|
1185
601
|
export interface ListProductsResponse {
|
|
1186
602
|
data?: ListProductsResponseDataList;
|
|
1187
603
|
meta?: MetaInformation;
|
|
1188
604
|
}
|
|
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
605
|
export type ListProductSKUsRequestLanguage = "en" | "de";
|
|
1197
|
-
export const ListProductSKUsRequestLanguage = S.String;
|
|
1198
|
-
|
|
1199
606
|
export type ListProductSKUsRequestRegionList = Array<string>;
|
|
1200
|
-
export const ListProductSKUsRequestRegionList = /*@__PURE__*/ S.Array(
|
|
1201
|
-
S.String,
|
|
1202
|
-
) as any as S.Schema<ListProductSKUsRequestRegionList>;
|
|
1203
|
-
|
|
1204
607
|
export interface ListProductSKUsRequest {
|
|
1205
608
|
/** The unique identifier for a product. */
|
|
1206
609
|
productId: string;
|
|
@@ -1215,36 +618,10 @@ export interface ListProductSKUsRequest {
|
|
|
1215
618
|
/** The region to retrieve the data in */
|
|
1216
619
|
region?: ListProductSKUsRequestRegionList;
|
|
1217
620
|
}
|
|
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
621
|
/** List of prices */
|
|
1237
622
|
export type PublicSKUPricesList = Array<Price>;
|
|
1238
|
-
export const PublicSKUPricesList = /*@__PURE__*/ S.Array(
|
|
1239
|
-
Price,
|
|
1240
|
-
) as any as S.Schema<PublicSKUPricesList>;
|
|
1241
|
-
|
|
1242
623
|
/** List of unique service look up ids (ASCII ordered, ascending) */
|
|
1243
624
|
export type PublicSKUServiceIdList = Array<string>;
|
|
1244
|
-
export const PublicSKUServiceIdList = /*@__PURE__*/ S.Array(
|
|
1245
|
-
S.String,
|
|
1246
|
-
) as any as S.Schema<PublicSKUServiceIdList>;
|
|
1247
|
-
|
|
1248
625
|
export type PublicSKUProductSpecificAttributes =
|
|
1249
626
|
| PublicDatabaseSpecificAttributes
|
|
1250
627
|
| ArchivingSpecificAttributes
|
|
@@ -1259,14 +636,7 @@ export type PublicSKUProductSpecificAttributes =
|
|
|
1259
636
|
| RuntimeSpecificAttributes
|
|
1260
637
|
| SupportSpecificAttributes
|
|
1261
638
|
| DeveloperPlatformSpecificAttributes;
|
|
1262
|
-
export const PublicSKUProductSpecificAttributes =
|
|
1263
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<PublicSKUProductSpecificAttributes>;
|
|
1264
|
-
|
|
1265
639
|
export type PublicSKUSavingsPlansList = Array<PublicSavingsPlan>;
|
|
1266
|
-
export const PublicSKUSavingsPlansList = /*@__PURE__*/ S.Array(
|
|
1267
|
-
PublicSavingsPlan,
|
|
1268
|
-
) as any as S.Schema<PublicSKUSavingsPlansList>;
|
|
1269
|
-
|
|
1270
640
|
export interface PublicSKU {
|
|
1271
641
|
/** The unique identifier for the category, which is object id from the DB */
|
|
1272
642
|
categoryId: string | null;
|
|
@@ -1287,7 +657,7 @@ export interface PublicSKU {
|
|
|
1287
657
|
language?: string;
|
|
1288
658
|
/** Name of license */
|
|
1289
659
|
licenseName?: string | null;
|
|
1290
|
-
/** State of the SKU following the mandatory product
|
|
660
|
+
/** State of the SKU following the mandatory product's maturity model progress (e.g. `beta`, `ga`) */
|
|
1291
661
|
maturityModelState: string | null;
|
|
1292
662
|
/** Metric of service */
|
|
1293
663
|
metric?: string | null;
|
|
@@ -1326,65 +696,13 @@ export interface PublicSKU {
|
|
|
1326
696
|
productSpecificAttributes?: PublicSKUProductSpecificAttributes;
|
|
1327
697
|
savingsPlans?: PublicSKUSavingsPlansList;
|
|
1328
698
|
}
|
|
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
699
|
export type ListProductSKUsResponseDataList = Array<PublicSKU>;
|
|
1365
|
-
export const ListProductSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1366
|
-
PublicSKU,
|
|
1367
|
-
) as any as S.Schema<ListProductSKUsResponseDataList>;
|
|
1368
|
-
|
|
1369
700
|
export interface ListProductSKUsResponse {
|
|
1370
701
|
data?: ListProductSKUsResponseDataList;
|
|
1371
702
|
meta?: MetaInformation;
|
|
1372
703
|
}
|
|
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
704
|
export type ListProductSTAXSKUsRequestLanguage = "en" | "de";
|
|
1381
|
-
export const ListProductSTAXSKUsRequestLanguage = S.String;
|
|
1382
|
-
|
|
1383
705
|
export type ListProductSTAXSKUsRequestRegionList = Array<string>;
|
|
1384
|
-
export const ListProductSTAXSKUsRequestRegionList = /*@__PURE__*/ S.Array(
|
|
1385
|
-
S.String,
|
|
1386
|
-
) as any as S.Schema<ListProductSTAXSKUsRequestRegionList>;
|
|
1387
|
-
|
|
1388
706
|
export interface ListProductSTAXSKUsRequest {
|
|
1389
707
|
/** The unique identifier for a product. */
|
|
1390
708
|
productId: string;
|
|
@@ -1399,52 +717,13 @@ export interface ListProductSTAXSKUsRequest {
|
|
|
1399
717
|
/** The region to retrieve the data in */
|
|
1400
718
|
region?: ListProductSTAXSKUsRequestRegionList;
|
|
1401
719
|
}
|
|
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
720
|
export type ListProductSTAXSKUsResponseDataList = Array<PublicSKU>;
|
|
1423
|
-
export const ListProductSTAXSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1424
|
-
PublicSKU,
|
|
1425
|
-
) as any as S.Schema<ListProductSTAXSKUsResponseDataList>;
|
|
1426
|
-
|
|
1427
721
|
export interface ListProductSTAXSKUsResponse {
|
|
1428
722
|
data?: ListProductSTAXSKUsResponseDataList;
|
|
1429
723
|
meta?: MetaInformation;
|
|
1430
724
|
}
|
|
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
725
|
export type ListSKUsRequestLanguage = "en" | "de";
|
|
1441
|
-
export const ListSKUsRequestLanguage = S.String;
|
|
1442
|
-
|
|
1443
726
|
export type ListSKUsRequestRegionList = Array<string>;
|
|
1444
|
-
export const ListSKUsRequestRegionList = /*@__PURE__*/ S.Array(
|
|
1445
|
-
S.String,
|
|
1446
|
-
) as any as S.Schema<ListSKUsRequestRegionList>;
|
|
1447
|
-
|
|
1448
727
|
export interface ListSKUsRequest {
|
|
1449
728
|
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
1450
729
|
cursor?: string;
|
|
@@ -1461,44 +740,13 @@ export interface ListSKUsRequest {
|
|
|
1461
740
|
/** The region to retrieve the data in */
|
|
1462
741
|
region?: ListSKUsRequestRegionList;
|
|
1463
742
|
}
|
|
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
743
|
export type ListSKUsResponseDataList = Array<PublicSKU>;
|
|
1479
|
-
export const ListSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1480
|
-
PublicSKU,
|
|
1481
|
-
) as any as S.Schema<ListSKUsResponseDataList>;
|
|
1482
|
-
|
|
1483
744
|
export interface ListSKUsResponse {
|
|
1484
745
|
data?: ListSKUsResponseDataList;
|
|
1485
746
|
meta?: MetaInformation;
|
|
1486
747
|
}
|
|
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
748
|
export type ListSTAXSKUsRequestLanguage = "en" | "de";
|
|
1495
|
-
export const ListSTAXSKUsRequestLanguage = S.String;
|
|
1496
|
-
|
|
1497
749
|
export type ListSTAXSKUsRequestRegionList = Array<string>;
|
|
1498
|
-
export const ListSTAXSKUsRequestRegionList = /*@__PURE__*/ S.Array(
|
|
1499
|
-
S.String,
|
|
1500
|
-
) as any as S.Schema<ListSTAXSKUsRequestRegionList>;
|
|
1501
|
-
|
|
1502
750
|
export interface ListSTAXSKUsRequest {
|
|
1503
751
|
/** The cursor base64 encoded is used to retrieve the next page of results */
|
|
1504
752
|
cursor?: string;
|
|
@@ -1515,44 +763,12 @@ export interface ListSTAXSKUsRequest {
|
|
|
1515
763
|
/** The region to retrieve the data in */
|
|
1516
764
|
region?: ListSTAXSKUsRequestRegionList;
|
|
1517
765
|
}
|
|
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
766
|
export type ListSTAXSKUsResponseDataList = Array<PublicSKU>;
|
|
1538
|
-
export const ListSTAXSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1539
|
-
PublicSKU,
|
|
1540
|
-
) as any as S.Schema<ListSTAXSKUsResponseDataList>;
|
|
1541
|
-
|
|
1542
767
|
export interface ListSTAXSKUsResponse {
|
|
1543
768
|
data?: ListSTAXSKUsResponseDataList;
|
|
1544
769
|
meta?: MetaInformation;
|
|
1545
770
|
}
|
|
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
771
|
export type SearchSKUsRequestLanguage = "en" | "de";
|
|
1554
|
-
export const SearchSKUsRequestLanguage = S.String;
|
|
1555
|
-
|
|
1556
772
|
export interface SearchSKUsRequest {
|
|
1557
773
|
/** The language to retrieve the data in, available for en and de */
|
|
1558
774
|
language?: SearchSKUsRequestLanguage | (string & {});
|
|
@@ -1604,7 +820,7 @@ export interface SearchSKUsRequest {
|
|
|
1604
820
|
leadTimeInWorkDays?: number | null;
|
|
1605
821
|
/** Location */
|
|
1606
822
|
location?: string | null;
|
|
1607
|
-
/** State of the SKU following the mandatory product
|
|
823
|
+
/** State of the SKU following the mandatory product's maturity model progress (e.g. `beta`, `ga`) */
|
|
1608
824
|
maturityModelState?: string;
|
|
1609
825
|
/** Storage maxIOPerSec */
|
|
1610
826
|
maxIOPerSec?: number;
|
|
@@ -1681,99 +897,11 @@ export interface SearchSKUsRequest {
|
|
|
1681
897
|
/** Price value that is valid at request time, shown with full precision with 11 decimals */
|
|
1682
898
|
value?: string;
|
|
1683
899
|
}
|
|
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
900
|
export type SearchSKUsResponseDataList = Array<PublicSKU>;
|
|
1762
|
-
export const SearchSKUsResponseDataList = /*@__PURE__*/ S.Array(
|
|
1763
|
-
PublicSKU,
|
|
1764
|
-
) as any as S.Schema<SearchSKUsResponseDataList>;
|
|
1765
|
-
|
|
1766
901
|
export interface SearchSKUsResponse {
|
|
1767
902
|
data?: SearchSKUsResponseDataList;
|
|
1768
903
|
meta?: MetaInformation;
|
|
1769
904
|
}
|
|
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
905
|
export type GetCategoryError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
1778
906
|
/** Get category by ID Retrieves a specific category by its ID, available for general public. */
|
|
1779
907
|
export const getCategory: API.OperationMethod<
|
|
@@ -1782,8 +910,8 @@ export const getCategory: API.OperationMethod<
|
|
|
1782
910
|
GetCategoryError,
|
|
1783
911
|
StackitOpContext
|
|
1784
912
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1785
|
-
input: GetCategoryRequest
|
|
1786
|
-
output: PublicCategory
|
|
913
|
+
input: __S(64, __c8, 0) as any as S.Schema<GetCategoryRequest>,
|
|
914
|
+
output: __S(72, __c9, 0) as any as S.Schema<PublicCategory>,
|
|
1787
915
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1788
916
|
protocol: StackitProtocol,
|
|
1789
917
|
retry: Retry.Retry,
|
|
@@ -1797,8 +925,8 @@ export const getProduct: API.OperationMethod<
|
|
|
1797
925
|
GetProductError,
|
|
1798
926
|
StackitOpContext
|
|
1799
927
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1800
|
-
input: GetProductRequest
|
|
1801
|
-
output: PublicProduct
|
|
928
|
+
input: __S(80, __c10, 0) as any as S.Schema<GetProductRequest>,
|
|
929
|
+
output: __S(96, __c12, 0) as any as S.Schema<PublicProduct>,
|
|
1802
930
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1803
931
|
protocol: StackitProtocol,
|
|
1804
932
|
retry: Retry.Retry,
|
|
@@ -1812,8 +940,8 @@ export const getProductMarketingData: API.OperationMethod<
|
|
|
1812
940
|
GetProductMarketingDataError,
|
|
1813
941
|
StackitOpContext
|
|
1814
942
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1815
|
-
input: GetProductMarketingDataRequest
|
|
1816
|
-
output: PublicMarketingData
|
|
943
|
+
input: __S(104, __c13, 0) as any as S.Schema<GetProductMarketingDataRequest>,
|
|
944
|
+
output: __S(118, __c14, 6) as any as S.Schema<PublicMarketingData>,
|
|
1817
945
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1818
946
|
protocol: StackitProtocol,
|
|
1819
947
|
retry: Retry.Retry,
|
|
@@ -1827,8 +955,8 @@ export const getSKU: API.OperationMethod<
|
|
|
1827
955
|
GetSKUError,
|
|
1828
956
|
StackitOpContext
|
|
1829
957
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1830
|
-
input: GetSKURequest
|
|
1831
|
-
output: GetSKUResponse
|
|
958
|
+
input: __S(120, __c15, 0) as any as S.Schema<GetSKURequest>,
|
|
959
|
+
output: __S(121, __c15, 1) as any as S.Schema<GetSKUResponse>,
|
|
1832
960
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1833
961
|
protocol: StackitProtocol,
|
|
1834
962
|
retry: Retry.Retry,
|
|
@@ -1842,8 +970,8 @@ export const getSTAXSKU: API.OperationMethod<
|
|
|
1842
970
|
GetSTAXSKUError,
|
|
1843
971
|
StackitOpContext
|
|
1844
972
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1845
|
-
input: GetSTAXSKURequest
|
|
1846
|
-
output: GetSTAXSKUResponse
|
|
973
|
+
input: __S(136, __c17, 0) as any as S.Schema<GetSTAXSKURequest>,
|
|
974
|
+
output: __S(137, __c17, 1) as any as S.Schema<GetSTAXSKUResponse>,
|
|
1847
975
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1848
976
|
protocol: StackitProtocol,
|
|
1849
977
|
retry: Retry.Retry,
|
|
@@ -1857,8 +985,8 @@ export const listCategories: API.OperationMethod<
|
|
|
1857
985
|
ListCategoriesError,
|
|
1858
986
|
StackitOpContext
|
|
1859
987
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1860
|
-
input: ListCategoriesRequest
|
|
1861
|
-
output: ListCategoriesResponse
|
|
988
|
+
input: __S(144, __c18, 0) as any as S.Schema<ListCategoriesRequest>,
|
|
989
|
+
output: __S(146, __c18, 2) as any as S.Schema<ListCategoriesResponse>,
|
|
1862
990
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
1863
991
|
protocol: StackitProtocol,
|
|
1864
992
|
retry: Retry.Retry,
|
|
@@ -1872,8 +1000,8 @@ export const listCategoryProducts: API.OperationMethod<
|
|
|
1872
1000
|
ListCategoryProductsError,
|
|
1873
1001
|
StackitOpContext
|
|
1874
1002
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1875
|
-
input: ListCategoryProductsRequest
|
|
1876
|
-
output: ListCategoryProductsResponse
|
|
1003
|
+
input: __S(160, __c20, 0) as any as S.Schema<ListCategoryProductsRequest>,
|
|
1004
|
+
output: __S(169, __c21, 1) as any as S.Schema<ListCategoryProductsResponse>,
|
|
1877
1005
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1878
1006
|
protocol: StackitProtocol,
|
|
1879
1007
|
retry: Retry.Retry,
|
|
@@ -1887,8 +1015,8 @@ export const listMarketingData: API.OperationMethod<
|
|
|
1887
1015
|
ListMarketingDataError,
|
|
1888
1016
|
StackitOpContext
|
|
1889
1017
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1890
|
-
input: ListMarketingDataRequest
|
|
1891
|
-
output: ListMarketingDataResponse
|
|
1018
|
+
input: __S(0, __c0, 0) as any as S.Schema<ListMarketingDataRequest>,
|
|
1019
|
+
output: __S(2, __c0, 2) as any as S.Schema<ListMarketingDataResponse>,
|
|
1892
1020
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
1893
1021
|
protocol: StackitProtocol,
|
|
1894
1022
|
retry: Retry.Retry,
|
|
@@ -1902,8 +1030,8 @@ export const listProducts: API.OperationMethod<
|
|
|
1902
1030
|
ListProductsError,
|
|
1903
1031
|
StackitOpContext
|
|
1904
1032
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1905
|
-
input: ListProductsRequest
|
|
1906
|
-
output: ListProductsResponse
|
|
1033
|
+
input: __S(8, __c1, 0) as any as S.Schema<ListProductsRequest>,
|
|
1034
|
+
output: __S(169, __c21, 1) as any as S.Schema<ListProductsResponse>,
|
|
1907
1035
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
1908
1036
|
protocol: StackitProtocol,
|
|
1909
1037
|
retry: Retry.Retry,
|
|
@@ -1917,8 +1045,8 @@ export const listProductSKUs: API.OperationMethod<
|
|
|
1917
1045
|
ListProductSKUsError,
|
|
1918
1046
|
StackitOpContext
|
|
1919
1047
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1920
|
-
input: ListProductSKUsRequest
|
|
1921
|
-
output: ListProductSKUsResponse
|
|
1048
|
+
input: __S(16, __c2, 0) as any as S.Schema<ListProductSKUsRequest>,
|
|
1049
|
+
output: __S(26, __c3, 2) as any as S.Schema<ListProductSKUsResponse>,
|
|
1922
1050
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1923
1051
|
protocol: StackitProtocol,
|
|
1924
1052
|
retry: Retry.Retry,
|
|
@@ -1932,8 +1060,8 @@ export const listProductSTAXSKUs: API.OperationMethod<
|
|
|
1932
1060
|
ListProductSTAXSKUsError,
|
|
1933
1061
|
StackitOpContext
|
|
1934
1062
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1935
|
-
input: ListProductSTAXSKUsRequest
|
|
1936
|
-
output: ListProductSTAXSKUsResponse
|
|
1063
|
+
input: __S(32, __c4, 0) as any as S.Schema<ListProductSTAXSKUsRequest>,
|
|
1064
|
+
output: __S(26, __c3, 2) as any as S.Schema<ListProductSTAXSKUsResponse>,
|
|
1937
1065
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1938
1066
|
protocol: StackitProtocol,
|
|
1939
1067
|
retry: Retry.Retry,
|
|
@@ -1947,8 +1075,8 @@ export const listSKUs: API.OperationMethod<
|
|
|
1947
1075
|
ListSKUsError,
|
|
1948
1076
|
StackitOpContext
|
|
1949
1077
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1950
|
-
input: ListSKUsRequest
|
|
1951
|
-
output: ListSKUsResponse
|
|
1078
|
+
input: __S(40, __c5, 0) as any as S.Schema<ListSKUsRequest>,
|
|
1079
|
+
output: __S(26, __c3, 2) as any as S.Schema<ListSKUsResponse>,
|
|
1952
1080
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
1953
1081
|
protocol: StackitProtocol,
|
|
1954
1082
|
retry: Retry.Retry,
|
|
@@ -1962,8 +1090,8 @@ export const listSTAXSKUs: API.OperationMethod<
|
|
|
1962
1090
|
ListSTAXSKUsError,
|
|
1963
1091
|
StackitOpContext
|
|
1964
1092
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1965
|
-
input: ListSTAXSKUsRequest
|
|
1966
|
-
output: ListSTAXSKUsResponse
|
|
1093
|
+
input: __S(48, __c6, 0) as any as S.Schema<ListSTAXSKUsRequest>,
|
|
1094
|
+
output: __S(26, __c3, 2) as any as S.Schema<ListSTAXSKUsResponse>,
|
|
1967
1095
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
1968
1096
|
protocol: StackitProtocol,
|
|
1969
1097
|
retry: Retry.Retry,
|
|
@@ -1977,9 +1105,644 @@ export const searchSKUs: API.OperationMethod<
|
|
|
1977
1105
|
SearchSKUsError,
|
|
1978
1106
|
StackitOpContext
|
|
1979
1107
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1980
|
-
input: SearchSKUsRequest
|
|
1981
|
-
output: SearchSKUsResponse
|
|
1108
|
+
input: __S(56, __c7, 0) as any as S.Schema<SearchSKUsRequest>,
|
|
1109
|
+
output: __S(26, __c3, 2) as any as S.Schema<SearchSKUsResponse>,
|
|
1982
1110
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
1983
1111
|
protocol: StackitProtocol,
|
|
1984
1112
|
retry: Retry.Retry,
|
|
1985
1113
|
}));
|
|
1114
|
+
|
|
1115
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
1116
|
+
function __c0(j: number): any {
|
|
1117
|
+
switch (j) {
|
|
1118
|
+
case 0:
|
|
1119
|
+
return S.suspend(() =>
|
|
1120
|
+
S.Struct({
|
|
1121
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1122
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1123
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1124
|
+
productName: S.optional(S.String.pipe(T.Query())),
|
|
1125
|
+
}).pipe(
|
|
1126
|
+
T.Http({
|
|
1127
|
+
method: "GET",
|
|
1128
|
+
uri: "/v2/marketing",
|
|
1129
|
+
code: 200,
|
|
1130
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1131
|
+
}),
|
|
1132
|
+
),
|
|
1133
|
+
).annotate({ identifier: "ListMarketingDataRequest" });
|
|
1134
|
+
case 1:
|
|
1135
|
+
return S.Array(__S(118, __c14, 6));
|
|
1136
|
+
case 2:
|
|
1137
|
+
return S.suspend(() =>
|
|
1138
|
+
S.Struct({
|
|
1139
|
+
data: S.optional(__S(1, __c0, 1)),
|
|
1140
|
+
meta: S.optional(__S(152, __c19, 0)),
|
|
1141
|
+
}),
|
|
1142
|
+
).annotate({ identifier: "ListMarketingDataResponse" });
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
function __c1(j: number): any {
|
|
1146
|
+
switch (j) {
|
|
1147
|
+
case 0:
|
|
1148
|
+
return S.suspend(() =>
|
|
1149
|
+
S.Struct({
|
|
1150
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1151
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1152
|
+
categoryName: S.optional(S.String.pipe(T.Query())),
|
|
1153
|
+
productName: S.optional(S.String.pipe(T.Query())),
|
|
1154
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1155
|
+
}).pipe(
|
|
1156
|
+
T.Http({
|
|
1157
|
+
method: "GET",
|
|
1158
|
+
uri: "/v2/products",
|
|
1159
|
+
code: 200,
|
|
1160
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1161
|
+
}),
|
|
1162
|
+
),
|
|
1163
|
+
).annotate({ identifier: "ListProductsRequest" });
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
function __c2(j: number): any {
|
|
1167
|
+
switch (j) {
|
|
1168
|
+
case 0:
|
|
1169
|
+
return S.suspend(() =>
|
|
1170
|
+
S.Struct({
|
|
1171
|
+
productId: S.String.pipe(T.Label()),
|
|
1172
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1173
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1174
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1175
|
+
skuName: S.optional(S.String.pipe(T.Query())),
|
|
1176
|
+
region: S.optional(__S(88, __c11, 0).pipe(T.Query())),
|
|
1177
|
+
}).pipe(
|
|
1178
|
+
T.Http({
|
|
1179
|
+
method: "GET",
|
|
1180
|
+
uri: "/v2/products/{productId}/skus",
|
|
1181
|
+
code: 200,
|
|
1182
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1183
|
+
}),
|
|
1184
|
+
),
|
|
1185
|
+
).annotate({ identifier: "ListProductSKUsRequest" });
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
function __c3(j: number): any {
|
|
1189
|
+
switch (j) {
|
|
1190
|
+
case 0:
|
|
1191
|
+
return S.suspend(() =>
|
|
1192
|
+
S.Struct({
|
|
1193
|
+
categoryId: S.NullOr(S.String),
|
|
1194
|
+
categoryName: S.NullOr(S.String),
|
|
1195
|
+
cpuOverprovisioning: S.optional(S.NullOr(S.Boolean)),
|
|
1196
|
+
deprecated: S.NullOr(S.String),
|
|
1197
|
+
documentation: S.NullOr(S.String),
|
|
1198
|
+
finOpsFocus: __S(128, __c16, 0),
|
|
1199
|
+
generalProductGroup: S.NullOr(S.String),
|
|
1200
|
+
id: S.String,
|
|
1201
|
+
language: S.optional(S.String),
|
|
1202
|
+
licenseName: S.optional(S.NullOr(S.String)),
|
|
1203
|
+
maturityModelState: S.NullOr(S.String),
|
|
1204
|
+
metric: S.optional(S.NullOr(S.String)),
|
|
1205
|
+
name: S.NullOr(S.String),
|
|
1206
|
+
priceListVisibility: S.NullOr(S.String),
|
|
1207
|
+
prices: __S(130, __c16, 2),
|
|
1208
|
+
productId: S.NullOr(S.String),
|
|
1209
|
+
productName: S.NullOr(S.String),
|
|
1210
|
+
rateType: S.optional(S.NullOr(S.String)),
|
|
1211
|
+
region: S.String,
|
|
1212
|
+
serviceId: S.optional(__S(88, __c11, 0)),
|
|
1213
|
+
technicalProductGroup: S.optional(S.NullOr(S.String)),
|
|
1214
|
+
tierMaxValue: S.optional(S.NullOr(S.Number)),
|
|
1215
|
+
tierMinValue: S.optional(S.NullOr(S.Number)),
|
|
1216
|
+
title: S.String,
|
|
1217
|
+
unit: S.String,
|
|
1218
|
+
unitBilling: S.String,
|
|
1219
|
+
validStart: S.String,
|
|
1220
|
+
version: S.String,
|
|
1221
|
+
productSpecificAttributes: S.optional(S.Unknown),
|
|
1222
|
+
savingsPlans: S.optional(__S(132, __c16, 4)),
|
|
1223
|
+
}),
|
|
1224
|
+
).annotate({ identifier: "PublicSKU" });
|
|
1225
|
+
case 1:
|
|
1226
|
+
return S.Array(__S(24, __c3, 0));
|
|
1227
|
+
case 2:
|
|
1228
|
+
return S.suspend(() =>
|
|
1229
|
+
S.Struct({
|
|
1230
|
+
data: S.optional(__S(25, __c3, 1)),
|
|
1231
|
+
meta: S.optional(__S(152, __c19, 0)),
|
|
1232
|
+
}),
|
|
1233
|
+
).annotate({ identifier: "ListProductSKUsResponse" });
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
function __c4(j: number): any {
|
|
1237
|
+
switch (j) {
|
|
1238
|
+
case 0:
|
|
1239
|
+
return S.suspend(() =>
|
|
1240
|
+
S.Struct({
|
|
1241
|
+
productId: S.String.pipe(T.Label()),
|
|
1242
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1243
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1244
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1245
|
+
skuName: S.optional(S.String.pipe(T.Query())),
|
|
1246
|
+
region: S.optional(__S(88, __c11, 0).pipe(T.Query())),
|
|
1247
|
+
}).pipe(
|
|
1248
|
+
T.Http({
|
|
1249
|
+
method: "GET",
|
|
1250
|
+
uri: "/v2/products/{productId}/stackitx/skus",
|
|
1251
|
+
code: 200,
|
|
1252
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1253
|
+
}),
|
|
1254
|
+
),
|
|
1255
|
+
).annotate({ identifier: "ListProductSTAXSKUsRequest" });
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
function __c5(j: number): any {
|
|
1259
|
+
switch (j) {
|
|
1260
|
+
case 0:
|
|
1261
|
+
return S.suspend(() =>
|
|
1262
|
+
S.Struct({
|
|
1263
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1264
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1265
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1266
|
+
categoryName: S.optional(S.String.pipe(T.Query())),
|
|
1267
|
+
productName: S.optional(S.String.pipe(T.Query())),
|
|
1268
|
+
skuName: S.optional(S.String.pipe(T.Query())),
|
|
1269
|
+
region: S.optional(__S(88, __c11, 0).pipe(T.Query())),
|
|
1270
|
+
}).pipe(
|
|
1271
|
+
T.Http({
|
|
1272
|
+
method: "GET",
|
|
1273
|
+
uri: "/v2/skus",
|
|
1274
|
+
code: 200,
|
|
1275
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1276
|
+
}),
|
|
1277
|
+
),
|
|
1278
|
+
).annotate({ identifier: "ListSKUsRequest" });
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
function __c6(j: number): any {
|
|
1282
|
+
switch (j) {
|
|
1283
|
+
case 0:
|
|
1284
|
+
return S.suspend(() =>
|
|
1285
|
+
S.Struct({
|
|
1286
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1287
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1288
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1289
|
+
categoryName: S.optional(S.String.pipe(T.Query())),
|
|
1290
|
+
productName: S.optional(S.String.pipe(T.Query())),
|
|
1291
|
+
skuName: S.optional(S.String.pipe(T.Query())),
|
|
1292
|
+
region: S.optional(__S(88, __c11, 0).pipe(T.Query())),
|
|
1293
|
+
}).pipe(
|
|
1294
|
+
T.Http({
|
|
1295
|
+
method: "GET",
|
|
1296
|
+
uri: "/v2/stackitx/skus",
|
|
1297
|
+
code: 200,
|
|
1298
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1299
|
+
}),
|
|
1300
|
+
),
|
|
1301
|
+
).annotate({ identifier: "ListSTAXSKUsRequest" });
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
function __c7(j: number): any {
|
|
1305
|
+
switch (j) {
|
|
1306
|
+
case 0:
|
|
1307
|
+
return S.suspend(() =>
|
|
1308
|
+
S.Struct({
|
|
1309
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1310
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1311
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1312
|
+
categoryName: S.optional(S.String),
|
|
1313
|
+
class: S.optional(S.String),
|
|
1314
|
+
communicationChannel: S.optional(S.String),
|
|
1315
|
+
connectionLimitPerLoadBalancer: S.optional(S.Number),
|
|
1316
|
+
contractNoticePeriodInDays: S.optional(S.NullOr(S.Number)),
|
|
1317
|
+
deprecated: S.optional(S.String),
|
|
1318
|
+
diskStoragePerNode: S.optional(S.String),
|
|
1319
|
+
documentation: S.optional(S.String),
|
|
1320
|
+
escalationAvailabilityBCINC: S.optional(S.NullOr(S.String)),
|
|
1321
|
+
escalationAvailabilityINC: S.optional(S.NullOr(S.String)),
|
|
1322
|
+
escalationAvailabilitySR: S.optional(S.NullOr(S.String)),
|
|
1323
|
+
escalationThresholdBCINCInMins: S.optional(S.NullOr(S.Number)),
|
|
1324
|
+
escalationThresholdINCInMins: S.optional(S.NullOr(S.Number)),
|
|
1325
|
+
escalationThresholdSRInMins: S.optional(S.NullOr(S.Number)),
|
|
1326
|
+
finPenaltySLAVio80Pct: S.optional(S.NullOr(S.Number)),
|
|
1327
|
+
finPenaltySLAVio90_80Pct: S.optional(
|
|
1328
|
+
S.NullOr(S.Number).pipe(T.Body("finPenaltySLAVio90-80Pct")),
|
|
1329
|
+
),
|
|
1330
|
+
flavor: S.optional(S.String),
|
|
1331
|
+
generalProductGroup: S.optional(S.String),
|
|
1332
|
+
hardware: S.optional(S.String),
|
|
1333
|
+
initialRuntimeInMonths: S.optional(S.NullOr(S.Number)),
|
|
1334
|
+
leadTimeInWorkDays: S.optional(S.NullOr(S.Number)),
|
|
1335
|
+
location: S.optional(S.NullOr(S.String)),
|
|
1336
|
+
maturityModelState: S.optional(S.String),
|
|
1337
|
+
maxIOPerSec: S.optional(S.Number),
|
|
1338
|
+
maxTroughInMB: S.optional(S.Number),
|
|
1339
|
+
metricPerMin: S.optional(S.Number),
|
|
1340
|
+
metro: S.optional(S.Boolean),
|
|
1341
|
+
monthlyPrice: S.optional(S.String),
|
|
1342
|
+
name: S.optional(S.String),
|
|
1343
|
+
nodes: S.optional(S.Number),
|
|
1344
|
+
os: S.optional(S.String),
|
|
1345
|
+
priceListVisibility: S.optional(S.String),
|
|
1346
|
+
productName: S.optional(S.String),
|
|
1347
|
+
projectNoticePeriodInWorkDays: S.optional(S.NullOr(S.Number)),
|
|
1348
|
+
ram: S.optional(S.Number),
|
|
1349
|
+
reactionTimeInMins: S.optional(S.NullOr(S.Number)),
|
|
1350
|
+
recordLimitPerZone: S.optional(S.Number),
|
|
1351
|
+
region: S.optional(S.String),
|
|
1352
|
+
repeatedRuntimeInMonths: S.optional(S.NullOr(S.Number)),
|
|
1353
|
+
responseTimeBCINCInMins: S.optional(S.NullOr(S.Number)),
|
|
1354
|
+
responseTimeINCInMins: S.optional(S.NullOr(S.Number)),
|
|
1355
|
+
responseTimeSRInMins: S.optional(S.NullOr(S.Number)),
|
|
1356
|
+
serviceHoursBCINC: S.optional(S.NullOr(S.String)),
|
|
1357
|
+
serviceHoursINC: S.optional(S.NullOr(S.String)),
|
|
1358
|
+
serviceHoursSR: S.optional(S.NullOr(S.String)),
|
|
1359
|
+
serviceId: S.optional(S.String),
|
|
1360
|
+
sku: S.optional(S.String),
|
|
1361
|
+
slaGoalInPercentage: S.optional(S.NullOr(S.Number)),
|
|
1362
|
+
storage: S.optional(S.String),
|
|
1363
|
+
storageMaxGb: S.optional(S.Number),
|
|
1364
|
+
storageMinGb: S.optional(S.Number),
|
|
1365
|
+
targets: S.optional(S.Number),
|
|
1366
|
+
technicalProductGroup: S.optional(S.String),
|
|
1367
|
+
title: S.optional(S.String),
|
|
1368
|
+
type: S.optional(S.String),
|
|
1369
|
+
unit: S.optional(S.String),
|
|
1370
|
+
unitBilling: S.optional(S.String),
|
|
1371
|
+
vCPU: S.optional(S.Number),
|
|
1372
|
+
validFrom: S.optional(S.String),
|
|
1373
|
+
value: S.optional(S.String),
|
|
1374
|
+
}).pipe(
|
|
1375
|
+
T.Http({
|
|
1376
|
+
method: "POST",
|
|
1377
|
+
uri: "/v2/skus/search",
|
|
1378
|
+
code: 200,
|
|
1379
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1380
|
+
}),
|
|
1381
|
+
),
|
|
1382
|
+
).annotate({ identifier: "SearchSKUsRequest" });
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
function __c8(j: number): any {
|
|
1386
|
+
switch (j) {
|
|
1387
|
+
case 0:
|
|
1388
|
+
return S.suspend(() =>
|
|
1389
|
+
S.Struct({
|
|
1390
|
+
categoryId: S.String.pipe(T.Label()),
|
|
1391
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1392
|
+
}).pipe(
|
|
1393
|
+
T.Http({
|
|
1394
|
+
method: "GET",
|
|
1395
|
+
uri: "/v2/categories/{categoryId}",
|
|
1396
|
+
code: 200,
|
|
1397
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1398
|
+
}),
|
|
1399
|
+
),
|
|
1400
|
+
).annotate({ identifier: "GetCategoryRequest" });
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
function __c9(j: number): any {
|
|
1404
|
+
switch (j) {
|
|
1405
|
+
case 0:
|
|
1406
|
+
return S.suspend(() =>
|
|
1407
|
+
S.Struct({
|
|
1408
|
+
description: S.optional(S.String),
|
|
1409
|
+
id: S.optional(S.NullOr(S.String)),
|
|
1410
|
+
image: S.optional(S.String),
|
|
1411
|
+
language: S.optional(S.String),
|
|
1412
|
+
name: S.optional(S.String),
|
|
1413
|
+
validStart: S.optional(S.String),
|
|
1414
|
+
version: S.optional(S.String),
|
|
1415
|
+
}),
|
|
1416
|
+
).annotate({ identifier: "PublicCategory" });
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
function __c10(j: number): any {
|
|
1420
|
+
switch (j) {
|
|
1421
|
+
case 0:
|
|
1422
|
+
return S.suspend(() =>
|
|
1423
|
+
S.Struct({
|
|
1424
|
+
productId: S.String.pipe(T.Label()),
|
|
1425
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1426
|
+
}).pipe(
|
|
1427
|
+
T.Http({
|
|
1428
|
+
method: "GET",
|
|
1429
|
+
uri: "/v2/products/{productId}",
|
|
1430
|
+
code: 200,
|
|
1431
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1432
|
+
}),
|
|
1433
|
+
),
|
|
1434
|
+
).annotate({ identifier: "GetProductRequest" });
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
function __c11(j: number): any {
|
|
1438
|
+
switch (j) {
|
|
1439
|
+
case 0:
|
|
1440
|
+
return S.Array(S.String);
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
function __c12(j: number): any {
|
|
1444
|
+
switch (j) {
|
|
1445
|
+
case 0:
|
|
1446
|
+
return S.suspend(() =>
|
|
1447
|
+
S.Struct({
|
|
1448
|
+
apiIdentifier: S.optional(__S(88, __c11, 0)),
|
|
1449
|
+
categoryId: S.optional(S.NullOr(S.String)),
|
|
1450
|
+
categoryName: S.optional(S.NullOr(S.String)),
|
|
1451
|
+
description: S.optional(S.String),
|
|
1452
|
+
id: S.optional(S.NullOr(S.String)),
|
|
1453
|
+
image: S.optional(S.String),
|
|
1454
|
+
language: S.optional(S.String),
|
|
1455
|
+
longName: S.optional(S.String),
|
|
1456
|
+
shortName: S.optional(S.String),
|
|
1457
|
+
validStart: S.optional(S.String),
|
|
1458
|
+
version: S.optional(S.String),
|
|
1459
|
+
}),
|
|
1460
|
+
).annotate({ identifier: "PublicProduct" });
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
function __c13(j: number): any {
|
|
1464
|
+
switch (j) {
|
|
1465
|
+
case 0:
|
|
1466
|
+
return S.suspend(() =>
|
|
1467
|
+
S.Struct({
|
|
1468
|
+
productId: S.String.pipe(T.Label()),
|
|
1469
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1470
|
+
}).pipe(
|
|
1471
|
+
T.Http({
|
|
1472
|
+
method: "GET",
|
|
1473
|
+
uri: "/v2/products/{productId}/marketing",
|
|
1474
|
+
code: 200,
|
|
1475
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1476
|
+
}),
|
|
1477
|
+
),
|
|
1478
|
+
).annotate({ identifier: "GetProductMarketingDataRequest" });
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
function __c14(j: number): any {
|
|
1482
|
+
switch (j) {
|
|
1483
|
+
case 0:
|
|
1484
|
+
return S.suspend(() =>
|
|
1485
|
+
S.Struct({
|
|
1486
|
+
advantage: S.optional(S.String),
|
|
1487
|
+
position: S.optional(S.Number),
|
|
1488
|
+
}),
|
|
1489
|
+
).annotate({ identifier: "MarketingAdvantage" });
|
|
1490
|
+
case 1:
|
|
1491
|
+
return S.Array(__S(112, __c14, 0));
|
|
1492
|
+
case 2:
|
|
1493
|
+
return S.suspend(() =>
|
|
1494
|
+
S.Struct({
|
|
1495
|
+
application: S.optional(S.String),
|
|
1496
|
+
applicationTitle: S.optional(S.String),
|
|
1497
|
+
position: S.optional(S.Number),
|
|
1498
|
+
}),
|
|
1499
|
+
).annotate({ identifier: "MarketingApplication" });
|
|
1500
|
+
case 3:
|
|
1501
|
+
return S.Array(__S(114, __c14, 2));
|
|
1502
|
+
case 4:
|
|
1503
|
+
return S.suspend(() =>
|
|
1504
|
+
S.Struct({
|
|
1505
|
+
function: S.optional(S.String),
|
|
1506
|
+
position: S.optional(S.Number),
|
|
1507
|
+
}),
|
|
1508
|
+
).annotate({ identifier: "MarketingFunction" });
|
|
1509
|
+
case 5:
|
|
1510
|
+
return S.Array(__S(116, __c14, 4));
|
|
1511
|
+
case 6:
|
|
1512
|
+
return S.suspend(() =>
|
|
1513
|
+
S.Struct({
|
|
1514
|
+
advantages: S.optional(__S(113, __c14, 1)),
|
|
1515
|
+
applications: S.optional(__S(115, __c14, 3)),
|
|
1516
|
+
functions: S.optional(__S(117, __c14, 5)),
|
|
1517
|
+
headline: S.optional(S.String),
|
|
1518
|
+
id: S.optional(S.NullOr(S.String)),
|
|
1519
|
+
introductoryText: S.optional(S.String),
|
|
1520
|
+
language: S.optional(S.String),
|
|
1521
|
+
longName: S.optional(S.String),
|
|
1522
|
+
shortName: S.optional(S.String),
|
|
1523
|
+
stId: S.optional(S.String),
|
|
1524
|
+
validStart: S.optional(S.String),
|
|
1525
|
+
version: S.optional(S.String),
|
|
1526
|
+
}),
|
|
1527
|
+
).annotate({ identifier: "PublicMarketingData" });
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
function __c15(j: number): any {
|
|
1531
|
+
switch (j) {
|
|
1532
|
+
case 0:
|
|
1533
|
+
return S.suspend(() =>
|
|
1534
|
+
S.Struct({
|
|
1535
|
+
skuId: S.String.pipe(T.Label()),
|
|
1536
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1537
|
+
}).pipe(
|
|
1538
|
+
T.Http({
|
|
1539
|
+
method: "GET",
|
|
1540
|
+
uri: "/v2/skus/{skuId}",
|
|
1541
|
+
code: 200,
|
|
1542
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1543
|
+
}),
|
|
1544
|
+
),
|
|
1545
|
+
).annotate({ identifier: "GetSKURequest" });
|
|
1546
|
+
case 1:
|
|
1547
|
+
return S.suspend(() =>
|
|
1548
|
+
S.Struct({
|
|
1549
|
+
categoryId: S.NullOr(S.String),
|
|
1550
|
+
categoryName: S.NullOr(S.String),
|
|
1551
|
+
cpuOverprovisioning: S.optional(S.NullOr(S.Boolean)),
|
|
1552
|
+
deprecated: S.NullOr(S.String),
|
|
1553
|
+
documentation: S.NullOr(S.String),
|
|
1554
|
+
finOpsFocus: __S(128, __c16, 0),
|
|
1555
|
+
generalProductGroup: S.NullOr(S.String),
|
|
1556
|
+
id: S.String,
|
|
1557
|
+
language: S.optional(S.String),
|
|
1558
|
+
licenseName: S.optional(S.NullOr(S.String)),
|
|
1559
|
+
maturityModelState: S.NullOr(S.String),
|
|
1560
|
+
metric: S.optional(S.NullOr(S.String)),
|
|
1561
|
+
name: S.NullOr(S.String),
|
|
1562
|
+
priceListVisibility: S.NullOr(S.String),
|
|
1563
|
+
prices: __S(130, __c16, 2),
|
|
1564
|
+
productId: S.NullOr(S.String),
|
|
1565
|
+
productName: S.NullOr(S.String),
|
|
1566
|
+
rateType: S.optional(S.NullOr(S.String)),
|
|
1567
|
+
region: S.String,
|
|
1568
|
+
serviceId: S.optional(__S(88, __c11, 0)),
|
|
1569
|
+
technicalProductGroup: S.optional(S.NullOr(S.String)),
|
|
1570
|
+
tierMaxValue: S.optional(S.NullOr(S.Number)),
|
|
1571
|
+
tierMinValue: S.optional(S.NullOr(S.Number)),
|
|
1572
|
+
title: S.String,
|
|
1573
|
+
unit: S.String,
|
|
1574
|
+
unitBilling: S.String,
|
|
1575
|
+
validStart: S.String,
|
|
1576
|
+
version: S.String,
|
|
1577
|
+
productSpecificAttributes: S.optional(S.Unknown),
|
|
1578
|
+
savingsPlans: S.optional(__S(132, __c16, 4)),
|
|
1579
|
+
}),
|
|
1580
|
+
).annotate({ identifier: "GetSKUResponse" });
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
function __c16(j: number): any {
|
|
1584
|
+
switch (j) {
|
|
1585
|
+
case 0:
|
|
1586
|
+
return S.suspend(() =>
|
|
1587
|
+
S.Struct({
|
|
1588
|
+
serviceCategory: S.optional(S.String),
|
|
1589
|
+
serviceSubCategory: S.optional(S.String),
|
|
1590
|
+
}),
|
|
1591
|
+
).annotate({ identifier: "FinOpsFocus" });
|
|
1592
|
+
case 1:
|
|
1593
|
+
return S.suspend(() =>
|
|
1594
|
+
S.Struct({
|
|
1595
|
+
currencyCode: S.optional(S.String),
|
|
1596
|
+
currencySymbol: S.optional(S.NullOr(S.String)),
|
|
1597
|
+
monthlyPrice: S.optional(S.NullOr(S.String)),
|
|
1598
|
+
roundedMonthlyPrice: S.optional(S.String),
|
|
1599
|
+
roundedValue: S.optional(S.String),
|
|
1600
|
+
validFrom: S.optional(S.String),
|
|
1601
|
+
value: S.optional(S.String),
|
|
1602
|
+
valueAsInt: S.optional(S.Number),
|
|
1603
|
+
}),
|
|
1604
|
+
).annotate({ identifier: "Price" });
|
|
1605
|
+
case 2:
|
|
1606
|
+
return S.Array(__S(129, __c16, 1));
|
|
1607
|
+
case 3:
|
|
1608
|
+
return S.suspend(() =>
|
|
1609
|
+
S.Struct({
|
|
1610
|
+
discount: S.optional(S.Number),
|
|
1611
|
+
validityPeriodInYears: S.optional(S.Number),
|
|
1612
|
+
}),
|
|
1613
|
+
).annotate({ identifier: "PublicSavingsPlan" });
|
|
1614
|
+
case 4:
|
|
1615
|
+
return S.Array(__S(131, __c16, 3));
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
function __c17(j: number): any {
|
|
1619
|
+
switch (j) {
|
|
1620
|
+
case 0:
|
|
1621
|
+
return S.suspend(() =>
|
|
1622
|
+
S.Struct({
|
|
1623
|
+
skuId: S.String.pipe(T.Label()),
|
|
1624
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1625
|
+
}).pipe(
|
|
1626
|
+
T.Http({
|
|
1627
|
+
method: "GET",
|
|
1628
|
+
uri: "/v2/stackitx/skus/{skuId}",
|
|
1629
|
+
code: 200,
|
|
1630
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1631
|
+
}),
|
|
1632
|
+
),
|
|
1633
|
+
).annotate({ identifier: "GetSTAXSKURequest" });
|
|
1634
|
+
case 1:
|
|
1635
|
+
return S.suspend(() =>
|
|
1636
|
+
S.Struct({
|
|
1637
|
+
categoryId: S.NullOr(S.String),
|
|
1638
|
+
categoryName: S.NullOr(S.String),
|
|
1639
|
+
cpuOverprovisioning: S.optional(S.NullOr(S.Boolean)),
|
|
1640
|
+
deprecated: S.NullOr(S.String),
|
|
1641
|
+
documentation: S.NullOr(S.String),
|
|
1642
|
+
finOpsFocus: __S(128, __c16, 0),
|
|
1643
|
+
generalProductGroup: S.NullOr(S.String),
|
|
1644
|
+
id: S.String,
|
|
1645
|
+
language: S.optional(S.String),
|
|
1646
|
+
licenseName: S.optional(S.NullOr(S.String)),
|
|
1647
|
+
maturityModelState: S.NullOr(S.String),
|
|
1648
|
+
metric: S.optional(S.NullOr(S.String)),
|
|
1649
|
+
name: S.NullOr(S.String),
|
|
1650
|
+
priceListVisibility: S.NullOr(S.String),
|
|
1651
|
+
prices: __S(130, __c16, 2),
|
|
1652
|
+
productId: S.NullOr(S.String),
|
|
1653
|
+
productName: S.NullOr(S.String),
|
|
1654
|
+
rateType: S.optional(S.NullOr(S.String)),
|
|
1655
|
+
region: S.String,
|
|
1656
|
+
serviceId: S.optional(__S(88, __c11, 0)),
|
|
1657
|
+
technicalProductGroup: S.optional(S.NullOr(S.String)),
|
|
1658
|
+
tierMaxValue: S.optional(S.NullOr(S.Number)),
|
|
1659
|
+
tierMinValue: S.optional(S.NullOr(S.Number)),
|
|
1660
|
+
title: S.String,
|
|
1661
|
+
unit: S.String,
|
|
1662
|
+
unitBilling: S.String,
|
|
1663
|
+
validStart: S.String,
|
|
1664
|
+
version: S.String,
|
|
1665
|
+
productSpecificAttributes: S.optional(S.Unknown),
|
|
1666
|
+
savingsPlans: S.optional(__S(132, __c16, 4)),
|
|
1667
|
+
}),
|
|
1668
|
+
).annotate({ identifier: "GetSTAXSKUResponse" });
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
function __c18(j: number): any {
|
|
1672
|
+
switch (j) {
|
|
1673
|
+
case 0:
|
|
1674
|
+
return S.suspend(() =>
|
|
1675
|
+
S.Struct({
|
|
1676
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1677
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1678
|
+
categoryName: S.optional(S.String.pipe(T.Query())),
|
|
1679
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1680
|
+
}).pipe(
|
|
1681
|
+
T.Http({
|
|
1682
|
+
method: "GET",
|
|
1683
|
+
uri: "/v2/categories",
|
|
1684
|
+
code: 200,
|
|
1685
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1686
|
+
}),
|
|
1687
|
+
),
|
|
1688
|
+
).annotate({ identifier: "ListCategoriesRequest" });
|
|
1689
|
+
case 1:
|
|
1690
|
+
return S.Array(__S(72, __c9, 0));
|
|
1691
|
+
case 2:
|
|
1692
|
+
return S.suspend(() =>
|
|
1693
|
+
S.Struct({
|
|
1694
|
+
data: S.optional(__S(145, __c18, 1)),
|
|
1695
|
+
meta: S.optional(__S(152, __c19, 0)),
|
|
1696
|
+
}),
|
|
1697
|
+
).annotate({ identifier: "ListCategoriesResponse" });
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
function __c19(j: number): any {
|
|
1701
|
+
switch (j) {
|
|
1702
|
+
case 0:
|
|
1703
|
+
return S.suspend(() =>
|
|
1704
|
+
S.Struct({
|
|
1705
|
+
nextCursor: S.optional(S.String),
|
|
1706
|
+
pageSize: S.optional(S.Number),
|
|
1707
|
+
}),
|
|
1708
|
+
).annotate({ identifier: "MetaInformation" });
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
function __c20(j: number): any {
|
|
1712
|
+
switch (j) {
|
|
1713
|
+
case 0:
|
|
1714
|
+
return S.suspend(() =>
|
|
1715
|
+
S.Struct({
|
|
1716
|
+
categoryId: S.String.pipe(T.Label()),
|
|
1717
|
+
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
1718
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1719
|
+
productName: S.optional(S.String.pipe(T.Query())),
|
|
1720
|
+
language: S.optional(S.String.pipe(T.Query())),
|
|
1721
|
+
}).pipe(
|
|
1722
|
+
T.Http({
|
|
1723
|
+
method: "GET",
|
|
1724
|
+
uri: "/v2/categories/{categoryId}/products",
|
|
1725
|
+
code: 200,
|
|
1726
|
+
baseUrl: "https://pim.api.stackit.cloud",
|
|
1727
|
+
}),
|
|
1728
|
+
),
|
|
1729
|
+
).annotate({ identifier: "ListCategoryProductsRequest" });
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
function __c21(j: number): any {
|
|
1733
|
+
switch (j) {
|
|
1734
|
+
case 0:
|
|
1735
|
+
return S.Array(__S(96, __c12, 0));
|
|
1736
|
+
case 1:
|
|
1737
|
+
return S.suspend(() =>
|
|
1738
|
+
S.Struct({
|
|
1739
|
+
data: S.optional(__S(168, __c21, 0)),
|
|
1740
|
+
meta: S.optional(__S(152, __c19, 0)),
|
|
1741
|
+
}),
|
|
1742
|
+
).annotate({ identifier: "ListCategoryProductsResponse" });
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
1746
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
1747
|
+
return (__s[i] ??= __L.at(f, j));
|
|
1748
|
+
}
|