@distilled.cloud/stackit 1.0.0-rc.13 → 1.0.0-rc.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/pagination.d.ts +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +2 -5
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +9 -10
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.d.ts +2 -0
- package/lib/protocol.test.d.ts.map +1 -0
- package/lib/protocol.test.js +181 -0
- package/lib/protocol.test.js.map +1 -0
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/alb.d.ts +1 -1
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +33 -82
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +1 -1
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +23 -47
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +1 -1
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +19 -49
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +21 -58
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +49 -112
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +2 -2
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +91 -177
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +1 -1
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +13 -31
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +1 -1
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +17 -28
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +22 -55
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +72 -200
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +1 -1
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +28 -50
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +1 -1
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +14 -32
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +19 -43
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +1 -1
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +25 -57
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +31 -10
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +151 -376
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/intake.d.ts +1 -1
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +45 -83
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +1 -1
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +63 -103
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +1 -3
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +18 -37
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +1 -1
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +32 -77
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +1 -1
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +39 -101
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +36 -59
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mariadb.d.ts +1 -1
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +37 -97
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +2 -2
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +27 -47
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +2 -2
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +29 -61
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +1 -1
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +76 -162
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +25 -1
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +52 -89
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +5 -5
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +170 -419
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +1 -1
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +40 -100
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +1 -1
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +45 -98
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +2 -2
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +96 -261
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +2 -2
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +53 -148
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +2 -2
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +41 -103
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +1 -1
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +16 -39
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +5 -5
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +23 -53
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +1 -1
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +15 -33
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +18 -6
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +42 -75
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +1 -1
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +30 -78
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +1 -1
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +32 -78
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +1 -1
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +16 -36
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +1 -1
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +10 -22
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +1 -1
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +32 -49
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +1 -1
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +11 -13
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +17 -17
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +34 -89
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +27 -1
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +49 -89
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +2 -2
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +104 -255
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +4 -4
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +17 -31
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +1 -1
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -52
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +1 -1
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +49 -88
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +1 -1
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +25 -47
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +2 -2
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +40 -100
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +1 -1
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +98 -180
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +40 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +10 -16
- package/src/errors.ts +1 -1
- package/src/pagination.ts +6 -22
- package/src/protocol.test.ts +304 -0
- package/src/protocol.ts +29 -47
- package/src/retry.ts +2 -8
- package/src/services/alb.ts +45 -128
- package/src/services/alb_waf.ts +35 -94
- package/src/services/authorization.ts +20 -56
- package/src/services/automation.ts +92 -262
- package/src/services/cdn.ts +191 -351
- package/src/services/certificates.ts +17 -49
- package/src/services/cost.ts +29 -64
- package/src/services/dns.ts +160 -495
- package/src/services/dremio.ts +35 -85
- package/src/services/edge.ts +37 -96
- package/src/services/functions.ts +31 -84
- package/src/services/git.ts +41 -122
- package/src/services/iaas.ts +392 -1184
- package/src/services/intake.ts +57 -124
- package/src/services/kms.ts +91 -192
- package/src/services/lb_ip_lists.ts +21 -56
- package/src/services/load_balancer.ts +43 -119
- package/src/services/logme.ts +55 -150
- package/src/services/logs.ts +57 -158
- package/src/services/mariadb.ts +45 -126
- package/src/services/model_experiments.ts +36 -92
- package/src/services/model_serving.ts +33 -76
- package/src/services/mongodb_flex.ts +113 -259
- package/src/services/object_storage.ts +101 -154
- package/src/services/observability.ts +635 -1127
- package/src/services/opensearch.ts +52 -141
- package/src/services/pim.ts +78 -183
- package/src/services/postgres_flex.ts +120 -366
- package/src/services/pubsub.ts +134 -277
- package/src/services/rabbitmq.ts +53 -145
- package/src/services/registry.ts +24 -72
- package/src/services/resource_manager.ts +46 -129
- package/src/services/run_command.ts +17 -45
- package/src/services/sca.ts +63 -98
- package/src/services/scf.ts +54 -195
- package/src/services/secrets_manager.ts +54 -136
- package/src/services/server_backup.ts +26 -75
- package/src/services/server_update.ts +15 -44
- package/src/services/service_account.ts +185 -272
- package/src/services/service_enablement.ts +18 -47
- package/src/services/sfs.ts +84 -166
- package/src/services/ske.ts +91 -113
- package/src/services/sqlserverflex.ts +147 -383
- package/src/services/stackit_marketplace.ts +184 -250
- package/src/services/telemetry_link.ts +199 -278
- package/src/services/telemetry_router.ts +73 -168
- package/src/services/ufw.ts +32 -82
- package/src/services/valkey.ts +54 -145
- package/src/services/vpn.ts +215 -404
- package/src/services/workflows.ts +57 -169
- package/src/traits.ts +2 -7
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -31
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -45
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
1
|
import * as API from "@distilled.cloud/core/api";
|
|
4
2
|
import * as C from "@distilled.cloud/core/category";
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
StackitProtocol,
|
|
8
|
-
type StackitOpError,
|
|
9
|
-
type StackitOpContext,
|
|
10
|
-
} from "../protocol.ts";
|
|
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";
|
|
11
5
|
import { UnknownStackitError } from "../errors.ts";
|
|
6
|
+
import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
12
7
|
import * as Retry from "../retry.ts";
|
|
8
|
+
import * as T from "../traits.ts";
|
|
13
9
|
|
|
14
10
|
export type { StackitOpError, StackitOpContext };
|
|
15
11
|
|
|
@@ -73,9 +69,7 @@ export const ApproveSubscriptionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
73
69
|
}) as any as S.Schema<ApproveSubscriptionRequest>;
|
|
74
70
|
|
|
75
71
|
export interface ApproveSubscriptionResponse {}
|
|
76
|
-
export const ApproveSubscriptionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
77
|
-
S.Struct({}),
|
|
78
|
-
).annotate({
|
|
72
|
+
export const ApproveSubscriptionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
79
73
|
identifier: "ApproveSubscriptionResponse",
|
|
80
74
|
}) as any as S.Schema<ApproveSubscriptionResponse>;
|
|
81
75
|
|
|
@@ -114,25 +108,24 @@ export interface ConsumersSubscriptionsListByOrganizationRequest {
|
|
|
114
108
|
/** Flag to control if cancelled or rejected subscriptions should be returned. */
|
|
115
109
|
includeExpired?: boolean;
|
|
116
110
|
}
|
|
117
|
-
export const ConsumersSubscriptionsListByOrganizationRequest =
|
|
118
|
-
|
|
119
|
-
S.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}) as any as S.Schema<ConsumersSubscriptionsListByOrganizationRequest>;
|
|
111
|
+
export const ConsumersSubscriptionsListByOrganizationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
112
|
+
S.Struct({
|
|
113
|
+
organizationId: S.String.pipe(T.Label()),
|
|
114
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
115
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
116
|
+
productId: S.optional(S.String.pipe(T.Query())),
|
|
117
|
+
includeExpired: S.optional(S.Boolean.pipe(T.Query())),
|
|
118
|
+
}).pipe(
|
|
119
|
+
T.Http({
|
|
120
|
+
method: "GET",
|
|
121
|
+
uri: "/v1/consumers/organizations/{organizationId}/subscriptions",
|
|
122
|
+
code: 200,
|
|
123
|
+
baseUrl: "https://stackit-marketplace.api.stackit.cloud",
|
|
124
|
+
}),
|
|
125
|
+
),
|
|
126
|
+
).annotate({
|
|
127
|
+
identifier: "ConsumersSubscriptionsListByOrganizationRequest",
|
|
128
|
+
}) as any as S.Schema<ConsumersSubscriptionsListByOrganizationRequest>;
|
|
136
129
|
|
|
137
130
|
export type MarketplaceSubscriptionV1SubscriptionLifecycleState =
|
|
138
131
|
| "STATE_UNSPECIFIED"
|
|
@@ -143,8 +136,7 @@ export type MarketplaceSubscriptionV1SubscriptionLifecycleState =
|
|
|
143
136
|
| "SUBSCRIPTION_CANCELLED"
|
|
144
137
|
| "SUBSCRIPTION_REJECTED"
|
|
145
138
|
| "SUBSCRIPTION_APPROVAL_TIMED_OUT";
|
|
146
|
-
export const MarketplaceSubscriptionV1SubscriptionLifecycleState =
|
|
147
|
-
/*@__PURE__*/ S.String;
|
|
139
|
+
export const MarketplaceSubscriptionV1SubscriptionLifecycleState = S.String;
|
|
148
140
|
|
|
149
141
|
export interface MarketplaceSubscriptionV1FileLocalizedVersion {
|
|
150
142
|
/** The file version matching the file name (localized). */
|
|
@@ -152,15 +144,14 @@ export interface MarketplaceSubscriptionV1FileLocalizedVersion {
|
|
|
152
144
|
/** The file version matching the file name (localized). */
|
|
153
145
|
en?: string;
|
|
154
146
|
}
|
|
155
|
-
export const MarketplaceSubscriptionV1FileLocalizedVersion =
|
|
156
|
-
|
|
157
|
-
S.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}) as any as S.Schema<MarketplaceSubscriptionV1FileLocalizedVersion>;
|
|
147
|
+
export const MarketplaceSubscriptionV1FileLocalizedVersion = /*@__PURE__*/ S.suspend(() =>
|
|
148
|
+
S.Struct({
|
|
149
|
+
de: S.optional(S.String),
|
|
150
|
+
en: S.optional(S.String),
|
|
151
|
+
}),
|
|
152
|
+
).annotate({
|
|
153
|
+
identifier: "MarketplaceSubscriptionV1FileLocalizedVersion",
|
|
154
|
+
}) as any as S.Schema<MarketplaceSubscriptionV1FileLocalizedVersion>;
|
|
164
155
|
|
|
165
156
|
export interface MarketplaceSubscriptionV1File {
|
|
166
157
|
version?: MarketplaceSubscriptionV1FileLocalizedVersion;
|
|
@@ -190,22 +181,20 @@ export const MarketplaceSubscriptionV1Assets = /*@__PURE__*/ S.suspend(() =>
|
|
|
190
181
|
identifier: "MarketplaceSubscriptionV1Assets",
|
|
191
182
|
}) as any as S.Schema<MarketplaceSubscriptionV1Assets>;
|
|
192
183
|
|
|
193
|
-
/** The product delivery method/type. For reference: SAAS - Software as a Service,
|
|
184
|
+
/** The product delivery method/type. For reference: SAAS - Software as a Service, CLOUD_IMAGE - STACKIT Cloud Image */
|
|
194
185
|
export type MarketplaceSubscriptionV1SubscriptionProductDeliveryMethod =
|
|
195
186
|
| "SAAS"
|
|
196
|
-
| "
|
|
197
|
-
| "
|
|
187
|
+
| "CONTAINER_IMAGE"
|
|
188
|
+
| "CLOUD_IMAGE"
|
|
198
189
|
| "PROFESSIONAL_SERVICE";
|
|
199
|
-
export const MarketplaceSubscriptionV1SubscriptionProductDeliveryMethod =
|
|
200
|
-
/*@__PURE__*/ S.String;
|
|
190
|
+
export const MarketplaceSubscriptionV1SubscriptionProductDeliveryMethod = S.String;
|
|
201
191
|
|
|
202
192
|
/** The lifecycle state of the product. */
|
|
203
193
|
export type MarketplaceSubscriptionV1SubscriptionProductLifecycleState =
|
|
204
194
|
| "PRODUCT_LIVE"
|
|
205
195
|
| "PRODUCT_PENDING_APPROVAL"
|
|
206
196
|
| "PRODUCT_PREVIEW";
|
|
207
|
-
export const MarketplaceSubscriptionV1SubscriptionProductLifecycleState =
|
|
208
|
-
/*@__PURE__*/ S.String;
|
|
197
|
+
export const MarketplaceSubscriptionV1SubscriptionProductLifecycleState = S.String;
|
|
209
198
|
|
|
210
199
|
/** The product's price type. */
|
|
211
200
|
export type MarketplaceSubscriptionV1SubscriptionProductPriceType =
|
|
@@ -214,12 +203,11 @@ export type MarketplaceSubscriptionV1SubscriptionProductPriceType =
|
|
|
214
203
|
| "FREE_TRIAL"
|
|
215
204
|
| "BYOL"
|
|
216
205
|
| "PAYG";
|
|
217
|
-
export const MarketplaceSubscriptionV1SubscriptionProductPriceType =
|
|
218
|
-
/*@__PURE__*/ S.String;
|
|
206
|
+
export const MarketplaceSubscriptionV1SubscriptionProductPriceType = S.String;
|
|
219
207
|
|
|
220
208
|
export interface MarketplaceSubscriptionV1SubscriptionProduct {
|
|
221
209
|
assets?: MarketplaceSubscriptionV1Assets;
|
|
222
|
-
/** The product delivery method/type. For reference: SAAS - Software as a Service,
|
|
210
|
+
/** The product delivery method/type. For reference: SAAS - Software as a Service, CLOUD_IMAGE - STACKIT Cloud Image */
|
|
223
211
|
deliveryMethod: MarketplaceSubscriptionV1SubscriptionProductDeliveryMethod;
|
|
224
212
|
/** The lifecycle state of the product. */
|
|
225
213
|
lifecycleState: MarketplaceSubscriptionV1SubscriptionProductLifecycleState;
|
|
@@ -248,30 +236,27 @@ export interface MarketplaceSubscriptionV1SubscriptionProduct {
|
|
|
248
236
|
/** The vendor's website. */
|
|
249
237
|
vendorWebsiteUrl: string;
|
|
250
238
|
}
|
|
251
|
-
export const MarketplaceSubscriptionV1SubscriptionProduct =
|
|
252
|
-
|
|
253
|
-
S.
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
).annotate({
|
|
273
|
-
identifier: "MarketplaceSubscriptionV1SubscriptionProduct",
|
|
274
|
-
}) as any as S.Schema<MarketplaceSubscriptionV1SubscriptionProduct>;
|
|
239
|
+
export const MarketplaceSubscriptionV1SubscriptionProduct = /*@__PURE__*/ S.suspend(() =>
|
|
240
|
+
S.Struct({
|
|
241
|
+
assets: S.optional(MarketplaceSubscriptionV1Assets),
|
|
242
|
+
deliveryMethod: MarketplaceSubscriptionV1SubscriptionProductDeliveryMethod,
|
|
243
|
+
lifecycleState: MarketplaceSubscriptionV1SubscriptionProductLifecycleState,
|
|
244
|
+
noticePeriod: S.String,
|
|
245
|
+
planId: S.String,
|
|
246
|
+
priceType: MarketplaceSubscriptionV1SubscriptionProductPriceType,
|
|
247
|
+
pricingPlan: S.String,
|
|
248
|
+
productId: S.String,
|
|
249
|
+
productName: S.String,
|
|
250
|
+
rate: S.String,
|
|
251
|
+
validityPeriod: S.String,
|
|
252
|
+
vendorName: S.String,
|
|
253
|
+
vendorPlanId: S.optional(S.String),
|
|
254
|
+
vendorProductId: S.optional(S.String),
|
|
255
|
+
vendorWebsiteUrl: S.String,
|
|
256
|
+
}),
|
|
257
|
+
).annotate({
|
|
258
|
+
identifier: "MarketplaceSubscriptionV1SubscriptionProduct",
|
|
259
|
+
}) as any as S.Schema<MarketplaceSubscriptionV1SubscriptionProduct>;
|
|
275
260
|
|
|
276
261
|
export interface MarketplaceSubscriptionV1Subscription {
|
|
277
262
|
/** Period between the subscription was created until the approval needs to happen. */
|
|
@@ -296,49 +281,44 @@ export interface MarketplaceSubscriptionV1Subscription {
|
|
|
296
281
|
/** Timestamp when the current subscription validity will end. May be automatically renewed. */
|
|
297
282
|
validUntil?: string;
|
|
298
283
|
}
|
|
299
|
-
export const MarketplaceSubscriptionV1Subscription = /*@__PURE__*/ S.suspend(
|
|
300
|
-
(
|
|
301
|
-
S.
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
}),
|
|
284
|
+
export const MarketplaceSubscriptionV1Subscription = /*@__PURE__*/ S.suspend(() =>
|
|
285
|
+
S.Struct({
|
|
286
|
+
approvalTimeout: S.optional(S.String),
|
|
287
|
+
autoRenewal: S.optional(S.Boolean),
|
|
288
|
+
lifecycleState: MarketplaceSubscriptionV1SubscriptionLifecycleState,
|
|
289
|
+
orderedAt: S.String,
|
|
290
|
+
organizationId: S.String,
|
|
291
|
+
product: MarketplaceSubscriptionV1SubscriptionProduct,
|
|
292
|
+
projectId: S.String,
|
|
293
|
+
subscriptionId: S.String,
|
|
294
|
+
terminatesAt: S.optional(S.String),
|
|
295
|
+
validFrom: S.optional(S.String),
|
|
296
|
+
validUntil: S.optional(S.String),
|
|
297
|
+
}),
|
|
314
298
|
).annotate({
|
|
315
299
|
identifier: "MarketplaceSubscriptionV1Subscription",
|
|
316
300
|
}) as any as S.Schema<MarketplaceSubscriptionV1Subscription>;
|
|
317
301
|
|
|
318
302
|
export type MarketplaceSubscriptionV1ListSubscriptionsResponseItemsList =
|
|
319
303
|
Array<MarketplaceSubscriptionV1Subscription>;
|
|
320
|
-
export const MarketplaceSubscriptionV1ListSubscriptionsResponseItemsList =
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
) as any as S.Schema<MarketplaceSubscriptionV1ListSubscriptionsResponseItemsList>;
|
|
304
|
+
export const MarketplaceSubscriptionV1ListSubscriptionsResponseItemsList = /*@__PURE__*/ S.Array(
|
|
305
|
+
MarketplaceSubscriptionV1Subscription,
|
|
306
|
+
) as any as S.Schema<MarketplaceSubscriptionV1ListSubscriptionsResponseItemsList>;
|
|
324
307
|
|
|
325
308
|
export interface MarketplaceSubscriptionV1ListSubscriptionsResponse {
|
|
326
309
|
cursor?: string;
|
|
327
310
|
items?: MarketplaceSubscriptionV1ListSubscriptionsResponseItemsList;
|
|
328
311
|
limit?: number;
|
|
329
312
|
}
|
|
330
|
-
export const MarketplaceSubscriptionV1ListSubscriptionsResponse =
|
|
331
|
-
|
|
332
|
-
S.
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
).annotate({
|
|
340
|
-
identifier: "MarketplaceSubscriptionV1ListSubscriptionsResponse",
|
|
341
|
-
}) as any as S.Schema<MarketplaceSubscriptionV1ListSubscriptionsResponse>;
|
|
313
|
+
export const MarketplaceSubscriptionV1ListSubscriptionsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
314
|
+
S.Struct({
|
|
315
|
+
cursor: S.optional(S.String),
|
|
316
|
+
items: S.optional(MarketplaceSubscriptionV1ListSubscriptionsResponseItemsList),
|
|
317
|
+
limit: S.optional(S.Number),
|
|
318
|
+
}),
|
|
319
|
+
).annotate({
|
|
320
|
+
identifier: "MarketplaceSubscriptionV1ListSubscriptionsResponse",
|
|
321
|
+
}) as any as S.Schema<MarketplaceSubscriptionV1ListSubscriptionsResponse>;
|
|
342
322
|
|
|
343
323
|
export interface ConsumersSubscriptionsListByProjectRequest {
|
|
344
324
|
projectId: string;
|
|
@@ -348,25 +328,24 @@ export interface ConsumersSubscriptionsListByProjectRequest {
|
|
|
348
328
|
/** Flag to control if cancelled or rejected subscriptions should be returned. */
|
|
349
329
|
includeExpired?: boolean;
|
|
350
330
|
}
|
|
351
|
-
export const ConsumersSubscriptionsListByProjectRequest =
|
|
352
|
-
|
|
353
|
-
S.
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
}) as any as S.Schema<ConsumersSubscriptionsListByProjectRequest>;
|
|
331
|
+
export const ConsumersSubscriptionsListByProjectRequest = /*@__PURE__*/ S.suspend(() =>
|
|
332
|
+
S.Struct({
|
|
333
|
+
projectId: S.String.pipe(T.Label()),
|
|
334
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
335
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
336
|
+
productId: S.optional(S.String.pipe(T.Query())),
|
|
337
|
+
includeExpired: S.optional(S.Boolean.pipe(T.Query())),
|
|
338
|
+
}).pipe(
|
|
339
|
+
T.Http({
|
|
340
|
+
method: "GET",
|
|
341
|
+
uri: "/v1/consumers/projects/{projectId}/subscriptions",
|
|
342
|
+
code: 200,
|
|
343
|
+
baseUrl: "https://stackit-marketplace.api.stackit.cloud",
|
|
344
|
+
}),
|
|
345
|
+
),
|
|
346
|
+
).annotate({
|
|
347
|
+
identifier: "ConsumersSubscriptionsListByProjectRequest",
|
|
348
|
+
}) as any as S.Schema<ConsumersSubscriptionsListByProjectRequest>;
|
|
370
349
|
|
|
371
350
|
export interface CreateConsumersSubscriptionRequest {
|
|
372
351
|
projectId: string;
|
|
@@ -423,20 +402,19 @@ export interface GetConsumersSubscriptionsRedirectRequest {
|
|
|
423
402
|
subscriptionId: string;
|
|
424
403
|
redirectTarget?: string;
|
|
425
404
|
}
|
|
426
|
-
export const GetConsumersSubscriptionsRedirectRequest = /*@__PURE__*/ S.suspend(
|
|
427
|
-
(
|
|
428
|
-
S.
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
),
|
|
405
|
+
export const GetConsumersSubscriptionsRedirectRequest = /*@__PURE__*/ S.suspend(() =>
|
|
406
|
+
S.Struct({
|
|
407
|
+
projectId: S.String.pipe(T.Label()),
|
|
408
|
+
subscriptionId: S.String.pipe(T.Label()),
|
|
409
|
+
redirectTarget: S.optional(S.String.pipe(T.Query())),
|
|
410
|
+
}).pipe(
|
|
411
|
+
T.Http({
|
|
412
|
+
method: "GET",
|
|
413
|
+
uri: "/v1/consumers/projects/{projectId}/subscriptions/{subscriptionId}/redirects",
|
|
414
|
+
code: 200,
|
|
415
|
+
baseUrl: "https://stackit-marketplace.api.stackit.cloud",
|
|
416
|
+
}),
|
|
417
|
+
),
|
|
440
418
|
).annotate({
|
|
441
419
|
identifier: "GetConsumersSubscriptionsRedirectRequest",
|
|
442
420
|
}) as any as S.Schema<GetConsumersSubscriptionsRedirectRequest>;
|
|
@@ -445,15 +423,14 @@ export interface MarketplaceSubscriptionV1SubscriptionRedirect {
|
|
|
445
423
|
redirectTarget: string;
|
|
446
424
|
redirectUrl: string;
|
|
447
425
|
}
|
|
448
|
-
export const MarketplaceSubscriptionV1SubscriptionRedirect =
|
|
449
|
-
|
|
450
|
-
S.
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
}) as any as S.Schema<MarketplaceSubscriptionV1SubscriptionRedirect>;
|
|
426
|
+
export const MarketplaceSubscriptionV1SubscriptionRedirect = /*@__PURE__*/ S.suspend(() =>
|
|
427
|
+
S.Struct({
|
|
428
|
+
redirectTarget: S.String,
|
|
429
|
+
redirectUrl: S.String,
|
|
430
|
+
}),
|
|
431
|
+
).annotate({
|
|
432
|
+
identifier: "MarketplaceSubscriptionV1SubscriptionRedirect",
|
|
433
|
+
}) as any as S.Schema<MarketplaceSubscriptionV1SubscriptionRedirect>;
|
|
457
434
|
|
|
458
435
|
export interface GetVendorsSubscriptionRequest {
|
|
459
436
|
projectId: string;
|
|
@@ -522,34 +499,31 @@ export const ResolveCustomerRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
522
499
|
baseUrl: "https://stackit-marketplace.api.stackit.cloud",
|
|
523
500
|
}),
|
|
524
501
|
),
|
|
525
|
-
).annotate({
|
|
526
|
-
identifier: "ResolveCustomerRequest",
|
|
527
|
-
}) as any as S.Schema<ResolveCustomerRequest>;
|
|
502
|
+
).annotate({ identifier: "ResolveCustomerRequest" }) as any as S.Schema<ResolveCustomerRequest>;
|
|
528
503
|
|
|
529
504
|
export interface TerminateConsumersSubscriptionRequest {
|
|
530
505
|
projectId: string;
|
|
531
506
|
subscriptionId: string;
|
|
532
507
|
}
|
|
533
|
-
export const TerminateConsumersSubscriptionRequest = /*@__PURE__*/ S.suspend(
|
|
534
|
-
(
|
|
535
|
-
S.
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
),
|
|
508
|
+
export const TerminateConsumersSubscriptionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
509
|
+
S.Struct({
|
|
510
|
+
projectId: S.String.pipe(T.Label()),
|
|
511
|
+
subscriptionId: S.String.pipe(T.Label()),
|
|
512
|
+
}).pipe(
|
|
513
|
+
T.Http({
|
|
514
|
+
method: "POST",
|
|
515
|
+
uri: "/v1/consumers/projects/{projectId}/subscriptions/{subscriptionId}/terminate",
|
|
516
|
+
code: 200,
|
|
517
|
+
baseUrl: "https://stackit-marketplace.api.stackit.cloud",
|
|
518
|
+
}),
|
|
519
|
+
),
|
|
546
520
|
).annotate({
|
|
547
521
|
identifier: "TerminateConsumersSubscriptionRequest",
|
|
548
522
|
}) as any as S.Schema<TerminateConsumersSubscriptionRequest>;
|
|
549
523
|
|
|
550
524
|
export interface TerminateConsumersSubscriptionResponse {}
|
|
551
|
-
export const TerminateConsumersSubscriptionResponse = /*@__PURE__*/ S.suspend(
|
|
552
|
-
|
|
525
|
+
export const TerminateConsumersSubscriptionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
526
|
+
S.Struct({}),
|
|
553
527
|
).annotate({
|
|
554
528
|
identifier: "TerminateConsumersSubscriptionResponse",
|
|
555
529
|
}) as any as S.Schema<TerminateConsumersSubscriptionResponse>;
|
|
@@ -562,25 +536,24 @@ export interface VendorsSubscriptionsListByOrganizationRequest {
|
|
|
562
536
|
/** Flag to control if cancelled or rejected subscriptions should be returned. */
|
|
563
537
|
includeExpired?: boolean;
|
|
564
538
|
}
|
|
565
|
-
export const VendorsSubscriptionsListByOrganizationRequest =
|
|
566
|
-
|
|
567
|
-
S.
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
}) as any as S.Schema<VendorsSubscriptionsListByOrganizationRequest>;
|
|
539
|
+
export const VendorsSubscriptionsListByOrganizationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
540
|
+
S.Struct({
|
|
541
|
+
organizationId: S.String.pipe(T.Label()),
|
|
542
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
543
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
544
|
+
productId: S.optional(S.String.pipe(T.Query())),
|
|
545
|
+
includeExpired: S.optional(S.Boolean.pipe(T.Query())),
|
|
546
|
+
}).pipe(
|
|
547
|
+
T.Http({
|
|
548
|
+
method: "GET",
|
|
549
|
+
uri: "/v1/vendors/organizations/{organizationId}/subscriptions",
|
|
550
|
+
code: 200,
|
|
551
|
+
baseUrl: "https://stackit-marketplace.api.stackit.cloud",
|
|
552
|
+
}),
|
|
553
|
+
),
|
|
554
|
+
).annotate({
|
|
555
|
+
identifier: "VendorsSubscriptionsListByOrganizationRequest",
|
|
556
|
+
}) as any as S.Schema<VendorsSubscriptionsListByOrganizationRequest>;
|
|
584
557
|
|
|
585
558
|
export interface VendorsSubscriptionsListByProjectRequest {
|
|
586
559
|
projectId: string;
|
|
@@ -590,31 +563,26 @@ export interface VendorsSubscriptionsListByProjectRequest {
|
|
|
590
563
|
/** Flag to control if cancelled or rejected subscriptions should be returned. */
|
|
591
564
|
includeExpired?: boolean;
|
|
592
565
|
}
|
|
593
|
-
export const VendorsSubscriptionsListByProjectRequest = /*@__PURE__*/ S.suspend(
|
|
594
|
-
(
|
|
595
|
-
S.
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
),
|
|
566
|
+
export const VendorsSubscriptionsListByProjectRequest = /*@__PURE__*/ S.suspend(() =>
|
|
567
|
+
S.Struct({
|
|
568
|
+
projectId: S.String.pipe(T.Label()),
|
|
569
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
570
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
571
|
+
productId: S.optional(S.String.pipe(T.Query())),
|
|
572
|
+
includeExpired: S.optional(S.Boolean.pipe(T.Query())),
|
|
573
|
+
}).pipe(
|
|
574
|
+
T.Http({
|
|
575
|
+
method: "GET",
|
|
576
|
+
uri: "/v1/vendors/projects/{projectId}/subscriptions",
|
|
577
|
+
code: 200,
|
|
578
|
+
baseUrl: "https://stackit-marketplace.api.stackit.cloud",
|
|
579
|
+
}),
|
|
580
|
+
),
|
|
609
581
|
).annotate({
|
|
610
582
|
identifier: "VendorsSubscriptionsListByProjectRequest",
|
|
611
583
|
}) as any as S.Schema<VendorsSubscriptionsListByProjectRequest>;
|
|
612
584
|
|
|
613
|
-
export type ApproveSubscriptionError =
|
|
614
|
-
| BadRequest
|
|
615
|
-
| Forbidden
|
|
616
|
-
| NotFound
|
|
617
|
-
| StackitOpError;
|
|
585
|
+
export type ApproveSubscriptionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
618
586
|
/** Approve a pending subscription. Approve a pending subscription. */
|
|
619
587
|
export const approveSubscription: API.OperationMethod<
|
|
620
588
|
ApproveSubscriptionRequest,
|
|
@@ -649,10 +617,7 @@ export const cancelConsumersSubscription: API.OperationMethod<
|
|
|
649
617
|
retry: Retry.Retry,
|
|
650
618
|
}));
|
|
651
619
|
|
|
652
|
-
export type ConsumersSubscriptionsListByOrganizationError =
|
|
653
|
-
| BadRequest
|
|
654
|
-
| Forbidden
|
|
655
|
-
| StackitOpError;
|
|
620
|
+
export type ConsumersSubscriptionsListByOrganizationError = BadRequest | Forbidden | StackitOpError;
|
|
656
621
|
/** List all subscriptions of an organization. List all subscriptions of an organization. */
|
|
657
622
|
export const consumersSubscriptionsListByOrganization: API.OperationMethod<
|
|
658
623
|
ConsumersSubscriptionsListByOrganizationRequest,
|
|
@@ -667,10 +632,7 @@ export const consumersSubscriptionsListByOrganization: API.OperationMethod<
|
|
|
667
632
|
retry: Retry.Retry,
|
|
668
633
|
}));
|
|
669
634
|
|
|
670
|
-
export type ConsumersSubscriptionsListByProjectError =
|
|
671
|
-
| BadRequest
|
|
672
|
-
| Forbidden
|
|
673
|
-
| StackitOpError;
|
|
635
|
+
export type ConsumersSubscriptionsListByProjectError = BadRequest | Forbidden | StackitOpError;
|
|
674
636
|
/** List all subscriptions of an project. List all subscriptions of an project. */
|
|
675
637
|
export const consumersSubscriptionsListByProject: API.OperationMethod<
|
|
676
638
|
ConsumersSubscriptionsListByProjectRequest,
|
|
@@ -685,11 +647,7 @@ export const consumersSubscriptionsListByProject: API.OperationMethod<
|
|
|
685
647
|
retry: Retry.Retry,
|
|
686
648
|
}));
|
|
687
649
|
|
|
688
|
-
export type CreateConsumersSubscriptionError =
|
|
689
|
-
| BadRequest
|
|
690
|
-
| Forbidden
|
|
691
|
-
| Conflict
|
|
692
|
-
| StackitOpError;
|
|
650
|
+
export type CreateConsumersSubscriptionError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
693
651
|
/** Create a new subscription. Create a new subscription. */
|
|
694
652
|
export const createConsumersSubscription: API.OperationMethod<
|
|
695
653
|
CreateConsumersSubscriptionRequest,
|
|
@@ -704,11 +662,7 @@ export const createConsumersSubscription: API.OperationMethod<
|
|
|
704
662
|
retry: Retry.Retry,
|
|
705
663
|
}));
|
|
706
664
|
|
|
707
|
-
export type GetConsumersSubscriptionError =
|
|
708
|
-
| BadRequest
|
|
709
|
-
| Forbidden
|
|
710
|
-
| NotFound
|
|
711
|
-
| StackitOpError;
|
|
665
|
+
export type GetConsumersSubscriptionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
712
666
|
/** Get a subscription. Get a subscription. */
|
|
713
667
|
export const getConsumersSubscription: API.OperationMethod<
|
|
714
668
|
GetConsumersSubscriptionRequest,
|
|
@@ -723,10 +677,7 @@ export const getConsumersSubscription: API.OperationMethod<
|
|
|
723
677
|
retry: Retry.Retry,
|
|
724
678
|
}));
|
|
725
679
|
|
|
726
|
-
export type GetConsumersSubscriptionsRedirectError =
|
|
727
|
-
| BadRequest
|
|
728
|
-
| Forbidden
|
|
729
|
-
| StackitOpError;
|
|
680
|
+
export type GetConsumersSubscriptionsRedirectError = BadRequest | Forbidden | StackitOpError;
|
|
730
681
|
/** Get a subscription redirect. Get a subscription redirect. */
|
|
731
682
|
export const getConsumersSubscriptionsRedirect: API.OperationMethod<
|
|
732
683
|
GetConsumersSubscriptionsRedirectRequest,
|
|
@@ -741,10 +692,7 @@ export const getConsumersSubscriptionsRedirect: API.OperationMethod<
|
|
|
741
692
|
retry: Retry.Retry,
|
|
742
693
|
}));
|
|
743
694
|
|
|
744
|
-
export type GetVendorsSubscriptionError =
|
|
745
|
-
| BadRequest
|
|
746
|
-
| Forbidden
|
|
747
|
-
| StackitOpError;
|
|
695
|
+
export type GetVendorsSubscriptionError = BadRequest | Forbidden | StackitOpError;
|
|
748
696
|
/** Get a subscription. Get a subscription. */
|
|
749
697
|
export const getVendorsSubscription: API.OperationMethod<
|
|
750
698
|
GetVendorsSubscriptionRequest,
|
|
@@ -759,11 +707,7 @@ export const getVendorsSubscription: API.OperationMethod<
|
|
|
759
707
|
retry: Retry.Retry,
|
|
760
708
|
}));
|
|
761
709
|
|
|
762
|
-
export type RejectVendorsSubscriptionError =
|
|
763
|
-
| BadRequest
|
|
764
|
-
| Forbidden
|
|
765
|
-
| NotFound
|
|
766
|
-
| StackitOpError;
|
|
710
|
+
export type RejectVendorsSubscriptionError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
767
711
|
/** Reject a subscription. Reject a subscription (in any lifecycle state). Only available for subscriptions to products with lifecycle state `PRODUCT_PREVIEW`. */
|
|
768
712
|
export const rejectVendorsSubscription: API.OperationMethod<
|
|
769
713
|
RejectVendorsSubscriptionRequest,
|
|
@@ -778,11 +722,7 @@ export const rejectVendorsSubscription: API.OperationMethod<
|
|
|
778
722
|
retry: Retry.Retry,
|
|
779
723
|
}));
|
|
780
724
|
|
|
781
|
-
export type ResolveCustomerError =
|
|
782
|
-
| BadRequest
|
|
783
|
-
| Forbidden
|
|
784
|
-
| NotFound
|
|
785
|
-
| StackitOpError;
|
|
725
|
+
export type ResolveCustomerError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
786
726
|
/** Resolve customer. Resolve customer. */
|
|
787
727
|
export const resolveCustomer: API.OperationMethod<
|
|
788
728
|
ResolveCustomerRequest,
|
|
@@ -816,10 +756,7 @@ export const terminateConsumersSubscription: API.OperationMethod<
|
|
|
816
756
|
retry: Retry.Retry,
|
|
817
757
|
}));
|
|
818
758
|
|
|
819
|
-
export type VendorsSubscriptionsListByOrganizationError =
|
|
820
|
-
| BadRequest
|
|
821
|
-
| Forbidden
|
|
822
|
-
| StackitOpError;
|
|
759
|
+
export type VendorsSubscriptionsListByOrganizationError = BadRequest | Forbidden | StackitOpError;
|
|
823
760
|
/** List all subscriptions of an organization. List all subscriptions of an organization. */
|
|
824
761
|
export const vendorsSubscriptionsListByOrganization: API.OperationMethod<
|
|
825
762
|
VendorsSubscriptionsListByOrganizationRequest,
|
|
@@ -834,10 +771,7 @@ export const vendorsSubscriptionsListByOrganization: API.OperationMethod<
|
|
|
834
771
|
retry: Retry.Retry,
|
|
835
772
|
}));
|
|
836
773
|
|
|
837
|
-
export type VendorsSubscriptionsListByProjectError =
|
|
838
|
-
| BadRequest
|
|
839
|
-
| Forbidden
|
|
840
|
-
| StackitOpError;
|
|
774
|
+
export type VendorsSubscriptionsListByProjectError = BadRequest | Forbidden | StackitOpError;
|
|
841
775
|
/** List all subscriptions of an project. List all subscriptions of an project. */
|
|
842
776
|
export const vendorsSubscriptionsListByProject: API.OperationMethod<
|
|
843
777
|
VendorsSubscriptionsListByProjectRequest,
|