@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/lib/services/pim.js
CHANGED
|
@@ -1,736 +1,91 @@
|
|
|
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.js";
|
|
6
7
|
import { StackitProtocol } from "../protocol.js";
|
|
7
8
|
import * as Retry from "../retry.js";
|
|
8
9
|
import * as T from "../traits.js";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
const __0 = __L.at;
|
|
11
|
+
const __1 = T.Http;
|
|
12
|
+
const __2 = T.Query;
|
|
13
|
+
const __3 = S.Number;
|
|
14
|
+
const __4 = S.optional;
|
|
15
|
+
const __5 = S.String;
|
|
16
|
+
const __6 = S.Struct;
|
|
17
|
+
const __7 = S.suspend;
|
|
18
|
+
const __8 = S.Array;
|
|
19
|
+
const __9 = T.Label;
|
|
20
|
+
const __10 = S.NullOr;
|
|
21
|
+
const __11 = S.Boolean;
|
|
22
|
+
const __12 = S.Unknown;
|
|
23
|
+
const __13 = T.Body;
|
|
24
|
+
const __14 = S.TaggedError;
|
|
25
|
+
const __15 = T.applyErrorMatchers;
|
|
26
|
+
export const BadRequest = /*@__PURE__*/ API.error(function BadRequest(i) {
|
|
27
|
+
return API.newError(i, new.target, ['$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])', [__0, C.withBadRequestError, __3, __5, __14, __15]]);
|
|
28
|
+
});
|
|
29
|
+
export const Forbidden = /*@__PURE__*/ API.error(function Forbidden(i) {
|
|
30
|
+
return API.newError(i, new.target, ['$5($4()("Forbidden",{code:$2,message:$3}).pipe($1),[{status:403}])', [__0, C.withAuthError, __3, __5, __14, __15]]);
|
|
31
|
+
});
|
|
32
|
+
export const NotFound = /*@__PURE__*/ API.error(function NotFound(i) {
|
|
33
|
+
return API.newError(i, new.target, ['$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])', [__0, C.withBadRequestError, __3, __5, __14, __15]]);
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export const getCategory = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"GetCategoryRequest";$6({categoryId:$3.pipe($2()),language:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v2/categories/{categoryId}",code:200,baseUrl:"https://pim.api.stackit.cloud"}))', [__0, __1, __9, __5, __2, __4, __6, __7, __d1, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getCategory, i));
|
|
37
|
+
|
|
38
|
+
export const getProduct = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"GetProductRequest";$6({productId:$3.pipe($2()),language:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v2/products/{productId}",code:200,baseUrl:"https://pim.api.stackit.cloud"}))', [__0, __1, __9, __5, __2, __4, __6, __7, __d3, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getProduct, i));
|
|
39
|
+
|
|
40
|
+
export const getProductMarketingData = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:6,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"GetProductMarketingDataRequest";$6({productId:$3.pipe($2()),language:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v2/products/{productId}/marketing",code:200,baseUrl:"https://pim.api.stackit.cloud"}))', [__0, __1, __9, __5, __2, __4, __6, __7, __d4, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getProductMarketingData, i));
|
|
41
|
+
|
|
42
|
+
export const getSKU = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$14,$15,$16,$17],protocol:$18,retry:$19};$7(>3)@"GetSKURequest";$7(>4)@"GetSKUResponse";$6({skuId:$3.pipe($2()),language:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v2/skus/{skuId}",code:200,baseUrl:"https://pim.api.stackit.cloud"}));$6({categoryId:$8($3),categoryName:$8($3),cpuOverprovisioning:$5($8($9)),deprecated:$8($3),documentation:$8($3),finOpsFocus:#10:0,generalProductGroup:$8($3),id:$3,language:$5($3),licenseName:$5($8($3)),maturityModelState:$8($3),metric:$5($8($3)),name:$8($3),priceListVisibility:$8($3),prices:#10:2,productId:$8($3),productName:$8($3),rateType:$5($8($3)),region:$3,serviceId:$5(#11:0),technicalProductGroup:$5($8($3)),tierMaxValue:$5($8($12)),tierMinValue:$5($8($12)),title:$3,unit:$3,unitBilling:$3,validStart:$3,version:$3,productSpecificAttributes:$5($13),savingsPlans:$5(#10:4)})', [__0, __1, __9, __5, __2, __4, __6, __7, __10, __11, __d5, __d2, __3, __12, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getSKU, i));
|
|
43
|
+
|
|
44
|
+
export const getSTAXSKU = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$14,$15,$16,$17],protocol:$18,retry:$19};$7(>3)@"GetSTAXSKURequest";$7(>4)@"GetSTAXSKUResponse";$6({skuId:$3.pipe($2()),language:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v2/stackitx/skus/{skuId}",code:200,baseUrl:"https://pim.api.stackit.cloud"}));$6({categoryId:$8($3),categoryName:$8($3),cpuOverprovisioning:$5($8($9)),deprecated:$8($3),documentation:$8($3),finOpsFocus:#10:0,generalProductGroup:$8($3),id:$3,language:$5($3),licenseName:$5($8($3)),maturityModelState:$8($3),metric:$5($8($3)),name:$8($3),priceListVisibility:$8($3),prices:#10:2,productId:$8($3),productName:$8($3),rateType:$5($8($3)),region:$3,serviceId:$5(#11:0),technicalProductGroup:$5($8($3)),tierMaxValue:$5($8($12)),tierMinValue:$5($8($12)),title:$3,unit:$3,unitBilling:$3,validStart:$3,version:$3,productSpecificAttributes:$5($13),savingsPlans:$5(#10:4)})', [__0, __1, __9, __5, __2, __4, __6, __7, __10, __11, __d5, __d2, __3, __12, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getSTAXSKU, i));
|
|
45
|
+
|
|
46
|
+
export const listCategories = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$11,$12,$13],protocol:$14,retry:$15};$7(>4)@"ListCategoriesRequest";$9(#8:0);$7(>5)@"ListCategoriesResponse";$6({pageSize:$4($3.pipe($2())),cursor:$4($5.pipe($2())),categoryName:$4($5.pipe($2())),language:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/v2/categories",code:200,baseUrl:"https://pim.api.stackit.cloud"}));$6({data:$4(#2),meta:$4(#10:0)})', [__0, __1, __2, __3, __4, __5, __6, __7, __d1, __8, __d6, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listCategories, i));
|
|
47
|
+
|
|
48
|
+
export const listCategoryProducts = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:1,errors:[$10,$11,$12,$13],protocol:$14,retry:$15};$8(>2)@"ListCategoryProductsRequest";$7({categoryId:$3.pipe($2()),pageSize:$6($5.pipe($4())),cursor:$6($3.pipe($4())),productName:$6($3.pipe($4())),language:$6($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v2/categories/{categoryId}/products",code:200,baseUrl:"https://pim.api.stackit.cloud"}))', [__0, __1, __9, __5, __2, __3, __4, __6, __7, __d7, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listCategoryProducts, i));
|
|
49
|
+
|
|
50
|
+
export const listMarketingData = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$11,$12,$13],protocol:$14,retry:$15};$7(>4)@"ListMarketingDataRequest";$9(#8:6);$7(>5)@"ListMarketingDataResponse";$6({pageSize:$4($3.pipe($2())),cursor:$4($5.pipe($2())),language:$4($5.pipe($2())),productName:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/v2/marketing",code:200,baseUrl:"https://pim.api.stackit.cloud"}));$6({data:$4(#2),meta:$4(#10:0)})', [__0, __1, __2, __3, __4, __5, __6, __7, __d4, __8, __d6, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listMarketingData, i));
|
|
51
|
+
|
|
52
|
+
export const listProducts = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"ListProductsRequest";$6({pageSize:$4($3.pipe($2())),cursor:$4($5.pipe($2())),categoryName:$4($5.pipe($2())),productName:$4($5.pipe($2())),language:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/v2/products",code:200,baseUrl:"https://pim.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __6, __7, __d7, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listProducts, i));
|
|
53
|
+
|
|
54
|
+
export const listProductSKUs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#10:2,errors:[$11,$12,$13,$14],protocol:$15,retry:$16};$9(>2)@"ListProductSKUsRequest";$8({productId:$3.pipe($2()),cursor:$5($3.pipe($4())),pageSize:$5($6.pipe($4())),language:$5($3.pipe($4())),skuName:$5($3.pipe($4())),region:$5(#7:0.pipe($4()))}).pipe($1({method:"GET",uri:"/v2/products/{productId}/skus",code:200,baseUrl:"https://pim.api.stackit.cloud"}))', [__0, __1, __9, __5, __2, __4, __3, __d2, __6, __7, __d0, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listProductSKUs, i));
|
|
55
|
+
|
|
56
|
+
export const listProductSTAXSKUs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#10:2,errors:[$11,$12,$13,$14],protocol:$15,retry:$16};$9(>2)@"ListProductSTAXSKUsRequest";$8({productId:$3.pipe($2()),cursor:$5($3.pipe($4())),pageSize:$5($6.pipe($4())),language:$5($3.pipe($4())),skuName:$5($3.pipe($4())),region:$5(#7:0.pipe($4()))}).pipe($1({method:"GET",uri:"/v2/products/{productId}/stackitx/skus",code:200,baseUrl:"https://pim.api.stackit.cloud"}))', [__0, __1, __9, __5, __2, __4, __3, __d2, __6, __7, __d0, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listProductSTAXSKUs, i));
|
|
57
|
+
|
|
58
|
+
export const listSKUs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:2,errors:[$10,$11,$12],protocol:$13,retry:$14};$8(>2)@"ListSKUsRequest";$7({cursor:$4($3.pipe($2())),pageSize:$4($5.pipe($2())),language:$4($3.pipe($2())),categoryName:$4($3.pipe($2())),productName:$4($3.pipe($2())),skuName:$4($3.pipe($2())),region:$4(#6:0.pipe($2()))}).pipe($1({method:"GET",uri:"/v2/skus",code:200,baseUrl:"https://pim.api.stackit.cloud"}))', [__0, __1, __2, __5, __4, __3, __d2, __6, __7, __d0, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listSKUs, i));
|
|
59
|
+
|
|
60
|
+
export const listSTAXSKUs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:2,errors:[$10,$11,$12],protocol:$13,retry:$14};$8(>2)@"ListSTAXSKUsRequest";$7({cursor:$4($3.pipe($2())),pageSize:$4($5.pipe($2())),language:$4($3.pipe($2())),categoryName:$4($3.pipe($2())),productName:$4($3.pipe($2())),skuName:$4($3.pipe($2())),region:$4(#6:0.pipe($2()))}).pipe($1({method:"GET",uri:"/v2/stackitx/skus",code:200,baseUrl:"https://pim.api.stackit.cloud"}))', [__0, __1, __2, __5, __4, __3, __d2, __6, __7, __d0, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listSTAXSKUs, i));
|
|
61
|
+
|
|
62
|
+
export const searchSKUs = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#11:2,errors:[$12,$13,$14,$15],protocol:$16,retry:$17};$10(>2)@"SearchSKUsRequest";$9({language:$4($3.pipe($2())),pageSize:$4($5.pipe($2())),cursor:$4($3.pipe($2())),categoryName:$4($3),class:$4($3),communicationChannel:$4($3),connectionLimitPerLoadBalancer:$4($5),contractNoticePeriodInDays:$4($6($5)),deprecated:$4($3),diskStoragePerNode:$4($3),documentation:$4($3),escalationAvailabilityBCINC:$4($6($3)),escalationAvailabilityINC:$4($6($3)),escalationAvailabilitySR:$4($6($3)),escalationThresholdBCINCInMins:$4($6($5)),escalationThresholdINCInMins:$4($6($5)),escalationThresholdSRInMins:$4($6($5)),finPenaltySLAVio80Pct:$4($6($5)),finPenaltySLAVio90_80Pct:$4($6($5).pipe($7("finPenaltySLAVio90-80Pct"))),flavor:$4($3),generalProductGroup:$4($3),hardware:$4($3),initialRuntimeInMonths:$4($6($5)),leadTimeInWorkDays:$4($6($5)),location:$4($6($3)),maturityModelState:$4($3),maxIOPerSec:$4($5),maxTroughInMB:$4($5),metricPerMin:$4($5),metro:$4($8),monthlyPrice:$4($3),name:$4($3),nodes:$4($5),os:$4($3),priceListVisibility:$4($3),productName:$4($3),projectNoticePeriodInWorkDays:$4($6($5)),ram:$4($5),reactionTimeInMins:$4($6($5)),recordLimitPerZone:$4($5),region:$4($3),repeatedRuntimeInMonths:$4($6($5)),responseTimeBCINCInMins:$4($6($5)),responseTimeINCInMins:$4($6($5)),responseTimeSRInMins:$4($6($5)),serviceHoursBCINC:$4($6($3)),serviceHoursINC:$4($6($3)),serviceHoursSR:$4($6($3)),serviceId:$4($3),sku:$4($3),slaGoalInPercentage:$4($6($5)),storage:$4($3),storageMaxGb:$4($5),storageMinGb:$4($5),targets:$4($5),technicalProductGroup:$4($3),title:$4($3),type:$4($3),unit:$4($3),unitBilling:$4($3),vCPU:$4($5),validFrom:$4($3),value:$4($3)}).pipe($1({method:"POST",uri:"/v2/skus/search",code:200,baseUrl:"https://pim.api.stackit.cloud"}))', [__0, __1, __2, __5, __4, __3, __10, __13, __11, __6, __7, __d0, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(searchSKUs, i));
|
|
63
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
64
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
// Shared schema data (see `op` in core/api).
|
|
68
|
+
function __d0() {
|
|
69
|
+
return ['$10(>3)@"PublicSKU";$11(#0);$10(>4)@"ListProductSKUsResponse";$9({categoryId:$2($1),categoryName:$2($1),cpuOverprovisioning:$4($2($3)),deprecated:$2($1),documentation:$2($1),finOpsFocus:#5:0,generalProductGroup:$2($1),id:$1,language:$4($1),licenseName:$4($2($1)),maturityModelState:$2($1),metric:$4($2($1)),name:$2($1),priceListVisibility:$2($1),prices:#5:2,productId:$2($1),productName:$2($1),rateType:$4($2($1)),region:$1,serviceId:$4(#6:0),technicalProductGroup:$4($2($1)),tierMaxValue:$4($2($7)),tierMinValue:$4($2($7)),title:$1,unit:$1,unitBilling:$1,validStart:$1,version:$1,productSpecificAttributes:$4($8),savingsPlans:$4(#5:4)});$9({data:$4(#1),meta:$4(#12:0)})', [__0, __5, __10, __11, __4, __d5, __d2, __3, __12, __6, __7, __8, __d6]];
|
|
14
70
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
code: S.Number,
|
|
18
|
-
message: S.String,
|
|
19
|
-
}).pipe(C.withAuthError), [{ status: 403 }]) {
|
|
71
|
+
function __d1() {
|
|
72
|
+
return ['$5(>1)@"PublicCategory";$4({description:$2($1),id:$2($3($1)),image:$2($1),language:$2($1),name:$2($1),validStart:$2($1),version:$2($1)})', [__0, __5, __4, __10, __6, __7]];
|
|
20
73
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
74
|
+
function __d2() {
|
|
75
|
+
return ['$2($1)', [__0, __5, __8]];
|
|
76
|
+
}
|
|
77
|
+
function __d3() {
|
|
78
|
+
return ['$6(>1)@"PublicProduct";$5({apiIdentifier:$2(#1:0),categoryId:$2($4($3)),categoryName:$2($4($3)),description:$2($3),id:$2($4($3)),image:$2($3),language:$2($3),longName:$2($3),shortName:$2($3),validStart:$2($3),version:$2($3)})', [__0, __d2, __4, __5, __10, __6, __7]];
|
|
79
|
+
}
|
|
80
|
+
function __d4() {
|
|
81
|
+
return ['$5(>7)@"MarketingAdvantage";$6(#0);$5(>8)@"MarketingApplication";$6(#2);$5(>9)@"MarketingFunction";$6(#4);$5(>10)@"PublicMarketingData";$4({advantage:$2($1),position:$2($3)});$4({application:$2($1),applicationTitle:$2($1),position:$2($3)});$4({function:$2($1),position:$2($3)});$4({advantages:$2(#1),applications:$2(#3),functions:$2(#5),headline:$2($1),id:$2($7($1)),introductoryText:$2($1),language:$2($1),longName:$2($1),shortName:$2($1),stId:$2($1),validStart:$2($1),version:$2($1)})', [__0, __5, __4, __3, __6, __7, __8, __10]];
|
|
82
|
+
}
|
|
83
|
+
function __d5() {
|
|
84
|
+
return ['$4(>5)@"FinOpsFocus";$4(>6)@"Price";$7(#1);$4(>7)@"PublicSavingsPlan";$7(#3);$3({serviceCategory:$2($1),serviceSubCategory:$2($1)});$3({currencyCode:$2($1),currencySymbol:$2($5($1)),monthlyPrice:$2($5($1)),roundedMonthlyPrice:$2($1),roundedValue:$2($1),validFrom:$2($1),value:$2($1),valueAsInt:$2($6)});$3({discount:$2($6),validityPeriodInYears:$2($6)})', [__0, __5, __4, __6, __7, __10, __3, __8]];
|
|
85
|
+
}
|
|
86
|
+
function __d6() {
|
|
87
|
+
return ['$5(>1)@"MetaInformation";$4({nextCursor:$2($1),pageSize:$2($3)})', [__0, __5, __4, __3, __6, __7]];
|
|
88
|
+
}
|
|
89
|
+
function __d7() {
|
|
90
|
+
return ['$2(#1:0);$6(>2)@"ListCategoryProductsResponse";$5({data:$3(#0),meta:$3(#4:0)})', [__0, __d3, __8, __4, __d6, __6, __7]];
|
|
26
91
|
}
|
|
27
|
-
export const GetCategoryRequestLanguage = S.String;
|
|
28
|
-
export const GetCategoryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
29
|
-
categoryId: S.String.pipe(T.Label()),
|
|
30
|
-
language: S.optional(GetCategoryRequestLanguage.pipe(T.Query())),
|
|
31
|
-
}).pipe(T.Http({
|
|
32
|
-
method: "GET",
|
|
33
|
-
uri: "/v2/categories/{categoryId}",
|
|
34
|
-
code: 200,
|
|
35
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
36
|
-
}))).annotate({ identifier: "GetCategoryRequest" });
|
|
37
|
-
export const PublicCategory = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
38
|
-
description: S.optional(S.String),
|
|
39
|
-
id: S.optional(S.NullOr(S.String)),
|
|
40
|
-
image: S.optional(S.String),
|
|
41
|
-
language: S.optional(S.String),
|
|
42
|
-
name: S.optional(S.String),
|
|
43
|
-
validStart: S.optional(S.String),
|
|
44
|
-
version: S.optional(S.String),
|
|
45
|
-
})).annotate({ identifier: "PublicCategory" });
|
|
46
|
-
export const GetProductRequestLanguage = S.String;
|
|
47
|
-
export const GetProductRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
48
|
-
productId: S.String.pipe(T.Label()),
|
|
49
|
-
language: S.optional(GetProductRequestLanguage.pipe(T.Query())),
|
|
50
|
-
}).pipe(T.Http({
|
|
51
|
-
method: "GET",
|
|
52
|
-
uri: "/v2/products/{productId}",
|
|
53
|
-
code: 200,
|
|
54
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
55
|
-
}))).annotate({ identifier: "GetProductRequest" });
|
|
56
|
-
export const PublicProductApiIdentifierList = /*@__PURE__*/ S.Array(S.String);
|
|
57
|
-
export const PublicProduct = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
58
|
-
apiIdentifier: S.optional(PublicProductApiIdentifierList),
|
|
59
|
-
categoryId: S.optional(S.NullOr(S.String)),
|
|
60
|
-
categoryName: S.optional(S.NullOr(S.String)),
|
|
61
|
-
description: S.optional(S.String),
|
|
62
|
-
id: S.optional(S.NullOr(S.String)),
|
|
63
|
-
image: S.optional(S.String),
|
|
64
|
-
language: S.optional(S.String),
|
|
65
|
-
longName: S.optional(S.String),
|
|
66
|
-
shortName: S.optional(S.String),
|
|
67
|
-
validStart: S.optional(S.String),
|
|
68
|
-
version: S.optional(S.String),
|
|
69
|
-
})).annotate({ identifier: "PublicProduct" });
|
|
70
|
-
export const GetProductMarketingDataRequestLanguage = S.String;
|
|
71
|
-
export const GetProductMarketingDataRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
72
|
-
productId: S.String.pipe(T.Label()),
|
|
73
|
-
language: S.optional(GetProductMarketingDataRequestLanguage.pipe(T.Query())),
|
|
74
|
-
}).pipe(T.Http({
|
|
75
|
-
method: "GET",
|
|
76
|
-
uri: "/v2/products/{productId}/marketing",
|
|
77
|
-
code: 200,
|
|
78
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
79
|
-
}))).annotate({
|
|
80
|
-
identifier: "GetProductMarketingDataRequest",
|
|
81
|
-
});
|
|
82
|
-
export const MarketingAdvantage = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
83
|
-
advantage: S.optional(S.String),
|
|
84
|
-
position: S.optional(S.Number),
|
|
85
|
-
})).annotate({ identifier: "MarketingAdvantage" });
|
|
86
|
-
export const PublicMarketingDataAdvantagesList = /*@__PURE__*/ S.Array(MarketingAdvantage);
|
|
87
|
-
export const MarketingApplication = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
88
|
-
application: S.optional(S.String),
|
|
89
|
-
applicationTitle: S.optional(S.String),
|
|
90
|
-
position: S.optional(S.Number),
|
|
91
|
-
})).annotate({ identifier: "MarketingApplication" });
|
|
92
|
-
export const PublicMarketingDataApplicationsList = /*@__PURE__*/ S.Array(MarketingApplication);
|
|
93
|
-
export const MarketingFunction = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
94
|
-
function: S.optional(S.String),
|
|
95
|
-
position: S.optional(S.Number),
|
|
96
|
-
})).annotate({ identifier: "MarketingFunction" });
|
|
97
|
-
export const PublicMarketingDataFunctionsList = /*@__PURE__*/ S.Array(MarketingFunction);
|
|
98
|
-
export const PublicMarketingData = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
99
|
-
advantages: S.optional(PublicMarketingDataAdvantagesList),
|
|
100
|
-
applications: S.optional(PublicMarketingDataApplicationsList),
|
|
101
|
-
functions: S.optional(PublicMarketingDataFunctionsList),
|
|
102
|
-
headline: S.optional(S.String),
|
|
103
|
-
id: S.optional(S.NullOr(S.String)),
|
|
104
|
-
introductoryText: S.optional(S.String),
|
|
105
|
-
language: S.optional(S.String),
|
|
106
|
-
longName: S.optional(S.String),
|
|
107
|
-
shortName: S.optional(S.String),
|
|
108
|
-
stId: S.optional(S.String),
|
|
109
|
-
validStart: S.optional(S.String),
|
|
110
|
-
version: S.optional(S.String),
|
|
111
|
-
})).annotate({ identifier: "PublicMarketingData" });
|
|
112
|
-
export const GetSKURequestLanguage = S.String;
|
|
113
|
-
export const GetSKURequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
114
|
-
skuId: S.String.pipe(T.Label()),
|
|
115
|
-
language: S.optional(GetSKURequestLanguage.pipe(T.Query())),
|
|
116
|
-
}).pipe(T.Http({
|
|
117
|
-
method: "GET",
|
|
118
|
-
uri: "/v2/skus/{skuId}",
|
|
119
|
-
code: 200,
|
|
120
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
121
|
-
}))).annotate({ identifier: "GetSKURequest" });
|
|
122
|
-
export const FinOpsFocus = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
123
|
-
serviceCategory: S.optional(S.String),
|
|
124
|
-
serviceSubCategory: S.optional(S.String),
|
|
125
|
-
})).annotate({ identifier: "FinOpsFocus" });
|
|
126
|
-
export const CurrencyCodes = S.String;
|
|
127
|
-
export const CurrencySymbols = S.String;
|
|
128
|
-
export const Price = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
129
|
-
currencyCode: S.optional(CurrencyCodes),
|
|
130
|
-
currencySymbol: S.optional(S.NullOr(CurrencySymbols)),
|
|
131
|
-
monthlyPrice: S.optional(S.NullOr(S.String)),
|
|
132
|
-
roundedMonthlyPrice: S.optional(S.String),
|
|
133
|
-
roundedValue: S.optional(S.String),
|
|
134
|
-
validFrom: S.optional(S.String),
|
|
135
|
-
value: S.optional(S.String),
|
|
136
|
-
valueAsInt: S.optional(S.Number),
|
|
137
|
-
})).annotate({ identifier: "Price" });
|
|
138
|
-
export const GetSKUResponsePricesList = /*@__PURE__*/ S.Array(Price);
|
|
139
|
-
export const GetSKUResponseServiceIdList = /*@__PURE__*/ S.Array(S.String);
|
|
140
|
-
export const PublicDatabaseSpecificAttributesPerformanceClassesList = /*@__PURE__*/ S.Array(S.String);
|
|
141
|
-
export const PublicDatabaseSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
142
|
-
discriminator: S.String,
|
|
143
|
-
diskStoragePerNode: S.optional(S.NullOr(S.String)),
|
|
144
|
-
flavor: S.optional(S.NullOr(S.String)),
|
|
145
|
-
nodes: S.optional(S.NullOr(S.Number)),
|
|
146
|
-
performanceClasses: S.optional(PublicDatabaseSpecificAttributesPerformanceClassesList),
|
|
147
|
-
ram: S.optional(S.NullOr(S.Number)),
|
|
148
|
-
storageMaxGb: S.optional(S.NullOr(S.Number)),
|
|
149
|
-
storageMinGb: S.optional(S.NullOr(S.Number)),
|
|
150
|
-
type: S.optional(S.NullOr(S.String)),
|
|
151
|
-
vCPU: S.optional(S.NullOr(S.Number)),
|
|
152
|
-
})).annotate({
|
|
153
|
-
identifier: "PublicDatabaseSpecificAttributes",
|
|
154
|
-
});
|
|
155
|
-
export const ArchivingSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
156
|
-
discriminator: S.String,
|
|
157
|
-
metro: S.optional(S.NullOr(S.Boolean)),
|
|
158
|
-
})).annotate({
|
|
159
|
-
identifier: "ArchivingSpecificAttributes",
|
|
160
|
-
});
|
|
161
|
-
export const ComputeEngineSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
162
|
-
discriminator: S.String,
|
|
163
|
-
flavor: S.optional(S.NullOr(S.String)),
|
|
164
|
-
hardware: S.optional(S.NullOr(S.String)),
|
|
165
|
-
metro: S.optional(S.NullOr(S.Boolean)),
|
|
166
|
-
os: S.optional(S.NullOr(S.String)),
|
|
167
|
-
ram: S.optional(S.NullOr(S.Number)),
|
|
168
|
-
vCPU: S.optional(S.NullOr(S.Number)),
|
|
169
|
-
})).annotate({
|
|
170
|
-
identifier: "ComputeEngineSpecificAttributes",
|
|
171
|
-
});
|
|
172
|
-
export const ComputeEngineGPUSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
173
|
-
export const NetworkSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
174
|
-
connectionLimitPerLoadBalancer: S.optional(S.NullOr(S.Number)),
|
|
175
|
-
discriminator: S.String,
|
|
176
|
-
maxBandWidth: S.optional(S.NullOr(S.Number)),
|
|
177
|
-
maxConnections: S.optional(S.NullOr(S.Number)),
|
|
178
|
-
planId: S.optional(S.NullOr(S.String)),
|
|
179
|
-
recordLimitPerZone: S.optional(S.NullOr(S.Number)),
|
|
180
|
-
type: S.optional(S.NullOr(S.String)),
|
|
181
|
-
})).annotate({
|
|
182
|
-
identifier: "NetworkSpecificAttributes",
|
|
183
|
-
});
|
|
184
|
-
export const MessagingSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
185
|
-
discriminator: S.String,
|
|
186
|
-
diskStoragePerNode: S.optional(S.NullOr(S.String)),
|
|
187
|
-
nodes: S.optional(S.NullOr(S.Number)),
|
|
188
|
-
ram: S.optional(S.NullOr(S.Number)),
|
|
189
|
-
type: S.optional(S.NullOr(S.String)),
|
|
190
|
-
vCPU: S.optional(S.NullOr(S.Number)),
|
|
191
|
-
})).annotate({
|
|
192
|
-
identifier: "MessagingSpecificAttributes",
|
|
193
|
-
});
|
|
194
|
-
export const LoggingAndMonitoringSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
195
|
-
discriminator: S.String,
|
|
196
|
-
diskStoragePerNode: S.optional(S.NullOr(S.String)),
|
|
197
|
-
metricPerMin: S.optional(S.NullOr(S.Number)),
|
|
198
|
-
nodes: S.optional(S.NullOr(S.Number)),
|
|
199
|
-
targets: S.optional(S.NullOr(S.Number)),
|
|
200
|
-
type: S.optional(S.NullOr(S.String)),
|
|
201
|
-
})).annotate({
|
|
202
|
-
identifier: "LoggingAndMonitoringSpecificAttributes",
|
|
203
|
-
});
|
|
204
|
-
export const ConfidentialComputingSpecificAttributes = ComputeEngineSpecificAttributes;
|
|
205
|
-
export const StorageSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
206
|
-
class: S.optional(S.NullOr(S.String)),
|
|
207
|
-
discriminator: S.String,
|
|
208
|
-
maxIOPerSec: S.optional(S.NullOr(S.Number)),
|
|
209
|
-
maxTroughInMB: S.optional(S.NullOr(S.Number)),
|
|
210
|
-
metro: S.optional(S.NullOr(S.Boolean)),
|
|
211
|
-
storage: S.optional(S.NullOr(S.String)),
|
|
212
|
-
type: S.optional(S.NullOr(S.String)),
|
|
213
|
-
})).annotate({
|
|
214
|
-
identifier: "StorageSpecificAttributes",
|
|
215
|
-
});
|
|
216
|
-
export const DataAndAI = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
217
|
-
discriminator: S.String,
|
|
218
|
-
type: S.optional(S.NullOr(S.String)),
|
|
219
|
-
})).annotate({ identifier: "DataAndAI" });
|
|
220
|
-
export const RuntimeSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
221
|
-
discriminator: S.String,
|
|
222
|
-
planId: S.optional(S.NullOr(S.String)),
|
|
223
|
-
type: S.optional(S.NullOr(S.String)),
|
|
224
|
-
})).annotate({
|
|
225
|
-
identifier: "RuntimeSpecificAttributes",
|
|
226
|
-
});
|
|
227
|
-
export const SupportSpecificAttributesCommunicationChannelList = /*@__PURE__*/ S.Array(S.String);
|
|
228
|
-
export const SupportSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
229
|
-
communicationChannel: S.optional(SupportSpecificAttributesCommunicationChannelList),
|
|
230
|
-
contractNoticePeriodInDays: S.optional(S.NullOr(S.Number)),
|
|
231
|
-
discriminator: S.String,
|
|
232
|
-
escalationAvailabilityBCINC: S.optional(S.NullOr(S.String)),
|
|
233
|
-
escalationAvailabilityINC: S.optional(S.NullOr(S.String)),
|
|
234
|
-
escalationAvailabilitySR: S.optional(S.NullOr(S.String)),
|
|
235
|
-
escalationThresholdBCINCInMins: S.optional(S.NullOr(S.Number)),
|
|
236
|
-
escalationThresholdINCInMins: S.optional(S.NullOr(S.Number)),
|
|
237
|
-
escalationThresholdSRInMins: S.optional(S.NullOr(S.Number)),
|
|
238
|
-
finPenaltySLAVio80Pct: S.optional(S.NullOr(S.Number)),
|
|
239
|
-
finPenaltySLAVio90_80Pct: S.optional(S.NullOr(S.Number).pipe(T.Body("finPenaltySLAVio90-80Pct"))),
|
|
240
|
-
initialRuntimeInMonths: S.optional(S.NullOr(S.Number)),
|
|
241
|
-
leadTimeInWorkDays: S.optional(S.NullOr(S.Number)),
|
|
242
|
-
location: S.optional(S.NullOr(S.String)),
|
|
243
|
-
projectNoticePeriodInWorkDays: S.optional(S.NullOr(S.Number)),
|
|
244
|
-
reactionTimeInMins: S.optional(S.NullOr(S.Number)),
|
|
245
|
-
repeatedRuntimeInMonths: S.optional(S.NullOr(S.Number)),
|
|
246
|
-
responseTimeBCINCInMins: S.optional(S.NullOr(S.Number)),
|
|
247
|
-
responseTimeINCInMins: S.optional(S.NullOr(S.Number)),
|
|
248
|
-
responseTimeSRInMins: S.optional(S.NullOr(S.Number)),
|
|
249
|
-
serviceHoursBCINC: S.optional(S.NullOr(S.String)),
|
|
250
|
-
serviceHoursINC: S.optional(S.NullOr(S.String)),
|
|
251
|
-
serviceHoursSR: S.optional(S.NullOr(S.String)),
|
|
252
|
-
slaGoalInPercentage: S.optional(S.NullOr(S.Number)),
|
|
253
|
-
})).annotate({
|
|
254
|
-
identifier: "SupportSpecificAttributes",
|
|
255
|
-
});
|
|
256
|
-
export const DeveloperPlatformSpecificAttributes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
257
|
-
discriminator: S.String,
|
|
258
|
-
diskStoragePerNode: S.optional(S.NullOr(S.String)),
|
|
259
|
-
storage: S.optional(S.NullOr(S.String)),
|
|
260
|
-
type: S.optional(S.NullOr(S.String)),
|
|
261
|
-
})).annotate({
|
|
262
|
-
identifier: "DeveloperPlatformSpecificAttributes",
|
|
263
|
-
});
|
|
264
|
-
export const GetSKUResponseProductSpecificAttributes =
|
|
265
|
-
/*@__PURE__*/ S.Unknown;
|
|
266
|
-
export const PublicSavingsPlan = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
267
|
-
discount: S.optional(S.Number),
|
|
268
|
-
validityPeriodInYears: S.optional(S.Number),
|
|
269
|
-
})).annotate({ identifier: "PublicSavingsPlan" });
|
|
270
|
-
export const GetSKUResponseSavingsPlansList = /*@__PURE__*/ S.Array(PublicSavingsPlan);
|
|
271
|
-
export const GetSKUResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
272
|
-
categoryId: S.NullOr(S.String),
|
|
273
|
-
categoryName: S.NullOr(S.String),
|
|
274
|
-
cpuOverprovisioning: S.optional(S.NullOr(S.Boolean)),
|
|
275
|
-
deprecated: S.NullOr(S.String),
|
|
276
|
-
documentation: S.NullOr(S.String),
|
|
277
|
-
finOpsFocus: FinOpsFocus,
|
|
278
|
-
generalProductGroup: S.NullOr(S.String),
|
|
279
|
-
id: S.String,
|
|
280
|
-
language: S.optional(S.String),
|
|
281
|
-
licenseName: S.optional(S.NullOr(S.String)),
|
|
282
|
-
maturityModelState: S.NullOr(S.String),
|
|
283
|
-
metric: S.optional(S.NullOr(S.String)),
|
|
284
|
-
name: S.NullOr(S.String),
|
|
285
|
-
priceListVisibility: S.NullOr(S.String),
|
|
286
|
-
prices: GetSKUResponsePricesList,
|
|
287
|
-
productId: S.NullOr(S.String),
|
|
288
|
-
productName: S.NullOr(S.String),
|
|
289
|
-
rateType: S.optional(S.NullOr(S.String)),
|
|
290
|
-
region: S.String,
|
|
291
|
-
serviceId: S.optional(GetSKUResponseServiceIdList),
|
|
292
|
-
technicalProductGroup: S.optional(S.NullOr(S.String)),
|
|
293
|
-
tierMaxValue: S.optional(S.NullOr(S.Number)),
|
|
294
|
-
tierMinValue: S.optional(S.NullOr(S.Number)),
|
|
295
|
-
title: S.String,
|
|
296
|
-
unit: S.String,
|
|
297
|
-
unitBilling: S.String,
|
|
298
|
-
validStart: S.String,
|
|
299
|
-
version: S.String,
|
|
300
|
-
productSpecificAttributes: S.optional(GetSKUResponseProductSpecificAttributes),
|
|
301
|
-
savingsPlans: S.optional(GetSKUResponseSavingsPlansList),
|
|
302
|
-
})).annotate({ identifier: "GetSKUResponse" });
|
|
303
|
-
export const GetSTAXSKURequestLanguage = S.String;
|
|
304
|
-
export const GetSTAXSKURequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
305
|
-
skuId: S.String.pipe(T.Label()),
|
|
306
|
-
language: S.optional(GetSTAXSKURequestLanguage.pipe(T.Query())),
|
|
307
|
-
}).pipe(T.Http({
|
|
308
|
-
method: "GET",
|
|
309
|
-
uri: "/v2/stackitx/skus/{skuId}",
|
|
310
|
-
code: 200,
|
|
311
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
312
|
-
}))).annotate({ identifier: "GetSTAXSKURequest" });
|
|
313
|
-
export const GetSTAXSKUResponsePricesList = /*@__PURE__*/ S.Array(Price);
|
|
314
|
-
export const GetSTAXSKUResponseServiceIdList = /*@__PURE__*/ S.Array(S.String);
|
|
315
|
-
export const GetSTAXSKUResponseProductSpecificAttributes =
|
|
316
|
-
/*@__PURE__*/ S.Unknown;
|
|
317
|
-
export const GetSTAXSKUResponseSavingsPlansList = /*@__PURE__*/ S.Array(PublicSavingsPlan);
|
|
318
|
-
export const GetSTAXSKUResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
319
|
-
categoryId: S.NullOr(S.String),
|
|
320
|
-
categoryName: S.NullOr(S.String),
|
|
321
|
-
cpuOverprovisioning: S.optional(S.NullOr(S.Boolean)),
|
|
322
|
-
deprecated: S.NullOr(S.String),
|
|
323
|
-
documentation: S.NullOr(S.String),
|
|
324
|
-
finOpsFocus: FinOpsFocus,
|
|
325
|
-
generalProductGroup: S.NullOr(S.String),
|
|
326
|
-
id: S.String,
|
|
327
|
-
language: S.optional(S.String),
|
|
328
|
-
licenseName: S.optional(S.NullOr(S.String)),
|
|
329
|
-
maturityModelState: S.NullOr(S.String),
|
|
330
|
-
metric: S.optional(S.NullOr(S.String)),
|
|
331
|
-
name: S.NullOr(S.String),
|
|
332
|
-
priceListVisibility: S.NullOr(S.String),
|
|
333
|
-
prices: GetSTAXSKUResponsePricesList,
|
|
334
|
-
productId: S.NullOr(S.String),
|
|
335
|
-
productName: S.NullOr(S.String),
|
|
336
|
-
rateType: S.optional(S.NullOr(S.String)),
|
|
337
|
-
region: S.String,
|
|
338
|
-
serviceId: S.optional(GetSTAXSKUResponseServiceIdList),
|
|
339
|
-
technicalProductGroup: S.optional(S.NullOr(S.String)),
|
|
340
|
-
tierMaxValue: S.optional(S.NullOr(S.Number)),
|
|
341
|
-
tierMinValue: S.optional(S.NullOr(S.Number)),
|
|
342
|
-
title: S.String,
|
|
343
|
-
unit: S.String,
|
|
344
|
-
unitBilling: S.String,
|
|
345
|
-
validStart: S.String,
|
|
346
|
-
version: S.String,
|
|
347
|
-
productSpecificAttributes: S.optional(GetSTAXSKUResponseProductSpecificAttributes),
|
|
348
|
-
savingsPlans: S.optional(GetSTAXSKUResponseSavingsPlansList),
|
|
349
|
-
})).annotate({ identifier: "GetSTAXSKUResponse" });
|
|
350
|
-
export const ListCategoriesRequestLanguage = S.String;
|
|
351
|
-
export const ListCategoriesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
352
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
353
|
-
cursor: S.optional(S.String.pipe(T.Query())),
|
|
354
|
-
categoryName: S.optional(S.String.pipe(T.Query())),
|
|
355
|
-
language: S.optional(ListCategoriesRequestLanguage.pipe(T.Query())),
|
|
356
|
-
}).pipe(T.Http({
|
|
357
|
-
method: "GET",
|
|
358
|
-
uri: "/v2/categories",
|
|
359
|
-
code: 200,
|
|
360
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
361
|
-
}))).annotate({ identifier: "ListCategoriesRequest" });
|
|
362
|
-
export const ListCategoriesResponseDataList = /*@__PURE__*/ S.Array(PublicCategory);
|
|
363
|
-
export const MetaInformation = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
364
|
-
nextCursor: S.optional(S.String),
|
|
365
|
-
pageSize: S.optional(S.Number),
|
|
366
|
-
})).annotate({ identifier: "MetaInformation" });
|
|
367
|
-
export const ListCategoriesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
368
|
-
data: S.optional(ListCategoriesResponseDataList),
|
|
369
|
-
meta: S.optional(MetaInformation),
|
|
370
|
-
})).annotate({ identifier: "ListCategoriesResponse" });
|
|
371
|
-
export const ListCategoryProductsRequestLanguage = S.String;
|
|
372
|
-
export const ListCategoryProductsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
373
|
-
categoryId: S.String.pipe(T.Label()),
|
|
374
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
375
|
-
cursor: S.optional(S.String.pipe(T.Query())),
|
|
376
|
-
productName: S.optional(S.String.pipe(T.Query())),
|
|
377
|
-
language: S.optional(ListCategoryProductsRequestLanguage.pipe(T.Query())),
|
|
378
|
-
}).pipe(T.Http({
|
|
379
|
-
method: "GET",
|
|
380
|
-
uri: "/v2/categories/{categoryId}/products",
|
|
381
|
-
code: 200,
|
|
382
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
383
|
-
}))).annotate({
|
|
384
|
-
identifier: "ListCategoryProductsRequest",
|
|
385
|
-
});
|
|
386
|
-
export const ListCategoryProductsResponseDataList = /*@__PURE__*/ S.Array(PublicProduct);
|
|
387
|
-
export const ListCategoryProductsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
388
|
-
data: S.optional(ListCategoryProductsResponseDataList),
|
|
389
|
-
meta: S.optional(MetaInformation),
|
|
390
|
-
})).annotate({
|
|
391
|
-
identifier: "ListCategoryProductsResponse",
|
|
392
|
-
});
|
|
393
|
-
export const ListMarketingDataRequestLanguage = S.String;
|
|
394
|
-
export const ListMarketingDataRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
395
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
396
|
-
cursor: S.optional(S.String.pipe(T.Query())),
|
|
397
|
-
language: S.optional(ListMarketingDataRequestLanguage.pipe(T.Query())),
|
|
398
|
-
productName: S.optional(S.String.pipe(T.Query())),
|
|
399
|
-
}).pipe(T.Http({
|
|
400
|
-
method: "GET",
|
|
401
|
-
uri: "/v2/marketing",
|
|
402
|
-
code: 200,
|
|
403
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
404
|
-
}))).annotate({ identifier: "ListMarketingDataRequest" });
|
|
405
|
-
export const ListMarketingDataResponseDataList = /*@__PURE__*/ S.Array(PublicMarketingData);
|
|
406
|
-
export const ListMarketingDataResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
407
|
-
data: S.optional(ListMarketingDataResponseDataList),
|
|
408
|
-
meta: S.optional(MetaInformation),
|
|
409
|
-
})).annotate({
|
|
410
|
-
identifier: "ListMarketingDataResponse",
|
|
411
|
-
});
|
|
412
|
-
export const ListProductsRequestLanguage = S.String;
|
|
413
|
-
export const ListProductsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
414
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
415
|
-
cursor: S.optional(S.String.pipe(T.Query())),
|
|
416
|
-
categoryName: S.optional(S.String.pipe(T.Query())),
|
|
417
|
-
productName: S.optional(S.String.pipe(T.Query())),
|
|
418
|
-
language: S.optional(ListProductsRequestLanguage.pipe(T.Query())),
|
|
419
|
-
}).pipe(T.Http({
|
|
420
|
-
method: "GET",
|
|
421
|
-
uri: "/v2/products",
|
|
422
|
-
code: 200,
|
|
423
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
424
|
-
}))).annotate({ identifier: "ListProductsRequest" });
|
|
425
|
-
export const ListProductsResponseDataList = /*@__PURE__*/ S.Array(PublicProduct);
|
|
426
|
-
export const ListProductsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
427
|
-
data: S.optional(ListProductsResponseDataList),
|
|
428
|
-
meta: S.optional(MetaInformation),
|
|
429
|
-
})).annotate({ identifier: "ListProductsResponse" });
|
|
430
|
-
export const ListProductSKUsRequestLanguage = S.String;
|
|
431
|
-
export const ListProductSKUsRequestRegionList = /*@__PURE__*/ S.Array(S.String);
|
|
432
|
-
export const ListProductSKUsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
433
|
-
productId: S.String.pipe(T.Label()),
|
|
434
|
-
cursor: S.optional(S.String.pipe(T.Query())),
|
|
435
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
436
|
-
language: S.optional(ListProductSKUsRequestLanguage.pipe(T.Query())),
|
|
437
|
-
skuName: S.optional(S.String.pipe(T.Query())),
|
|
438
|
-
region: S.optional(ListProductSKUsRequestRegionList.pipe(T.Query())),
|
|
439
|
-
}).pipe(T.Http({
|
|
440
|
-
method: "GET",
|
|
441
|
-
uri: "/v2/products/{productId}/skus",
|
|
442
|
-
code: 200,
|
|
443
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
444
|
-
}))).annotate({ identifier: "ListProductSKUsRequest" });
|
|
445
|
-
export const PublicSKUPricesList = /*@__PURE__*/ S.Array(Price);
|
|
446
|
-
export const PublicSKUServiceIdList = /*@__PURE__*/ S.Array(S.String);
|
|
447
|
-
export const PublicSKUProductSpecificAttributes =
|
|
448
|
-
/*@__PURE__*/ S.Unknown;
|
|
449
|
-
export const PublicSKUSavingsPlansList = /*@__PURE__*/ S.Array(PublicSavingsPlan);
|
|
450
|
-
export const PublicSKU = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
451
|
-
categoryId: S.NullOr(S.String),
|
|
452
|
-
categoryName: S.NullOr(S.String),
|
|
453
|
-
cpuOverprovisioning: S.optional(S.NullOr(S.Boolean)),
|
|
454
|
-
deprecated: S.NullOr(S.String),
|
|
455
|
-
documentation: S.NullOr(S.String),
|
|
456
|
-
finOpsFocus: FinOpsFocus,
|
|
457
|
-
generalProductGroup: S.NullOr(S.String),
|
|
458
|
-
id: S.String,
|
|
459
|
-
language: S.optional(S.String),
|
|
460
|
-
licenseName: S.optional(S.NullOr(S.String)),
|
|
461
|
-
maturityModelState: S.NullOr(S.String),
|
|
462
|
-
metric: S.optional(S.NullOr(S.String)),
|
|
463
|
-
name: S.NullOr(S.String),
|
|
464
|
-
priceListVisibility: S.NullOr(S.String),
|
|
465
|
-
prices: PublicSKUPricesList,
|
|
466
|
-
productId: S.NullOr(S.String),
|
|
467
|
-
productName: S.NullOr(S.String),
|
|
468
|
-
rateType: S.optional(S.NullOr(S.String)),
|
|
469
|
-
region: S.String,
|
|
470
|
-
serviceId: S.optional(PublicSKUServiceIdList),
|
|
471
|
-
technicalProductGroup: S.optional(S.NullOr(S.String)),
|
|
472
|
-
tierMaxValue: S.optional(S.NullOr(S.Number)),
|
|
473
|
-
tierMinValue: S.optional(S.NullOr(S.Number)),
|
|
474
|
-
title: S.String,
|
|
475
|
-
unit: S.String,
|
|
476
|
-
unitBilling: S.String,
|
|
477
|
-
validStart: S.String,
|
|
478
|
-
version: S.String,
|
|
479
|
-
productSpecificAttributes: S.optional(PublicSKUProductSpecificAttributes),
|
|
480
|
-
savingsPlans: S.optional(PublicSKUSavingsPlansList),
|
|
481
|
-
})).annotate({ identifier: "PublicSKU" });
|
|
482
|
-
export const ListProductSKUsResponseDataList = /*@__PURE__*/ S.Array(PublicSKU);
|
|
483
|
-
export const ListProductSKUsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
484
|
-
data: S.optional(ListProductSKUsResponseDataList),
|
|
485
|
-
meta: S.optional(MetaInformation),
|
|
486
|
-
})).annotate({ identifier: "ListProductSKUsResponse" });
|
|
487
|
-
export const ListProductSTAXSKUsRequestLanguage = S.String;
|
|
488
|
-
export const ListProductSTAXSKUsRequestRegionList = /*@__PURE__*/ S.Array(S.String);
|
|
489
|
-
export const ListProductSTAXSKUsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
490
|
-
productId: S.String.pipe(T.Label()),
|
|
491
|
-
cursor: S.optional(S.String.pipe(T.Query())),
|
|
492
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
493
|
-
language: S.optional(ListProductSTAXSKUsRequestLanguage.pipe(T.Query())),
|
|
494
|
-
skuName: S.optional(S.String.pipe(T.Query())),
|
|
495
|
-
region: S.optional(ListProductSTAXSKUsRequestRegionList.pipe(T.Query())),
|
|
496
|
-
}).pipe(T.Http({
|
|
497
|
-
method: "GET",
|
|
498
|
-
uri: "/v2/products/{productId}/stackitx/skus",
|
|
499
|
-
code: 200,
|
|
500
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
501
|
-
}))).annotate({
|
|
502
|
-
identifier: "ListProductSTAXSKUsRequest",
|
|
503
|
-
});
|
|
504
|
-
export const ListProductSTAXSKUsResponseDataList = /*@__PURE__*/ S.Array(PublicSKU);
|
|
505
|
-
export const ListProductSTAXSKUsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
506
|
-
data: S.optional(ListProductSTAXSKUsResponseDataList),
|
|
507
|
-
meta: S.optional(MetaInformation),
|
|
508
|
-
})).annotate({
|
|
509
|
-
identifier: "ListProductSTAXSKUsResponse",
|
|
510
|
-
});
|
|
511
|
-
export const ListSKUsRequestLanguage = S.String;
|
|
512
|
-
export const ListSKUsRequestRegionList = /*@__PURE__*/ S.Array(S.String);
|
|
513
|
-
export const ListSKUsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
514
|
-
cursor: S.optional(S.String.pipe(T.Query())),
|
|
515
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
516
|
-
language: S.optional(ListSKUsRequestLanguage.pipe(T.Query())),
|
|
517
|
-
categoryName: S.optional(S.String.pipe(T.Query())),
|
|
518
|
-
productName: S.optional(S.String.pipe(T.Query())),
|
|
519
|
-
skuName: S.optional(S.String.pipe(T.Query())),
|
|
520
|
-
region: S.optional(ListSKUsRequestRegionList.pipe(T.Query())),
|
|
521
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/skus", code: 200, baseUrl: "https://pim.api.stackit.cloud" }))).annotate({ identifier: "ListSKUsRequest" });
|
|
522
|
-
export const ListSKUsResponseDataList = /*@__PURE__*/ S.Array(PublicSKU);
|
|
523
|
-
export const ListSKUsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
524
|
-
data: S.optional(ListSKUsResponseDataList),
|
|
525
|
-
meta: S.optional(MetaInformation),
|
|
526
|
-
})).annotate({ identifier: "ListSKUsResponse" });
|
|
527
|
-
export const ListSTAXSKUsRequestLanguage = S.String;
|
|
528
|
-
export const ListSTAXSKUsRequestRegionList = /*@__PURE__*/ S.Array(S.String);
|
|
529
|
-
export const ListSTAXSKUsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
530
|
-
cursor: S.optional(S.String.pipe(T.Query())),
|
|
531
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
532
|
-
language: S.optional(ListSTAXSKUsRequestLanguage.pipe(T.Query())),
|
|
533
|
-
categoryName: S.optional(S.String.pipe(T.Query())),
|
|
534
|
-
productName: S.optional(S.String.pipe(T.Query())),
|
|
535
|
-
skuName: S.optional(S.String.pipe(T.Query())),
|
|
536
|
-
region: S.optional(ListSTAXSKUsRequestRegionList.pipe(T.Query())),
|
|
537
|
-
}).pipe(T.Http({
|
|
538
|
-
method: "GET",
|
|
539
|
-
uri: "/v2/stackitx/skus",
|
|
540
|
-
code: 200,
|
|
541
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
542
|
-
}))).annotate({ identifier: "ListSTAXSKUsRequest" });
|
|
543
|
-
export const ListSTAXSKUsResponseDataList = /*@__PURE__*/ S.Array(PublicSKU);
|
|
544
|
-
export const ListSTAXSKUsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
545
|
-
data: S.optional(ListSTAXSKUsResponseDataList),
|
|
546
|
-
meta: S.optional(MetaInformation),
|
|
547
|
-
})).annotate({ identifier: "ListSTAXSKUsResponse" });
|
|
548
|
-
export const SearchSKUsRequestLanguage = S.String;
|
|
549
|
-
export const SearchSKUsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
550
|
-
language: S.optional(SearchSKUsRequestLanguage.pipe(T.Query())),
|
|
551
|
-
pageSize: S.optional(S.Number.pipe(T.Query())),
|
|
552
|
-
cursor: S.optional(S.String.pipe(T.Query())),
|
|
553
|
-
categoryName: S.optional(S.String),
|
|
554
|
-
class: S.optional(S.String),
|
|
555
|
-
communicationChannel: S.optional(S.String),
|
|
556
|
-
connectionLimitPerLoadBalancer: S.optional(S.Number),
|
|
557
|
-
contractNoticePeriodInDays: S.optional(S.NullOr(S.Number)),
|
|
558
|
-
deprecated: S.optional(S.String),
|
|
559
|
-
diskStoragePerNode: S.optional(S.String),
|
|
560
|
-
documentation: S.optional(S.String),
|
|
561
|
-
escalationAvailabilityBCINC: S.optional(S.NullOr(S.String)),
|
|
562
|
-
escalationAvailabilityINC: S.optional(S.NullOr(S.String)),
|
|
563
|
-
escalationAvailabilitySR: S.optional(S.NullOr(S.String)),
|
|
564
|
-
escalationThresholdBCINCInMins: S.optional(S.NullOr(S.Number)),
|
|
565
|
-
escalationThresholdINCInMins: S.optional(S.NullOr(S.Number)),
|
|
566
|
-
escalationThresholdSRInMins: S.optional(S.NullOr(S.Number)),
|
|
567
|
-
finPenaltySLAVio80Pct: S.optional(S.NullOr(S.Number)),
|
|
568
|
-
finPenaltySLAVio90_80Pct: S.optional(S.NullOr(S.Number).pipe(T.Body("finPenaltySLAVio90-80Pct"))),
|
|
569
|
-
flavor: S.optional(S.String),
|
|
570
|
-
generalProductGroup: S.optional(S.String),
|
|
571
|
-
hardware: S.optional(S.String),
|
|
572
|
-
initialRuntimeInMonths: S.optional(S.NullOr(S.Number)),
|
|
573
|
-
leadTimeInWorkDays: S.optional(S.NullOr(S.Number)),
|
|
574
|
-
location: S.optional(S.NullOr(S.String)),
|
|
575
|
-
maturityModelState: S.optional(S.String),
|
|
576
|
-
maxIOPerSec: S.optional(S.Number),
|
|
577
|
-
maxTroughInMB: S.optional(S.Number),
|
|
578
|
-
metricPerMin: S.optional(S.Number),
|
|
579
|
-
metro: S.optional(S.Boolean),
|
|
580
|
-
monthlyPrice: S.optional(S.String),
|
|
581
|
-
name: S.optional(S.String),
|
|
582
|
-
nodes: S.optional(S.Number),
|
|
583
|
-
os: S.optional(S.String),
|
|
584
|
-
priceListVisibility: S.optional(S.String),
|
|
585
|
-
productName: S.optional(S.String),
|
|
586
|
-
projectNoticePeriodInWorkDays: S.optional(S.NullOr(S.Number)),
|
|
587
|
-
ram: S.optional(S.Number),
|
|
588
|
-
reactionTimeInMins: S.optional(S.NullOr(S.Number)),
|
|
589
|
-
recordLimitPerZone: S.optional(S.Number),
|
|
590
|
-
region: S.optional(S.String),
|
|
591
|
-
repeatedRuntimeInMonths: S.optional(S.NullOr(S.Number)),
|
|
592
|
-
responseTimeBCINCInMins: S.optional(S.NullOr(S.Number)),
|
|
593
|
-
responseTimeINCInMins: S.optional(S.NullOr(S.Number)),
|
|
594
|
-
responseTimeSRInMins: S.optional(S.NullOr(S.Number)),
|
|
595
|
-
serviceHoursBCINC: S.optional(S.NullOr(S.String)),
|
|
596
|
-
serviceHoursINC: S.optional(S.NullOr(S.String)),
|
|
597
|
-
serviceHoursSR: S.optional(S.NullOr(S.String)),
|
|
598
|
-
serviceId: S.optional(S.String),
|
|
599
|
-
sku: S.optional(S.String),
|
|
600
|
-
slaGoalInPercentage: S.optional(S.NullOr(S.Number)),
|
|
601
|
-
storage: S.optional(S.String),
|
|
602
|
-
storageMaxGb: S.optional(S.Number),
|
|
603
|
-
storageMinGb: S.optional(S.Number),
|
|
604
|
-
targets: S.optional(S.Number),
|
|
605
|
-
technicalProductGroup: S.optional(S.String),
|
|
606
|
-
title: S.optional(S.String),
|
|
607
|
-
type: S.optional(S.String),
|
|
608
|
-
unit: S.optional(S.String),
|
|
609
|
-
unitBilling: S.optional(S.String),
|
|
610
|
-
vCPU: S.optional(S.Number),
|
|
611
|
-
validFrom: S.optional(S.String),
|
|
612
|
-
value: S.optional(S.String),
|
|
613
|
-
}).pipe(T.Http({
|
|
614
|
-
method: "POST",
|
|
615
|
-
uri: "/v2/skus/search",
|
|
616
|
-
code: 200,
|
|
617
|
-
baseUrl: "https://pim.api.stackit.cloud",
|
|
618
|
-
}))).annotate({ identifier: "SearchSKUsRequest" });
|
|
619
|
-
export const SearchSKUsResponseDataList = /*@__PURE__*/ S.Array(PublicSKU);
|
|
620
|
-
export const SearchSKUsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
621
|
-
data: S.optional(SearchSKUsResponseDataList),
|
|
622
|
-
meta: S.optional(MetaInformation),
|
|
623
|
-
})).annotate({ identifier: "SearchSKUsResponse" });
|
|
624
|
-
/** Get category by ID Retrieves a specific category by its ID, available for general public. */
|
|
625
|
-
export const getCategory = /*@__PURE__*/ API.make(() => ({
|
|
626
|
-
input: GetCategoryRequest,
|
|
627
|
-
output: PublicCategory,
|
|
628
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
629
|
-
protocol: StackitProtocol,
|
|
630
|
-
retry: Retry.Retry,
|
|
631
|
-
}));
|
|
632
|
-
/** Get product by ID Retrieves a specific product by its ID, available for general public. */
|
|
633
|
-
export const getProduct = /*@__PURE__*/ API.make(() => ({
|
|
634
|
-
input: GetProductRequest,
|
|
635
|
-
output: PublicProduct,
|
|
636
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
637
|
-
protocol: StackitProtocol,
|
|
638
|
-
retry: Retry.Retry,
|
|
639
|
-
}));
|
|
640
|
-
/** Get marketing data for a product Retrieves the marketing data for a specific product, available for general public. */
|
|
641
|
-
export const getProductMarketingData = /*@__PURE__*/ API.make(() => ({
|
|
642
|
-
input: GetProductMarketingDataRequest,
|
|
643
|
-
output: PublicMarketingData,
|
|
644
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
645
|
-
protocol: StackitProtocol,
|
|
646
|
-
retry: Retry.Retry,
|
|
647
|
-
}));
|
|
648
|
-
/** Get SKU by ID Retrieves a specific SKU by its ID, available for general public. */
|
|
649
|
-
export const getSKU = /*@__PURE__*/ API.make(() => ({
|
|
650
|
-
input: GetSKURequest,
|
|
651
|
-
output: GetSKUResponse,
|
|
652
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
653
|
-
protocol: StackitProtocol,
|
|
654
|
-
retry: Retry.Retry,
|
|
655
|
-
}));
|
|
656
|
-
/** Get STACKIT:X SKU by ID Retrieves a specific STACKIT:X SKU by its ID, available for general public. */
|
|
657
|
-
export const getSTAXSKU = /*@__PURE__*/ API.make(() => ({
|
|
658
|
-
input: GetSTAXSKURequest,
|
|
659
|
-
output: GetSTAXSKUResponse,
|
|
660
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
661
|
-
protocol: StackitProtocol,
|
|
662
|
-
retry: Retry.Retry,
|
|
663
|
-
}));
|
|
664
|
-
/** List all categories Returns all categories, available for general public. */
|
|
665
|
-
export const listCategories = /*@__PURE__*/ API.make(() => ({
|
|
666
|
-
input: ListCategoriesRequest,
|
|
667
|
-
output: ListCategoriesResponse,
|
|
668
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
669
|
-
protocol: StackitProtocol,
|
|
670
|
-
retry: Retry.Retry,
|
|
671
|
-
}));
|
|
672
|
-
/** List products in a category Retrieves a specific category's products, available for general public. */
|
|
673
|
-
export const listCategoryProducts = /*@__PURE__*/ API.make(() => ({
|
|
674
|
-
input: ListCategoryProductsRequest,
|
|
675
|
-
output: ListCategoryProductsResponse,
|
|
676
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
677
|
-
protocol: StackitProtocol,
|
|
678
|
-
retry: Retry.Retry,
|
|
679
|
-
}));
|
|
680
|
-
/** List all marketing materials Retrieves a list of all marketing materials for all products, available for general public. */
|
|
681
|
-
export const listMarketingData = /*@__PURE__*/ API.make(() => ({
|
|
682
|
-
input: ListMarketingDataRequest,
|
|
683
|
-
output: ListMarketingDataResponse,
|
|
684
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
685
|
-
protocol: StackitProtocol,
|
|
686
|
-
retry: Retry.Retry,
|
|
687
|
-
}));
|
|
688
|
-
/** List all products Retrieves a list of all products, available for general public. */
|
|
689
|
-
export const listProducts = /*@__PURE__*/ API.make(() => ({
|
|
690
|
-
input: ListProductsRequest,
|
|
691
|
-
output: ListProductsResponse,
|
|
692
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
693
|
-
protocol: StackitProtocol,
|
|
694
|
-
retry: Retry.Retry,
|
|
695
|
-
}));
|
|
696
|
-
/** List SKUs for a product Retrieves a list of all SKUs of a product, available for general public. */
|
|
697
|
-
export const listProductSKUs = /*@__PURE__*/ API.make(() => ({
|
|
698
|
-
input: ListProductSKUsRequest,
|
|
699
|
-
output: ListProductSKUsResponse,
|
|
700
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
701
|
-
protocol: StackitProtocol,
|
|
702
|
-
retry: Retry.Retry,
|
|
703
|
-
}));
|
|
704
|
-
/** List STACKIT:X SKUs for a product Retrieves a list of all STACKIT:X SKUs of a product, available for general public. */
|
|
705
|
-
export const listProductSTAXSKUs = /*@__PURE__*/ API.make(() => ({
|
|
706
|
-
input: ListProductSTAXSKUsRequest,
|
|
707
|
-
output: ListProductSTAXSKUsResponse,
|
|
708
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
709
|
-
protocol: StackitProtocol,
|
|
710
|
-
retry: Retry.Retry,
|
|
711
|
-
}));
|
|
712
|
-
/** List all SKUs Retrieves a list of all SKUs, available for general public. */
|
|
713
|
-
export const listSKUs = /*@__PURE__*/ API.make(() => ({
|
|
714
|
-
input: ListSKUsRequest,
|
|
715
|
-
output: ListSKUsResponse,
|
|
716
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
717
|
-
protocol: StackitProtocol,
|
|
718
|
-
retry: Retry.Retry,
|
|
719
|
-
}));
|
|
720
|
-
/** List all STACKIT:X SKUs Get all STACKIT:X SKUs data that has maturity model different than alpha. */
|
|
721
|
-
export const listSTAXSKUs = /*@__PURE__*/ API.make(() => ({
|
|
722
|
-
input: ListSTAXSKUsRequest,
|
|
723
|
-
output: ListSTAXSKUsResponse,
|
|
724
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
725
|
-
protocol: StackitProtocol,
|
|
726
|
-
retry: Retry.Retry,
|
|
727
|
-
}));
|
|
728
|
-
/** Performs a SKUs search with specific attributes Accepts a JSON object with a predefined set of optional attributes to be used as search criteria. */
|
|
729
|
-
export const searchSKUs = /*@__PURE__*/ API.make(() => ({
|
|
730
|
-
input: SearchSKUsRequest,
|
|
731
|
-
output: SearchSKUsResponse,
|
|
732
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
733
|
-
protocol: StackitProtocol,
|
|
734
|
-
retry: Retry.Retry,
|
|
735
|
-
}));
|
|
736
|
-
//# sourceMappingURL=pim.js.map
|