@distilled.cloud/scaleway 0.0.0-stage → 1.0.0-rc.21
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/LICENSE +201 -0
- package/README.md +175 -2
- package/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +44 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +285 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +48 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/pagination.d.ts +10 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +1 -0
- package/lib/protocol.d.ts +48 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +1 -0
- package/lib/retry.d.ts +31 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +1 -0
- package/lib/services/account_contract_v3.d.ts +124 -0
- package/lib/services/account_contract_v3.d.ts.map +1 -0
- package/lib/services/account_contract_v3.js +2 -0
- package/lib/services/account_contract_v3.js.map +1 -0
- package/lib/services/account_iso_code_v3.d.ts +44 -0
- package/lib/services/account_iso_code_v3.d.ts.map +1 -0
- package/lib/services/account_iso_code_v3.js +2 -0
- package/lib/services/account_iso_code_v3.js.map +1 -0
- package/lib/services/account_organization_v3.d.ts +290 -0
- package/lib/services/account_organization_v3.d.ts.map +1 -0
- package/lib/services/account_organization_v3.js +2 -0
- package/lib/services/account_organization_v3.js.map +1 -0
- package/lib/services/account_project_v3.d.ts +173 -0
- package/lib/services/account_project_v3.d.ts.map +1 -0
- package/lib/services/account_project_v3.js +2 -0
- package/lib/services/account_project_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts +479 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.js +35 -0
- package/lib/services/account_unauthenticated_user_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_v3.d.ts +18 -0
- package/lib/services/account_unauthenticated_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_v3.js +2 -0
- package/lib/services/account_unauthenticated_v3.js.map +1 -0
- package/lib/services/account_user_v3.d.ts +522 -0
- package/lib/services/account_user_v3.d.ts.map +1 -0
- package/lib/services/account_user_v3.js +39 -0
- package/lib/services/account_user_v3.js.map +1 -0
- package/lib/services/annotations_v1.d.ts +260 -0
- package/lib/services/annotations_v1.d.ts.map +1 -0
- package/lib/services/annotations_v1.js +2 -0
- package/lib/services/annotations_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v1.d.ts +95 -0
- package/lib/services/baremetal_private_network_v1.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v1.js +2 -0
- package/lib/services/baremetal_private_network_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v3.d.ts +110 -0
- package/lib/services/baremetal_private_network_v3.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v3.js +2 -0
- package/lib/services/baremetal_private_network_v3.js.map +1 -0
- package/lib/services/baremetal_v1.d.ts +1089 -0
- package/lib/services/baremetal_v1.d.ts.map +1 -0
- package/lib/services/baremetal_v1.js +52 -0
- package/lib/services/baremetal_v1.js.map +1 -0
- package/lib/services/billing_electronic_billing_v2.d.ts +86 -0
- package/lib/services/billing_electronic_billing_v2.d.ts.map +1 -0
- package/lib/services/billing_electronic_billing_v2.js +2 -0
- package/lib/services/billing_electronic_billing_v2.js.map +1 -0
- package/lib/services/billing_v2.d.ts +187 -0
- package/lib/services/billing_v2.d.ts.map +1 -0
- package/lib/services/billing_v2.js +2 -0
- package/lib/services/billing_v2.js.map +1 -0
- package/lib/services/block_v1.d.ts +401 -0
- package/lib/services/block_v1.d.ts.map +1 -0
- package/lib/services/block_v1.js +27 -0
- package/lib/services/block_v1.js.map +1 -0
- package/lib/services/cockpit_global_v1.d.ts +75 -0
- package/lib/services/cockpit_global_v1.d.ts.map +1 -0
- package/lib/services/cockpit_global_v1.js +2 -0
- package/lib/services/cockpit_global_v1.js.map +1 -0
- package/lib/services/cockpit_regional_v1.d.ts +739 -0
- package/lib/services/cockpit_regional_v1.d.ts.map +1 -0
- package/lib/services/cockpit_regional_v1.js +47 -0
- package/lib/services/cockpit_regional_v1.js.map +1 -0
- package/lib/services/containers_v1.d.ts +822 -0
- package/lib/services/containers_v1.d.ts.map +1 -0
- package/lib/services/containers_v1.js +39 -0
- package/lib/services/containers_v1.js.map +1 -0
- package/lib/services/dedibox_billing_v1.d.ts +151 -0
- package/lib/services/dedibox_billing_v1.d.ts.map +1 -0
- package/lib/services/dedibox_billing_v1.js +2 -0
- package/lib/services/dedibox_billing_v1.js.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts +119 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.js +2 -0
- package/lib/services/dedibox_ipv6_block_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts +486 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.js +2 -0
- package/lib/services/dedibox_rpn_san_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1.d.ts +68 -0
- package/lib/services/dedibox_rpn_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1.js +2 -0
- package/lib/services/dedibox_rpn_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts +687 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.js +30 -0
- package/lib/services/dedibox_rpn_v1_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts +646 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.js +27 -0
- package/lib/services/dedibox_rpn_v2_v1.js.map +1 -0
- package/lib/services/dedibox_v1.d.ts +1351 -0
- package/lib/services/dedibox_v1.d.ts.map +1 -0
- package/lib/services/dedibox_v1.js +70 -0
- package/lib/services/dedibox_v1.js.map +1 -0
- package/lib/services/generative_apis_openai_v1.d.ts +772 -0
- package/lib/services/generative_apis_openai_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_openai_v1.js +24 -0
- package/lib/services/generative_apis_openai_v1.js.map +1 -0
- package/lib/services/generative_apis_v1.d.ts +82 -0
- package/lib/services/generative_apis_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_v1.js +2 -0
- package/lib/services/generative_apis_v1.js.map +1 -0
- package/lib/services/index.d.ts +57 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +56 -0
- package/lib/services/inference_v1.d.ts +460 -0
- package/lib/services/inference_v1.d.ts.map +1 -0
- package/lib/services/inference_v1.js +33 -0
- package/lib/services/inference_v1.js.map +1 -0
- package/lib/services/instance_v1.d.ts +2183 -0
- package/lib/services/instance_v1.d.ts.map +1 -0
- package/lib/services/instance_v1.js +112 -0
- package/lib/services/instance_v1.js.map +1 -0
- package/lib/services/iot_v1.d.ts +837 -0
- package/lib/services/iot_v1.d.ts.map +1 -0
- package/lib/services/iot_v1.js +50 -0
- package/lib/services/iot_v1.js.map +1 -0
- package/lib/services/ipam_v1.d.ts +244 -0
- package/lib/services/ipam_v1.d.ts.map +1 -0
- package/lib/services/ipam_v1.js +2 -0
- package/lib/services/ipam_v1.js.map +1 -0
- package/lib/services/k8s_v1.d.ts +1223 -0
- package/lib/services/k8s_v1.d.ts.map +1 -0
- package/lib/services/k8s_v1.js +61 -0
- package/lib/services/k8s_v1.js.map +1 -0
- package/lib/services/lb_zoned_v1.d.ts +1517 -0
- package/lib/services/lb_zoned_v1.d.ts.map +1 -0
- package/lib/services/lb_zoned_v1.js +75 -0
- package/lib/services/lb_zoned_v1.js.map +1 -0
- package/lib/services/marketplace_console_v2.d.ts +72 -0
- package/lib/services/marketplace_console_v2.d.ts.map +1 -0
- package/lib/services/marketplace_console_v2.js +2 -0
- package/lib/services/marketplace_console_v2.js.map +1 -0
- package/lib/services/marketplace_v2.d.ts +169 -0
- package/lib/services/marketplace_v2.d.ts.map +1 -0
- package/lib/services/marketplace_v2.js +2 -0
- package/lib/services/marketplace_v2.js.map +1 -0
- package/lib/services/mongodb_v1.d.ts +698 -0
- package/lib/services/mongodb_v1.d.ts.map +1 -0
- package/lib/services/mongodb_v1.js +43 -0
- package/lib/services/mongodb_v1.js.map +1 -0
- package/lib/services/partner_v1.d.ts +142 -0
- package/lib/services/partner_v1.d.ts.map +1 -0
- package/lib/services/partner_v1.js +2 -0
- package/lib/services/partner_v1.js.map +1 -0
- package/lib/services/rdb_encryption_v1.d.ts +17 -0
- package/lib/services/rdb_encryption_v1.d.ts.map +1 -0
- package/lib/services/rdb_encryption_v1.js +2 -0
- package/lib/services/rdb_encryption_v1.js.map +1 -0
- package/lib/services/rdb_v1.d.ts +1422 -0
- package/lib/services/rdb_v1.d.ts.map +1 -0
- package/lib/services/rdb_v1.js +87 -0
- package/lib/services/rdb_v1.js.map +1 -0
- package/lib/services/redis_v1.d.ts +602 -0
- package/lib/services/redis_v1.d.ts.map +1 -0
- package/lib/services/redis_v1.js +42 -0
- package/lib/services/redis_v1.js.map +1 -0
- package/lib/services/registry_v1.d.ts +281 -0
- package/lib/services/registry_v1.d.ts.map +1 -0
- package/lib/services/registry_v1.js +2 -0
- package/lib/services/registry_v1.js.map +1 -0
- package/lib/services/reseller_v1.d.ts +81 -0
- package/lib/services/reseller_v1.d.ts.map +1 -0
- package/lib/services/reseller_v1.js +2 -0
- package/lib/services/reseller_v1.js.map +1 -0
- package/lib/services/vpc_gw_v2.d.ts +635 -0
- package/lib/services/vpc_gw_v2.d.ts.map +1 -0
- package/lib/services/vpc_gw_v2.js +46 -0
- package/lib/services/vpc_gw_v2.js.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts +114 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.js +2 -0
- package/lib/services/vpc_private_network_with_nics_v2.js.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts +87 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js +2 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js.map +1 -0
- package/lib/services/vpc_v2.d.ts +875 -0
- package/lib/services/vpc_v2.d.ts.map +1 -0
- package/lib/services/vpc_v2.js +54 -0
- package/lib/services/vpc_v2.js.map +1 -0
- package/lib/services/webhosting_backup_v1.d.ts +182 -0
- package/lib/services/webhosting_backup_v1.d.ts.map +1 -0
- package/lib/services/webhosting_backup_v1.js +2 -0
- package/lib/services/webhosting_backup_v1.js.map +1 -0
- package/lib/services/webhosting_control_panel_v1.d.ts +37 -0
- package/lib/services/webhosting_control_panel_v1.d.ts.map +1 -0
- package/lib/services/webhosting_control_panel_v1.js +2 -0
- package/lib/services/webhosting_control_panel_v1.js.map +1 -0
- package/lib/services/webhosting_database_v1.d.ts +195 -0
- package/lib/services/webhosting_database_v1.d.ts.map +1 -0
- package/lib/services/webhosting_database_v1.js +2 -0
- package/lib/services/webhosting_database_v1.js.map +1 -0
- package/lib/services/webhosting_dedibox_v1.d.ts +232 -0
- package/lib/services/webhosting_dedibox_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dedibox_v1.js +2 -0
- package/lib/services/webhosting_dedibox_v1.js.map +1 -0
- package/lib/services/webhosting_dns_v1.d.ts +177 -0
- package/lib/services/webhosting_dns_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dns_v1.js +2 -0
- package/lib/services/webhosting_dns_v1.js.map +1 -0
- package/lib/services/webhosting_free_domain_v1.d.ts +51 -0
- package/lib/services/webhosting_free_domain_v1.d.ts.map +1 -0
- package/lib/services/webhosting_free_domain_v1.js +2 -0
- package/lib/services/webhosting_free_domain_v1.js.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts +79 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.js +2 -0
- package/lib/services/webhosting_ftp_account_v1.js.map +1 -0
- package/lib/services/webhosting_hosting_v1.d.ts +502 -0
- package/lib/services/webhosting_hosting_v1.d.ts.map +1 -0
- package/lib/services/webhosting_hosting_v1.js +27 -0
- package/lib/services/webhosting_hosting_v1.js.map +1 -0
- package/lib/services/webhosting_mail_account_v1.d.ts +84 -0
- package/lib/services/webhosting_mail_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_mail_account_v1.js +2 -0
- package/lib/services/webhosting_mail_account_v1.js.map +1 -0
- package/lib/services/webhosting_offer_v1.d.ts +122 -0
- package/lib/services/webhosting_offer_v1.d.ts.map +1 -0
- package/lib/services/webhosting_offer_v1.js +2 -0
- package/lib/services/webhosting_offer_v1.js.map +1 -0
- package/lib/services/webhosting_website_v1.d.ts +75 -0
- package/lib/services/webhosting_website_v1.d.ts.map +1 -0
- package/lib/services/webhosting_website_v1.js +2 -0
- package/lib/services/webhosting_website_v1.js.map +1 -0
- package/lib/services.lazy/account_contract_v3.js +1 -0
- package/lib/services.lazy/account_iso_code_v3.js +1 -0
- package/lib/services.lazy/account_organization_v3.js +1 -0
- package/lib/services.lazy/account_project_v3.js +1 -0
- package/lib/services.lazy/account_unauthenticated_user_v3.js +3 -0
- package/lib/services.lazy/account_unauthenticated_v3.js +1 -0
- package/lib/services.lazy/account_user_v3.js +3 -0
- package/lib/services.lazy/annotations_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v3.js +1 -0
- package/lib/services.lazy/baremetal_v1.js +3 -0
- package/lib/services.lazy/billing_electronic_billing_v2.js +1 -0
- package/lib/services.lazy/billing_v2.js +1 -0
- package/lib/services.lazy/block_v1.js +3 -0
- package/lib/services.lazy/cockpit_global_v1.js +1 -0
- package/lib/services.lazy/cockpit_regional_v1.js +3 -0
- package/lib/services.lazy/containers_v1.js +3 -0
- package/lib/services.lazy/dedibox_billing_v1.js +1 -0
- package/lib/services.lazy/dedibox_ipv6_block_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_san_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1_v1.js +3 -0
- package/lib/services.lazy/dedibox_rpn_v2_v1.js +3 -0
- package/lib/services.lazy/dedibox_v1.js +3 -0
- package/lib/services.lazy/generative_apis_openai_v1.js +3 -0
- package/lib/services.lazy/generative_apis_v1.js +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/inference_v1.js +3 -0
- package/lib/services.lazy/instance_v1.js +3 -0
- package/lib/services.lazy/iot_v1.js +3 -0
- package/lib/services.lazy/ipam_v1.js +1 -0
- package/lib/services.lazy/k8s_v1.js +3 -0
- package/lib/services.lazy/lb_zoned_v1.js +3 -0
- package/lib/services.lazy/marketplace_console_v2.js +1 -0
- package/lib/services.lazy/marketplace_v2.js +1 -0
- package/lib/services.lazy/mongodb_v1.js +3 -0
- package/lib/services.lazy/partner_v1.js +1 -0
- package/lib/services.lazy/rdb_encryption_v1.js +1 -0
- package/lib/services.lazy/rdb_v1.js +3 -0
- package/lib/services.lazy/redis_v1.js +3 -0
- package/lib/services.lazy/registry_v1.js +1 -0
- package/lib/services.lazy/reseller_v1.js +1 -0
- package/lib/services.lazy/vpc_gw_v2.js +3 -0
- package/lib/services.lazy/vpc_private_network_with_nics_v2.js +1 -0
- package/lib/services.lazy/vpc_routes_with_nexthop_v2.js +1 -0
- package/lib/services.lazy/vpc_v2.js +3 -0
- package/lib/services.lazy/webhosting_backup_v1.js +1 -0
- package/lib/services.lazy/webhosting_control_panel_v1.js +1 -0
- package/lib/services.lazy/webhosting_database_v1.js +1 -0
- package/lib/services.lazy/webhosting_dedibox_v1.js +1 -0
- package/lib/services.lazy/webhosting_dns_v1.js +1 -0
- package/lib/services.lazy/webhosting_free_domain_v1.js +1 -0
- package/lib/services.lazy/webhosting_ftp_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_hosting_v1.js +3 -0
- package/lib/services.lazy/webhosting_mail_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_offer_v1.js +1 -0
- package/lib/services.lazy/webhosting_website_v1.js +1 -0
- package/lib/traits.d.ts +25 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts +119 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js +2 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts +569 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js +38 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts +1082 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js +47 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts +368 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js +2 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts +78 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js +2 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js.map +1 -0
- package/lib/unstable-services/billing_v2beta1.d.ts +411 -0
- package/lib/unstable-services/billing_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_v2beta1.js +25 -0
- package/lib/unstable-services/billing_v2beta1.js.map +1 -0
- package/lib/unstable-services/block_v1alpha1.d.ts +372 -0
- package/lib/unstable-services/block_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/block_v1alpha1.js +27 -0
- package/lib/unstable-services/block_v1alpha1.js.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts +440 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js +27 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts +322 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.js +2 -0
- package/lib/unstable-services/datalab_v1beta1.js.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts +456 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.js +34 -0
- package/lib/unstable-services/dataviz_v1alpha1.js.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts +492 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js +34 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts +1087 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js +50 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts +19 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js +2 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_v2beta1.d.ts +520 -0
- package/lib/unstable-services/domain_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_v2beta1.js +44 -0
- package/lib/unstable-services/domain_v2beta1.js.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts +1153 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.js +81 -0
- package/lib/unstable-services/edge_services_v1beta1.js.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts +149 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js +2 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js.map +1 -0
- package/lib/unstable-services/file_v1alpha1.d.ts +350 -0
- package/lib/unstable-services/file_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/file_v1alpha1.js +24 -0
- package/lib/unstable-services/file_v1alpha1.js.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts +241 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js +2 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js.map +1 -0
- package/lib/unstable-services/functions_v1beta1.d.ts +852 -0
- package/lib/unstable-services/functions_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/functions_v1beta1.js +49 -0
- package/lib/unstable-services/functions_v1beta1.js.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts +257 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js +2 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts +1506 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.js +105 -0
- package/lib/unstable-services/iam_v1alpha1.js.map +1 -0
- package/lib/unstable-services/index.d.ts +44 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +43 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts +1745 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_v2alpha1.js +81 -0
- package/lib/unstable-services/instance_v2alpha1.js.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts +333 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js +26 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts +636 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.js +39 -0
- package/lib/unstable-services/interlink_v1beta1.js.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts +451 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.js +27 -0
- package/lib/unstable-services/kafka_v1alpha1.js.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts +515 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.js +36 -0
- package/lib/unstable-services/key_manager_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts +438 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.js +39 -0
- package/lib/unstable-services/mailbox_v1alpha1.js.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts +420 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.js +29 -0
- package/lib/unstable-services/messageq_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts +32 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_console_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts +177 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts +604 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.js +37 -0
- package/lib/unstable-services/mongodb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts +477 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js +2 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts +764 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.js +51 -0
- package/lib/unstable-services/qaas_v1alpha1.js.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts +794 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js +45 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js.map +1 -0
- package/lib/unstable-services/search_v1alpha1.d.ts +120 -0
- package/lib/unstable-services/search_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/search_v1alpha1.js +2 -0
- package/lib/unstable-services/search_v1alpha1.js.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts +424 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.js +29 -0
- package/lib/unstable-services/searchdb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts +407 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.js +32 -0
- package/lib/unstable-services/secret_manager_v1beta1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts +331 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js +28 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts +546 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js +35 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts +239 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js +2 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts +936 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js +46 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js.map +1 -0
- package/lib/unstable-services.lazy/apple_silicon_private_network_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/apple_silicon_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/audit_trail_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/autoscaling_v1alpha2.js +1 -0
- package/lib/unstable-services.lazy/billing_fin_ops_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/billing_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/block_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/data_orchestrator_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/datalab_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/dataviz_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/datawarehouse_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_registrar_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_suggestion_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/domain_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/edge_services_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/environmental_footprint_user_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/file_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/flexible_ip_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/functions_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/iam_unauthenticated_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/iam_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/unstable-services.lazy/instance_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/instance_volume_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/interlink_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/kafka_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/key_manager_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mailbox_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/messageq_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mnq_console_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_nats_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sns_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sqs_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mongodb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/product_catalog_public_catalog_v2alpha1.js +1 -0
- package/lib/unstable-services.lazy/qaas_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/s2s_vpn_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/search_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/searchdb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/secret_manager_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/serverless_sqldb_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/transactional_email_v1alpha1.js +3 -0
- package/package.json +94 -3
- package/src/credentials.ts +104 -0
- package/src/errors.ts +307 -0
- package/src/index.ts +52 -0
- package/src/pagination.ts +65 -0
- package/src/protocol.ts +496 -0
- package/src/retry.ts +47 -0
- package/src/services/account_contract_v3.ts +441 -0
- package/src/services/account_iso_code_v3.ts +165 -0
- package/src/services/account_organization_v3.ts +946 -0
- package/src/services/account_project_v3.ts +530 -0
- package/src/services/account_unauthenticated_user_v3.ts +1445 -0
- package/src/services/account_unauthenticated_v3.ts +92 -0
- package/src/services/account_user_v3.ts +1657 -0
- package/src/services/annotations_v1.ts +897 -0
- package/src/services/baremetal_private_network_v1.ts +327 -0
- package/src/services/baremetal_private_network_v3.ts +376 -0
- package/src/services/baremetal_v1.ts +3072 -0
- package/src/services/billing_electronic_billing_v2.ts +323 -0
- package/src/services/billing_v2.ts +662 -0
- package/src/services/block_v1.ts +1282 -0
- package/src/services/cockpit_global_v1.ts +282 -0
- package/src/services/cockpit_regional_v1.ts +2177 -0
- package/src/services/containers_v1.ts +2110 -0
- package/src/services/dedibox_billing_v1.ts +621 -0
- package/src/services/dedibox_ipv6_block_v1.ts +468 -0
- package/src/services/dedibox_rpn_san_v1.ts +1185 -0
- package/src/services/dedibox_rpn_v1.ts +207 -0
- package/src/services/dedibox_rpn_v1_v1.ts +1763 -0
- package/src/services/dedibox_rpn_v2_v1.ts +1654 -0
- package/src/services/dedibox_v1.ts +3765 -0
- package/src/services/generative_apis_openai_v1.ts +1692 -0
- package/src/services/generative_apis_v1.ts +251 -0
- package/src/services/index.ts +57 -0
- package/src/services/inference_v1.ts +1353 -0
- package/src/services/instance_v1.ts +6611 -0
- package/src/services/iot_v1.ts +2419 -0
- package/src/services/ipam_v1.ts +716 -0
- package/src/services/k8s_v1.ts +3108 -0
- package/src/services/lb_zoned_v1.ts +4533 -0
- package/src/services/marketplace_console_v2.ts +198 -0
- package/src/services/marketplace_v2.ts +625 -0
- package/src/services/mongodb_v1.ts +2104 -0
- package/src/services/partner_v1.ts +462 -0
- package/src/services/rdb_encryption_v1.ts +83 -0
- package/src/services/rdb_v1.ts +4211 -0
- package/src/services/redis_v1.ts +1918 -0
- package/src/services/registry_v1.ts +863 -0
- package/src/services/reseller_v1.ts +258 -0
- package/src/services/vpc_gw_v2.ts +2130 -0
- package/src/services/vpc_private_network_with_nics_v2.ts +311 -0
- package/src/services/vpc_routes_with_nexthop_v2.ts +226 -0
- package/src/services/vpc_v2.ts +2533 -0
- package/src/services/webhosting_backup_v1.ts +578 -0
- package/src/services/webhosting_control_panel_v1.ts +130 -0
- package/src/services/webhosting_database_v1.ts +682 -0
- package/src/services/webhosting_dedibox_v1.ts +480 -0
- package/src/services/webhosting_dns_v1.ts +471 -0
- package/src/services/webhosting_free_domain_v1.ts +190 -0
- package/src/services/webhosting_ftp_account_v1.ts +280 -0
- package/src/services/webhosting_hosting_v1.ts +1309 -0
- package/src/services/webhosting_mail_account_v1.ts +291 -0
- package/src/services/webhosting_offer_v1.ts +289 -0
- package/src/services/webhosting_website_v1.ts +274 -0
- package/src/traits.ts +63 -0
- package/src/unstable-services/apple_silicon_private_network_v1alpha1.ts +395 -0
- package/src/unstable-services/apple_silicon_v1alpha1.ts +1685 -0
- package/src/unstable-services/audit_trail_v1alpha1.ts +3220 -0
- package/src/unstable-services/autoscaling_v1alpha2.ts +1103 -0
- package/src/unstable-services/billing_fin_ops_v2beta1.ts +195 -0
- package/src/unstable-services/billing_v2beta1.ts +1203 -0
- package/src/unstable-services/block_v1alpha1.ts +1239 -0
- package/src/unstable-services/data_orchestrator_v1alpha2.ts +1230 -0
- package/src/unstable-services/datalab_v1beta1.ts +852 -0
- package/src/unstable-services/dataviz_v1alpha1.ts +1478 -0
- package/src/unstable-services/datawarehouse_v1beta1.ts +1504 -0
- package/src/unstable-services/domain_registrar_v2beta1.ts +2979 -0
- package/src/unstable-services/domain_suggestion_v2beta1.ts +86 -0
- package/src/unstable-services/domain_v2beta1.ts +1794 -0
- package/src/unstable-services/edge_services_v1beta1.ts +3724 -0
- package/src/unstable-services/environmental_footprint_user_v1alpha1.ts +429 -0
- package/src/unstable-services/file_v1alpha1.ts +1016 -0
- package/src/unstable-services/flexible_ip_v1alpha1.ts +804 -0
- package/src/unstable-services/functions_v1beta1.ts +2410 -0
- package/src/unstable-services/iam_unauthenticated_v1alpha1.ts +863 -0
- package/src/unstable-services/iam_v1alpha1.ts +4919 -0
- package/src/unstable-services/index.ts +44 -0
- package/src/unstable-services/instance_v2alpha1.ts +5377 -0
- package/src/unstable-services/instance_volume_v2alpha1.ts +1111 -0
- package/src/unstable-services/interlink_v1beta1.ts +1791 -0
- package/src/unstable-services/kafka_v1alpha1.ts +1275 -0
- package/src/unstable-services/key_manager_v1alpha1.ts +1618 -0
- package/src/unstable-services/mailbox_v1alpha1.ts +1561 -0
- package/src/unstable-services/messageq_v1alpha1.ts +1266 -0
- package/src/unstable-services/mnq_console_v1beta1.ts +111 -0
- package/src/unstable-services/mnq_nats_v1beta1.ts +608 -0
- package/src/unstable-services/mnq_sns_v1beta1.ts +523 -0
- package/src/unstable-services/mnq_sqs_v1beta1.ts +523 -0
- package/src/unstable-services/mongodb_v1alpha1.ts +1789 -0
- package/src/unstable-services/product_catalog_public_catalog_v2alpha1.ts +1109 -0
- package/src/unstable-services/qaas_v1alpha1.ts +2404 -0
- package/src/unstable-services/s2s_vpn_v1alpha1.ts +2173 -0
- package/src/unstable-services/search_v1alpha1.ts +349 -0
- package/src/unstable-services/searchdb_v1alpha1.ts +1273 -0
- package/src/unstable-services/secret_manager_v1beta1.ts +1255 -0
- package/src/unstable-services/serverless_jobs_v1alpha1.ts +1017 -0
- package/src/unstable-services/serverless_jobs_v1alpha2.ts +1516 -0
- package/src/unstable-services/serverless_sqldb_v1alpha1.ts +747 -0
- package/src/unstable-services/transactional_email_v1alpha1.ts +2495 -0
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { BinaryStream } from "@distilled.cloud/core/protocol-rest";
|
|
3
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-scaleway). Do not edit.
|
|
4
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
6
|
+
import { ScalewayServiceErrors } from "../errors.ts";
|
|
7
|
+
import { ScalewayProtocol, type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
8
|
+
import * as Retry from "../retry.ts";
|
|
9
|
+
import * as T from "../traits.ts";
|
|
10
|
+
// Schema table, filled on first reach (see __S at the end).
|
|
11
|
+
const __s: any[] = [];
|
|
12
|
+
|
|
13
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
14
|
+
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "scaleway-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "Scaleway",
|
|
23
|
+
service: "EnvironmentalFootprintUserV1alpha1",
|
|
24
|
+
propagate: "w3c",
|
|
25
|
+
} as const;
|
|
26
|
+
|
|
27
|
+
export type ReportType = "unknown_report_type" | "monthly" | "yearly";
|
|
28
|
+
export interface DownloadImpactReportRequest {
|
|
29
|
+
/** The UUID of the Organization for which you want to download a report. */
|
|
30
|
+
organization_id: string;
|
|
31
|
+
/** The start date of the period for which you want to download a report (ISO 8601 format, e.g. 2025-05-01T00:00:00Z). (RFC 3339 format) */
|
|
32
|
+
date?: string | null | undefined;
|
|
33
|
+
/** Type of report to download (e.g. `monthly`). */
|
|
34
|
+
type?: ReportType | (string & {}) | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface ScalewayStdFile {
|
|
37
|
+
name?: string | undefined;
|
|
38
|
+
content_type?: string | undefined;
|
|
39
|
+
content?: string | undefined;
|
|
40
|
+
}
|
|
41
|
+
export interface DownloadImpactReportRawRequest {
|
|
42
|
+
/** The UUID of the Organization for which you want to download a report. */
|
|
43
|
+
organization_id: string;
|
|
44
|
+
/** The start date of the period for which you want to download a report (ISO 8601 format, e.g. 2025-05-01T00:00:00Z). (RFC 3339 format) */
|
|
45
|
+
date?: string | null | undefined;
|
|
46
|
+
/** Type of report to download (e.g. `monthly`). */
|
|
47
|
+
type?: ReportType | (string & {}) | undefined;
|
|
48
|
+
}
|
|
49
|
+
export interface DownloadImpactReportRawResponse {
|
|
50
|
+
body: BinaryStream;
|
|
51
|
+
/** Media type of the body, from the response's `Content-Type` header (e.g. `image/jpeg`). */
|
|
52
|
+
contentType?: string | undefined;
|
|
53
|
+
}
|
|
54
|
+
export type GetImpactDataRequestRegionsList = Array<string>;
|
|
55
|
+
export type GetImpactDataRequestZonesList = Array<string>;
|
|
56
|
+
export type GetImpactDataRequestProjectIdsList = Array<string>;
|
|
57
|
+
export type ServiceCategory =
|
|
58
|
+
| "unknown_service_category"
|
|
59
|
+
| "baremetal"
|
|
60
|
+
| "compute"
|
|
61
|
+
| "storage"
|
|
62
|
+
| "network"
|
|
63
|
+
| "containers"
|
|
64
|
+
| "databases"
|
|
65
|
+
| "ai"
|
|
66
|
+
| "serverless";
|
|
67
|
+
export type GetImpactDataRequestServiceCategoriesList = Array<ServiceCategory | (string & {})>;
|
|
68
|
+
export type ProductCategory =
|
|
69
|
+
| "unknown_product_category"
|
|
70
|
+
| "apple_silicon"
|
|
71
|
+
| "block_storage"
|
|
72
|
+
| "dedibox"
|
|
73
|
+
| "elastic_metal"
|
|
74
|
+
| "instances"
|
|
75
|
+
| "object_storage"
|
|
76
|
+
| "load_balancer"
|
|
77
|
+
| "kubernetes"
|
|
78
|
+
| "managed_relational_databases"
|
|
79
|
+
| "managed_mongodb"
|
|
80
|
+
| "managed_redis"
|
|
81
|
+
| "managed_inference"
|
|
82
|
+
| "generative_apis"
|
|
83
|
+
| "serverless_functions"
|
|
84
|
+
| "serverless_containers"
|
|
85
|
+
| "serverless_jobs";
|
|
86
|
+
export type GetImpactDataRequestProductCategoriesList = Array<ProductCategory | (string & {})>;
|
|
87
|
+
export interface GetImpactDataRequest {
|
|
88
|
+
/** The UUID of the Organization for which you want to download a report. */
|
|
89
|
+
organization_id: string;
|
|
90
|
+
/** Start date (inclusive) of the period for which you want to retrieve impact data (ISO 8601 format, e.g. 2025-05-01T00:00:00Z). (RFC 3339 format) */
|
|
91
|
+
start_date?: string | undefined;
|
|
92
|
+
/** End date (exclusive) of the period for which you want to retrieve impact data (ISO 8601 format, with time in UTC, `YYYY-MM-DDTHH:MM:SSZ`). Defaults to today's date. (RFC 3339 format) */
|
|
93
|
+
end_date?: string | undefined;
|
|
94
|
+
/** List of regions to filter by (e.g. `fr-par`). Defaults to all regions. */
|
|
95
|
+
regions?: GetImpactDataRequestRegionsList | undefined;
|
|
96
|
+
/** List of zones to filter by (e.g. `fr-par-1`). Defaults to all zones. */
|
|
97
|
+
zones?: GetImpactDataRequestZonesList | undefined;
|
|
98
|
+
/** List of Project IDs to filter by. Defaults to all Projects in the Organization. */
|
|
99
|
+
project_ids?: GetImpactDataRequestProjectIdsList | undefined;
|
|
100
|
+
/** List of service categories to filter by. Defaults to all service categories. */
|
|
101
|
+
service_categories?: GetImpactDataRequestServiceCategoriesList | undefined;
|
|
102
|
+
/** List of product categories to filter by. Defaults to all product categories. */
|
|
103
|
+
product_categories?: GetImpactDataRequestProductCategoriesList | undefined;
|
|
104
|
+
}
|
|
105
|
+
export interface Impact {
|
|
106
|
+
/** The estimated carbon emissions in kilograms of COU+2082 equivalent (kgCOU+2082e). */
|
|
107
|
+
kg_co2_equivalent?: number | undefined;
|
|
108
|
+
/** The estimated water consumption in cubic meters (m³). */
|
|
109
|
+
m3_water_usage?: number | undefined;
|
|
110
|
+
}
|
|
111
|
+
export interface SkuImpact {
|
|
112
|
+
/** Unique ID of the combination of product, region and zone. */
|
|
113
|
+
sku?: string | undefined;
|
|
114
|
+
/** The total estimated impact for this SKU during the given period. */
|
|
115
|
+
total_sku_impact?: Impact | undefined;
|
|
116
|
+
/** The service category associated with this SKU. */
|
|
117
|
+
service_category?: ServiceCategory | undefined;
|
|
118
|
+
/** The product category associated with this SKU. */
|
|
119
|
+
product_category?: ProductCategory | undefined;
|
|
120
|
+
}
|
|
121
|
+
/** List of estimated impact values per SKU for this zone. */
|
|
122
|
+
export type ZoneImpactSkusList = Array<SkuImpact>;
|
|
123
|
+
export interface ZoneImpact {
|
|
124
|
+
/** ID of the zone. */
|
|
125
|
+
zone?: string | undefined;
|
|
126
|
+
/** The total estimated impact for this zone across all given service categories, and product categories during the given period. */
|
|
127
|
+
total_zone_impact?: Impact | undefined;
|
|
128
|
+
/** List of estimated impact values per SKU for this zone. */
|
|
129
|
+
skus?: ZoneImpactSkusList | undefined;
|
|
130
|
+
}
|
|
131
|
+
/** List of estimated impact values per zone. */
|
|
132
|
+
export type RegionImpactZonesList = Array<ZoneImpact>;
|
|
133
|
+
/** List of estimated impact values per SKU for this region. */
|
|
134
|
+
export type RegionImpactSkusList = Array<SkuImpact>;
|
|
135
|
+
export interface RegionImpact {
|
|
136
|
+
/** ID of the region. */
|
|
137
|
+
region?: string | undefined;
|
|
138
|
+
/** The total estimated impact for this region across all given zones, service categories, and product categories during the given period. */
|
|
139
|
+
total_region_impact?: Impact | undefined;
|
|
140
|
+
/** List of estimated impact values per zone. */
|
|
141
|
+
zones?: RegionImpactZonesList | undefined;
|
|
142
|
+
/** List of estimated impact values per SKU for this region. */
|
|
143
|
+
skus?: RegionImpactSkusList | undefined;
|
|
144
|
+
}
|
|
145
|
+
/** List of estimated impact values per region. */
|
|
146
|
+
export type ProjectImpactRegionsList = Array<RegionImpact>;
|
|
147
|
+
export interface ProjectImpact {
|
|
148
|
+
/** ID of the project. */
|
|
149
|
+
project_id?: string | undefined;
|
|
150
|
+
/** The total estimated impact for this Project across all given regions, zones, service categories, and product categories during the given period. */
|
|
151
|
+
total_project_impact?: Impact | undefined;
|
|
152
|
+
/** List of estimated impact values per region. */
|
|
153
|
+
regions?: ProjectImpactRegionsList | undefined;
|
|
154
|
+
}
|
|
155
|
+
/** List of estimated impact values per Project. */
|
|
156
|
+
export type ImpactDataResponseProjectsList = Array<ProjectImpact>;
|
|
157
|
+
export interface ImpactDataResponse {
|
|
158
|
+
/** Start date of the impact data period (inclusive). (RFC 3339 format) */
|
|
159
|
+
start_date?: string | null | undefined;
|
|
160
|
+
/** End date of the impact data period (exclusive). (RFC 3339 format) */
|
|
161
|
+
end_date?: string | null | undefined;
|
|
162
|
+
/** The total estimated impact across all given Projects, regions, zones, service categories, and product categories during the given period. */
|
|
163
|
+
total_impact?: Impact | undefined;
|
|
164
|
+
/** List of estimated impact values per Project. */
|
|
165
|
+
projects?: ImpactDataResponseProjectsList | undefined;
|
|
166
|
+
}
|
|
167
|
+
export interface GetImpactReportAvailabilityRequest {
|
|
168
|
+
/** The UUID of the Organization for which you want to download a report. */
|
|
169
|
+
organization_id: string;
|
|
170
|
+
/** Start date of the search period (ISO 8601 format, with time in UTC, `YYYY-MM-DDTHH:MM:SSZ`). The date is inclusive. (RFC 3339 format) */
|
|
171
|
+
start_date?: string | undefined;
|
|
172
|
+
/** End date of the search period (ISO 8601 format, with time in UTC, `YYYY-MM-DDTHH:MM:SSZ`). The date is inclusive. Defaults to today's date. (RFC 3339 format) */
|
|
173
|
+
end_date?: string | undefined;
|
|
174
|
+
}
|
|
175
|
+
/** The list of calendar months for which impact reports are available. (RFC 3339 format) */
|
|
176
|
+
export type ImpactReportAvailabilityMonthSummaryReportsList = Array<string | null>;
|
|
177
|
+
/** The list of calendar years for which impact reports are available. (RFC 3339 format) */
|
|
178
|
+
export type ImpactReportAvailabilityYearlySummaryReportsList = Array<string | null>;
|
|
179
|
+
export interface ImpactReportAvailability {
|
|
180
|
+
/** The list of calendar months for which impact reports are available. (RFC 3339 format) */
|
|
181
|
+
month_summary_reports: ImpactReportAvailabilityMonthSummaryReportsList;
|
|
182
|
+
/** The list of calendar years for which impact reports are available. (RFC 3339 format) */
|
|
183
|
+
yearly_summary_reports: ImpactReportAvailabilityYearlySummaryReportsList;
|
|
184
|
+
}
|
|
185
|
+
export type DownloadImpactReportError = ScalewayOpError;
|
|
186
|
+
/** Download PDF impact report Download a Scaleway impact PDF report with detailed impact data for your Scaleway projects. */
|
|
187
|
+
export const downloadImpactReport: API.OperationMethod<
|
|
188
|
+
DownloadImpactReportRequest,
|
|
189
|
+
ScalewayStdFile,
|
|
190
|
+
DownloadImpactReportError,
|
|
191
|
+
ScalewayOpContext
|
|
192
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
193
|
+
input: __S(0, __c0, 0) as any as S.Schema<DownloadImpactReportRequest>,
|
|
194
|
+
output: __S(1, __c0, 1) as any as S.Schema<ScalewayStdFile>,
|
|
195
|
+
errors: [],
|
|
196
|
+
serviceErrors: ScalewayServiceErrors,
|
|
197
|
+
protocol: ScalewayProtocol,
|
|
198
|
+
retry: Retry.Retry,
|
|
199
|
+
telemetry: TELEMETRY,
|
|
200
|
+
span: "DownloadImpactReport",
|
|
201
|
+
}));
|
|
202
|
+
|
|
203
|
+
export type DownloadImpactReportRawError = ScalewayOpError;
|
|
204
|
+
/** The file `downloadImpactReport` returns, as bytes (`?dl=1`), rather than the JSON file object. */
|
|
205
|
+
export const downloadImpactReportRaw: API.OperationMethod<
|
|
206
|
+
DownloadImpactReportRawRequest,
|
|
207
|
+
DownloadImpactReportRawResponse,
|
|
208
|
+
DownloadImpactReportRawError,
|
|
209
|
+
ScalewayOpContext
|
|
210
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
211
|
+
input: __S(16, __c1, 0) as any as S.Schema<DownloadImpactReportRawRequest>,
|
|
212
|
+
output: __S(17, __c1, 1) as any as S.Schema<DownloadImpactReportRawResponse>,
|
|
213
|
+
errors: [],
|
|
214
|
+
serviceErrors: ScalewayServiceErrors,
|
|
215
|
+
protocol: ScalewayProtocol,
|
|
216
|
+
retry: Retry.Retry,
|
|
217
|
+
telemetry: TELEMETRY,
|
|
218
|
+
span: "DownloadImpactReportRaw",
|
|
219
|
+
}));
|
|
220
|
+
|
|
221
|
+
export type GetImpactDataError = ScalewayOpError;
|
|
222
|
+
/** Retrieve detailed impact data Retrieve detailed impact data for your Scaleway projects within a specified date range. Filter by project ID, region, zone, service category, and/or product category. */
|
|
223
|
+
export const getImpactData: API.OperationMethod<
|
|
224
|
+
GetImpactDataRequest,
|
|
225
|
+
ImpactDataResponse,
|
|
226
|
+
GetImpactDataError,
|
|
227
|
+
ScalewayOpContext
|
|
228
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
229
|
+
input: __S(34, __c2, 2) as any as S.Schema<GetImpactDataRequest>,
|
|
230
|
+
output: __S(44, __c2, 12) as any as S.Schema<ImpactDataResponse>,
|
|
231
|
+
errors: [],
|
|
232
|
+
serviceErrors: ScalewayServiceErrors,
|
|
233
|
+
protocol: ScalewayProtocol,
|
|
234
|
+
retry: Retry.Retry,
|
|
235
|
+
telemetry: TELEMETRY,
|
|
236
|
+
span: "GetImpactData",
|
|
237
|
+
}));
|
|
238
|
+
|
|
239
|
+
export type GetImpactReportAvailabilityError = ScalewayOpError;
|
|
240
|
+
/** Get available impact reports Returns a list of dates of available impact reports. */
|
|
241
|
+
export const getImpactReportAvailability: API.OperationMethod<
|
|
242
|
+
GetImpactReportAvailabilityRequest,
|
|
243
|
+
ImpactReportAvailability,
|
|
244
|
+
GetImpactReportAvailabilityError,
|
|
245
|
+
ScalewayOpContext
|
|
246
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
247
|
+
input: __S(48, __c3, 0) as any as S.Schema<GetImpactReportAvailabilityRequest>,
|
|
248
|
+
output: __S(50, __c3, 2) as any as S.Schema<ImpactReportAvailability>,
|
|
249
|
+
errors: [],
|
|
250
|
+
serviceErrors: ScalewayServiceErrors,
|
|
251
|
+
protocol: ScalewayProtocol,
|
|
252
|
+
retry: Retry.Retry,
|
|
253
|
+
telemetry: TELEMETRY,
|
|
254
|
+
span: "GetImpactReportAvailability",
|
|
255
|
+
}));
|
|
256
|
+
|
|
257
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
258
|
+
function __c0(j: number): any {
|
|
259
|
+
switch (j) {
|
|
260
|
+
case 0:
|
|
261
|
+
return S.suspend(() =>
|
|
262
|
+
S.Struct({
|
|
263
|
+
organization_id: S.String,
|
|
264
|
+
date: S.optional(S.NullOr(S.String)),
|
|
265
|
+
type: S.optional(S.String),
|
|
266
|
+
}).pipe(
|
|
267
|
+
T.Http({
|
|
268
|
+
method: "POST",
|
|
269
|
+
uri: "/environmental-footprint/v1alpha1/reports/download",
|
|
270
|
+
code: 200,
|
|
271
|
+
baseUrl: "https://api.scaleway.com",
|
|
272
|
+
}),
|
|
273
|
+
),
|
|
274
|
+
).annotate({ identifier: "DownloadImpactReportRequest" });
|
|
275
|
+
case 1:
|
|
276
|
+
return S.suspend(() =>
|
|
277
|
+
S.Struct({
|
|
278
|
+
name: S.optional(S.String),
|
|
279
|
+
content_type: S.optional(S.String),
|
|
280
|
+
content: S.optional(S.String),
|
|
281
|
+
}),
|
|
282
|
+
).annotate({ identifier: "ScalewayStdFile" });
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
function __c1(j: number): any {
|
|
286
|
+
switch (j) {
|
|
287
|
+
case 0:
|
|
288
|
+
return S.suspend(() =>
|
|
289
|
+
S.Struct({
|
|
290
|
+
organization_id: S.String,
|
|
291
|
+
date: S.optional(S.NullOr(S.String)),
|
|
292
|
+
type: S.optional(S.String),
|
|
293
|
+
}).pipe(
|
|
294
|
+
T.Http({
|
|
295
|
+
method: "POST",
|
|
296
|
+
uri: "/environmental-footprint/v1alpha1/reports/download",
|
|
297
|
+
code: 200,
|
|
298
|
+
baseUrl: "https://api.scaleway.com",
|
|
299
|
+
rawDownload: true,
|
|
300
|
+
}),
|
|
301
|
+
),
|
|
302
|
+
).annotate({ identifier: "DownloadImpactReportRawRequest" });
|
|
303
|
+
case 1:
|
|
304
|
+
return S.suspend(() =>
|
|
305
|
+
S.Struct({
|
|
306
|
+
body: BinaryStream.pipe(T.RawResponse(), T.BinaryResponse()),
|
|
307
|
+
contentType: S.optional(S.String.pipe(T.Header("Content-Type"))),
|
|
308
|
+
}),
|
|
309
|
+
).annotate({ identifier: "DownloadImpactReportRawResponse" });
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
function __c2(j: number): any {
|
|
313
|
+
switch (j) {
|
|
314
|
+
case 0:
|
|
315
|
+
return S.Array(S.String);
|
|
316
|
+
case 1:
|
|
317
|
+
return S.Array(S.String);
|
|
318
|
+
case 2:
|
|
319
|
+
return S.suspend(() =>
|
|
320
|
+
S.Struct({
|
|
321
|
+
organization_id: S.String.pipe(T.Query()),
|
|
322
|
+
start_date: S.optional(S.String.pipe(T.Query())),
|
|
323
|
+
end_date: S.optional(S.String.pipe(T.Query())),
|
|
324
|
+
regions: S.optional(__S(32, __c2, 0).pipe(T.Query())),
|
|
325
|
+
zones: S.optional(__S(32, __c2, 0).pipe(T.Query())),
|
|
326
|
+
project_ids: S.optional(__S(32, __c2, 0).pipe(T.Query())),
|
|
327
|
+
service_categories: S.optional(__S(33, __c2, 1).pipe(T.Query())),
|
|
328
|
+
product_categories: S.optional(__S(33, __c2, 1).pipe(T.Query())),
|
|
329
|
+
}).pipe(
|
|
330
|
+
T.Http({
|
|
331
|
+
method: "GET",
|
|
332
|
+
uri: "/environmental-footprint/v1alpha1/data/query",
|
|
333
|
+
code: 200,
|
|
334
|
+
baseUrl: "https://api.scaleway.com",
|
|
335
|
+
}),
|
|
336
|
+
),
|
|
337
|
+
).annotate({ identifier: "GetImpactDataRequest" });
|
|
338
|
+
case 3:
|
|
339
|
+
return S.suspend(() =>
|
|
340
|
+
S.Struct({
|
|
341
|
+
kg_co2_equivalent: S.optional(S.Number),
|
|
342
|
+
m3_water_usage: S.optional(S.Number),
|
|
343
|
+
}),
|
|
344
|
+
).annotate({ identifier: "Impact" });
|
|
345
|
+
case 4:
|
|
346
|
+
return S.suspend(() =>
|
|
347
|
+
S.Struct({
|
|
348
|
+
sku: S.optional(S.String),
|
|
349
|
+
total_sku_impact: S.optional(__S(35, __c2, 3)),
|
|
350
|
+
service_category: S.optional(S.String),
|
|
351
|
+
product_category: S.optional(S.String),
|
|
352
|
+
}),
|
|
353
|
+
).annotate({ identifier: "SkuImpact" });
|
|
354
|
+
case 5:
|
|
355
|
+
return S.Array(__S(36, __c2, 4));
|
|
356
|
+
case 6:
|
|
357
|
+
return S.suspend(() =>
|
|
358
|
+
S.Struct({
|
|
359
|
+
zone: S.optional(S.String),
|
|
360
|
+
total_zone_impact: S.optional(__S(35, __c2, 3)),
|
|
361
|
+
skus: S.optional(__S(37, __c2, 5)),
|
|
362
|
+
}),
|
|
363
|
+
).annotate({ identifier: "ZoneImpact" });
|
|
364
|
+
case 7:
|
|
365
|
+
return S.Array(__S(38, __c2, 6));
|
|
366
|
+
case 8:
|
|
367
|
+
return S.suspend(() =>
|
|
368
|
+
S.Struct({
|
|
369
|
+
region: S.optional(S.String),
|
|
370
|
+
total_region_impact: S.optional(__S(35, __c2, 3)),
|
|
371
|
+
zones: S.optional(__S(39, __c2, 7)),
|
|
372
|
+
skus: S.optional(__S(37, __c2, 5)),
|
|
373
|
+
}),
|
|
374
|
+
).annotate({ identifier: "RegionImpact" });
|
|
375
|
+
case 9:
|
|
376
|
+
return S.Array(__S(40, __c2, 8));
|
|
377
|
+
case 10:
|
|
378
|
+
return S.suspend(() =>
|
|
379
|
+
S.Struct({
|
|
380
|
+
project_id: S.optional(S.String),
|
|
381
|
+
total_project_impact: S.optional(__S(35, __c2, 3)),
|
|
382
|
+
regions: S.optional(__S(41, __c2, 9)),
|
|
383
|
+
}),
|
|
384
|
+
).annotate({ identifier: "ProjectImpact" });
|
|
385
|
+
case 11:
|
|
386
|
+
return S.Array(__S(42, __c2, 10));
|
|
387
|
+
case 12:
|
|
388
|
+
return S.suspend(() =>
|
|
389
|
+
S.Struct({
|
|
390
|
+
start_date: S.optional(S.NullOr(S.String)),
|
|
391
|
+
end_date: S.optional(S.NullOr(S.String)),
|
|
392
|
+
total_impact: S.optional(__S(35, __c2, 3)),
|
|
393
|
+
projects: S.optional(__S(43, __c2, 11)),
|
|
394
|
+
}),
|
|
395
|
+
).annotate({ identifier: "ImpactDataResponse" });
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
function __c3(j: number): any {
|
|
399
|
+
switch (j) {
|
|
400
|
+
case 0:
|
|
401
|
+
return S.suspend(() =>
|
|
402
|
+
S.Struct({
|
|
403
|
+
organization_id: S.String.pipe(T.Query()),
|
|
404
|
+
start_date: S.optional(S.String.pipe(T.Query())),
|
|
405
|
+
end_date: S.optional(S.String.pipe(T.Query())),
|
|
406
|
+
}).pipe(
|
|
407
|
+
T.Http({
|
|
408
|
+
method: "GET",
|
|
409
|
+
uri: "/environmental-footprint/v1alpha1/reports/availability",
|
|
410
|
+
code: 200,
|
|
411
|
+
baseUrl: "https://api.scaleway.com",
|
|
412
|
+
}),
|
|
413
|
+
),
|
|
414
|
+
).annotate({ identifier: "GetImpactReportAvailabilityRequest" });
|
|
415
|
+
case 1:
|
|
416
|
+
return S.Array(/*@__PURE__*/ S.NullOr(S.String));
|
|
417
|
+
case 2:
|
|
418
|
+
return S.suspend(() =>
|
|
419
|
+
S.Struct({
|
|
420
|
+
month_summary_reports: __S(49, __c3, 1),
|
|
421
|
+
yearly_summary_reports: __S(49, __c3, 1),
|
|
422
|
+
}),
|
|
423
|
+
).annotate({ identifier: "ImpactReportAvailability" });
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
427
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
428
|
+
return (__s[i] ??= __L.at(f, j));
|
|
429
|
+
}
|