@scaleway/sdk-edge-services 2.4.1 → 2.6.0
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/README.md +1 -1
- package/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/index.gen.js +2 -4
- package/dist/v1beta1/api.gen.js +574 -860
- package/dist/v1beta1/content.gen.js +5 -10
- package/dist/v1beta1/index.gen.js +62 -60
- package/dist/v1beta1/marshalling.gen.js +563 -845
- package/dist/v1beta1/types.gen.d.ts +13 -3
- package/dist/v1beta1/validation-rules.gen.js +19 -23
- package/package.json +4 -4
|
@@ -10,7 +10,7 @@ export type ListPurgeRequestsRequestOrderBy = 'created_at_asc' | 'created_at_des
|
|
|
10
10
|
export type ListRouteStagesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
11
11
|
export type ListTLSStagesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
12
12
|
export type ListWafStagesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
13
|
-
export type PipelineErrorCode = 'unknown_code' | 'dns_invalid_format' | 'dns_invalid_tld' | 'dns_forbidden_root_domain' | 'dns_forbidden_scw_cloud' | 'dns_domain_dont_exist' | 'dns_cname_dont_exist' | 'dns_cname_resolve' | 'dns_fqdn_already_exists' | 'dns_fqdn_already_in_use' | 'tls_cert_deleted' | 'tls_cert_disabled' | 'tls_cert_expired' | 'tls_cert_invalid_format' | 'tls_cert_missing' | 'tls_chain_order' | 'tls_key_invalid_format' | 'tls_key_missing' | 'tls_key_too_many' | 'tls_managed_domain_rate_limit' | 'tls_managed_internal' | 'tls_pair_mismatch' | 'tls_root_inconsistent' | 'tls_root_incorrect' | 'tls_root_missing' | 'tls_san_mismatch' | 'tls_self_signed' | 'tls_caa_malfunction' | 'pipeline_invalid_workflow' | 'pipeline_missing_head_stage';
|
|
13
|
+
export type PipelineErrorCode = 'unknown_code' | 'dns_invalid_format' | 'dns_invalid_tld' | 'dns_forbidden_root_domain' | 'dns_forbidden_scw_cloud' | 'dns_domain_dont_exist' | 'dns_cname_dont_exist' | 'dns_cname_resolve' | 'dns_fqdn_already_exists' | 'dns_fqdn_already_in_use' | 'tls_cert_deleted' | 'tls_cert_disabled' | 'tls_cert_expired' | 'tls_cert_invalid_format' | 'tls_cert_missing' | 'tls_chain_order' | 'tls_key_invalid_format' | 'tls_key_missing' | 'tls_key_too_many' | 'tls_managed_domain_rate_limit' | 'tls_managed_internal' | 'tls_pair_mismatch' | 'tls_root_inconsistent' | 'tls_root_incorrect' | 'tls_root_missing' | 'tls_san_mismatch' | 'tls_self_signed' | 'tls_caa_malfunction' | 'pipeline_invalid_workflow' | 'pipeline_missing_head_stage' | 'pipeline_websocket_limit';
|
|
14
14
|
export type PipelineErrorSeverity = 'unknown_severity' | 'warning' | 'critical';
|
|
15
15
|
export type PipelineErrorStage = 'unknown_stage' | 'dns' | 'tls' | 'cache' | 'backend';
|
|
16
16
|
export type PipelineErrorType = 'unknown_type' | 'runtime' | 'config';
|
|
@@ -406,9 +406,14 @@ export interface SetRouteRulesRequestRouteRule {
|
|
|
406
406
|
/**
|
|
407
407
|
* ID of the backend stage that requests matching the rule should be forwarded to.
|
|
408
408
|
*
|
|
409
|
-
* One-of ('next'): at most one of 'backendStageId' could be set.
|
|
409
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId' could be set.
|
|
410
410
|
*/
|
|
411
411
|
backendStageId?: string;
|
|
412
|
+
/**
|
|
413
|
+
*
|
|
414
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId' could be set.
|
|
415
|
+
*/
|
|
416
|
+
wafStageId?: string;
|
|
412
417
|
}
|
|
413
418
|
export interface RouteRule {
|
|
414
419
|
/**
|
|
@@ -420,7 +425,7 @@ export interface RouteRule {
|
|
|
420
425
|
/**
|
|
421
426
|
* ID of the backend stage that requests matching the rule should be forwarded to.
|
|
422
427
|
*
|
|
423
|
-
* One-of ('next'): at most one of 'backendStageId' could be set.
|
|
428
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId' could be set.
|
|
424
429
|
*/
|
|
425
430
|
backendStageId?: string;
|
|
426
431
|
/**
|
|
@@ -431,6 +436,11 @@ export interface RouteRule {
|
|
|
431
436
|
* Route stage ID the route rule belongs to.
|
|
432
437
|
*/
|
|
433
438
|
routeStageId: string;
|
|
439
|
+
/**
|
|
440
|
+
*
|
|
441
|
+
* One-of ('next'): at most one of 'backendStageId', 'wafStageId' could be set.
|
|
442
|
+
*/
|
|
443
|
+
wafStageId?: string;
|
|
434
444
|
}
|
|
435
445
|
export interface CheckPEMChainRequestSecretChain {
|
|
436
446
|
secretId: string;
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
export {
|
|
20
|
-
CreateWafStageRequest,
|
|
21
|
-
UpdateWafStageRequest,
|
|
22
|
-
WafStage
|
|
23
|
-
};
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
|
|
3
|
+
CreateWafStageRequest: () => CreateWafStageRequest,
|
|
4
|
+
UpdateWafStageRequest: () => UpdateWafStageRequest,
|
|
5
|
+
WafStage: () => WafStage
|
|
6
|
+
});
|
|
7
|
+
const CreateWafStageRequest = { paranoiaLevel: {
|
|
8
|
+
greaterThanOrEqual: 1,
|
|
9
|
+
lessThanOrEqual: 4
|
|
10
|
+
} };
|
|
11
|
+
const UpdateWafStageRequest = { paranoiaLevel: {
|
|
12
|
+
greaterThanOrEqual: 1,
|
|
13
|
+
lessThanOrEqual: 4
|
|
14
|
+
} };
|
|
15
|
+
const WafStage = { paranoiaLevel: {
|
|
16
|
+
greaterThanOrEqual: 1,
|
|
17
|
+
lessThanOrEqual: 4
|
|
18
|
+
} };
|
|
19
|
+
export { validation_rules_gen_exports };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-edge-services",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Scaleway SDK edge-services",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@scaleway/random-name": "5.1.2",
|
|
30
|
-
"@scaleway/sdk-std": "2.
|
|
30
|
+
"@scaleway/sdk-std": "2.2.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@scaleway/sdk-client": "^2.1
|
|
33
|
+
"@scaleway/sdk-client": "^2.2.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@scaleway/sdk-client": "^2.1
|
|
36
|
+
"@scaleway/sdk-client": "^2.2.1"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"package:check": "pnpm publint",
|