@distilled.cloud/stackit 1.0.0-rc.15 → 1.0.0-rc.17
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/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -49
- package/lib/errors.d.ts +13 -13
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -26
- package/lib/index.d.ts +2 -2
- package/lib/index.js +1 -24
- package/lib/index.lazy.js +7 -0
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.js +1 -45
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +1 -147
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -31
- package/lib/services/alb.d.ts +10 -87
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +28 -512
- package/lib/services/alb.js.map +1 -1
- 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 +33 -520
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +5 -47
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -322
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +7 -47
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +1 -362
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +8 -220
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +31 -905
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +8 -27
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -178
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +10 -37
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -176
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +9 -104
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -725
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +8 -50
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -316
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +7 -40
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +1 -356
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -48
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +1 -398
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +8 -61
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +35 -519
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +9 -337
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +181 -3542
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/index.js +0 -2
- package/lib/services/intake.d.ts +8 -75
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +29 -474
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +9 -92
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +41 -662
- package/lib/services/kms.js.map +1 -1
- 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 +1 -153
- package/lib/services/lb_ip_lists.js.map +1 -1
- 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 +29 -496
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +8 -69
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +33 -573
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +8 -64
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -474
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +8 -65
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +34 -550
- package/lib/services/mariadb.js.map +1 -1
- 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 +1 -335
- package/lib/services/model_experiments.js.map +1 -1
- 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 +1 -286
- package/lib/services/model_serving.js.map +1 -1
- 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 +42 -802
- package/lib/services/mongodb_flex.js.map +1 -1
- 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 +38 -539
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +8 -407
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +159 -3157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +8 -71
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +34 -562
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +12 -108
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +31 -735
- package/lib/services/pim.js.map +1 -1
- 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 +47 -852
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +11 -73
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +37 -518
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +8 -76
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +35 -573
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +10 -28
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -197
- package/lib/services/registry.js.map +1 -1
- 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 +36 -472
- package/lib/services/resource_manager.js.map +1 -1
- 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 +1 -184
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +8 -79
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +25 -444
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +8 -64
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +40 -669
- package/lib/services/scf.js.map +1 -1
- 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 +42 -612
- package/lib/services/secrets_manager.js.map +1 -1
- 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 +29 -453
- package/lib/services/server_backup.js.map +1 -1
- 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 +1 -351
- package/lib/services/server_update.js.map +1 -1
- 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 +30 -505
- package/lib/services/service_account.js.map +1 -1
- 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 +1 -156
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +4 -96
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -789
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +9 -108
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +26 -557
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +11 -152
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +46 -935
- package/lib/services/sqlserverflex.js.map +1 -1
- 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 +26 -378
- package/lib/services/stackit_marketplace.js.map +1 -1
- 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 +34 -531
- package/lib/services/telemetry_link.js.map +1 -1
- 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 +29 -483
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +7 -42
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -278
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +8 -68
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +34 -566
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +21 -186
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +43 -930
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +15 -84
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +27 -507
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +4 -0
- package/lib/services.lazy/alb_waf.js +4 -0
- package/lib/services.lazy/authorization.js +1 -0
- package/lib/services.lazy/automation.js +1 -0
- package/lib/services.lazy/cdn.js +4 -0
- package/lib/services.lazy/certificates.js +1 -0
- package/lib/services.lazy/cost.js +1 -0
- package/lib/services.lazy/dns.js +4 -0
- package/lib/services.lazy/dremio.js +1 -0
- package/lib/services.lazy/edge.js +1 -0
- package/lib/services.lazy/functions.js +1 -0
- package/lib/services.lazy/git.js +4 -0
- package/lib/services.lazy/iaas.js +4 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/intake.js +4 -0
- package/lib/services.lazy/kms.js +4 -0
- package/lib/services.lazy/lb_ip_lists.js +1 -0
- package/lib/services.lazy/load_balancer.js +4 -0
- package/lib/services.lazy/logme.js +4 -0
- package/lib/services.lazy/logs.js +4 -0
- package/lib/services.lazy/mariadb.js +4 -0
- package/lib/services.lazy/model_experiments.js +1 -0
- package/lib/services.lazy/model_serving.js +1 -0
- package/lib/services.lazy/mongodb_flex.js +4 -0
- package/lib/services.lazy/object_storage.js +4 -0
- package/lib/services.lazy/observability.js +4 -0
- package/lib/services.lazy/opensearch.js +4 -0
- package/lib/services.lazy/pim.js +4 -0
- package/lib/services.lazy/postgres_flex.js +4 -0
- package/lib/services.lazy/pubsub.js +4 -0
- package/lib/services.lazy/rabbitmq.js +4 -0
- package/lib/services.lazy/registry.js +1 -0
- package/lib/services.lazy/resource_manager.js +4 -0
- package/lib/services.lazy/run_command.js +1 -0
- package/lib/services.lazy/sca.js +4 -0
- package/lib/services.lazy/scf.js +4 -0
- package/lib/services.lazy/secrets_manager.js +4 -0
- package/lib/services.lazy/server_backup.js +4 -0
- package/lib/services.lazy/server_update.js +1 -0
- package/lib/services.lazy/service_account.js +4 -0
- package/lib/services.lazy/service_enablement.js +1 -0
- package/lib/services.lazy/sfs.js +4 -0
- package/lib/services.lazy/ske.js +4 -0
- package/lib/services.lazy/sqlserverflex.js +4 -0
- package/lib/services.lazy/stackit_marketplace.js +4 -0
- package/lib/services.lazy/telemetry_link.js +4 -0
- package/lib/services.lazy/telemetry_router.js +4 -0
- package/lib/services.lazy/ufw.js +1 -0
- package/lib/services.lazy/valkey.js +4 -0
- package/lib/services.lazy/vpn.js +4 -0
- package/lib/services.lazy/workflows.js +4 -0
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +1 -15
- package/package.json +9 -7
- 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/credentials.js.map +0 -1
- package/lib/errors.js.map +0 -1
- package/lib/pagination.js.map +0 -1
- package/lib/protocol.js.map +0 -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/retry.js.map +0 -1
- package/lib/services/index.js.map +0 -1
- package/lib/traits.js.map +0 -1
- package/src/protocol.test.ts +0 -304
- /package/lib/{index.js.map → index.lazy.js.map} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
3
3
|
import { type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
4
4
|
export type { StackitOpError, StackitOpContext };
|
|
5
|
-
declare const BadRequest_base: S.
|
|
5
|
+
declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
|
|
6
6
|
readonly code: any;
|
|
7
7
|
readonly message: any;
|
|
8
|
-
}
|
|
8
|
+
}> & (new (...args: any[]) => {
|
|
9
9
|
"@distilled.cloud/error/categories": {
|
|
10
10
|
BadRequestError: true;
|
|
11
11
|
};
|
|
12
12
|
});
|
|
13
13
|
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
14
14
|
}
|
|
15
|
-
declare const Forbidden_base: S.
|
|
15
|
+
declare const Forbidden_base: S.TaggedErrorClass<"Forbidden", {
|
|
16
16
|
readonly code: any;
|
|
17
17
|
readonly message: any;
|
|
18
|
-
}
|
|
18
|
+
}> & (new (...args: any[]) => {
|
|
19
19
|
"@distilled.cloud/error/categories": {
|
|
20
20
|
AuthError: true;
|
|
21
21
|
};
|
|
22
22
|
});
|
|
23
23
|
export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
|
|
24
24
|
}
|
|
25
|
-
declare const NotFound_base: S.
|
|
25
|
+
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
26
26
|
readonly code: any;
|
|
27
27
|
readonly message: any;
|
|
28
|
-
}
|
|
28
|
+
}> & (new (...args: any[]) => {
|
|
29
29
|
"@distilled.cloud/error/categories": {
|
|
30
30
|
BadRequestError: true;
|
|
31
31
|
};
|
|
@@ -37,43 +37,33 @@ export interface DisableServiceRegionalRequest {
|
|
|
37
37
|
region: string;
|
|
38
38
|
serviceId: string;
|
|
39
39
|
}
|
|
40
|
-
export declare const DisableServiceRegionalRequest: S.Schema<DisableServiceRegionalRequest>;
|
|
41
40
|
export interface DisableServiceRegionalResponse {
|
|
42
41
|
}
|
|
43
|
-
export declare const DisableServiceRegionalResponse: S.Schema<DisableServiceRegionalResponse>;
|
|
44
42
|
export interface EnableServiceRegionalRequest {
|
|
45
43
|
projectId: string;
|
|
46
44
|
region: string;
|
|
47
45
|
serviceId: string;
|
|
48
46
|
}
|
|
49
|
-
export declare const EnableServiceRegionalRequest: S.Schema<EnableServiceRegionalRequest>;
|
|
50
47
|
export interface EnableServiceRegionalResponse {
|
|
51
48
|
}
|
|
52
|
-
export declare const EnableServiceRegionalResponse: S.Schema<EnableServiceRegionalResponse>;
|
|
53
49
|
export interface GetServiceStatusRegionalRequest {
|
|
54
50
|
projectId: string;
|
|
55
51
|
region: string;
|
|
56
52
|
serviceId: string;
|
|
57
53
|
}
|
|
58
|
-
export declare const GetServiceStatusRegionalRequest: S.Schema<GetServiceStatusRegionalRequest>;
|
|
59
54
|
/** a list of service IDs which this service depend on. If the service is enabled, those service are enabled as well automatically. */
|
|
60
55
|
export type DependenciesHardList = Array<string>;
|
|
61
|
-
export declare const DependenciesHardList: S.Schema<DependenciesHardList>;
|
|
62
56
|
/** a list of service IDs which this service depend on. When they are disabled a notification is sent. */
|
|
63
57
|
export type DependenciesSoftList = Array<string>;
|
|
64
|
-
export declare const DependenciesSoftList: S.Schema<DependenciesSoftList>;
|
|
65
58
|
export interface Dependencies {
|
|
66
59
|
/** a list of service IDs which this service depend on. If the service is enabled, those service are enabled as well automatically. */
|
|
67
60
|
hard?: DependenciesHardList;
|
|
68
61
|
/** a list of service IDs which this service depend on. When they are disabled a notification is sent. */
|
|
69
62
|
soft?: DependenciesSoftList;
|
|
70
63
|
}
|
|
71
|
-
export declare const Dependencies: S.Schema<Dependencies>;
|
|
72
64
|
export type ServiceStatusEnablement = "REQUEST" | "AUTO";
|
|
73
|
-
export declare const ServiceStatusEnablement: any;
|
|
74
65
|
/** the last action which was triggered on this service */
|
|
75
66
|
export type ActionErrorAction = "DISABLE" | "ENABLE";
|
|
76
|
-
export declare const ActionErrorAction: any;
|
|
77
67
|
/** the last error for this service. */
|
|
78
68
|
export interface ActionError {
|
|
79
69
|
/** the last action which was triggered on this service */
|
|
@@ -83,31 +73,23 @@ export interface ActionError {
|
|
|
83
73
|
/** the error reason provided by the service */
|
|
84
74
|
reason?: string;
|
|
85
75
|
}
|
|
86
|
-
export declare const ActionError: S.Schema<ActionError>;
|
|
87
76
|
export type ServiceStatusLabelsMap = {
|
|
88
77
|
[key: string]: string | undefined;
|
|
89
78
|
};
|
|
90
|
-
export declare const ServiceStatusLabelsMap: S.Schema<ServiceStatusLabelsMap>;
|
|
91
79
|
export type ServiceStatusLifecycle = "FLEX" | "PROJECT";
|
|
92
|
-
export declare const ServiceStatusLifecycle: any;
|
|
93
80
|
export type ParametersGeneralProjectScope = "SCHWARZ" | "PUBLIC";
|
|
94
|
-
export declare const ParametersGeneralProjectScope: any;
|
|
95
81
|
export interface ParametersGeneral {
|
|
96
82
|
organizationId?: string;
|
|
97
83
|
projectName?: string;
|
|
98
84
|
projectScope?: ParametersGeneralProjectScope;
|
|
99
85
|
}
|
|
100
|
-
export declare const ParametersGeneral: S.Schema<ParametersGeneral>;
|
|
101
86
|
/** service parameters */
|
|
102
87
|
export interface Parameters {
|
|
103
88
|
general?: ParametersGeneral;
|
|
104
89
|
}
|
|
105
|
-
export declare const Parameters: S.Schema<Parameters>;
|
|
106
90
|
export type ServiceStatusScope = "PRIVATE" | "PUBLIC";
|
|
107
|
-
export declare const ServiceStatusScope: any;
|
|
108
91
|
/** the state of a service within a project */
|
|
109
92
|
export type ServiceStatusState = "ENABLED" | "ENABLING" | "DISABLED" | "DISABLING";
|
|
110
|
-
export declare const ServiceStatusState: any;
|
|
111
93
|
export interface ServiceStatus {
|
|
112
94
|
dependencies?: Dependencies;
|
|
113
95
|
enablement?: ServiceStatusEnablement;
|
|
@@ -120,20 +102,16 @@ export interface ServiceStatus {
|
|
|
120
102
|
/** the state of a service within a project */
|
|
121
103
|
state?: ServiceStatusState;
|
|
122
104
|
}
|
|
123
|
-
export declare const ServiceStatus: S.Schema<ServiceStatus>;
|
|
124
105
|
export interface ListServiceStatusRegionalRequest {
|
|
125
106
|
projectId: string;
|
|
126
107
|
region: string;
|
|
127
108
|
cursor?: string;
|
|
128
109
|
}
|
|
129
|
-
export declare const ListServiceStatusRegionalRequest: S.Schema<ListServiceStatusRegionalRequest>;
|
|
130
110
|
export type ListServiceStatusRegionalResponseItemsList = Array<ServiceStatus>;
|
|
131
|
-
export declare const ListServiceStatusRegionalResponseItemsList: S.Schema<ListServiceStatusRegionalResponseItemsList>;
|
|
132
111
|
export interface ListServiceStatusRegionalResponse {
|
|
133
112
|
items?: ListServiceStatusRegionalResponseItemsList;
|
|
134
113
|
nextCursor?: string;
|
|
135
114
|
}
|
|
136
|
-
export declare const ListServiceStatusRegionalResponse: S.Schema<ListServiceStatusRegionalResponse>;
|
|
137
115
|
export type DisableServiceRegionalError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
138
116
|
/** disables the service in a project. */
|
|
139
117
|
export declare const disableServiceRegional: API.OperationMethod<DisableServiceRegionalRequest, DisableServiceRegionalResponse, DisableServiceRegionalError, StackitOpContext>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service_enablement.d.ts","sourceRoot":"","sources":["../../src/services/service_enablement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"service_enablement.d.ts","sourceRoot":"","sources":["../../src/services/service_enablement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,CAAC,MAAM,mCAAmC,CAAC;AAGvD,OAAO,EAAmB,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAM7F,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC;;;;;;;;;AAEjD,qBAAa,UACX,SAAQ,aAAa,CAAC,eAMrB;CAAG;;;;;;;;;AAEN,qBAAa,SACX,SAAQ,aAAa,CAAC,cAMrB;CAAG;;;;;;;;;AAEN,qBAAa,QACX,SAAQ,aAAa,CAAC,aAMrB;CAAG;AAEN,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,MAAM,WAAW,8BAA8B;CAAG;AAClD,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,MAAM,WAAW,6BAA6B;CAAG;AACjD,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,sIAAsI;AACtI,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AACjD,yGAAyG;AACzG,MAAM,MAAM,oB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,MAAM,MAAM,8BAA8B,GAAG,UAAU,GAAG,SAAS,GAAG,cAAc,CAAC;AACrF,8DAA8D;AAC9D,eAAO,MAAM,yBAAyB,EAAE,GAAG,CAAC,eAAe,CACzD,gCAAgC,EAChC,iCAAiC,EACjC,8BAA8B,EAC9B,gBAAgB,CAOf,CAAC"}
|
|
@@ -1,157 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as C from "@distilled.cloud/core/category";
|
|
3
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
4
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
5
|
-
import { UnknownStackitError } from "../errors.js";
|
|
6
|
-
import { StackitProtocol } from "../protocol.js";
|
|
7
|
-
import * as Retry from "../retry.js";
|
|
8
|
-
import * as T from "../traits.js";
|
|
9
|
-
export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
10
|
-
/*@__PURE__*/ S.TaggedError()("BadRequest", {
|
|
11
|
-
code: S.Number,
|
|
12
|
-
message: S.String,
|
|
13
|
-
}).pipe(C.withBadRequestError), [{ status: 400 }]) {
|
|
14
|
-
}
|
|
15
|
-
export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
16
|
-
/*@__PURE__*/ S.TaggedError()("Forbidden", {
|
|
17
|
-
code: S.Number,
|
|
18
|
-
message: S.String,
|
|
19
|
-
}).pipe(C.withAuthError), [{ status: 403 }]) {
|
|
20
|
-
}
|
|
21
|
-
export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
22
|
-
/*@__PURE__*/ S.TaggedError()("NotFound", {
|
|
23
|
-
code: S.Number,
|
|
24
|
-
message: S.String,
|
|
25
|
-
}).pipe(C.withBadRequestError), [{ status: 404 }]) {
|
|
26
|
-
}
|
|
27
|
-
export const DisableServiceRegionalRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
28
|
-
projectId: S.String.pipe(T.Label()),
|
|
29
|
-
region: S.String.pipe(T.Label()),
|
|
30
|
-
serviceId: S.String.pipe(T.Label()),
|
|
31
|
-
}).pipe(T.Http({
|
|
32
|
-
method: "DELETE",
|
|
33
|
-
uri: "/v2/projects/{projectId}/regions/{region}/services/{serviceId}",
|
|
34
|
-
code: 200,
|
|
35
|
-
baseUrl: "https://service-enablement.api.stackit.cloud",
|
|
36
|
-
}))).annotate({
|
|
37
|
-
identifier: "DisableServiceRegionalRequest",
|
|
38
|
-
});
|
|
39
|
-
export const DisableServiceRegionalResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
40
|
-
identifier: "DisableServiceRegionalResponse",
|
|
41
|
-
});
|
|
42
|
-
export const EnableServiceRegionalRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
43
|
-
projectId: S.String.pipe(T.Label()),
|
|
44
|
-
region: S.String.pipe(T.Label()),
|
|
45
|
-
serviceId: S.String.pipe(T.Label()),
|
|
46
|
-
}).pipe(T.Http({
|
|
47
|
-
method: "POST",
|
|
48
|
-
uri: "/v2/projects/{projectId}/regions/{region}/services/{serviceId}",
|
|
49
|
-
code: 200,
|
|
50
|
-
baseUrl: "https://service-enablement.api.stackit.cloud",
|
|
51
|
-
}))).annotate({
|
|
52
|
-
identifier: "EnableServiceRegionalRequest",
|
|
53
|
-
});
|
|
54
|
-
export const EnableServiceRegionalResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
55
|
-
identifier: "EnableServiceRegionalResponse",
|
|
56
|
-
});
|
|
57
|
-
export const GetServiceStatusRegionalRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
58
|
-
projectId: S.String.pipe(T.Label()),
|
|
59
|
-
region: S.String.pipe(T.Label()),
|
|
60
|
-
serviceId: S.String.pipe(T.Label()),
|
|
61
|
-
}).pipe(T.Http({
|
|
62
|
-
method: "GET",
|
|
63
|
-
uri: "/v2/projects/{projectId}/regions/{region}/services/{serviceId}",
|
|
64
|
-
code: 200,
|
|
65
|
-
baseUrl: "https://service-enablement.api.stackit.cloud",
|
|
66
|
-
}))).annotate({
|
|
67
|
-
identifier: "GetServiceStatusRegionalRequest",
|
|
68
|
-
});
|
|
69
|
-
export const DependenciesHardList = /*@__PURE__*/ S.Array(S.String);
|
|
70
|
-
export const DependenciesSoftList = /*@__PURE__*/ S.Array(S.String);
|
|
71
|
-
export const Dependencies = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
72
|
-
hard: S.optional(DependenciesHardList),
|
|
73
|
-
soft: S.optional(DependenciesSoftList),
|
|
74
|
-
})).annotate({ identifier: "Dependencies" });
|
|
75
|
-
export const ServiceStatusEnablement = S.String;
|
|
76
|
-
export const ActionErrorAction = S.String;
|
|
77
|
-
export const ActionError = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
78
|
-
action: S.optional(ActionErrorAction),
|
|
79
|
-
code: S.optional(S.String),
|
|
80
|
-
reason: S.optional(S.String),
|
|
81
|
-
})).annotate({ identifier: "ActionError" });
|
|
82
|
-
export const ServiceStatusLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
83
|
-
export const ServiceStatusLifecycle = S.String;
|
|
84
|
-
export const ParametersGeneralProjectScope = S.String;
|
|
85
|
-
export const ParametersGeneral = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
86
|
-
organizationId: S.optional(S.String),
|
|
87
|
-
projectName: S.optional(S.String),
|
|
88
|
-
projectScope: S.optional(ParametersGeneralProjectScope),
|
|
89
|
-
})).annotate({ identifier: "ParametersGeneral" });
|
|
90
|
-
export const Parameters = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
91
|
-
general: S.optional(ParametersGeneral),
|
|
92
|
-
})).annotate({ identifier: "Parameters" });
|
|
93
|
-
export const ServiceStatusScope = S.String;
|
|
94
|
-
export const ServiceStatusState = S.String;
|
|
95
|
-
export const ServiceStatus = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
96
|
-
dependencies: S.optional(Dependencies),
|
|
97
|
-
enablement: S.optional(ServiceStatusEnablement),
|
|
98
|
-
error: S.optional(ActionError),
|
|
99
|
-
labels: S.optional(ServiceStatusLabelsMap),
|
|
100
|
-
lifecycle: S.optional(ServiceStatusLifecycle),
|
|
101
|
-
parameters: S.optional(Parameters),
|
|
102
|
-
scope: S.optional(ServiceStatusScope),
|
|
103
|
-
serviceId: S.optional(S.String),
|
|
104
|
-
state: S.optional(ServiceStatusState),
|
|
105
|
-
})).annotate({ identifier: "ServiceStatus" });
|
|
106
|
-
export const ListServiceStatusRegionalRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
107
|
-
projectId: S.String.pipe(T.Label()),
|
|
108
|
-
region: S.String.pipe(T.Label()),
|
|
109
|
-
cursor: S.optional(S.String.pipe(T.Query())),
|
|
110
|
-
}).pipe(T.Http({
|
|
111
|
-
method: "GET",
|
|
112
|
-
uri: "/v2/projects/{projectId}/regions/{region}/services",
|
|
113
|
-
code: 200,
|
|
114
|
-
baseUrl: "https://service-enablement.api.stackit.cloud",
|
|
115
|
-
}))).annotate({
|
|
116
|
-
identifier: "ListServiceStatusRegionalRequest",
|
|
117
|
-
});
|
|
118
|
-
export const ListServiceStatusRegionalResponseItemsList = /*@__PURE__*/ S.Array(ServiceStatus);
|
|
119
|
-
export const ListServiceStatusRegionalResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
120
|
-
items: S.optional(ListServiceStatusRegionalResponseItemsList),
|
|
121
|
-
nextCursor: S.optional(S.String),
|
|
122
|
-
})).annotate({
|
|
123
|
-
identifier: "ListServiceStatusRegionalResponse",
|
|
124
|
-
});
|
|
125
|
-
/** disables the service in a project. */
|
|
126
|
-
export const disableServiceRegional = /*@__PURE__*/ API.make(() => ({
|
|
127
|
-
input: DisableServiceRegionalRequest,
|
|
128
|
-
output: DisableServiceRegionalResponse,
|
|
129
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
130
|
-
protocol: StackitProtocol,
|
|
131
|
-
retry: Retry.Retry,
|
|
132
|
-
}));
|
|
133
|
-
/** enables the service in a project. */
|
|
134
|
-
export const enableServiceRegional = /*@__PURE__*/ API.make(() => ({
|
|
135
|
-
input: EnableServiceRegionalRequest,
|
|
136
|
-
output: EnableServiceRegionalResponse,
|
|
137
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
138
|
-
protocol: StackitProtocol,
|
|
139
|
-
retry: Retry.Retry,
|
|
140
|
-
}));
|
|
141
|
-
/** returns the current status of a service in a project. */
|
|
142
|
-
export const getServiceStatusRegional = /*@__PURE__*/ API.make(() => ({
|
|
143
|
-
input: GetServiceStatusRegionalRequest,
|
|
144
|
-
output: ServiceStatus,
|
|
145
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
146
|
-
protocol: StackitProtocol,
|
|
147
|
-
retry: Retry.Retry,
|
|
148
|
-
}));
|
|
149
|
-
/** returns a list of all available services for a project. */
|
|
150
|
-
export const listServiceStatusRegional = /*@__PURE__*/ API.make(() => ({
|
|
151
|
-
input: ListServiceStatusRegionalRequest,
|
|
152
|
-
output: ListServiceStatusRegionalResponse,
|
|
153
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
154
|
-
protocol: StackitProtocol,
|
|
155
|
-
retry: Retry.Retry,
|
|
156
|
-
}));
|
|
1
|
+
import{_ as e,a as t,b as n,c as r,d as i,errors$UnknownStackitError as a,f as o,h as s,i as c,m as l,o as u,p as d,protocol$StackitProtocol as f,retry$Retry as p,s as m,t as h,traits$Http as g,traits$Label as _,traits$Query as v,traits$applyErrorMatchers as y,u as b,v as x,x as S}from"../_bundle/sdk.js";const C=/*@__PURE__*/ s(function BadRequest(t){return e(t,new.target,[`$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])`,[b,S,c,u,r,y]])});const w=/*@__PURE__*/ s(function Forbidden(t){return e(t,new.target,[`$5($4()("Forbidden",{code:$2,message:$3}).pipe($1),[{status:403}])`,[b,n,c,u,r,y]])});const T=/*@__PURE__*/ s(function NotFound(t){return e(t,new.target,[`$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])`,[b,S,c,u,r,y]])});const E=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DisableServiceRegionalRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),serviceId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v2/projects/{projectId}/regions/{region}/services/{serviceId}",code:200,baseUrl:"https://service-enablement.api.stackit.cloud"}))`,[b,g,_,u,m,o,__d0,C,w,T,a,f,p]]:l(E,e));const D=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"EnableServiceRegionalRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),serviceId:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v2/projects/{projectId}/regions/{region}/services/{serviceId}",code:200,baseUrl:"https://service-enablement.api.stackit.cloud"}))`,[b,g,_,u,m,o,__d0,C,w,T,a,f,p]]:l(D,e));const O=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#6:6,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetServiceStatusRegionalRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),serviceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v2/projects/{projectId}/regions/{region}/services/{serviceId}",code:200,baseUrl:"https://service-enablement.api.stackit.cloud"}))`,[b,g,_,u,m,o,__d1,C,w,T,a,f,p]]:l(O,e));const k=/*@__PURE__*/ x(e=>e===d?[`{input:#1,output:#3,errors:[$10,$11,$12],protocol:$13,retry:$14};$7(>4)@"ListServiceStatusRegionalRequest";$9(#8:6);$7(>5)@"ListServiceStatusRegionalResponse";$6({projectId:$3.pipe($2()),region:$3.pipe($2()),cursor:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v2/projects/{projectId}/regions/{region}/services",code:200,baseUrl:"https://service-enablement.api.stackit.cloud"}));$6({items:$5(#2),nextCursor:$5($3)})`,[b,g,_,u,v,i,m,o,__d1,h,C,w,a,f,p]]:l(k,e));function __d0(){return[`$2(>1)@"DisableServiceRegionalResponse";$1({})`,[b,m,o]]}function __d1(){return[`$2($1);$5(>7)@"Dependencies";$5(>8)@"ActionError";$6($1,$1);$5(>9)@"ParametersGeneral";$5(>10)@"Parameters";$5(>11)@"ServiceStatus";$4({hard:$3(#0),soft:$3(#0)});$4({action:$3($1),code:$3($1),reason:$3($1)});$4({organizationId:$3($1),projectName:$3($1),projectScope:$3($1)});$4({general:$3(#4)});$4({dependencies:$3(#1),enablement:$3($1),error:$3(#2),labels:$3(#3),lifecycle:$3($1),parameters:$3(#5),scope:$3($1),serviceId:$3($1),state:$3($1)})`,[b,u,h,i,m,o,t]]}export{C as BadRequest,w as Forbidden,T as NotFound,E as disableServiceRegional,D as enableServiceRegional,O as getServiceStatusRegional,k as listServiceStatusRegional};
|
|
157
2
|
//# sourceMappingURL=service_enablement.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service_enablement.js","
|
|
1
|
+
{"version":3,"file":"service_enablement.js","names":["API.newError","__L.at","C.withBadRequestError","S.Number","S.String","S.TaggedError","T.applyErrorMatchers","C.withAuthError","API.D","T.Http","T.Label","S.Struct","S.suspend","Retry.Retry","API.call","T.Query","S.optional","S.Array","S.Record","newError","Record","withAuthError","TaggedError","optional","UnknownStackitError","suspend","error","Number","call","String","D","StackitProtocol","Retry","Struct","Array","Http","Label","Query","applyErrorMatchers","at","op","withBadRequestError","BadRequest","i","Forbidden","NotFound","disableServiceRegional","enableServiceRegional","getServiceStatusRegional","listServiceStatusRegional"],"sources":["../../src/services/service_enablement.ts"],"mappings":"kTAYA,MAAa0C,EAAgC,gBAAU,SAAS,WAAW,EAAa,CACtF,OAAO1C,EAAa2C,EAAG,WAAY,CAAC,sEA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