@distilled.cloud/stackit 1.0.0-rc.15 → 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/scf.js
CHANGED
|
@@ -1,670 +1,109 @@
|
|
|
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";
|
|
5
|
-
import * as
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
6
|
import { UnknownStackitError } from "../errors.js";
|
|
7
7
|
import { StackitProtocol } from "../protocol.js";
|
|
8
8
|
import * as Retry from "../retry.js";
|
|
9
9
|
import * as T from "../traits.js";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
export const ApplyOrganizationQuotaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
29
|
-
projectId: S.String.pipe(T.Label()),
|
|
30
|
-
region: S.String.pipe(T.Label()),
|
|
31
|
-
organizationId: S.String.pipe(T.Label()),
|
|
32
|
-
quotaId: S.String,
|
|
33
|
-
}).pipe(T.Http({
|
|
34
|
-
method: "POST",
|
|
35
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/quota",
|
|
36
|
-
code: 200,
|
|
37
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
38
|
-
}))).annotate({
|
|
39
|
-
identifier: "ApplyOrganizationQuotaRequest",
|
|
40
|
-
});
|
|
41
|
-
export const OrganizationQuota = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
42
|
-
orgId: S.String,
|
|
43
|
-
platformId: S.String,
|
|
44
|
-
projectId: S.String,
|
|
45
|
-
quotaId: S.String,
|
|
46
|
-
region: S.String,
|
|
47
|
-
})).annotate({ identifier: "OrganizationQuota" });
|
|
48
|
-
export const CreateOrganizationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
49
|
-
projectId: S.String.pipe(T.Label()),
|
|
50
|
-
region: S.String.pipe(T.Label()),
|
|
51
|
-
name: S.String,
|
|
52
|
-
platformId: S.optional(S.String),
|
|
53
|
-
}).pipe(T.Http({
|
|
54
|
-
method: "POST",
|
|
55
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations",
|
|
56
|
-
code: 200,
|
|
57
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
58
|
-
}))).annotate({
|
|
59
|
-
identifier: "CreateOrganizationRequest",
|
|
60
|
-
});
|
|
61
|
-
export const OrganizationCreateResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
62
|
-
guid: S.String,
|
|
63
|
-
platformId: S.String,
|
|
64
|
-
projectId: S.String,
|
|
65
|
-
region: S.String,
|
|
66
|
-
})).annotate({
|
|
67
|
-
identifier: "OrganizationCreateResponse",
|
|
68
|
-
});
|
|
69
|
-
export const CreateOrgManagerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
70
|
-
projectId: S.String.pipe(T.Label()),
|
|
71
|
-
region: S.String.pipe(T.Label()),
|
|
72
|
-
organizationId: S.String.pipe(T.Label()),
|
|
73
|
-
}).pipe(T.Http({
|
|
74
|
-
method: "POST",
|
|
75
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/organization_manager",
|
|
76
|
-
code: 200,
|
|
77
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
78
|
-
}))).annotate({ identifier: "CreateOrgManagerRequest" });
|
|
79
|
-
export const OrgManagerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
80
|
-
createdAt: S.String,
|
|
81
|
-
guid: S.String,
|
|
82
|
-
orgId: S.String,
|
|
83
|
-
password: S.String.pipe(T.SensitiveValue({})),
|
|
84
|
-
platformId: S.String,
|
|
85
|
-
projectId: S.String,
|
|
86
|
-
region: S.String,
|
|
87
|
-
updatedAt: S.String,
|
|
88
|
-
username: S.String,
|
|
89
|
-
})).annotate({ identifier: "OrgManagerResponse" });
|
|
90
|
-
export const OrgRoleType = S.String;
|
|
91
|
-
export const CreateOrgRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
92
|
-
projectId: S.String.pipe(T.Label()),
|
|
93
|
-
region: S.String.pipe(T.Label()),
|
|
94
|
-
organizationId: S.String.pipe(T.Label()),
|
|
95
|
-
type: OrgRoleType,
|
|
96
|
-
userGuid: S.optional(S.String),
|
|
97
|
-
userName: S.optional(S.String),
|
|
98
|
-
}).pipe(T.Http({
|
|
99
|
-
method: "POST",
|
|
100
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/roles",
|
|
101
|
-
code: 200,
|
|
102
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
103
|
-
}))).annotate({ identifier: "CreateOrgRoleRequest" });
|
|
104
|
-
export const OrgRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
105
|
-
guid: S.String,
|
|
106
|
-
orgId: S.String,
|
|
107
|
-
platformId: S.String,
|
|
108
|
-
projectId: S.String,
|
|
109
|
-
region: S.String,
|
|
110
|
-
type: OrgRoleType,
|
|
111
|
-
})).annotate({ identifier: "OrgRoleResponse" });
|
|
112
|
-
export const CreateSpaceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
113
|
-
projectId: S.String.pipe(T.Label()),
|
|
114
|
-
region: S.String.pipe(T.Label()),
|
|
115
|
-
organizationId: S.String.pipe(T.Label()),
|
|
116
|
-
name: S.String,
|
|
117
|
-
}).pipe(T.Http({
|
|
118
|
-
method: "POST",
|
|
119
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces",
|
|
120
|
-
code: 200,
|
|
121
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
122
|
-
}))).annotate({ identifier: "CreateSpaceRequest" });
|
|
123
|
-
export const Space = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
124
|
-
createdAt: S.String,
|
|
125
|
-
guid: S.String,
|
|
126
|
-
name: S.String,
|
|
127
|
-
orgId: S.String,
|
|
128
|
-
platformId: S.String,
|
|
129
|
-
projectId: S.String,
|
|
130
|
-
region: S.String,
|
|
131
|
-
updatedAt: S.String,
|
|
132
|
-
})).annotate({ identifier: "Space" });
|
|
133
|
-
export const SpaceRoleType = S.String;
|
|
134
|
-
export const CreateSpaceRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
135
|
-
projectId: S.String.pipe(T.Label()),
|
|
136
|
-
region: S.String.pipe(T.Label()),
|
|
137
|
-
organizationId: S.String.pipe(T.Label()),
|
|
138
|
-
spaceId: S.String.pipe(T.Label()),
|
|
139
|
-
type: SpaceRoleType,
|
|
140
|
-
userGuid: S.optional(S.String),
|
|
141
|
-
userName: S.optional(S.String),
|
|
142
|
-
}).pipe(T.Http({
|
|
143
|
-
method: "POST",
|
|
144
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces/{spaceId}/roles",
|
|
145
|
-
code: 200,
|
|
146
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
147
|
-
}))).annotate({ identifier: "CreateSpaceRoleRequest" });
|
|
148
|
-
export const SpaceRoleCreateResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
149
|
-
guid: S.String,
|
|
150
|
-
orgId: S.String,
|
|
151
|
-
platformId: S.String,
|
|
152
|
-
projectId: S.String,
|
|
153
|
-
region: S.String,
|
|
154
|
-
spaceId: S.String,
|
|
155
|
-
type: SpaceRoleType,
|
|
156
|
-
})).annotate({ identifier: "SpaceRoleCreateResponse" });
|
|
157
|
-
export const DeleteOrganizationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
158
|
-
projectId: S.String.pipe(T.Label()),
|
|
159
|
-
region: S.String.pipe(T.Label()),
|
|
160
|
-
organizationId: S.String.pipe(T.Label()),
|
|
161
|
-
}).pipe(T.Http({
|
|
162
|
-
method: "DELETE",
|
|
163
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}",
|
|
164
|
-
code: 200,
|
|
165
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
166
|
-
}))).annotate({
|
|
167
|
-
identifier: "DeleteOrganizationRequest",
|
|
168
|
-
});
|
|
169
|
-
export const OrganizationDeleteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
170
|
-
guid: S.String,
|
|
171
|
-
platformId: S.String,
|
|
172
|
-
projectId: S.String,
|
|
173
|
-
region: S.String,
|
|
174
|
-
})).annotate({
|
|
175
|
-
identifier: "OrganizationDeleteResponse",
|
|
176
|
-
});
|
|
177
|
-
export const DeleteOrgManagerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
178
|
-
projectId: S.String.pipe(T.Label()),
|
|
179
|
-
region: S.String.pipe(T.Label()),
|
|
180
|
-
organizationId: S.String.pipe(T.Label()),
|
|
181
|
-
}).pipe(T.Http({
|
|
182
|
-
method: "DELETE",
|
|
183
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/organization_manager",
|
|
184
|
-
code: 200,
|
|
185
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
186
|
-
}))).annotate({ identifier: "DeleteOrgManagerRequest" });
|
|
187
|
-
export const OrgManagerDeleteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
188
|
-
message: S.String,
|
|
189
|
-
})).annotate({ identifier: "OrgManagerDeleteResponse" });
|
|
190
|
-
export const DeleteSpaceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
191
|
-
projectId: S.String.pipe(T.Label()),
|
|
192
|
-
region: S.String.pipe(T.Label()),
|
|
193
|
-
organizationId: S.String.pipe(T.Label()),
|
|
194
|
-
spaceId: S.String.pipe(T.Label()),
|
|
195
|
-
}).pipe(T.Http({
|
|
196
|
-
method: "DELETE",
|
|
197
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces/{spaceId}",
|
|
198
|
-
code: 200,
|
|
199
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
200
|
-
}))).annotate({ identifier: "DeleteSpaceRequest" });
|
|
201
|
-
export const SpaceDeleteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
202
|
-
message: S.String,
|
|
203
|
-
})).annotate({ identifier: "SpaceDeleteResponse" });
|
|
204
|
-
export const GetOrganizationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
205
|
-
projectId: S.String.pipe(T.Label()),
|
|
206
|
-
region: S.String.pipe(T.Label()),
|
|
207
|
-
organizationId: S.String.pipe(T.Label()),
|
|
208
|
-
}).pipe(T.Http({
|
|
209
|
-
method: "GET",
|
|
210
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}",
|
|
211
|
-
code: 200,
|
|
212
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
213
|
-
}))).annotate({ identifier: "GetOrganizationRequest" });
|
|
214
|
-
export const Organization = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
215
|
-
createdAt: S.String,
|
|
216
|
-
guid: S.String,
|
|
217
|
-
name: S.String,
|
|
218
|
-
platformId: S.String,
|
|
219
|
-
projectId: S.String,
|
|
220
|
-
quotaId: S.String,
|
|
221
|
-
region: S.String,
|
|
222
|
-
status: S.String,
|
|
223
|
-
suspended: S.Boolean,
|
|
224
|
-
updatedAt: S.String,
|
|
225
|
-
})).annotate({ identifier: "Organization" });
|
|
226
|
-
export const GetOrganizationQuotaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
227
|
-
projectId: S.String.pipe(T.Label()),
|
|
228
|
-
region: S.String.pipe(T.Label()),
|
|
229
|
-
organizationId: S.String.pipe(T.Label()),
|
|
230
|
-
quotaId: S.String.pipe(T.Label()),
|
|
231
|
-
}).pipe(T.Http({
|
|
232
|
-
method: "GET",
|
|
233
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/quotas/{quotaId}",
|
|
234
|
-
code: 200,
|
|
235
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
236
|
-
}))).annotate({
|
|
237
|
-
identifier: "GetOrganizationQuotaRequest",
|
|
238
|
-
});
|
|
239
|
-
export const QuotaApps = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
240
|
-
logRateLimitInBytesPerSecond: S.NullOr(S.Number),
|
|
241
|
-
perAppTasks: S.NullOr(S.Number),
|
|
242
|
-
perProcessMemoryInMb: S.NullOr(S.Number),
|
|
243
|
-
totalInstances: S.NullOr(S.Number),
|
|
244
|
-
totalMemoryInMb: S.NullOr(S.Number),
|
|
245
|
-
})).annotate({ identifier: "QuotaApps" });
|
|
246
|
-
export const QuotaDomains = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
247
|
-
totalDomains: S.NullOr(S.Number),
|
|
248
|
-
})).annotate({ identifier: "QuotaDomains" });
|
|
249
|
-
export const QuotaRoutes = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
250
|
-
totalReservedPorts: S.NullOr(S.Number),
|
|
251
|
-
totalRoutes: S.NullOr(S.Number),
|
|
252
|
-
})).annotate({ identifier: "QuotaRoutes" });
|
|
253
|
-
export const QuotaServices = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
254
|
-
paidServicesAllowed: S.Boolean,
|
|
255
|
-
totalServiceInstances: S.NullOr(S.Number),
|
|
256
|
-
totalServiceKeys: S.NullOr(S.Number),
|
|
257
|
-
})).annotate({ identifier: "QuotaServices" });
|
|
258
|
-
export const Quota = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
259
|
-
apps: QuotaApps,
|
|
260
|
-
createdAt: S.String,
|
|
261
|
-
domains: QuotaDomains,
|
|
262
|
-
guid: S.String,
|
|
263
|
-
name: S.String,
|
|
264
|
-
orgId: S.optional(S.String),
|
|
265
|
-
platformId: S.String,
|
|
266
|
-
projectId: S.String,
|
|
267
|
-
region: S.String,
|
|
268
|
-
routes: QuotaRoutes,
|
|
269
|
-
services: QuotaServices,
|
|
270
|
-
updatedAt: S.String,
|
|
271
|
-
})).annotate({ identifier: "Quota" });
|
|
272
|
-
export const GetOrganizationUsageSummaryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
273
|
-
projectId: S.String.pipe(T.Label()),
|
|
274
|
-
region: S.String.pipe(T.Label()),
|
|
275
|
-
organizationId: S.String.pipe(T.Label()),
|
|
276
|
-
}).pipe(T.Http({
|
|
277
|
-
method: "GET",
|
|
278
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/usage_summary",
|
|
279
|
-
code: 200,
|
|
280
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
281
|
-
}))).annotate({
|
|
282
|
-
identifier: "GetOrganizationUsageSummaryRequest",
|
|
283
|
-
});
|
|
284
|
-
export const UsageSummary = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
285
|
-
domains: S.Number,
|
|
286
|
-
memoryInMb: S.Number,
|
|
287
|
-
perAppTasks: S.Number,
|
|
288
|
-
reservedPorts: S.Number,
|
|
289
|
-
routes: S.Number,
|
|
290
|
-
serviceInstances: S.Number,
|
|
291
|
-
serviceKeys: S.Number,
|
|
292
|
-
startedInstances: S.Number,
|
|
293
|
-
})).annotate({ identifier: "UsageSummary" });
|
|
294
|
-
export const OrganizationUsageSummary = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
295
|
-
orgId: S.String,
|
|
296
|
-
platformId: S.String,
|
|
297
|
-
projectId: S.String,
|
|
298
|
-
region: S.String,
|
|
299
|
-
usageSummary: UsageSummary,
|
|
300
|
-
})).annotate({ identifier: "OrganizationUsageSummary" });
|
|
301
|
-
export const GetOrgManagerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
302
|
-
projectId: S.String.pipe(T.Label()),
|
|
303
|
-
region: S.String.pipe(T.Label()),
|
|
304
|
-
organizationId: S.String.pipe(T.Label()),
|
|
305
|
-
}).pipe(T.Http({
|
|
306
|
-
method: "GET",
|
|
307
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/organization_manager",
|
|
308
|
-
code: 200,
|
|
309
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
310
|
-
}))).annotate({ identifier: "GetOrgManagerRequest" });
|
|
311
|
-
export const OrgManager = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
312
|
-
createdAt: S.String,
|
|
313
|
-
guid: S.String,
|
|
314
|
-
orgId: S.String,
|
|
315
|
-
platformId: S.String,
|
|
316
|
-
projectId: S.String,
|
|
317
|
-
region: S.String,
|
|
318
|
-
updatedAt: S.String,
|
|
319
|
-
username: S.String,
|
|
320
|
-
})).annotate({ identifier: "OrgManager" });
|
|
321
|
-
export const GetPlatformRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
322
|
-
projectId: S.String.pipe(T.Label()),
|
|
323
|
-
region: S.String.pipe(T.Label()),
|
|
324
|
-
platformId: S.String.pipe(T.Label()),
|
|
325
|
-
}).pipe(T.Http({
|
|
326
|
-
method: "GET",
|
|
327
|
-
uri: "/v1/projects/{projectId}/regions/{region}/platforms/{platformId}",
|
|
328
|
-
code: 200,
|
|
329
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
330
|
-
}))).annotate({ identifier: "GetPlatformRequest" });
|
|
331
|
-
export const Platforms = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
332
|
-
apiUrl: S.String,
|
|
333
|
-
consoleUrl: S.optional(S.String),
|
|
334
|
-
displayName: S.String,
|
|
335
|
-
guid: S.String,
|
|
336
|
-
region: S.String,
|
|
337
|
-
systemId: S.String,
|
|
338
|
-
})).annotate({ identifier: "Platforms" });
|
|
339
|
-
export const GetPlatformQuotaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
340
|
-
projectId: S.String.pipe(T.Label()),
|
|
341
|
-
region: S.String.pipe(T.Label()),
|
|
342
|
-
platformId: S.String.pipe(T.Label()),
|
|
343
|
-
quotaId: S.String.pipe(T.Label()),
|
|
344
|
-
}).pipe(T.Http({
|
|
345
|
-
method: "GET",
|
|
346
|
-
uri: "/v1/projects/{projectId}/regions/{region}/platforms/{platformId}/quotas/{quotaId}",
|
|
347
|
-
code: 200,
|
|
348
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
349
|
-
}))).annotate({ identifier: "GetPlatformQuotaRequest" });
|
|
350
|
-
export const GetSpaceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
351
|
-
projectId: S.String.pipe(T.Label()),
|
|
352
|
-
region: S.String.pipe(T.Label()),
|
|
353
|
-
organizationId: S.String.pipe(T.Label()),
|
|
354
|
-
spaceId: S.String.pipe(T.Label()),
|
|
355
|
-
}).pipe(T.Http({
|
|
356
|
-
method: "GET",
|
|
357
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces/{spaceId}",
|
|
358
|
-
code: 200,
|
|
359
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
360
|
-
}))).annotate({ identifier: "GetSpaceRequest" });
|
|
361
|
-
export const ListOrganizationQuotasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
362
|
-
projectId: S.String.pipe(T.Label()),
|
|
363
|
-
region: S.String.pipe(T.Label()),
|
|
364
|
-
organizationId: S.String.pipe(T.Label()),
|
|
365
|
-
}).pipe(T.Http({
|
|
366
|
-
method: "GET",
|
|
367
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/quotas",
|
|
368
|
-
code: 200,
|
|
369
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
370
|
-
}))).annotate({
|
|
371
|
-
identifier: "ListOrganizationQuotasRequest",
|
|
10
|
+
const __0 = __L.at;
|
|
11
|
+
const __1 = T.Http;
|
|
12
|
+
const __2 = T.Label;
|
|
13
|
+
const __3 = S.String;
|
|
14
|
+
const __4 = S.Struct;
|
|
15
|
+
const __5 = S.suspend;
|
|
16
|
+
const __6 = S.Boolean;
|
|
17
|
+
const __7 = S.Number;
|
|
18
|
+
const __8 = S.NullOr;
|
|
19
|
+
const __9 = S.optional;
|
|
20
|
+
const __10 = S.Array;
|
|
21
|
+
const __11 = T.RawResponseRoot;
|
|
22
|
+
const __12 = T.Query;
|
|
23
|
+
const __13 = T.SensitiveValue;
|
|
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, __7, __3, __14, __15]]);
|
|
372
28
|
});
|
|
373
|
-
export const
|
|
374
|
-
|
|
375
|
-
identifier: "ListOrganizationQuotasResponse",
|
|
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, __7, __3, __14, __15]]);
|
|
376
31
|
});
|
|
377
|
-
export const
|
|
378
|
-
|
|
379
|
-
region: S.String.pipe(T.Label()),
|
|
380
|
-
withDetails: S.optional(S.Boolean.pipe(T.Query())),
|
|
381
|
-
orderBy: S.optional(S.String.pipe(T.Query())),
|
|
382
|
-
page: S.optional(S.Number.pipe(T.Query())),
|
|
383
|
-
perPage: S.optional(S.Number.pipe(T.Query())),
|
|
384
|
-
}).pipe(T.Http({
|
|
385
|
-
method: "GET",
|
|
386
|
-
uri: "/v1/projects/{projectId}/regions/{region}/organizations",
|
|
387
|
-
code: 200,
|
|
388
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
389
|
-
}))).annotate({ identifier: "ListOrganizationsRequest" });
|
|
390
|
-
export const Pagination = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
391
|
-
totalPages: S.optional(S.Number),
|
|
392
|
-
totalResults: S.optional(S.Number),
|
|
393
|
-
})).annotate({ identifier: "Pagination" });
|
|
394
|
-
export const OrganizationsListItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
395
|
-
createdAt: S.optional(S.String),
|
|
396
|
-
guid: S.String,
|
|
397
|
-
name: S.optional(S.String),
|
|
398
|
-
platformId: S.String,
|
|
399
|
-
projectId: S.String,
|
|
400
|
-
quotaId: S.optional(S.String),
|
|
401
|
-
region: S.String,
|
|
402
|
-
status: S.String,
|
|
403
|
-
suspended: S.optional(S.Boolean),
|
|
404
|
-
updatedAt: S.optional(S.String),
|
|
405
|
-
})).annotate({ identifier: "OrganizationsListItem" });
|
|
406
|
-
export const OrganizationsListResourcesList = /*@__PURE__*/ S.Array(OrganizationsListItem);
|
|
407
|
-
export const OrganizationsList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
408
|
-
pagination: Pagination,
|
|
409
|
-
resources: OrganizationsListResourcesList,
|
|
410
|
-
})).annotate({ identifier: "OrganizationsList" });
|
|
411
|
-
export const ListPlatformQuotasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
412
|
-
projectId: S.String.pipe(T.Label()),
|
|
413
|
-
region: S.String.pipe(T.Label()),
|
|
414
|
-
platformId: S.String.pipe(T.Label()),
|
|
415
|
-
}).pipe(T.Http({
|
|
416
|
-
method: "GET",
|
|
417
|
-
uri: "/v1/projects/{projectId}/regions/{region}/platforms/{platformId}/quotas",
|
|
418
|
-
code: 200,
|
|
419
|
-
baseUrl: "https://scf.api.stackit.cloud",
|
|
420
|
-
}))).annotate({
|
|
421
|
-
identifier: "ListPlatformQuotasRequest",
|
|
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, __7, __3, __14, __15]]);
|
|
422
34
|
});
|
|
423
|
-
|
|
424
|
-
export const
|
|
425
|
-
|
|
426
|
-
});
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
}).pipe(
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
export const
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
})).
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
}))).
|
|
455
|
-
|
|
456
|
-
export const
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
export const
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
}).pipe(
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
})
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
499
|
-
protocol: StackitProtocol,
|
|
500
|
-
retry: Retry.Retry,
|
|
501
|
-
}));
|
|
502
|
-
/** Create organization manager Creates organization manager within an organization. The organization manager will be backed by a CF user. There is only one organization manager per organization. The organization manager gets assigned the CF role Org Manager. This endpoint does synchronously several non-atomic steps behind the scenes. If any of those steps fail, the 'Delete Organization Manager' needs to be called first to clean up the failed creation attempt and afterwards the creation can be retried. The password needs to be stored by the API callee since it cannot be retrieved after creation. */
|
|
503
|
-
export const createOrgManager = /*@__PURE__*/ API.make(() => ({
|
|
504
|
-
input: CreateOrgManagerRequest,
|
|
505
|
-
output: OrgManagerResponse,
|
|
506
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
507
|
-
protocol: StackitProtocol,
|
|
508
|
-
retry: Retry.Retry,
|
|
509
|
-
}));
|
|
510
|
-
/** Assign organization role Assign organization role within an organization. If the role is already assigned, the existing role GUID gets returned. */
|
|
511
|
-
export const createOrgRole = /*@__PURE__*/ API.make(() => ({
|
|
512
|
-
input: CreateOrgRoleRequest,
|
|
513
|
-
output: OrgRoleResponse,
|
|
514
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
515
|
-
protocol: StackitProtocol,
|
|
516
|
-
retry: Retry.Retry,
|
|
517
|
-
}));
|
|
518
|
-
/** Create space Create space. */
|
|
519
|
-
export const createSpace = /*@__PURE__*/ API.make(() => ({
|
|
520
|
-
input: CreateSpaceRequest,
|
|
521
|
-
output: Space,
|
|
522
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
523
|
-
protocol: StackitProtocol,
|
|
524
|
-
retry: Retry.Retry,
|
|
525
|
-
}));
|
|
526
|
-
/** Assign space role Assign space role within an space. If the role is already assigned, the existing role GUID gets returned. */
|
|
527
|
-
export const createSpaceRole = /*@__PURE__*/ API.make(() => ({
|
|
528
|
-
input: CreateSpaceRoleRequest,
|
|
529
|
-
output: SpaceRoleCreateResponse,
|
|
530
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
531
|
-
protocol: StackitProtocol,
|
|
532
|
-
retry: Retry.Retry,
|
|
533
|
-
}));
|
|
534
|
-
/** Delete organization Delete an organization. */
|
|
535
|
-
export const deleteOrganization = /*@__PURE__*/ API.make(() => ({
|
|
536
|
-
input: DeleteOrganizationRequest,
|
|
537
|
-
output: OrganizationDeleteResponse,
|
|
538
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
539
|
-
protocol: StackitProtocol,
|
|
540
|
-
retry: Retry.Retry,
|
|
541
|
-
}));
|
|
542
|
-
/** Delete organization manager Delete the organization manager. */
|
|
543
|
-
export const deleteOrgManager = /*@__PURE__*/ API.make(() => ({
|
|
544
|
-
input: DeleteOrgManagerRequest,
|
|
545
|
-
output: OrgManagerDeleteResponse,
|
|
546
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
547
|
-
protocol: StackitProtocol,
|
|
548
|
-
retry: Retry.Retry,
|
|
549
|
-
}));
|
|
550
|
-
/** Delete space Delete space. */
|
|
551
|
-
export const deleteSpace = /*@__PURE__*/ API.make(() => ({
|
|
552
|
-
input: DeleteSpaceRequest,
|
|
553
|
-
output: SpaceDeleteResponse,
|
|
554
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
555
|
-
protocol: StackitProtocol,
|
|
556
|
-
retry: Retry.Retry,
|
|
557
|
-
}));
|
|
558
|
-
/** Get an organization Returns an organization. */
|
|
559
|
-
export const getOrganization = /*@__PURE__*/ API.make(() => ({
|
|
560
|
-
input: GetOrganizationRequest,
|
|
561
|
-
output: Organization,
|
|
562
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
563
|
-
protocol: StackitProtocol,
|
|
564
|
-
retry: Retry.Retry,
|
|
565
|
-
}));
|
|
566
|
-
/** Get an organization quota Returns an organization quota. */
|
|
567
|
-
export const getOrganizationQuota = /*@__PURE__*/ API.make(() => ({
|
|
568
|
-
input: GetOrganizationQuotaRequest,
|
|
569
|
-
output: Quota,
|
|
570
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
571
|
-
protocol: StackitProtocol,
|
|
572
|
-
retry: Retry.Retry,
|
|
573
|
-
}));
|
|
574
|
-
/** Get an organization usage summary Returns an organization usage summary. */
|
|
575
|
-
export const getOrganizationUsageSummary = /*@__PURE__*/ API.make(() => ({
|
|
576
|
-
input: GetOrganizationUsageSummaryRequest,
|
|
577
|
-
output: OrganizationUsageSummary,
|
|
578
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
579
|
-
protocol: StackitProtocol,
|
|
580
|
-
retry: Retry.Retry,
|
|
581
|
-
}));
|
|
582
|
-
/** Get organization manager Returns the organization manager within an organization. */
|
|
583
|
-
export const getOrgManager = /*@__PURE__*/ API.make(() => ({
|
|
584
|
-
input: GetOrgManagerRequest,
|
|
585
|
-
output: OrgManager,
|
|
586
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
587
|
-
protocol: StackitProtocol,
|
|
588
|
-
retry: Retry.Retry,
|
|
589
|
-
}));
|
|
590
|
-
/** Get platform Fetch a single platform */
|
|
591
|
-
export const getPlatform = /*@__PURE__*/ API.make(() => ({
|
|
592
|
-
input: GetPlatformRequest,
|
|
593
|
-
output: Platforms,
|
|
594
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
595
|
-
protocol: StackitProtocol,
|
|
596
|
-
retry: Retry.Retry,
|
|
597
|
-
}));
|
|
598
|
-
/** Get organization quota on a platform Returns an organization quota on a platform. */
|
|
599
|
-
export const getPlatformQuota = /*@__PURE__*/ API.make(() => ({
|
|
600
|
-
input: GetPlatformQuotaRequest,
|
|
601
|
-
output: Quota,
|
|
602
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
603
|
-
protocol: StackitProtocol,
|
|
604
|
-
retry: Retry.Retry,
|
|
605
|
-
}));
|
|
606
|
-
/** Get a space Returns a space. */
|
|
607
|
-
export const getSpace = /*@__PURE__*/ API.make(() => ({
|
|
608
|
-
input: GetSpaceRequest,
|
|
609
|
-
output: Space,
|
|
610
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
611
|
-
protocol: StackitProtocol,
|
|
612
|
-
retry: Retry.Retry,
|
|
613
|
-
}));
|
|
614
|
-
/** List organization quotas Returns a list of organization quotas. */
|
|
615
|
-
export const listOrganizationQuotas = /*@__PURE__*/ API.make(() => ({
|
|
616
|
-
input: ListOrganizationQuotasRequest,
|
|
617
|
-
output: ListOrganizationQuotasResponse,
|
|
618
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
619
|
-
protocol: StackitProtocol,
|
|
620
|
-
retry: Retry.Retry,
|
|
621
|
-
}));
|
|
622
|
-
/** List organizations Returns a list of organizations for a specific STACKIT project. */
|
|
623
|
-
export const listOrganizations = /*@__PURE__*/ API.make(() => ({
|
|
624
|
-
input: ListOrganizationsRequest,
|
|
625
|
-
output: OrganizationsList,
|
|
626
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
627
|
-
protocol: StackitProtocol,
|
|
628
|
-
retry: Retry.Retry,
|
|
629
|
-
}));
|
|
630
|
-
/** List organization quotas on a platform Returns a list of organization quotas on a platform. */
|
|
631
|
-
export const listPlatformQuotas = /*@__PURE__*/ API.make(() => ({
|
|
632
|
-
input: ListPlatformQuotasRequest,
|
|
633
|
-
output: ListPlatformQuotasResponse,
|
|
634
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
635
|
-
protocol: StackitProtocol,
|
|
636
|
-
retry: Retry.Retry,
|
|
637
|
-
}));
|
|
638
|
-
/** List all platforms List all platforms available for a STACKIT project */
|
|
639
|
-
export const listPlatforms = /*@__PURE__*/ API.make(() => ({
|
|
640
|
-
input: ListPlatformsRequest,
|
|
641
|
-
output: PlatformList,
|
|
642
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
643
|
-
protocol: StackitProtocol,
|
|
644
|
-
retry: Retry.Retry,
|
|
645
|
-
}));
|
|
646
|
-
/** List spaces Returns a list of spaces for a specific organization. */
|
|
647
|
-
export const listSpaces = /*@__PURE__*/ API.make(() => ({
|
|
648
|
-
input: ListSpacesRequest,
|
|
649
|
-
output: SpacesList,
|
|
650
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
651
|
-
protocol: StackitProtocol,
|
|
652
|
-
retry: Retry.Retry,
|
|
653
|
-
}));
|
|
654
|
-
/** Update organization Update organization. */
|
|
655
|
-
export const updateOrganization = /*@__PURE__*/ API.make(() => ({
|
|
656
|
-
input: UpdateOrganizationRequest,
|
|
657
|
-
output: Organization,
|
|
658
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
659
|
-
protocol: StackitProtocol,
|
|
660
|
-
retry: Retry.Retry,
|
|
661
|
-
}));
|
|
662
|
-
/** Update space Update space. */
|
|
663
|
-
export const updateSpace = /*@__PURE__*/ API.make(() => ({
|
|
664
|
-
input: UpdateSpaceRequest,
|
|
665
|
-
output: Space,
|
|
666
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
667
|
-
protocol: StackitProtocol,
|
|
668
|
-
retry: Retry.Retry,
|
|
669
|
-
}));
|
|
670
|
-
//# sourceMappingURL=scf.js.map
|
|
35
|
+
|
|
36
|
+
export const applyOrganizationQuota = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("OrganizationQuota", '{input:#1,output:#2,errors:[$6,$7,$8,$9],protocol:$10,retry:$11};$5(>3)@"Apply%Request";$5(>4)@"%";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2()),quotaId:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/quota",code:200,baseUrl:"https://scf.api.stackit.cloud"}));$4({orgId:$3,platformId:$3,projectId:$3,quotaId:$3,region:$3})', [__0, __1, __2, __3, __4, __5, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(applyOrganizationQuota, i));
|
|
37
|
+
|
|
38
|
+
export const createOrganization = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#7:0,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>2)@"CreateOrganizationRequest";$5({projectId:$3.pipe($2()),region:$3.pipe($2()),name:$3,platformId:$4($3)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{region}/organizations",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __9, __4, __5, __d6, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createOrganization, i));
|
|
39
|
+
|
|
40
|
+
export const createOrgManager = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>3)@"CreateOrgManagerRequest";$5(>4)@"OrgManagerResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/organization_manager",code:200,baseUrl:"https://scf.api.stackit.cloud"}));$4({createdAt:$3,guid:$3,orgId:$3,password:$3.pipe($6({})),platformId:$3,projectId:$3,region:$3,updatedAt:$3,username:$3})', [__0, __1, __2, __3, __4, __5, __13, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createOrgManager, i));
|
|
41
|
+
|
|
42
|
+
export const createOrgRole = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$6(>3)@"CreateOrgRoleRequest";$6(>4)@"OrgRoleResponse";$5({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2()),type:$3,userGuid:$4($3),userName:$4($3)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/roles",code:200,baseUrl:"https://scf.api.stackit.cloud"}));$5({guid:$3,orgId:$3,platformId:$3,projectId:$3,region:$3,type:$3})', [__0, __1, __2, __3, __9, __4, __5, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createOrgRole, i));
|
|
43
|
+
|
|
44
|
+
export const createSpace = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"CreateSpaceRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2()),name:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d7, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createSpace, i));
|
|
45
|
+
|
|
46
|
+
export const createSpaceRole = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$6(>3)@"CreateSpaceRoleRequest";$6(>4)@"SpaceRoleCreateResponse";$5({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2()),spaceId:$3.pipe($2()),type:$3,userGuid:$4($3),userName:$4($3)}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces/{spaceId}/roles",code:200,baseUrl:"https://scf.api.stackit.cloud"}));$5({guid:$3,orgId:$3,platformId:$3,projectId:$3,region:$3,spaceId:$3,type:$3})', [__0, __1, __2, __3, __9, __4, __5, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createSpaceRole, i));
|
|
47
|
+
|
|
48
|
+
export const deleteOrganization = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DeleteOrganizationRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d6, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteOrganization, i));
|
|
49
|
+
|
|
50
|
+
export const deleteOrgManager = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DeleteOrgManagerRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/organization_manager",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d0, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteOrgManager, i));
|
|
51
|
+
|
|
52
|
+
export const deleteSpace = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DeleteSpaceRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2()),spaceId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces/{spaceId}",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d0, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteSpace, i));
|
|
53
|
+
|
|
54
|
+
export const getOrganization = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetOrganizationRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d1, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getOrganization, i));
|
|
55
|
+
|
|
56
|
+
export const getOrganizationQuota = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:4,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetOrganizationQuotaRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2()),quotaId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/quotas/{quotaId}",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d2, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getOrganizationQuota, i));
|
|
57
|
+
|
|
58
|
+
export const getOrganizationUsageSummary = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("OrganizationUsageSummary", '{input:#1,output:#3,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>4)@"Get%Request";$5(>5)@"UsageSummary";$5(>6)@"%";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/usage_summary",code:200,baseUrl:"https://scf.api.stackit.cloud"}));$4({domains:$6,memoryInMb:$6,perAppTasks:$6,reservedPorts:$6,routes:$6,serviceInstances:$6,serviceKeys:$6,startedInstances:$6});$4({orgId:$3,platformId:$3,projectId:$3,region:$3,usageSummary:#2})', [__0, __1, __2, __3, __4, __5, __7, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(getOrganizationUsageSummary, i));
|
|
59
|
+
|
|
60
|
+
export const getOrgManager = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("OrgManager", '{input:#1,output:#2,errors:[$6,$7,$8,$9],protocol:$10,retry:$11};$5(>3)@"Get%Request";$5(>4)@"%";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/organization_manager",code:200,baseUrl:"https://scf.api.stackit.cloud"}));$4({createdAt:$3,guid:$3,orgId:$3,platformId:$3,projectId:$3,region:$3,updatedAt:$3,username:$3})', [__0, __1, __2, __3, __4, __5, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(getOrgManager, i));
|
|
61
|
+
|
|
62
|
+
export const getPlatform = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetPlatformRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),platformId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/platforms/{platformId}",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d3, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getPlatform, i));
|
|
63
|
+
|
|
64
|
+
export const getPlatformQuota = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:4,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetPlatformQuotaRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),platformId:$3.pipe($2()),quotaId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/platforms/{platformId}/quotas/{quotaId}",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d2, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getPlatformQuota, i));
|
|
65
|
+
|
|
66
|
+
export const getSpace = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetSpaceRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2()),spaceId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces/{spaceId}",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d7, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getSpace, i));
|
|
67
|
+
|
|
68
|
+
export const listOrganizationQuotas = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"ListOrganizationQuotasRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/quotas",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d4, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listOrganizationQuotas, i));
|
|
69
|
+
|
|
70
|
+
export const listOrganizations = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("OrganizationsList", '{input:#1,output:#4,errors:[$12,$13,$14,$15],protocol:$16,retry:$17};$9(>5)@"ListOrganizationsRequest";$9(>6)@"%Item";$10(#2);$9(>7)@"%";$8({projectId:$3.pipe($2()),region:$3.pipe($2()),withDetails:$6($5.pipe($4())),orderBy:$6($3.pipe($4())),page:$6($7.pipe($4())),perPage:$6($7.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/organizations",code:200,baseUrl:"https://scf.api.stackit.cloud"}));$8({createdAt:$6($3),guid:$3,name:$6($3),platformId:$3,projectId:$3,quotaId:$6($3),region:$3,status:$3,suspended:$6($5),updatedAt:$6($3)});$8({pagination:#11:0,resources:#3})', [__0, __1, __2, __3, __12, __6, __9, __7, __4, __5, __10, __d5, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(listOrganizations, i));
|
|
71
|
+
|
|
72
|
+
export const listPlatformQuotas = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"ListPlatformQuotasRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),platformId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/platforms/{platformId}/quotas",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d4, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listPlatformQuotas, i));
|
|
73
|
+
|
|
74
|
+
export const listPlatforms = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$12,$13,$14,$15],protocol:$16,retry:$17};$8(>4)@"ListPlatformsRequest";$10(#9:0);$8(>5)@"PlatformList";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),page:$6($5.pipe($4())),perPage:$6($5.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/platforms",code:200,baseUrl:"https://scf.api.stackit.cloud"}));$7({pagination:#11:0,resources:#2})', [__0, __1, __2, __3, __12, __7, __9, __4, __5, __d3, __10, __d5, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listPlatforms, i));
|
|
75
|
+
|
|
76
|
+
export const listSpaces = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$12,$13,$14,$15],protocol:$16,retry:$17};$8(>4)@"ListSpacesRequest";$10(#9:0);$8(>5)@"SpacesList";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2()),page:$6($5.pipe($4())),perPage:$6($5.pipe($4()))}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces",code:200,baseUrl:"https://scf.api.stackit.cloud"}));$7({pagination:#11:0,resources:#2})', [__0, __1, __2, __3, __12, __7, __9, __4, __5, __d7, __10, __d5, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listSpaces, i));
|
|
77
|
+
|
|
78
|
+
export const updateOrganization = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10,$11,$12],protocol:$13,retry:$14};$7(>2)@"UpdateOrganizationRequest";$6({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2()),name:$4($3),suspended:$4($5)}).pipe($1({method:"PATCH",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __9, __6, __4, __5, __d1, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateOrganization, i));
|
|
79
|
+
|
|
80
|
+
export const updateSpace = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"UpdateSpaceRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),organizationId:$3.pipe($2()),spaceId:$3.pipe($2()),name:$3}).pipe($1({method:"PATCH",uri:"/v1/projects/{projectId}/regions/{region}/organizations/{organizationId}/spaces/{spaceId}",code:200,baseUrl:"https://scf.api.stackit.cloud"}))', [__0, __1, __2, __3, __4, __5, __d7, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateSpace, i));
|
|
81
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
82
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
// Shared schema data (see `op` in core/api).
|
|
86
|
+
function __d0() {
|
|
87
|
+
return ['$3(>1)@"OrgManagerDeleteResponse";$2({message:$1})', [__0, __3, __4, __5]];
|
|
88
|
+
}
|
|
89
|
+
function __d1() {
|
|
90
|
+
return ['$4(>1)@"Organization";$3({createdAt:$1,guid:$1,name:$1,platformId:$1,projectId:$1,quotaId:$1,region:$1,status:$1,suspended:$2,updatedAt:$1})', [__0, __3, __6, __4, __5]];
|
|
91
|
+
}
|
|
92
|
+
function __d2() {
|
|
93
|
+
return ['$4(>5)@"QuotaApps";$4(>6)@"QuotaDomains";$4(>7)@"QuotaRoutes";$4(>8)@"QuotaServices";$4(>9)@"Quota";$3({logRateLimitInBytesPerSecond:$2($1),perAppTasks:$2($1),perProcessMemoryInMb:$2($1),totalInstances:$2($1),totalMemoryInMb:$2($1)});$3({totalDomains:$2($1)});$3({totalReservedPorts:$2($1),totalRoutes:$2($1)});$3({paidServicesAllowed:$5,totalServiceInstances:$2($1),totalServiceKeys:$2($1)});$3({apps:#0,createdAt:$6,domains:#1,guid:$6,name:$6,orgId:$7($6),platformId:$6,projectId:$6,region:$6,routes:#2,services:#3,updatedAt:$6})', [__0, __7, __8, __4, __5, __6, __3, __9]];
|
|
94
|
+
}
|
|
95
|
+
function __d3() {
|
|
96
|
+
return ['$4(>1)@"Platforms";$3({apiUrl:$1,consoleUrl:$2($1),displayName:$1,guid:$1,region:$1,systemId:$1})', [__0, __3, __9, __4, __5]];
|
|
97
|
+
}
|
|
98
|
+
function __d4() {
|
|
99
|
+
return ['$2(#1:4);$4(>2)@"ListOrganizationQuotasResponse";#0.pipe($3())', [__0, __d2, __10, __11, __5]];
|
|
100
|
+
}
|
|
101
|
+
function __d5() {
|
|
102
|
+
return ['$4(>1)@"Pagination";$3({totalPages:$2($1),totalResults:$2($1)})', [__0, __7, __9, __4, __5]];
|
|
103
|
+
}
|
|
104
|
+
function __d6() {
|
|
105
|
+
return ['$3(>1)@"OrganizationCreateResponse";$2({guid:$1,platformId:$1,projectId:$1,region:$1})', [__0, __3, __4, __5]];
|
|
106
|
+
}
|
|
107
|
+
function __d7() {
|
|
108
|
+
return ['$3(>1)@"Space";$2({createdAt:$1,guid:$1,name:$1,orgId:$1,platformId:$1,projectId:$1,region:$1,updatedAt:$1})', [__0, __3, __4, __5]];
|
|
109
|
+
}
|