@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
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
-
import * as Redacted from "effect/Redacted";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
3
|
+
import type * as Redacted from "effect/Redacted";
|
|
4
4
|
import { type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
5
5
|
export type { StackitOpError, StackitOpContext };
|
|
6
|
-
declare const BadRequest_base: S.
|
|
6
|
+
declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
|
|
7
7
|
readonly code: any;
|
|
8
8
|
readonly message: any;
|
|
9
|
-
}
|
|
9
|
+
}> & (new (...args: any[]) => {
|
|
10
10
|
"@distilled.cloud/error/categories": {
|
|
11
11
|
BadRequestError: true;
|
|
12
12
|
};
|
|
13
13
|
});
|
|
14
14
|
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
15
15
|
}
|
|
16
|
-
declare const Forbidden_base: S.
|
|
16
|
+
declare const Forbidden_base: S.TaggedErrorClass<"Forbidden", {
|
|
17
17
|
readonly code: any;
|
|
18
18
|
readonly message: any;
|
|
19
|
-
}
|
|
19
|
+
}> & (new (...args: any[]) => {
|
|
20
20
|
"@distilled.cloud/error/categories": {
|
|
21
21
|
AuthError: true;
|
|
22
22
|
};
|
|
23
23
|
});
|
|
24
24
|
export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
|
|
25
25
|
}
|
|
26
|
-
declare const NotFound_base: S.
|
|
26
|
+
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
27
27
|
readonly code: any;
|
|
28
28
|
readonly message: any;
|
|
29
|
-
}
|
|
29
|
+
}> & (new (...args: any[]) => {
|
|
30
30
|
"@distilled.cloud/error/categories": {
|
|
31
31
|
BadRequestError: true;
|
|
32
32
|
};
|
|
@@ -37,7 +37,6 @@ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
|
37
37
|
export type CreateCertificateRequestLabelsMap = {
|
|
38
38
|
[key: string]: string | undefined;
|
|
39
39
|
};
|
|
40
|
-
export declare const CreateCertificateRequestLabelsMap: S.Schema<CreateCertificateRequestLabelsMap>;
|
|
41
40
|
export interface CreateCertificateRequest {
|
|
42
41
|
projectId: string;
|
|
43
42
|
region: string;
|
|
@@ -50,7 +49,6 @@ export interface CreateCertificateRequest {
|
|
|
50
49
|
/** The PEM encoded public key part */
|
|
51
50
|
publicKey?: string;
|
|
52
51
|
}
|
|
53
|
-
export declare const CreateCertificateRequest: S.Schema<CreateCertificateRequest>;
|
|
54
52
|
export interface Data {
|
|
55
53
|
/** Comma-separated list of all domains and IP addresses the certificate is valid for (Subject Alternative Names). */
|
|
56
54
|
dnsNames?: string;
|
|
@@ -83,32 +81,26 @@ export interface Data {
|
|
|
83
81
|
/** The primary identity of the certificate. Fallback sequence: Common Name -> First DNS Name -> Full Subject String. */
|
|
84
82
|
subjectCn?: string;
|
|
85
83
|
}
|
|
86
|
-
export declare const Data: S.Schema<Data>;
|
|
87
84
|
/** Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per Certificate. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. */
|
|
88
85
|
export type GetCertificateResponseLabelsMap = {
|
|
89
86
|
[key: string]: string | undefined;
|
|
90
87
|
};
|
|
91
|
-
export declare const GetCertificateResponseLabelsMap: S.Schema<GetCertificateResponseLabelsMap>;
|
|
92
88
|
/** The list of listener names in this Load Balancer, that are using the certificate. */
|
|
93
89
|
export type UsageItemListenerNamesList = Array<string>;
|
|
94
|
-
export declare const UsageItemListenerNamesList: S.Schema<UsageItemListenerNamesList>;
|
|
95
90
|
export interface UsageItem {
|
|
96
91
|
/** The list of listener names in this Load Balancer, that are using the certificate. */
|
|
97
92
|
listenerNames?: UsageItemListenerNamesList;
|
|
98
93
|
/** The display name of the Load Balancer. */
|
|
99
94
|
loadBalancerName?: string;
|
|
100
95
|
}
|
|
101
|
-
export declare const UsageItem: S.Schema<UsageItem>;
|
|
102
96
|
/** List of Load Balancers with their associated listeners that use this certificate. */
|
|
103
97
|
export type UsageItemsList = Array<UsageItem>;
|
|
104
|
-
export declare const UsageItemsList: S.Schema<UsageItemsList>;
|
|
105
98
|
export interface Usage {
|
|
106
99
|
/** Number of listeners using this certificate. */
|
|
107
100
|
count?: number;
|
|
108
101
|
/** List of Load Balancers with their associated listeners that use this certificate. */
|
|
109
102
|
items?: UsageItemsList;
|
|
110
103
|
}
|
|
111
|
-
export declare const Usage: S.Schema<Usage>;
|
|
112
104
|
/** GetCertificateResponse returns name, id and public key */
|
|
113
105
|
export interface GetCertificateResponse {
|
|
114
106
|
data?: Data;
|
|
@@ -124,26 +116,21 @@ export interface GetCertificateResponse {
|
|
|
124
116
|
region?: string;
|
|
125
117
|
usage?: Usage;
|
|
126
118
|
}
|
|
127
|
-
export declare const GetCertificateResponse: S.Schema<GetCertificateResponse>;
|
|
128
119
|
export interface DeleteCertificateRequest {
|
|
129
120
|
projectId: string;
|
|
130
121
|
region: string;
|
|
131
122
|
id: string;
|
|
132
123
|
}
|
|
133
|
-
export declare const DeleteCertificateRequest: S.Schema<DeleteCertificateRequest>;
|
|
134
124
|
export type DeleteCertificateResponse2 = unknown;
|
|
135
|
-
export declare const DeleteCertificateResponse2: S.Schema<DeleteCertificateResponse2>;
|
|
136
125
|
export interface GetCertificateRequest {
|
|
137
126
|
projectId: string;
|
|
138
127
|
region: string;
|
|
139
128
|
id: string;
|
|
140
129
|
}
|
|
141
|
-
export declare const GetCertificateRequest: S.Schema<GetCertificateRequest>;
|
|
142
130
|
export interface GetQuotaRequest {
|
|
143
131
|
projectId: string;
|
|
144
132
|
region: string;
|
|
145
133
|
}
|
|
146
|
-
export declare const GetQuotaRequest: S.Schema<GetQuotaRequest>;
|
|
147
134
|
/** Certificates quotas holds the limits and usage for certificates resources */
|
|
148
135
|
export interface CertificatesQuota {
|
|
149
136
|
/** The maximum number of TLS certificates in this project. */
|
|
@@ -151,12 +138,10 @@ export interface CertificatesQuota {
|
|
|
151
138
|
/** The number of certificates that are currently existing in this project. */
|
|
152
139
|
usage?: number;
|
|
153
140
|
}
|
|
154
|
-
export declare const CertificatesQuota: S.Schema<CertificatesQuota>;
|
|
155
141
|
/** Quotas holds the specific quota elements for different resources */
|
|
156
142
|
export interface Quotas {
|
|
157
143
|
certificates?: CertificatesQuota;
|
|
158
144
|
}
|
|
159
|
-
export declare const Quotas: S.Schema<Quotas>;
|
|
160
145
|
export interface GetQuotaResponse {
|
|
161
146
|
/** Project identifier */
|
|
162
147
|
projectId?: string;
|
|
@@ -164,7 +149,6 @@ export interface GetQuotaResponse {
|
|
|
164
149
|
/** Region */
|
|
165
150
|
region?: string;
|
|
166
151
|
}
|
|
167
|
-
export declare const GetQuotaResponse: S.Schema<GetQuotaResponse>;
|
|
168
152
|
export interface ListCertificatesRequest {
|
|
169
153
|
projectId: string;
|
|
170
154
|
region: string;
|
|
@@ -173,16 +157,13 @@ export interface ListCertificatesRequest {
|
|
|
173
157
|
/** page_id is a page identifier returned by the previous response and is used to request the next page */
|
|
174
158
|
pageId?: string;
|
|
175
159
|
}
|
|
176
|
-
export declare const ListCertificatesRequest: S.Schema<ListCertificatesRequest>;
|
|
177
160
|
export type ListCertificatesResponseItemsList = Array<GetCertificateResponse>;
|
|
178
|
-
export declare const ListCertificatesResponseItemsList: S.Schema<ListCertificatesResponseItemsList>;
|
|
179
161
|
/** ListCertificateResponse returns a list of certificate responses */
|
|
180
162
|
export interface ListCertificatesResponse {
|
|
181
163
|
items?: ListCertificatesResponseItemsList;
|
|
182
164
|
/** Continue token from the ListCertificatesResponse with Limit option */
|
|
183
165
|
nextPageId?: string;
|
|
184
166
|
}
|
|
185
|
-
export declare const ListCertificatesResponse: S.Schema<ListCertificatesResponse>;
|
|
186
167
|
export type CreateCertificateError = BadRequest | Forbidden | StackitOpError;
|
|
187
168
|
/** Store a TLS certificate in a project. CreateCertificate will store a TLS certificate in a project. */
|
|
188
169
|
export declare const createCertificate: API.OperationMethod<CreateCertificateRequest, GetCertificateResponse, CreateCertificateError, StackitOpContext>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificates.d.ts","sourceRoot":"","sources":["../../src/services/certificates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"certificates.d.ts","sourceRoot":"","sources":["../../src/services/certificates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,CAAC,MAAM,mCAAmC,CAAC;AAEvD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAmB,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAM7F,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC;;;;;;;;;AAEjD,qBAAa,UACX,SAAQ,aAAa,CAAC,eAMrB;CAAG;;;;;;;;;AAEN,qBAAa,SACX,SAAQ,aAAa,CAAC,cAMrB;CAAG;;;;;;;;;AAEN,qBAAa,QACX,SAAQ,aAAa,CAAC,aAMrB;CAAG;AAEN,umBAAumB;AACvmB,MAAM,MAAM,iCAAiC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AACtF,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,umBAAumB;IACvmB,M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EACrB,sBAAsB,EACtB,mBAAmB,EACnB,gBAAgB,CAOf,CAAC;AAEJ,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,cAAc,CAAC;AACpE,iKAAiK;AACjK,eAAO,MAAM,QAAQ,EAAE,GAAG,CAAC,eAAe,CACxC,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,gBAAgB,CAOf,CAAC;AAEJ,MAAM,MAAM,qBAAqB,GAAG,UAAU,GAAG,SAAS,GAAG,cAAc,CAAC;AAC5E,wIAAwI;AACxI,eAAO,MAAM,gBAAgB,EAAE,GAAG,CAAC,eAAe,CAChD,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,CAOf,CAAC"}
|
|
@@ -1,179 +1,53 @@
|
|
|
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
|
-
|
|
29
|
-
export const CreateCertificateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
30
|
-
projectId: S.String.pipe(T.Label()),
|
|
31
|
-
region: S.String.pipe(T.Label()),
|
|
32
|
-
labels: S.optional(CreateCertificateRequestLabelsMap),
|
|
33
|
-
name: S.optional(S.String),
|
|
34
|
-
privateKey: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
35
|
-
publicKey: S.optional(S.String),
|
|
36
|
-
}).pipe(T.Http({
|
|
37
|
-
method: "POST",
|
|
38
|
-
uri: "/v2/projects/{projectId}/regions/{region}/certificates",
|
|
39
|
-
code: 200,
|
|
40
|
-
baseUrl: "https://certificates.api.stackit.cloud",
|
|
41
|
-
}))).annotate({ identifier: "CreateCertificateRequest" });
|
|
42
|
-
export const Data = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
43
|
-
dnsNames: S.optional(S.String),
|
|
44
|
-
extendedKeyUsage: S.optional(S.String),
|
|
45
|
-
fingerprintSha1: S.optional(S.String),
|
|
46
|
-
fingerprintSha256: S.optional(S.String),
|
|
47
|
-
isCa: S.optional(S.Boolean),
|
|
48
|
-
isSelfSigned: S.optional(S.Boolean),
|
|
49
|
-
issuerCn: S.optional(S.String),
|
|
50
|
-
keyStrength: S.optional(S.String),
|
|
51
|
-
notAfter: S.optional(S.String),
|
|
52
|
-
notBefore: S.optional(S.String),
|
|
53
|
-
organization: S.optional(S.String),
|
|
54
|
-
publicKeyAlgorithm: S.optional(S.String),
|
|
55
|
-
serialNumber: S.optional(S.String),
|
|
56
|
-
signatureAlgorithm: S.optional(S.String),
|
|
57
|
-
subjectCn: S.optional(S.String),
|
|
58
|
-
})).annotate({ identifier: "Data" });
|
|
59
|
-
export const GetCertificateResponseLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
60
|
-
export const UsageItemListenerNamesList = /*@__PURE__*/ S.Array(S.String);
|
|
61
|
-
export const UsageItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
62
|
-
listenerNames: S.optional(UsageItemListenerNamesList),
|
|
63
|
-
loadBalancerName: S.optional(S.String),
|
|
64
|
-
})).annotate({ identifier: "UsageItem" });
|
|
65
|
-
export const UsageItemsList = /*@__PURE__*/ S.Array(UsageItem);
|
|
66
|
-
export const Usage = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
67
|
-
count: S.optional(S.Number),
|
|
68
|
-
items: S.optional(UsageItemsList),
|
|
69
|
-
})).annotate({ identifier: "Usage" });
|
|
70
|
-
export const GetCertificateResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
71
|
-
data: S.optional(Data),
|
|
72
|
-
id: S.optional(S.String),
|
|
73
|
-
labels: S.optional(GetCertificateResponseLabelsMap),
|
|
74
|
-
name: S.optional(S.String),
|
|
75
|
-
publicKey: S.optional(S.String),
|
|
76
|
-
region: S.optional(S.String),
|
|
77
|
-
usage: S.optional(Usage),
|
|
78
|
-
})).annotate({ identifier: "GetCertificateResponse" });
|
|
79
|
-
export const DeleteCertificateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
80
|
-
projectId: S.String.pipe(T.Label()),
|
|
81
|
-
region: S.String.pipe(T.Label()),
|
|
82
|
-
id: S.String.pipe(T.Label()),
|
|
83
|
-
}).pipe(T.Http({
|
|
84
|
-
method: "DELETE",
|
|
85
|
-
uri: "/v2/projects/{projectId}/regions/{region}/certificates/{id}",
|
|
86
|
-
code: 200,
|
|
87
|
-
baseUrl: "https://certificates.api.stackit.cloud",
|
|
88
|
-
}))).annotate({ identifier: "DeleteCertificateRequest" });
|
|
89
|
-
export const DeleteCertificateResponse2 = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
|
|
90
|
-
identifier: "DeleteCertificateResponse2",
|
|
10
|
+
const __0 = __L.at;
|
|
11
|
+
const __1 = T.Http;
|
|
12
|
+
const __2 = T.Label;
|
|
13
|
+
const __3 = S.String;
|
|
14
|
+
const __4 = S.optional;
|
|
15
|
+
const __5 = T.SensitiveValue;
|
|
16
|
+
const __6 = S.Struct;
|
|
17
|
+
const __7 = S.suspend;
|
|
18
|
+
const __8 = S.Record;
|
|
19
|
+
const __9 = S.Boolean;
|
|
20
|
+
const __10 = S.Array;
|
|
21
|
+
const __11 = S.Number;
|
|
22
|
+
const __12 = T.RawResponseRoot;
|
|
23
|
+
const __13 = S.Unknown;
|
|
24
|
+
const __14 = T.Query;
|
|
25
|
+
const __15 = S.TaggedError;
|
|
26
|
+
const __16 = T.applyErrorMatchers;
|
|
27
|
+
export const BadRequest = /*@__PURE__*/ API.error(function BadRequest(i) {
|
|
28
|
+
return API.newError(i, new.target, ['$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])', [__0, C.withBadRequestError, __11, __3, __15, __16]]);
|
|
91
29
|
});
|
|
92
|
-
export const
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}).pipe(
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}))).
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}).pipe(
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}))
|
|
115
|
-
|
|
116
|
-
certificates: S.optional(CertificatesQuota),
|
|
117
|
-
})).annotate({ identifier: "Quotas" });
|
|
118
|
-
export const GetQuotaResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
119
|
-
projectId: S.optional(S.String),
|
|
120
|
-
quotas: S.optional(Quotas),
|
|
121
|
-
region: S.optional(S.String),
|
|
122
|
-
})).annotate({ identifier: "GetQuotaResponse" });
|
|
123
|
-
export const ListCertificatesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
124
|
-
projectId: S.String.pipe(T.Label()),
|
|
125
|
-
region: S.String.pipe(T.Label()),
|
|
126
|
-
pageSize: S.optional(S.String.pipe(T.Query())),
|
|
127
|
-
pageId: S.optional(S.String.pipe(T.Query())),
|
|
128
|
-
}).pipe(T.Http({
|
|
129
|
-
method: "GET",
|
|
130
|
-
uri: "/v2/projects/{projectId}/regions/{region}/certificates",
|
|
131
|
-
code: 200,
|
|
132
|
-
baseUrl: "https://certificates.api.stackit.cloud",
|
|
133
|
-
}))).annotate({ identifier: "ListCertificatesRequest" });
|
|
134
|
-
export const ListCertificatesResponseItemsList = /*@__PURE__*/ S.Array(GetCertificateResponse);
|
|
135
|
-
export const ListCertificatesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
136
|
-
items: S.optional(ListCertificatesResponseItemsList),
|
|
137
|
-
nextPageId: S.optional(S.String),
|
|
138
|
-
})).annotate({ identifier: "ListCertificatesResponse" });
|
|
139
|
-
/** Store a TLS certificate in a project. CreateCertificate will store a TLS certificate in a project. */
|
|
140
|
-
export const createCertificate = /*@__PURE__*/ API.make(() => ({
|
|
141
|
-
input: CreateCertificateRequest,
|
|
142
|
-
output: GetCertificateResponse,
|
|
143
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
144
|
-
protocol: StackitProtocol,
|
|
145
|
-
retry: Retry.Retry,
|
|
146
|
-
}));
|
|
147
|
-
/** Delete a stored TLS certificate in a project. DeleteCertificate will delete the stored TLS certificate. */
|
|
148
|
-
export const deleteCertificate = /*@__PURE__*/ API.make(() => ({
|
|
149
|
-
input: DeleteCertificateRequest,
|
|
150
|
-
output: DeleteCertificateResponse2,
|
|
151
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
152
|
-
protocol: StackitProtocol,
|
|
153
|
-
retry: Retry.Retry,
|
|
154
|
-
}));
|
|
155
|
-
/** Retrieve the public parts of a stored TLS certificate. GetCertificate will return the public parts of a stored TLS certificate. */
|
|
156
|
-
export const getCertificate = /*@__PURE__*/ API.make(() => ({
|
|
157
|
-
input: GetCertificateRequest,
|
|
158
|
-
output: GetCertificateResponse,
|
|
159
|
-
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
160
|
-
protocol: StackitProtocol,
|
|
161
|
-
retry: Retry.Retry,
|
|
162
|
-
}));
|
|
163
|
-
/** Get the quota for TLS certificates in a project. Retrieves the configured TLS certificate quota for the project. Limit can be changed via service request. */
|
|
164
|
-
export const getQuota = /*@__PURE__*/ API.make(() => ({
|
|
165
|
-
input: GetQuotaRequest,
|
|
166
|
-
output: GetQuotaResponse,
|
|
167
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
168
|
-
protocol: StackitProtocol,
|
|
169
|
-
retry: Retry.Retry,
|
|
170
|
-
}));
|
|
171
|
-
/** Retrieve the list of TLS certificate stored in a project. ListCertificates will return the list of TLS certificates in a project. */
|
|
172
|
-
export const listCertificates = /*@__PURE__*/ API.make(() => ({
|
|
173
|
-
input: ListCertificatesRequest,
|
|
174
|
-
output: ListCertificatesResponse,
|
|
175
|
-
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
176
|
-
protocol: StackitProtocol,
|
|
177
|
-
retry: Retry.Retry,
|
|
178
|
-
}));
|
|
179
|
-
//# sourceMappingURL=certificates.js.map
|
|
30
|
+
export const Forbidden = /*@__PURE__*/ API.error(function Forbidden(i) {
|
|
31
|
+
return API.newError(i, new.target, ['$5($4()("Forbidden",{code:$2,message:$3}).pipe($1),[{status:403}])', [__0, C.withAuthError, __11, __3, __15, __16]]);
|
|
32
|
+
});
|
|
33
|
+
export const NotFound = /*@__PURE__*/ API.error(function NotFound(i) {
|
|
34
|
+
return API.newError(i, new.target, ['$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])', [__0, C.withBadRequestError, __11, __3, __15, __16]]);
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export const createCertificate = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4:6,errors:[$9,$10,$11],protocol:$12,retry:$13};$8(>2)@"CreateCertificateRequest";$7({projectId:$3.pipe($2()),region:$3.pipe($2()),labels:$5(#4:0),name:$5($3),privateKey:$5($3.pipe($6({}))),publicKey:$5($3)}).pipe($1({method:"POST",uri:"/v2/projects/{projectId}/regions/{region}/certificates",code:200,baseUrl:"https://certificates.api.stackit.cloud"}))', [__0, __1, __2, __3, __d0, __4, __5, __6, __7, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createCertificate, i));
|
|
38
|
+
|
|
39
|
+
export const deleteCertificate = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#2,errors:[$8,$9,$10],protocol:$11,retry:$12};$5(>3)@"DeleteCertificateRequest";$5(>4)@"DeleteCertificateResponse2";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v2/projects/{projectId}/regions/{region}/certificates/{id}",code:200,baseUrl:"https://certificates.api.stackit.cloud"}));$7.pipe($6())', [__0, __1, __2, __3, __6, __7, __12, __13, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteCertificate, i));
|
|
40
|
+
|
|
41
|
+
export const getCertificate = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:6,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"GetCertificateRequest";$4({projectId:$3.pipe($2()),region:$3.pipe($2()),id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v2/projects/{projectId}/regions/{region}/certificates/{id}",code:200,baseUrl:"https://certificates.api.stackit.cloud"}))', [__0, __1, __2, __3, __6, __7, __d0, BadRequest, Forbidden, NotFound, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getCertificate, i));
|
|
42
|
+
|
|
43
|
+
export const getQuota = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#4,errors:[$8,$9,$10],protocol:$11,retry:$12};$5(>5)@"GetQuotaRequest";$5(>6)@"CertificatesQuota";$5(>7)@"Quotas";$5(>8)@"GetQuotaResponse";$4({projectId:$3.pipe($2()),region:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v2/projects/{projectId}/regions/{region}/quotas",code:200,baseUrl:"https://certificates.api.stackit.cloud"}));$4({limit:$7($6),usage:$7($6)});$4({certificates:$7(#2)});$4({projectId:$7($3),quotas:$7(#3),region:$7($3)})', [__0, __1, __2, __3, __6, __7, __11, __4, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getQuota, i));
|
|
44
|
+
|
|
45
|
+
export const listCertificates = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#3,errors:[$10,$11,$12],protocol:$13,retry:$14};$7(>4)@"ListCertificatesRequest";$9(#8:6);$7(>5)@"ListCertificatesResponse";$6({projectId:$3.pipe($2()),region:$3.pipe($2()),pageSize:$5($3.pipe($4())),pageId:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/v2/projects/{projectId}/regions/{region}/certificates",code:200,baseUrl:"https://certificates.api.stackit.cloud"}));$6({items:$5(#2),nextPageId:$5($3)})', [__0, __1, __2, __3, __14, __4, __6, __7, __d0, __10, BadRequest, Forbidden, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(listCertificates, i));
|
|
46
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
47
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
// Shared schema data (see `op` in core/api).
|
|
51
|
+
function __d0() {
|
|
52
|
+
return ['$2($1,$1);$6(>7)@"Data";$7($1);$6(>8)@"UsageItem";$7(#3);$6(>9)@"Usage";$6(>10)@"GetCertificateResponse";$5({dnsNames:$3($1),extendedKeyUsage:$3($1),fingerprintSha1:$3($1),fingerprintSha256:$3($1),isCa:$3($4),isSelfSigned:$3($4),issuerCn:$3($1),keyStrength:$3($1),notAfter:$3($1),notBefore:$3($1),organization:$3($1),publicKeyAlgorithm:$3($1),serialNumber:$3($1),signatureAlgorithm:$3($1),subjectCn:$3($1)});$5({listenerNames:$3(#2),loadBalancerName:$3($1)});$5({count:$3($8),items:$3(#4)});$5({data:$3(#1),id:$3($1),labels:$3(#0),name:$3($1),publicKey:$3($1),region:$3($1),usage:$3(#5)})', [__0, __3, __8, __4, __9, __6, __7, __10, __11]];
|
|
53
|
+
}
|
package/lib/services/cost.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
3
3
|
import { type StackitOpError, type StackitOpContext } from "../protocol.ts";
|
|
4
4
|
export type { StackitOpError, StackitOpContext };
|
|
5
|
-
declare const BadRequest_base: S.
|
|
5
|
+
declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
|
|
6
6
|
readonly code: any;
|
|
7
7
|
readonly message: any;
|
|
8
|
-
}
|
|
8
|
+
}> & (new (...args: any[]) => {
|
|
9
9
|
"@distilled.cloud/error/categories": {
|
|
10
10
|
BadRequestError: true;
|
|
11
11
|
};
|
|
12
12
|
});
|
|
13
13
|
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
14
14
|
}
|
|
15
|
-
declare const Forbidden_base: S.
|
|
15
|
+
declare const Forbidden_base: S.TaggedErrorClass<"Forbidden", {
|
|
16
16
|
readonly code: any;
|
|
17
17
|
readonly message: any;
|
|
18
|
-
}
|
|
18
|
+
}> & (new (...args: any[]) => {
|
|
19
19
|
"@distilled.cloud/error/categories": {
|
|
20
20
|
AuthError: true;
|
|
21
21
|
};
|
|
22
22
|
});
|
|
23
23
|
export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
|
|
24
24
|
}
|
|
25
|
-
declare const NotFound_base: S.
|
|
25
|
+
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
26
26
|
readonly code: any;
|
|
27
27
|
readonly message: any;
|
|
28
|
-
}
|
|
28
|
+
}> & (new (...args: any[]) => {
|
|
29
29
|
"@distilled.cloud/error/categories": {
|
|
30
30
|
BadRequestError: true;
|
|
31
31
|
};
|
|
@@ -33,9 +33,7 @@ declare const NotFound_base: S.Class<NotFound, S.TaggedStruct<"NotFound", {
|
|
|
33
33
|
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
34
34
|
}
|
|
35
35
|
export type GetCostsForProjectRequestDepth = "project" | "service" | "auto";
|
|
36
|
-
export declare const GetCostsForProjectRequestDepth: any;
|
|
37
36
|
export type GetCostsForProjectRequestGranularity = "daily" | "weekly" | "monthly" | "yearly" | "none";
|
|
38
|
-
export declare const GetCostsForProjectRequestGranularity: any;
|
|
39
37
|
export interface GetCostsForProjectRequest {
|
|
40
38
|
/** ID of a customer account */
|
|
41
39
|
customerAccountId: string;
|
|
@@ -47,12 +45,11 @@ export interface GetCostsForProjectRequest {
|
|
|
47
45
|
to: string;
|
|
48
46
|
/** Depth of desired cost information. "project" provides costs grouped by project, without services. "service" provides costs separated on service level. */
|
|
49
47
|
depth?: GetCostsForProjectRequestDepth | (string & {});
|
|
50
|
-
/** Define granularity of costs
|
|
48
|
+
/** Define granularity of costs - Default is "none" which does NOT include detailed report data. If "monthly", "weekly" or "yearly" is requested, the "from" parameter SHOULD be the first day and the "to" parameter SHOULD be the last day of that time period. If not, they are normalized accordingly. If "daily" is requested, the date range defined by "from" and "to" MUST NOT be longer than 92 days. */
|
|
51
49
|
granularity?: GetCostsForProjectRequestGranularity | (string & {});
|
|
52
50
|
/** Whether costs of 0 should be included in the response */
|
|
53
51
|
includeZeroCosts?: boolean;
|
|
54
52
|
}
|
|
55
|
-
export declare const GetCostsForProjectRequest: S.Schema<GetCostsForProjectRequest>;
|
|
56
53
|
/** Summarized costs for a project */
|
|
57
54
|
export interface SummarizedProjectCost {
|
|
58
55
|
customerAccountId: string;
|
|
@@ -63,13 +60,11 @@ export interface SummarizedProjectCost {
|
|
|
63
60
|
/** Total discount for all services and the whole requested date range (value in cents) */
|
|
64
61
|
totalDiscount: number;
|
|
65
62
|
}
|
|
66
|
-
export declare const SummarizedProjectCost: S.Schema<SummarizedProjectCost>;
|
|
67
63
|
/** Time period according to desired granularity */
|
|
68
64
|
export interface ReportDataTimePeriod {
|
|
69
65
|
end?: string;
|
|
70
66
|
start?: string;
|
|
71
67
|
}
|
|
72
|
-
export declare const ReportDataTimePeriod: S.Schema<ReportDataTimePeriod>;
|
|
73
68
|
/** Costs report for a certain period of time */
|
|
74
69
|
export interface ReportData {
|
|
75
70
|
/** Charge, value in cents */
|
|
@@ -83,10 +78,8 @@ export interface ReportData {
|
|
|
83
78
|
/** Time period according to desired granularity */
|
|
84
79
|
timePeriod: ReportDataTimePeriod;
|
|
85
80
|
}
|
|
86
|
-
export declare const ReportData: S.Schema<ReportData>;
|
|
87
81
|
/** Detailed project costs which are ONLY included if granularity is provided AND depth is "project" */
|
|
88
82
|
export type ProjectCostWithReportsReportDataList = Array<ReportData>;
|
|
89
|
-
export declare const ProjectCostWithReportsReportDataList: S.Schema<ProjectCostWithReportsReportDataList>;
|
|
90
83
|
/** Detailed costs for a project */
|
|
91
84
|
export interface ProjectCostWithReports {
|
|
92
85
|
customerAccountId: string;
|
|
@@ -99,13 +92,10 @@ export interface ProjectCostWithReports {
|
|
|
99
92
|
/** Total discount for all services and the whole requested date range (value in cents) */
|
|
100
93
|
totalDiscount: number;
|
|
101
94
|
}
|
|
102
|
-
export declare const ProjectCostWithReports: S.Schema<ProjectCostWithReports>;
|
|
103
95
|
/** Summarized costs for a project */
|
|
104
96
|
export type SummarizedServiceCost = SummarizedProjectCost;
|
|
105
|
-
export declare const SummarizedServiceCost: S.Schema<SummarizedProjectCost>;
|
|
106
97
|
/** Summarized service costs */
|
|
107
98
|
export type ProjectCostWithSummarizedServicesServicesList = Array<SummarizedProjectCost>;
|
|
108
|
-
export declare const ProjectCostWithSummarizedServicesServicesList: S.Schema<ProjectCostWithSummarizedServicesServicesList>;
|
|
109
99
|
/** Costs for a project including summarized service costs */
|
|
110
100
|
export interface ProjectCostWithSummarizedServices {
|
|
111
101
|
customerAccountId: string;
|
|
@@ -118,10 +108,8 @@ export interface ProjectCostWithSummarizedServices {
|
|
|
118
108
|
/** Total discount for all services and the whole requested date range (value in cents) */
|
|
119
109
|
totalDiscount: number;
|
|
120
110
|
}
|
|
121
|
-
export declare const ProjectCostWithSummarizedServices: S.Schema<ProjectCostWithSummarizedServices>;
|
|
122
111
|
/** Detailed service costs which are ONLY included if granularity is provided */
|
|
123
112
|
export type DetailedServiceCostReportDataList = Array<ReportData>;
|
|
124
|
-
export declare const DetailedServiceCostReportDataList: S.Schema<DetailedServiceCostReportDataList>;
|
|
125
113
|
/** Costs for a single service */
|
|
126
114
|
export interface DetailedServiceCost {
|
|
127
115
|
/** Detailed service costs which are ONLY included if granularity is provided */
|
|
@@ -143,10 +131,8 @@ export interface DetailedServiceCost {
|
|
|
143
131
|
/** Label for unit */
|
|
144
132
|
unitLabel: string;
|
|
145
133
|
}
|
|
146
|
-
export declare const DetailedServiceCost: S.Schema<DetailedServiceCost>;
|
|
147
134
|
/** Total discount for all services and the whole requested date range (value in cents). Please see "depth" parameter for more details. */
|
|
148
135
|
export type ProjectCostWithDetailedServicesServicesList = Array<DetailedServiceCost>;
|
|
149
|
-
export declare const ProjectCostWithDetailedServicesServicesList: S.Schema<ProjectCostWithDetailedServicesServicesList>;
|
|
150
136
|
/** Detailed costs for a project including service costs */
|
|
151
137
|
export interface ProjectCostWithDetailedServices {
|
|
152
138
|
customerAccountId: string;
|
|
@@ -159,15 +145,10 @@ export interface ProjectCostWithDetailedServices {
|
|
|
159
145
|
/** Total discount for all services and the whole requested date range (value in cents) */
|
|
160
146
|
totalDiscount: number;
|
|
161
147
|
}
|
|
162
|
-
export declare const ProjectCostWithDetailedServices: S.Schema<ProjectCostWithDetailedServices>;
|
|
163
148
|
export type ProjectCost = SummarizedProjectCost | ProjectCostWithReports | ProjectCostWithSummarizedServices | ProjectCostWithDetailedServices;
|
|
164
|
-
export declare const ProjectCost: S.Schema<ProjectCost>;
|
|
165
149
|
export type GetCostsForProjectResponse = ProjectCost;
|
|
166
|
-
export declare const GetCostsForProjectResponse: S.Schema<GetCostsForProjectResponse>;
|
|
167
150
|
export type ListCostsForCustomerRequestDepth = "project" | "service" | "auto";
|
|
168
|
-
export declare const ListCostsForCustomerRequestDepth: any;
|
|
169
151
|
export type ListCostsForCustomerRequestGranularity = "daily" | "weekly" | "monthly" | "yearly" | "none";
|
|
170
|
-
export declare const ListCostsForCustomerRequestGranularity: any;
|
|
171
152
|
export interface ListCostsForCustomerRequest {
|
|
172
153
|
/** ID of a customer account */
|
|
173
154
|
customerAccountId: string;
|
|
@@ -177,20 +158,15 @@ export interface ListCostsForCustomerRequest {
|
|
|
177
158
|
to: string;
|
|
178
159
|
/** Depth of desired cost information. "project" provides costs grouped by project, without services. "service" provides costs separated on service level. */
|
|
179
160
|
depth?: ListCostsForCustomerRequestDepth | (string & {});
|
|
180
|
-
/** Define granularity of costs
|
|
161
|
+
/** Define granularity of costs - Default is "none" which does NOT include detailed report data. If "monthly", "weekly" or "yearly" is requested, the "from" parameter SHOULD be the first day and the "to" parameter SHOULD be the last day of that time period. If not, they are normalized accordingly. If "daily" is requested, the date range defined by "from" and "to" MUST NOT be longer than 92 days. */
|
|
181
162
|
granularity?: ListCostsForCustomerRequestGranularity | (string & {});
|
|
182
163
|
/** Whether costs of 0 should be included in the response */
|
|
183
164
|
includeZeroCosts?: boolean;
|
|
184
165
|
}
|
|
185
|
-
export declare const ListCostsForCustomerRequest: S.Schema<ListCostsForCustomerRequest>;
|
|
186
166
|
export type ListCostsForCustomerResponseBodyList = Array<ProjectCost>;
|
|
187
|
-
export declare const ListCostsForCustomerResponseBodyList: S.Schema<ListCostsForCustomerResponseBodyList>;
|
|
188
167
|
export type ListCostsForCustomerResponse = ListCostsForCustomerResponseBodyList;
|
|
189
|
-
export declare const ListCostsForCustomerResponse: S.Schema<ListCostsForCustomerResponse>;
|
|
190
168
|
export type ListCostsForResellerRequestDepth = "project" | "service" | "auto";
|
|
191
|
-
export declare const ListCostsForResellerRequestDepth: any;
|
|
192
169
|
export type ListCostsForResellerRequestGranularity = "daily" | "weekly" | "monthly" | "yearly" | "none";
|
|
193
|
-
export declare const ListCostsForResellerRequestGranularity: any;
|
|
194
170
|
export interface ListCostsForResellerRequest {
|
|
195
171
|
/** ID of a customer account */
|
|
196
172
|
customerAccountId: string;
|
|
@@ -200,16 +176,13 @@ export interface ListCostsForResellerRequest {
|
|
|
200
176
|
to: string;
|
|
201
177
|
/** Depth of desired cost information. "project" provides costs grouped by project, without services. "service" provides costs separated on service level. */
|
|
202
178
|
depth?: ListCostsForResellerRequestDepth | (string & {});
|
|
203
|
-
/** Define granularity of costs
|
|
179
|
+
/** Define granularity of costs - Default is "none" which does NOT include detailed report data. If "monthly", "weekly" or "yearly" is requested, the "from" parameter SHOULD be the first day and the "to" parameter SHOULD be the last day of that time period. If not, they are normalized accordingly. If "daily" is requested, the date range defined by "from" and "to" MUST NOT be longer than 92 days. */
|
|
204
180
|
granularity?: ListCostsForResellerRequestGranularity | (string & {});
|
|
205
181
|
/** Whether costs of 0 should be included in the response */
|
|
206
182
|
includeZeroCosts?: boolean;
|
|
207
183
|
}
|
|
208
|
-
export declare const ListCostsForResellerRequest: S.Schema<ListCostsForResellerRequest>;
|
|
209
184
|
export type ListCostsForResellerResponseBodyList = Array<ProjectCost>;
|
|
210
|
-
export declare const ListCostsForResellerResponseBodyList: S.Schema<ListCostsForResellerResponseBodyList>;
|
|
211
185
|
export type ListCostsForResellerResponse = ListCostsForResellerResponseBodyList;
|
|
212
|
-
export declare const ListCostsForResellerResponse: S.Schema<ListCostsForResellerResponse>;
|
|
213
186
|
export type GetCostsForProjectError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
214
187
|
/** V3 Costs for a certain project Get costs for a certain project in a customer account */
|
|
215
188
|
export declare const getCostsForProject: API.OperationMethod<GetCostsForProjectRequest, GetCostsForProjectResponse, GetCostsForProjectError, StackitOpContext>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cost.d.ts","sourceRoot":"","sources":["../../src/services/cost.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAG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