@scaleway/sdk-edge-services 2.4.0 → 2.5.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.
@@ -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';
@@ -453,6 +453,10 @@ export interface PlanDetails {
453
453
  * Number of WAF requests included in subscription plan.
454
454
  */
455
455
  wafRequests: number;
456
+ /**
457
+ * Number of backends per pipeline included in subscription plan.
458
+ */
459
+ backendLimit: number;
456
460
  }
457
461
  export interface PlanUsageDetails {
458
462
  /**
@@ -1,23 +1,19 @@
1
- const CreateWafStageRequest = {
2
- paranoiaLevel: {
3
- greaterThanOrEqual: 1,
4
- lessThanOrEqual: 4
5
- }
6
- };
7
- const UpdateWafStageRequest = {
8
- paranoiaLevel: {
9
- greaterThanOrEqual: 1,
10
- lessThanOrEqual: 4
11
- }
12
- };
13
- const WafStage = {
14
- paranoiaLevel: {
15
- greaterThanOrEqual: 1,
16
- lessThanOrEqual: 4
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.4.0",
3
+ "version": "2.5.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.1.0"
30
+ "@scaleway/sdk-std": "2.2.0"
31
31
  },
32
32
  "peerDependencies": {
33
- "@scaleway/sdk-client": "^2.1.0"
33
+ "@scaleway/sdk-client": "^2.2.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@scaleway/sdk-client": "^2.1.0"
36
+ "@scaleway/sdk-client": "^2.2.0"
37
37
  },
38
38
  "scripts": {
39
39
  "package:check": "pnpm publint",