@distilled.cloud/scaleway 0.0.0 → 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 +171 -4
- 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 +89 -2
- 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,177 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
3
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
4
|
+
export type GetDomainRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
5
|
+
export interface GetDomainRequest {
|
|
6
|
+
/** The region you want to target */
|
|
7
|
+
region?: GetDomainRequestRegion | (string & {}) | undefined;
|
|
8
|
+
/** Domain name to get. */
|
|
9
|
+
domain_name: string;
|
|
10
|
+
/** ID of the Scaleway Project in which to get the domain to create the Web Hosting plan. */
|
|
11
|
+
project_id: string;
|
|
12
|
+
}
|
|
13
|
+
export type DomainStatus = "unknown_status" | "valid" | "invalid" | "validating" | "error";
|
|
14
|
+
export type DomainZoneOwner = "unknown_zone_owner" | "external" | "scaleway" | "online" | "webhosting";
|
|
15
|
+
export type DomainAction = "unknown_action" | "transfer" | "manage_external" | "renew";
|
|
16
|
+
/** A list of actions that can be performed on the domain. */
|
|
17
|
+
export type DomainAvailableActionsList = Array<DomainAction>;
|
|
18
|
+
export type DomainDnsAction = "unknown_dns_action" | "auto_config_all_records" | "auto_config_web_records" | "auto_config_mail_records" | "auto_config_nameservers" | "auto_config_none";
|
|
19
|
+
/** A list of DNS-related actions that can be auto configured for the domain (deprecated, use auto_config_domain_dns instead). */
|
|
20
|
+
export type DomainAvailableDnsActionsList = Array<DomainDnsAction>;
|
|
21
|
+
export interface AutoConfigDomainDns {
|
|
22
|
+
/** Whether or not to synchronize domain nameservers. */
|
|
23
|
+
nameservers?: boolean | undefined;
|
|
24
|
+
/** Whether or not to synchronize web records. */
|
|
25
|
+
web_records?: boolean | undefined;
|
|
26
|
+
/** Whether or not to synchronize mail records. */
|
|
27
|
+
mail_records?: boolean | undefined;
|
|
28
|
+
/** Whether or not to synchronize all types of records. Takes priority over the other fields. */
|
|
29
|
+
all_records?: boolean | undefined;
|
|
30
|
+
/** No automatic domain configuration. Users must configure their domain for the Web Hosting to work. */
|
|
31
|
+
none?: boolean | undefined;
|
|
32
|
+
}
|
|
33
|
+
export interface Domain {
|
|
34
|
+
/** Name of the domain. */
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
/** Current status of the domain. */
|
|
37
|
+
status?: DomainStatus | undefined;
|
|
38
|
+
/** Zone owner of the domain. */
|
|
39
|
+
owner?: DomainZoneOwner | undefined;
|
|
40
|
+
/** Main domain for this zone. */
|
|
41
|
+
zone_domain_name?: string | undefined;
|
|
42
|
+
/** A list of actions that can be performed on the domain. */
|
|
43
|
+
available_actions?: DomainAvailableActionsList | undefined;
|
|
44
|
+
/** A list of DNS-related actions that can be auto configured for the domain (deprecated, use auto_config_domain_dns instead). */
|
|
45
|
+
available_dns_actions?: DomainAvailableDnsActionsList | undefined;
|
|
46
|
+
/** Whether or not to synchronize each type of record. */
|
|
47
|
+
auto_config_domain_dns?: AutoConfigDomainDns | undefined;
|
|
48
|
+
}
|
|
49
|
+
export type GetDomainDnsRecordsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
50
|
+
export interface GetDomainDnsRecordsRequest {
|
|
51
|
+
/** The region you want to target */
|
|
52
|
+
region?: GetDomainDnsRecordsRequestRegion | (string & {}) | undefined;
|
|
53
|
+
/** Domain associated with the DNS records. */
|
|
54
|
+
domain: string;
|
|
55
|
+
}
|
|
56
|
+
export type DnsRecordType = "unknown_type" | "a" | "cname" | "mx" | "txt" | "ns" | "aaaa";
|
|
57
|
+
export type DnsRecordStatus = "unknown_status" | "valid" | "invalid";
|
|
58
|
+
export interface DnsRecord {
|
|
59
|
+
/** Record name. */
|
|
60
|
+
name?: string | undefined;
|
|
61
|
+
/** Record type. */
|
|
62
|
+
type?: DnsRecordType | undefined;
|
|
63
|
+
/** Record time-to-live. */
|
|
64
|
+
ttl?: number | undefined;
|
|
65
|
+
/** Record value. */
|
|
66
|
+
value?: string | undefined;
|
|
67
|
+
/** Record priority level. */
|
|
68
|
+
priority?: number | null | undefined;
|
|
69
|
+
/** Record status. */
|
|
70
|
+
status?: DnsRecordStatus | undefined;
|
|
71
|
+
/** Record representation as it appears in the zone file or DNS management system. */
|
|
72
|
+
raw_data?: string | undefined;
|
|
73
|
+
}
|
|
74
|
+
/** List of DNS records. */
|
|
75
|
+
export type DnsRecordsRecordsList = Array<DnsRecord>;
|
|
76
|
+
export type NameserverStatus = "unknown_status" | "valid" | "invalid";
|
|
77
|
+
export interface Nameserver {
|
|
78
|
+
/** Hostname of the nameserver. */
|
|
79
|
+
hostname?: string | undefined;
|
|
80
|
+
/** Status of the nameserver. */
|
|
81
|
+
status?: NameserverStatus | undefined;
|
|
82
|
+
/** Defines whether the nameserver is the default one. */
|
|
83
|
+
is_default?: boolean | undefined;
|
|
84
|
+
}
|
|
85
|
+
/** List of nameservers. */
|
|
86
|
+
export type DnsRecordsNameServersList = Array<Nameserver>;
|
|
87
|
+
export type DnsRecordsStatus = "unknown_status" | "valid" | "invalid";
|
|
88
|
+
/** Records dns auto configuration settings (deprecated, use auto_config_domain_dns). */
|
|
89
|
+
export type DnsRecordsDnsConfigList = Array<DomainDnsAction>;
|
|
90
|
+
export interface DnsRecords {
|
|
91
|
+
/** List of DNS records. */
|
|
92
|
+
records?: DnsRecordsRecordsList | undefined;
|
|
93
|
+
/** List of nameservers. */
|
|
94
|
+
name_servers?: DnsRecordsNameServersList | undefined;
|
|
95
|
+
/** Status of the records. */
|
|
96
|
+
status?: DnsRecordsStatus | undefined;
|
|
97
|
+
/** Records dns auto configuration settings (deprecated, use auto_config_domain_dns). */
|
|
98
|
+
dns_config?: DnsRecordsDnsConfigList | undefined;
|
|
99
|
+
/** Whether or not to synchronize each types of records. */
|
|
100
|
+
auto_config_domain_dns?: AutoConfigDomainDns | undefined;
|
|
101
|
+
}
|
|
102
|
+
export type SearchDomainsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
103
|
+
export interface SearchDomainsRequest {
|
|
104
|
+
/** The region you want to target */
|
|
105
|
+
region?: SearchDomainsRequestRegion | (string & {}) | undefined;
|
|
106
|
+
/** Domain name to search. */
|
|
107
|
+
domain_name: string;
|
|
108
|
+
/** ID of the Scaleway Project in which to search the domain to create the Web Hosting plan. */
|
|
109
|
+
project_id: string;
|
|
110
|
+
}
|
|
111
|
+
export type DomainAvailabilityStatus = "unknown_status" | "available" | "not_available" | "owned" | "validating" | "error";
|
|
112
|
+
export type DomainAvailabilityAction = "unknown_action" | "register" | "transfer" | "manage_external";
|
|
113
|
+
/** A list of actions that can be performed on the domain. */
|
|
114
|
+
export type DomainAvailabilityAvailableActionsList = Array<DomainAvailabilityAction>;
|
|
115
|
+
export interface GoogleTypeMoney {
|
|
116
|
+
currency_code?: string | undefined;
|
|
117
|
+
units?: number | undefined;
|
|
118
|
+
nanos?: number | undefined;
|
|
119
|
+
}
|
|
120
|
+
export interface DomainAvailability {
|
|
121
|
+
/** Fully qualified domain name (FQDN). */
|
|
122
|
+
name?: string | undefined;
|
|
123
|
+
/** DNS zone associated with the domain. */
|
|
124
|
+
zone_name?: string | undefined;
|
|
125
|
+
/** Availability status of the domain. */
|
|
126
|
+
status?: DomainAvailabilityStatus | undefined;
|
|
127
|
+
/** A list of actions that can be performed on the domain. */
|
|
128
|
+
available_actions?: DomainAvailabilityAvailableActionsList | undefined;
|
|
129
|
+
/** Whether a hosting can be created for this domain. */
|
|
130
|
+
can_create_hosting?: boolean | undefined;
|
|
131
|
+
/** Price for registering the domain. */
|
|
132
|
+
price?: GoogleTypeMoney | undefined;
|
|
133
|
+
}
|
|
134
|
+
/** List of domains availability. */
|
|
135
|
+
export type SearchDomainsResponseDomainsAvailableList = Array<DomainAvailability>;
|
|
136
|
+
export interface SearchDomainsResponse {
|
|
137
|
+
/** List of domains availability. */
|
|
138
|
+
domains_available?: SearchDomainsResponseDomainsAvailableList | undefined;
|
|
139
|
+
}
|
|
140
|
+
export type SyncDomainDnsRecordsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
141
|
+
export interface SyncDomainDnsRecordsRequestRecord {
|
|
142
|
+
name?: string | undefined;
|
|
143
|
+
type?: DnsRecordType | (string & {}) | undefined;
|
|
144
|
+
}
|
|
145
|
+
/** Custom records to synchronize. */
|
|
146
|
+
export type SyncDomainDnsRecordsRequestCustomRecordsList = Array<SyncDomainDnsRecordsRequestRecord>;
|
|
147
|
+
export interface SyncDomainDnsRecordsRequest {
|
|
148
|
+
/** The region you want to target */
|
|
149
|
+
region?: SyncDomainDnsRecordsRequestRegion | (string & {}) | undefined;
|
|
150
|
+
/** Domain for which the DNS records will be synchronized. */
|
|
151
|
+
domain: string;
|
|
152
|
+
/** Whether or not to synchronize the web records (deprecated, use auto_config_domain_dns). */
|
|
153
|
+
update_web_records?: boolean | undefined;
|
|
154
|
+
/** Whether or not to synchronize the mail records (deprecated, use auto_config_domain_dns). */
|
|
155
|
+
update_mail_records?: boolean | undefined;
|
|
156
|
+
/** Whether or not to synchronize all types of records. This one has priority (deprecated, use auto_config_domain_dns). */
|
|
157
|
+
update_all_records?: boolean | undefined;
|
|
158
|
+
/** Whether or not to synchronize domain nameservers (deprecated, use auto_config_domain_dns). */
|
|
159
|
+
update_nameservers?: boolean | undefined;
|
|
160
|
+
/** Custom records to synchronize. */
|
|
161
|
+
custom_records?: SyncDomainDnsRecordsRequestCustomRecordsList | undefined;
|
|
162
|
+
/** Whether or not to synchronize each types of records. */
|
|
163
|
+
auto_config_domain_dns?: AutoConfigDomainDns | undefined;
|
|
164
|
+
}
|
|
165
|
+
export type GetDomainError = ScalewayOpError;
|
|
166
|
+
/** Retrieve detailed information about a specific domain, including its status, DNS configuration, and ownership. */
|
|
167
|
+
export declare const getDomain: API.OperationMethod<GetDomainRequest, Domain, GetDomainError, ScalewayOpContext>;
|
|
168
|
+
export type GetDomainDnsRecordsError = ScalewayOpError;
|
|
169
|
+
/** Get DNS records Get the set of DNS records of a specified domain associated with a Web Hosting plan's domain. */
|
|
170
|
+
export declare const getDomainDnsRecords: API.OperationMethod<GetDomainDnsRecordsRequest, DnsRecords, GetDomainDnsRecordsError, ScalewayOpContext>;
|
|
171
|
+
export type SearchDomainsError = ScalewayOpError;
|
|
172
|
+
/** Search for available domains based on domain name. */
|
|
173
|
+
export declare const searchDomains: API.OperationMethod<SearchDomainsRequest, SearchDomainsResponse, SearchDomainsError, ScalewayOpContext>;
|
|
174
|
+
export type SyncDomainDnsRecordsError = ScalewayOpError;
|
|
175
|
+
/** Synchronize your DNS records on the Elements Console and on cPanel. */
|
|
176
|
+
export declare const syncDomainDnsRecords: API.OperationMethod<SyncDomainDnsRecordsRequest, DnsRecords, SyncDomainDnsRecordsError, ScalewayOpContext>;
|
|
177
|
+
//# sourceMappingURL=webhosting_dns_v1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhosting_dns_v1.d.ts","sources":["../../src/services/webhosting_dns_v1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA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,oHAAoH;AACpH,eAAO,MAAM,mBAAmB,EAAE,GAAG,CAAC,eAAe,CACnD,0BAA0B,EAC1B,UAAU,EACV,wBAAwB,EACxB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AACjD,yDAAyD;AACzD,eAAO,MAAM,aAAa,EAAE,GAAG,CAAC,eAAe,CAC7C,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC;AACxD,0EAA0E;AAC1E,eAAO,MAAM,oBAAoB,EAAE,GAAG,CAAC,eAAe,CACpD,2BAA2B,EAC3B,UAAU,EACV,yBAAyB,EACzB,iBAAiB,CAUhB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Tc as e,Uc as t,a as n,b as r,bd as i,cd as a,errors$ScalewayServiceErrors as o,fd as s,gd as c,l,n as u,nd as d,protocol$ScalewayProtocol as f,retry$Retry as p,sd as m,td as h,traits$Http as g,traits$Label as _,traits$Query as v}from"../_bundle/sdk.js";const y={system:`scaleway-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Scaleway`,service:`WebhostingDnsV1`,labels:`scaleway`,propagate:`w3c`};const b=/*@__PURE__*/ u(e=>e===n?l(`Domain`,`{input:#1,output:#2,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"Get%"};$7(>3)@"Get%Request";$7(>4)@"%";$6({region:$4($3.pipe($2())),domain_name:$3.pipe($2()),project_id:$3.pipe($5())}).pipe($1({method:"GET",uri:"/webhosting/v1/regions/{region}/domains/{domain_name}",code:200,baseUrl:"https://api.scaleway.com"}));$6({name:$4($3),status:$4($3),owner:$4($3),zone_domain_name:$4($3),available_actions:$4(#8:0),available_dns_actions:$4(#8:0),auto_config_domain_dns:$4(#9:0)})`,[d,g,_,s,m,v,c,h,__d0,__d1,o,f,p,y]):r(b,e));const x=/*@__PURE__*/ u(e=>e===n?l(`GetDomainDnsRecords`,`{input:#1,output:#7:4,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),domain:$3.pipe($2())}).pipe($1({method:"GET",uri:"/webhosting/v1/regions/{region}/domains/{domain}/dns-records",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,g,_,s,m,c,h,__d2,o,f,p,y]):r(x,e));const S=/*@__PURE__*/ u(i=>i===n?l(`SearchDomains`,`{input:#1,output:#5,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%"};$7(>6)@"%Request";$7(>7)@"GoogleTypeMoney";$7(>8)@"DomainAvailability";$11(#3);$7(>9)@"%Response";$6({region:$4($3.pipe($2())),domain_name:$3.pipe($5()),project_id:$3.pipe($5())}).pipe($1({method:"GET",uri:"/webhosting/v1/regions/{region}/search-domains",code:200,baseUrl:"https://api.scaleway.com"}));$6({currency_code:$4($3),units:$4($8),nanos:$4($8)});$6({name:$4($3),zone_name:$4($3),status:$4($3),available_actions:$4(#9:0),can_create_hosting:$4($10),price:$4(#2)});$6({domains_available:$4(#4)})`,[d,g,_,s,m,v,c,h,a,__d0,t,e,o,f,p,y]):r(S,i));const C=/*@__PURE__*/ u(i=>i===n?l(`SyncDomainDnsRecords`,`{input:#3,output:#10:4,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$4(>4)@"%RequestRecord";$5(#1);$4(>5)@"%Request";$3({name:$2($1),type:$2($1)});$3({region:$2($1.pipe($7())),domain:$1.pipe($7()),update_web_records:$2($8),update_mail_records:$2($8),update_all_records:$2($8),update_nameservers:$2($8),custom_records:$2(#2),auto_config_domain_dns:$2(#9:0)}).pipe($6({method:"POST",uri:"/webhosting/v1/regions/{region}/domains/{domain}/sync-domain-dns-records",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,s,m,c,h,e,g,_,t,__d1,__d2,o,f,p,y]):r(C,i));function __d0(){return[`$2($1)`,[d,s,e]]}function __d1(){return[`$4(>1)@"AutoConfigDomainDns";$3({nameservers:$2($1),web_records:$2($1),mail_records:$2($1),all_records:$2($1),none:$2($1)})`,[d,t,m,c,h]]}function __d2(){return[`$6(>5)@"DnsRecord";$7(#0);$6(>6)@"Nameserver";$7(#2);$6(>7)@"DnsRecords";$5({name:$2($1),type:$2($1),ttl:$2($3),value:$2($1),priority:$2($4($3)),status:$2($1),raw_data:$2($1)});$5({hostname:$2($1),status:$2($1),is_default:$2($8)});$5({records:$2(#1),name_servers:$2(#3),status:$2($1),dns_config:$2(#9:0),auto_config_domain_dns:$2(#10:0)})`,[d,s,m,a,i,c,h,e,t,__d0,__d1]]}export{b as getDomain,x as getDomainDnsRecords,S as searchDomains,C as syncDomainDnsRecords};
|
|
2
|
+
//# sourceMappingURL=webhosting_dns_v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhosting_dns_v1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","T.Query","S.Struct","S.suspend","Retry.Retry","API.call","S.Number","S.Boolean","S.Array","S.NullOr","Array","Boolean","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","op","at","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","TELEMETRY","getDomain","i","named","getDomainDnsRecords","searchDomains","syncDomainDnsRecords"],"sources":["../../src/services/webhosting_dns_v1.ts"],"mappings":"qQAYA,MAAMkC,EAAY,CAChB,OAAQ,eACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,WACR,QAAS,kBACT,OAAQ,WACR,UAAW,KACb,EA0LA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMpC,EAAQC,EAAU,SAAU,sfAA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type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
3
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
4
|
+
export type CheckFreeDomainAvailabilityRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
5
|
+
export interface CheckFreeDomainAvailabilityRequest {
|
|
6
|
+
/** The region you want to target */
|
|
7
|
+
region?: CheckFreeDomainAvailabilityRequestRegion | (string & {}) | undefined;
|
|
8
|
+
/** Custom prefix used for the free domain. */
|
|
9
|
+
slug?: string | undefined;
|
|
10
|
+
/** Free root domain provided by Web Hosting, selected from the list returned by `ListFreeRootDomains`. */
|
|
11
|
+
root_domain?: string | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface FreeDomain {
|
|
14
|
+
/** Custom prefix used for the free domain. */
|
|
15
|
+
slug?: string | undefined;
|
|
16
|
+
/** Free root domain provided by Web Hosting, selected from the list returned by `ListFreeRootDomains`. */
|
|
17
|
+
root_domain?: string | undefined;
|
|
18
|
+
}
|
|
19
|
+
export type CheckFreeDomainAvailabilityResponseUnavailableReason = "unavailable_reason_unknown" | "unavailable_reason_already_used" | "unavailable_reason_too_short" | "unavailable_reason_too_long" | "unavailable_reason_invalid_characters" | "unavailable_reason_starts_or_ends_with_hyphen" | "unavailable_reason_contains_dots" | "unavailable_reason_contains_reserved_keyword";
|
|
20
|
+
export interface CheckFreeDomainAvailabilityResponse {
|
|
21
|
+
/** The free domain that was checked. */
|
|
22
|
+
free_domain?: FreeDomain | undefined;
|
|
23
|
+
/** Whether the free domain is available. */
|
|
24
|
+
is_available?: boolean | undefined;
|
|
25
|
+
/** Reason the domain is unavailable, if applicable. */
|
|
26
|
+
reason?: CheckFreeDomainAvailabilityResponseUnavailableReason | undefined;
|
|
27
|
+
}
|
|
28
|
+
export type ListFreeRootDomainsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
29
|
+
export interface ListFreeRootDomainsRequest {
|
|
30
|
+
/** The region you want to target */
|
|
31
|
+
region?: ListFreeRootDomainsRequestRegion | (string & {}) | undefined;
|
|
32
|
+
/** Page number to return, from the paginated results (must be a positive integer). */
|
|
33
|
+
page?: number | undefined;
|
|
34
|
+
/** Number of free root domains to return (must be a positive integer lower or equal to 100). */
|
|
35
|
+
page_size?: number | undefined;
|
|
36
|
+
}
|
|
37
|
+
/** List of free root domains available for the Web Hosting. */
|
|
38
|
+
export type ListFreeRootDomainsResponseRootDomainsList = Array<string>;
|
|
39
|
+
export interface ListFreeRootDomainsResponse {
|
|
40
|
+
/** List of free root domains available for the Web Hosting. */
|
|
41
|
+
root_domains: ListFreeRootDomainsResponseRootDomainsList;
|
|
42
|
+
/** Total number of free root domains available. */
|
|
43
|
+
total_count?: number | undefined;
|
|
44
|
+
}
|
|
45
|
+
export type CheckFreeDomainAvailabilityError = ScalewayOpError;
|
|
46
|
+
/** Check whether a given slug and free domain combination is available. */
|
|
47
|
+
export declare const checkFreeDomainAvailability: API.OperationMethod<CheckFreeDomainAvailabilityRequest, CheckFreeDomainAvailabilityResponse, CheckFreeDomainAvailabilityError, ScalewayOpContext>;
|
|
48
|
+
export type ListFreeRootDomainsError = ScalewayOpError;
|
|
49
|
+
/** Retrieve the list of free root domains available for a Web Hosting. */
|
|
50
|
+
export declare const listFreeRootDomains: API.PaginatedOperationMethod<ListFreeRootDomainsRequest, ListFreeRootDomainsResponse, ListFreeRootDomainsError, ScalewayOpContext, string>;
|
|
51
|
+
//# sourceMappingURL=webhosting_free_domain_v1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhosting_free_domain_v1.d.ts","sources":["../../src/services/webhosting_free_domain_v1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAMjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,wCAAwC,GA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,MAAM,CAAC,CAAC;AACvE,MAAM,WAAW,2BAA2B;IAC1C,+DAA+D;IAC/D,YAAY,EAAE,0CAA0C,CAAC;IACzD,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC;AACD,MAAM,MAAM,gCAAgC,GAAG,eAAe,CAAC;AAC/D,2EAA2E;AAC3E,eAAO,MAAM,2BAA2B,EAAE,GAAG,CAAC,eAAe,CAC3D,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC;AACvD,0EAA0E;AAC1E,eAAO,MAAM,mBAAmB,EAAE,GAAG,CAAC,wBAAwB,CAC5D,0BAA0B,EAC1B,2BAA2B,EAC3B,wBAAwB,EACxB,iBAAiB,EACjB,MAAM,CAoBA,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Tc as e,Uc as t,a as n,b as r,cd as i,errors$ScalewayServiceErrors as a,fd as o,gd as s,l as c,n as l,nd as u,o as d,pagination$paginateByTotalCount as f,protocol$ScalewayProtocol as p,retry$Retry as m,sd as h,td as g,traits$Http as _,traits$Label as v,traits$Query as y}from"../_bundle/sdk.js";const b={system:`scaleway-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Scaleway`,service:`WebhostingFreeDomainV1`,labels:`scaleway`,propagate:`w3c`};const x=/*@__PURE__*/ l(e=>e===n?c(`CheckFreeDomainAvailability`,`{input:#1,output:#3,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>4)@"%Request";$6(>5)@"FreeDomain";$6(>6)@"%Response";$5({region:$4($3.pipe($2())),slug:$4($3),root_domain:$4($3)}).pipe($1({method:"POST",uri:"/webhosting/v1/regions/{region}/free-domains/check-availability",code:200,baseUrl:"https://api.scaleway.com"}));$5({slug:$4($3),root_domain:$4($3)});$5({free_domain:$4(#2),is_available:$4($7),reason:$4($3)})`,[u,_,v,o,h,s,g,t,a,p,m,b]):r(x,e));const S=/*@__PURE__*/ d(t=>t===n?c(`ListFreeRootDomains`,`{input:#1,output:#3,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"root_domains",pageSize:"page_size"},strategy:$14};$8(>4)@"%Request";$9($3);$8(>5)@"%Response";$7({region:$4($3.pipe($2())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5()))}).pipe($1({method:"GET",uri:"/webhosting/v1/regions/{region}/free-domains/root-domains",code:200,baseUrl:"https://api.scaleway.com"}));$7({root_domains:#2,total_count:$4($6)})`,[u,_,v,o,h,y,i,s,g,e,a,p,m,b,f]):r(S,t));export{x as checkFreeDomainAvailability,S as listFreeRootDomains};
|
|
2
|
+
//# sourceMappingURL=webhosting_free_domain_v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhosting_free_domain_v1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","S.Struct","S.suspend","S.Boolean","Retry.Retry","API.call","T.Query","S.Number","S.Array","Array","Boolean","D","call","Number","ScalewayServiceErrors","String","Struct","named","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","TELEMETRY","checkFreeDomainAvailability","i","listFreeRootDomains"],"sources":["../../src/services/webhosting_free_domain_v1.ts"],"mappings":"8SAaA,MAAMmC,EAAY,CAChB,OAAQ,eACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,WACR,QAAS,yBACT,OAAQ,WACR,UAAW,KACb,EAqDA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMrC,EAAQC,EAAU,8BAA+B,kcAAmc,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAWC,EAAWW,EAAuBQ,EAAkBlB,EAAayB,CAAS,CAAC,EAAIxB,EAASyB,EAA6BC,CAAC,CAAC,EAIhuB,MAAaC,EAMK,gBAAiB,GAAgBD,IAAMrC,EAAQC,EAAU,sBAAuB,ygBAA0gB,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYM,EAASC,EAAUN,EAAUC,EAAWM,EAASM,EAAuBQ,EAAkBlB,EAAayB,EAAWR,CAAoB,CAAC,EAAIhB,EAAS2B,EAAqBD,CAAC,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import type * as Redacted from "effect/Redacted";
|
|
3
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
4
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
5
|
+
export type ChangeFtpAccountPasswordRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
6
|
+
export interface ChangeFtpAccountPasswordRequest {
|
|
7
|
+
/** The region you want to target */
|
|
8
|
+
region?: ChangeFtpAccountPasswordRequestRegion | (string & {}) | undefined;
|
|
9
|
+
/** UUID of the hosting plan. */
|
|
10
|
+
hosting_id: string;
|
|
11
|
+
/** Username of the FTP account. */
|
|
12
|
+
username: string;
|
|
13
|
+
/** New password for the FTP account. */
|
|
14
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface FtpAccount {
|
|
17
|
+
/** The username of the FTP account. */
|
|
18
|
+
username?: string | undefined;
|
|
19
|
+
/** The path associated with the FTP account. */
|
|
20
|
+
path?: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
export type CreateFtpAccountRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
23
|
+
export interface CreateFtpAccountRequest {
|
|
24
|
+
/** The region you want to target */
|
|
25
|
+
region?: CreateFtpAccountRequestRegion | (string & {}) | undefined;
|
|
26
|
+
/** UUID of the hosting plan. */
|
|
27
|
+
hosting_id: string;
|
|
28
|
+
/** Username for the new FTP account. */
|
|
29
|
+
username?: string | undefined;
|
|
30
|
+
/** Path for the new FTP account. */
|
|
31
|
+
path?: string | undefined;
|
|
32
|
+
/** Password for the new FTP account. */
|
|
33
|
+
password?: string | Redacted.Redacted<string> | undefined;
|
|
34
|
+
}
|
|
35
|
+
export type ListFtpAccountsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
36
|
+
export type ListFtpAccountsRequestOrderBy = "username_asc" | "username_desc";
|
|
37
|
+
export interface ListFtpAccountsRequest {
|
|
38
|
+
/** The region you want to target */
|
|
39
|
+
region?: ListFtpAccountsRequestRegion | (string & {}) | undefined;
|
|
40
|
+
/** UUID of the hosting plan. */
|
|
41
|
+
hosting_id: string;
|
|
42
|
+
/** Page number (must be a positive integer). */
|
|
43
|
+
page?: number | undefined;
|
|
44
|
+
/** Number of FTP accounts to return (must be a positive integer lower or equal to 100). */
|
|
45
|
+
page_size?: number | undefined;
|
|
46
|
+
/** Sort order of FTP accounts in the response. */
|
|
47
|
+
order_by?: ListFtpAccountsRequestOrderBy | (string & {}) | undefined;
|
|
48
|
+
/** Domain to filter the FTP accounts. */
|
|
49
|
+
domain?: string | undefined;
|
|
50
|
+
}
|
|
51
|
+
/** List of FTP accounts. */
|
|
52
|
+
export type ListFtpAccountsResponseFtpAccountsList = Array<FtpAccount>;
|
|
53
|
+
export interface ListFtpAccountsResponse {
|
|
54
|
+
/** Total number of FTP accounts. */
|
|
55
|
+
total_count?: number | undefined;
|
|
56
|
+
/** List of FTP accounts. */
|
|
57
|
+
ftp_accounts: ListFtpAccountsResponseFtpAccountsList;
|
|
58
|
+
}
|
|
59
|
+
export type RemoveFtpAccountRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
60
|
+
export interface RemoveFtpAccountRequest {
|
|
61
|
+
/** The region you want to target */
|
|
62
|
+
region?: RemoveFtpAccountRequestRegion | (string & {}) | undefined;
|
|
63
|
+
/** UUID of the hosting plan. */
|
|
64
|
+
hosting_id: string;
|
|
65
|
+
/** Username of the FTP account to be deleted. */
|
|
66
|
+
username: string;
|
|
67
|
+
}
|
|
68
|
+
export type ChangeFtpAccountPasswordError = ScalewayOpError;
|
|
69
|
+
export declare const changeFtpAccountPassword: API.OperationMethod<ChangeFtpAccountPasswordRequest, FtpAccount, ChangeFtpAccountPasswordError, ScalewayOpContext>;
|
|
70
|
+
export type CreateFtpAccountError = ScalewayOpError;
|
|
71
|
+
/** Create a new FTP account within your hosting plan. */
|
|
72
|
+
export declare const createFtpAccount: API.OperationMethod<CreateFtpAccountRequest, FtpAccount, CreateFtpAccountError, ScalewayOpContext>;
|
|
73
|
+
export type ListFtpAccountsError = ScalewayOpError;
|
|
74
|
+
/** List all FTP accounts within your hosting plan. */
|
|
75
|
+
export declare const listFtpAccounts: API.PaginatedOperationMethod<ListFtpAccountsRequest, ListFtpAccountsResponse, ListFtpAccountsError, ScalewayOpContext, FtpAccount>;
|
|
76
|
+
export type RemoveFtpAccountError = ScalewayOpError;
|
|
77
|
+
/** Delete a specific FTP account within your hosting plan. */
|
|
78
|
+
export declare const removeFtpAccount: API.OperationMethod<RemoveFtpAccountRequest, FtpAccount, RemoveFtpAccountError, ScalewayOpContext>;
|
|
79
|
+
//# sourceMappingURL=webhosting_ftp_account_v1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhosting_ftp_account_v1.d.ts","sources":["../../src/services/webhosting_ftp_account_v1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAIjD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAGjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,M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AU,EACV,qBAAqB,EACrB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC;AACnD,sDAAsD;AACtD,eAAO,MAAM,eAAe,EAAE,GAAG,CAAC,wBAAwB,CACxD,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EACpB,iBAAiB,EACjB,UAAU,CAoBJ,CAAC;AAET,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC;AACpD,8DAA8D;AAC9D,eAAO,MAAM,gBAAgB,EAAE,GAAG,CAAC,eAAe,CAChD,uBAAuB,EACvB,UAAU,EACV,qBAAqB,EACrB,iBAAiB,CAUhB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Tc as e,a as t,b as n,cd as r,errors$ScalewayServiceErrors as i,fd as a,gd as o,l as s,n as c,nd as l,o as u,pagination$paginateByTotalCount as d,protocol$ScalewayProtocol as f,retry$Retry as p,sd as m,td as h,traits$Http as g,traits$Label as _,traits$Query as v,traits$SensitiveValue as y}from"../_bundle/sdk.js";const b={system:`scaleway-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Scaleway`,service:`WebhostingFtpAccountV1`,labels:`scaleway`,propagate:`w3c`};const x=/*@__PURE__*/ c(e=>e===t?s(`ChangeFtpAccountPassword`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$4($3.pipe($2())),hosting_id:$3.pipe($2()),username:$3.pipe($2()),password:$4($3.pipe($5({})))}).pipe($1({method:"POST",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/ftp-accounts/{username}/change-password",code:200,baseUrl:"https://api.scaleway.com"}))`,[l,g,_,a,m,y,o,h,__d0,i,f,p,b]):n(x,e));const S=/*@__PURE__*/ c(e=>e===t?s(`CreateFtpAccount`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$4($3.pipe($2())),hosting_id:$3.pipe($2()),username:$4($3),path:$4($3),password:$4($3.pipe($5({})))}).pipe($1({method:"POST",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/ftp-accounts",code:200,baseUrl:"https://api.scaleway.com"}))`,[l,g,_,a,m,y,o,h,__d0,i,f,p,b]):n(S,e));const C=/*@__PURE__*/ u(c=>c===t?s(`ListFtpAccounts`,`{input:#1,output:#3,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"ftp_accounts",pageSize:"page_size"},strategy:$15};$8(>4)@"%Request";$10(#9:0);$8(>5)@"%Response";$7({region:$4($3.pipe($2())),hosting_id:$3.pipe($2()),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),order_by:$4($3.pipe($5())),domain:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/ftp-accounts",code:200,baseUrl:"https://api.scaleway.com"}));$7({total_count:$4($6),ftp_accounts:#2})`,[l,g,_,a,m,v,r,o,h,__d0,e,i,f,p,b,d]):n(C,c));const w=/*@__PURE__*/ c(e=>e===t?s(`RemoveFtpAccount`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),hosting_id:$3.pipe($2()),username:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/ftp-accounts/{username}",code:200,baseUrl:"https://api.scaleway.com"}))`,[l,g,_,a,m,o,h,__d0,i,f,p,b]):n(w,e));function __d0(){return[`$4(>1)@"FtpAccount";$3({username:$2($1),path:$2($1)})`,[l,a,m,o,h]]}export{x as changeFtpAccountPassword,S as createFtpAccount,C as listFtpAccounts,w as removeFtpAccount};
|
|
2
|
+
//# sourceMappingURL=webhosting_ftp_account_v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhosting_ftp_account_v1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","T.SensitiveValue","S.Struct","S.suspend","Retry.Retry","API.call","T.Query","S.Number","S.Array","Array","D","call","Number","ScalewayServiceErrors","String","Struct","named","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","SensitiveValue","TELEMETRY","changeFtpAccountPassword","i","createFtpAccount","listFtpAccounts","removeFtpAccount"],"sources":["../../src/services/webhosting_ftp_account_v1.ts"],"mappings":"iUAcA,MAAMmC,EAAY,CAChB,OAAQ,eACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,WACR,QAAS,yBACT,OAAQ,WACR,UAAW,KACb,EAkEA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMrC,EAAQC,EAAU,2BAA4B,0YAA2Y,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAkBC,EAAUC,EAAW,KAAMU,EAAuBQ,EAAkBjB,EAAayB,CAAS,CAAC,EAAIxB,EAASyB,EAA0BC,CAAC,CAAC,EAI/qB,MAAaC,EAKK,gBAAQ,GAAgBD,IAAMrC,EAAQC,EAAU,mBAAoB,oXAAqX,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAkBC,EAAUC,EAAW,KAAMU,EAAuBQ,EAAkBjB,EAAayB,CAAS,CAAC,EAAIxB,EAAS2B,EAAkBD,CAAC,CAAC,EAIzoB,MAAaE,EAMK,gBAAiB,GAAgBF,IAAMrC,EAAQC,EAAU,kBAAmB,kmBAAmmB,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYM,EAASC,EAAUL,EAAUC,EAAW,KA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