@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,2979 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-scaleway). Do not edit.
|
|
3
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
4
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import type * as Redacted from "effect/Redacted";
|
|
6
|
+
import { ScalewayServiceErrors } from "../errors.ts";
|
|
7
|
+
import { paginateByTotalCount } from "../pagination.ts";
|
|
8
|
+
import { ScalewayProtocol, type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
9
|
+
import * as Retry from "../retry.ts";
|
|
10
|
+
import * as T from "../traits.ts";
|
|
11
|
+
// Schema table, filled on first reach (see __S at the end).
|
|
12
|
+
const __s: any[] = [];
|
|
13
|
+
|
|
14
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
15
|
+
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "scaleway-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "Scaleway",
|
|
24
|
+
service: "DomainRegistrarV2beta1",
|
|
25
|
+
labels: "scaleway",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
29
|
+
/** List of domains to purchase. */
|
|
30
|
+
export type BuyDomainsRequestDomainsList = Array<string>;
|
|
31
|
+
export type ContactLegalForm =
|
|
32
|
+
| "legal_form_unknown"
|
|
33
|
+
| "individual"
|
|
34
|
+
| "corporate"
|
|
35
|
+
| "association"
|
|
36
|
+
| "other";
|
|
37
|
+
export type ScalewayStdLanguageCode = "unknown_language_code" | "en_US" | "fr_FR" | "de_DE";
|
|
38
|
+
export type ContactExtensionFRMode =
|
|
39
|
+
| "mode_unknown"
|
|
40
|
+
| "individual"
|
|
41
|
+
| "company_identification_code"
|
|
42
|
+
| "duns"
|
|
43
|
+
| "local"
|
|
44
|
+
| "association"
|
|
45
|
+
| "trademark"
|
|
46
|
+
| "code_auth_afnic";
|
|
47
|
+
export interface ContactExtensionFRIndividualInfo {
|
|
48
|
+
whois_opt_in?: boolean | undefined;
|
|
49
|
+
}
|
|
50
|
+
export interface ContactExtensionFRDunsInfo {
|
|
51
|
+
duns_id?: string | undefined;
|
|
52
|
+
local_id?: string | undefined;
|
|
53
|
+
}
|
|
54
|
+
export interface ContactExtensionFRAssociationInfo {
|
|
55
|
+
/** (RFC 3339 format) */
|
|
56
|
+
publication_jo?: string | null | undefined;
|
|
57
|
+
publication_jo_page?: number | undefined;
|
|
58
|
+
}
|
|
59
|
+
export interface ContactExtensionFRTrademarkInfo {
|
|
60
|
+
trademark_inpi?: string | undefined;
|
|
61
|
+
}
|
|
62
|
+
export interface ContactExtensionFRCodeAuthAfnicInfo {
|
|
63
|
+
code_auth_afnic?: string | undefined;
|
|
64
|
+
}
|
|
65
|
+
export interface ContactExtensionFR {
|
|
66
|
+
mode?: ContactExtensionFRMode | (string & {}) | undefined;
|
|
67
|
+
/** Precisely one of individual_info, duns_info, association_info, trademark_info, code_auth_afnic_info can be set. */
|
|
68
|
+
individual_info?: ContactExtensionFRIndividualInfo | null | undefined;
|
|
69
|
+
/** Precisely one of individual_info, duns_info, association_info, trademark_info, code_auth_afnic_info can be set. */
|
|
70
|
+
duns_info?: ContactExtensionFRDunsInfo | null | undefined;
|
|
71
|
+
/** Precisely one of individual_info, duns_info, association_info, trademark_info, code_auth_afnic_info can be set. */
|
|
72
|
+
association_info?: ContactExtensionFRAssociationInfo | null | undefined;
|
|
73
|
+
/** Precisely one of individual_info, duns_info, association_info, trademark_info, code_auth_afnic_info can be set. */
|
|
74
|
+
trademark_info?: ContactExtensionFRTrademarkInfo | null | undefined;
|
|
75
|
+
/** Precisely one of individual_info, duns_info, association_info, trademark_info, code_auth_afnic_info can be set. */
|
|
76
|
+
code_auth_afnic_info?: ContactExtensionFRCodeAuthAfnicInfo | null | undefined;
|
|
77
|
+
}
|
|
78
|
+
export interface ContactExtensionEU {
|
|
79
|
+
european_citizenship?: string | undefined;
|
|
80
|
+
}
|
|
81
|
+
export type ContactExtensionNLLegalForm =
|
|
82
|
+
| "legal_form_unknown"
|
|
83
|
+
| "other"
|
|
84
|
+
| "non_dutch_eu_company"
|
|
85
|
+
| "non_dutch_legal_form_enterprise_subsidiary"
|
|
86
|
+
| "limited_company"
|
|
87
|
+
| "limited_company_in_formation"
|
|
88
|
+
| "cooperative"
|
|
89
|
+
| "limited_partnership"
|
|
90
|
+
| "sole_company"
|
|
91
|
+
| "european_economic_interest_group"
|
|
92
|
+
| "religious_entity"
|
|
93
|
+
| "partnership"
|
|
94
|
+
| "public_company"
|
|
95
|
+
| "mutual_benefit_company"
|
|
96
|
+
| "residential"
|
|
97
|
+
| "shipping_company"
|
|
98
|
+
| "foundation"
|
|
99
|
+
| "association"
|
|
100
|
+
| "trading_partnership"
|
|
101
|
+
| "natural_person";
|
|
102
|
+
export interface ContactExtensionNL {
|
|
103
|
+
legal_form?: ContactExtensionNLLegalForm | (string & {}) | undefined;
|
|
104
|
+
legal_form_registration_number?: string | undefined;
|
|
105
|
+
}
|
|
106
|
+
export interface ContactExtensionIT {
|
|
107
|
+
/** This option is useless anymore. */
|
|
108
|
+
european_citizenship?: string | undefined;
|
|
109
|
+
/** Tax_code is renamed to pin. */
|
|
110
|
+
tax_code?: string | undefined;
|
|
111
|
+
/** Domain name registrant's Taxcode (mandatory / only optional when the trustee is used). Domain name registrant's Taxcode (mandatory / only optional when the trustee is used) If the requester: * is an Italian natural person it contains his/her Codice Fiscale (16 characters format). * For others than residents of IT it can contain a document number. (ID Card). * In all other cases it must be equal to VAT number (in the 16 characters format if nationality is IT) or the numeric Codice Fiscale. */
|
|
112
|
+
pin: string;
|
|
113
|
+
}
|
|
114
|
+
export interface ContactQuestion {
|
|
115
|
+
question?: string | undefined;
|
|
116
|
+
answer?: string | undefined;
|
|
117
|
+
}
|
|
118
|
+
export type NewContactQuestionsList = Array<ContactQuestion>;
|
|
119
|
+
export interface NewContact {
|
|
120
|
+
/** Legal form of the contact (individual, corporate, association, other). */
|
|
121
|
+
legal_form?: ContactLegalForm | (string & {}) | undefined;
|
|
122
|
+
/** First name of the contact. */
|
|
123
|
+
firstname?: string | undefined;
|
|
124
|
+
/** Last name of the contact. */
|
|
125
|
+
lastname?: string | undefined;
|
|
126
|
+
/** Company name of the contact (required for corporate legal forms). */
|
|
127
|
+
company_name?: string | null | undefined;
|
|
128
|
+
/** Email address of the contact. */
|
|
129
|
+
email?: string | undefined;
|
|
130
|
+
/** Alternative email address of the contact. */
|
|
131
|
+
email_alt?: string | null | undefined;
|
|
132
|
+
/** Phone number of the contact, normalized to +CC.NationalNumber format. */
|
|
133
|
+
phone_number?: string | undefined;
|
|
134
|
+
/** Fax number of the contact, normalized to +CC.NationalNumber format. */
|
|
135
|
+
fax_number?: string | null | undefined;
|
|
136
|
+
/** First line of the contact's address. */
|
|
137
|
+
address_line_1?: string | undefined;
|
|
138
|
+
/** Second line of the contact's address. */
|
|
139
|
+
address_line_2?: string | null | undefined;
|
|
140
|
+
/** Postal code of the contact. */
|
|
141
|
+
zip?: string | undefined;
|
|
142
|
+
/** City of the contact. */
|
|
143
|
+
city?: string | undefined;
|
|
144
|
+
/** Country code of the contact (ISO 3166-1 alpha-2 format). */
|
|
145
|
+
country?: string | undefined;
|
|
146
|
+
/** VAT identification code of the contact. */
|
|
147
|
+
vat_identification_code?: string | null | undefined;
|
|
148
|
+
/** Company identification code of the contact (SIRET/SIREN for French contacts, any format for others). */
|
|
149
|
+
company_identification_code?: string | null | undefined;
|
|
150
|
+
/** Preferred language of the contact. */
|
|
151
|
+
lang?: ScalewayStdLanguageCode | (string & {}) | undefined;
|
|
152
|
+
/** Indicates whether the contact's information can be resold. */
|
|
153
|
+
resale?: boolean | undefined;
|
|
154
|
+
/** Additional information required for AFNIC-managed TLDs (.fr, .re, .pm, .yt, .wf, .tf). */
|
|
155
|
+
extension_fr?: ContactExtensionFR | undefined;
|
|
156
|
+
/** Additional information required for .eu domains. Conditionally required. */
|
|
157
|
+
extension_eu?: ContactExtensionEU | undefined;
|
|
158
|
+
/** Indicates whether the contact's information is published in the WHOIS database. */
|
|
159
|
+
whois_opt_in?: boolean | undefined;
|
|
160
|
+
/** State or region of the contact. */
|
|
161
|
+
state?: string | null | undefined;
|
|
162
|
+
/** Additional information required for .nl domains. Auto-populated for individuals. */
|
|
163
|
+
extension_nl?: ContactExtensionNL | undefined;
|
|
164
|
+
/** Additional information required for .it domains. Contains a PIN. */
|
|
165
|
+
extension_it?: ContactExtensionIT | undefined;
|
|
166
|
+
questions?: NewContactQuestionsList | undefined;
|
|
167
|
+
}
|
|
168
|
+
export interface BuyDomainsRequest {
|
|
169
|
+
/** List of domains to purchase. */
|
|
170
|
+
domains: BuyDomainsRequestDomainsList;
|
|
171
|
+
/** Duration in years for the domain registration. Subject to TLD-specific minimum and maximum constraints. */
|
|
172
|
+
duration_in_years?: number | undefined;
|
|
173
|
+
/** Project ID to create the domains in. */
|
|
174
|
+
project_id?: string | undefined;
|
|
175
|
+
/** ID of the existing contact to use as the domain's owner. Precisely one of owner_contact_id, owner_contact can be set. */
|
|
176
|
+
owner_contact_id?: string | null | undefined;
|
|
177
|
+
/** New contact to create and use as the domain's owner. Precisely one of owner_contact_id, owner_contact can be set. */
|
|
178
|
+
owner_contact?: NewContact | null | undefined;
|
|
179
|
+
/** ID of the existing contact to use as the domain's administrative contact. Optional; falls back to the owner contact if omitted. Precisely one of administrative_contact_id, administrative_contact can be set. */
|
|
180
|
+
administrative_contact_id?: string | null | undefined;
|
|
181
|
+
/** New contact to create and use as the domain's administrative contact. Optional; falls back to the owner contact if omitted. Precisely one of administrative_contact_id, administrative_contact can be set. */
|
|
182
|
+
administrative_contact?: NewContact | null | undefined;
|
|
183
|
+
/** ID of the existing contact to use as the domain's technical contact. Optional; falls back to the owner contact if omitted. Precisely one of technical_contact_id, technical_contact can be set. */
|
|
184
|
+
technical_contact_id?: string | null | undefined;
|
|
185
|
+
/** New contact to create and use as the domain's technical contact. Optional; falls back to the owner contact if omitted. Precisely one of technical_contact_id, technical_contact can be set. */
|
|
186
|
+
technical_contact?: NewContact | null | undefined;
|
|
187
|
+
/** Enable the `auto renew` feature for all the requested domains. This means the domain will be automatically renewed before its expiry date. */
|
|
188
|
+
auto_renew?: boolean | undefined;
|
|
189
|
+
}
|
|
190
|
+
/** List of domains in the order. */
|
|
191
|
+
export type OrderResponseDomainsList = Array<string>;
|
|
192
|
+
export interface OrderResponse {
|
|
193
|
+
/** List of domains in the order. */
|
|
194
|
+
domains?: OrderResponseDomainsList | undefined;
|
|
195
|
+
/** The organization ID associated with the order. */
|
|
196
|
+
organization_id?: string | undefined;
|
|
197
|
+
/** The project ID associated with the order. */
|
|
198
|
+
project_id?: string | undefined;
|
|
199
|
+
/** The unique identifier of the task associated with the order. */
|
|
200
|
+
task_id?: string | undefined;
|
|
201
|
+
/** The creation date of the order. (RFC 3339 format) */
|
|
202
|
+
created_at?: string | null | undefined;
|
|
203
|
+
}
|
|
204
|
+
/** List of domains to check contacts compatibility against. */
|
|
205
|
+
export type CheckContactsCompatibilityRequestDomainsList = Array<string>;
|
|
206
|
+
/** List of TLDs to check contacts compatibility against. */
|
|
207
|
+
export type CheckContactsCompatibilityRequestTldsList = Array<string>;
|
|
208
|
+
export interface CheckContactsCompatibilityRequest {
|
|
209
|
+
/** List of domains to check contacts compatibility against. */
|
|
210
|
+
domains?: CheckContactsCompatibilityRequestDomainsList | undefined;
|
|
211
|
+
/** List of TLDs to check contacts compatibility against. */
|
|
212
|
+
tlds?: CheckContactsCompatibilityRequestTldsList | undefined;
|
|
213
|
+
/** ID of the existing contact to check as the domain's owner. Precisely one of owner_contact_id, owner_contact can be set. */
|
|
214
|
+
owner_contact_id?: string | null | undefined;
|
|
215
|
+
/** New contact to check as the domain's owner. Precisely one of owner_contact_id, owner_contact can be set. */
|
|
216
|
+
owner_contact?: NewContact | null | undefined;
|
|
217
|
+
/** ID of the existing contact to check as the domain's administrative contact. Precisely one of administrative_contact_id, administrative_contact can be set. */
|
|
218
|
+
administrative_contact_id?: string | null | undefined;
|
|
219
|
+
/** New contact to check as the domain's administrative contact. Precisely one of administrative_contact_id, administrative_contact can be set. */
|
|
220
|
+
administrative_contact?: NewContact | null | undefined;
|
|
221
|
+
/** ID of the existing contact to check as the domain's technical contact. Precisely one of technical_contact_id, technical_contact can be set. */
|
|
222
|
+
technical_contact_id?: string | null | undefined;
|
|
223
|
+
/** New contact to check as the domain's technical contact. Precisely one of technical_contact_id, technical_contact can be set. */
|
|
224
|
+
technical_contact?: NewContact | null | undefined;
|
|
225
|
+
}
|
|
226
|
+
export interface CheckContactsCompatibilityResponseContactCheckResult {
|
|
227
|
+
compatible?: boolean | undefined;
|
|
228
|
+
error_message?: string | null | undefined;
|
|
229
|
+
}
|
|
230
|
+
export interface CheckContactsCompatibilityResponse {
|
|
231
|
+
/** Indicates whether all contacts are compatible with the domains or TLDs. */
|
|
232
|
+
compatible?: boolean | undefined;
|
|
233
|
+
/** Compatibility check result for the owner contact. */
|
|
234
|
+
owner_check_result?: CheckContactsCompatibilityResponseContactCheckResult | undefined;
|
|
235
|
+
/** Compatibility check result for the administrative contact. */
|
|
236
|
+
administrative_check_result?: CheckContactsCompatibilityResponseContactCheckResult | undefined;
|
|
237
|
+
/** Compatibility check result for the technical contact. */
|
|
238
|
+
technical_check_result?: CheckContactsCompatibilityResponseContactCheckResult | undefined;
|
|
239
|
+
}
|
|
240
|
+
export interface CreateContactRequest {
|
|
241
|
+
/** Project ID to create the contact in. */
|
|
242
|
+
project_id?: string | undefined;
|
|
243
|
+
/** Legal form of the contact (individual, corporate, association, other). */
|
|
244
|
+
legal_form?: ContactLegalForm | (string & {}) | undefined;
|
|
245
|
+
/** First name of the contact. */
|
|
246
|
+
firstname?: string | undefined;
|
|
247
|
+
/** Last name of the contact. */
|
|
248
|
+
lastname?: string | undefined;
|
|
249
|
+
/** Company name of the contact (required for corporate legal forms). */
|
|
250
|
+
company_name?: string | null | undefined;
|
|
251
|
+
/** Email address of the contact. */
|
|
252
|
+
email?: string | undefined;
|
|
253
|
+
/** Alternative email address of the contact. */
|
|
254
|
+
email_alt?: string | null | undefined;
|
|
255
|
+
/** Phone number of the contact, normalized to +CC.NationalNumber format. */
|
|
256
|
+
phone_number?: string | undefined;
|
|
257
|
+
/** Fax number of the contact, normalized to +CC.NationalNumber format. */
|
|
258
|
+
fax_number?: string | null | undefined;
|
|
259
|
+
/** First line of the contact's address. */
|
|
260
|
+
address_line_1?: string | undefined;
|
|
261
|
+
/** Second line of the contact's address. */
|
|
262
|
+
address_line_2?: string | null | undefined;
|
|
263
|
+
/** Postal code of the contact. */
|
|
264
|
+
zip?: string | undefined;
|
|
265
|
+
/** City of the contact. */
|
|
266
|
+
city?: string | undefined;
|
|
267
|
+
/** State or region of the contact. */
|
|
268
|
+
state?: string | null | undefined;
|
|
269
|
+
/** Country code of the contact (ISO 3166-1 alpha-2 format). */
|
|
270
|
+
country?: string | undefined;
|
|
271
|
+
/** VAT identification code of the contact. */
|
|
272
|
+
vat_identification_code?: string | null | undefined;
|
|
273
|
+
/** Company identification code of the contact (SIRET/SIREN for French contacts, any format for others). */
|
|
274
|
+
company_identification_code?: string | null | undefined;
|
|
275
|
+
/** Preferred language of the contact. */
|
|
276
|
+
lang?: ScalewayStdLanguageCode | (string & {}) | undefined;
|
|
277
|
+
/** Indicates whether the contact's information can be resold. */
|
|
278
|
+
resale?: boolean | undefined;
|
|
279
|
+
/** Indicates whether the contact's information is published in the WHOIS database. */
|
|
280
|
+
whois_opt_in?: boolean | undefined;
|
|
281
|
+
/** Additional information required for AFNIC-managed TLDs (.fr, .re, .pm, .yt, .wf, .tf). */
|
|
282
|
+
extension_fr?: ContactExtensionFR | undefined;
|
|
283
|
+
/** Additional information required for .eu domains. Conditionally required. */
|
|
284
|
+
extension_eu?: ContactExtensionEU | undefined;
|
|
285
|
+
/** Additional information required for .nl domains. Auto-populated for individuals. */
|
|
286
|
+
extension_nl?: ContactExtensionNL | undefined;
|
|
287
|
+
/** Additional information required for .it domains. Contains a PIN. */
|
|
288
|
+
extension_it?: ContactExtensionIT | undefined;
|
|
289
|
+
}
|
|
290
|
+
export type ContactEmailStatus =
|
|
291
|
+
| "email_status_unknown"
|
|
292
|
+
| "validated"
|
|
293
|
+
| "not_validated"
|
|
294
|
+
| "invalid_email";
|
|
295
|
+
export type ContactStatus = "status_unknown" | "active" | "pending";
|
|
296
|
+
export type ContactQuestionsList = Array<ContactQuestion>;
|
|
297
|
+
export interface Contact {
|
|
298
|
+
/** The unique identifier of the contact. */
|
|
299
|
+
id?: string | undefined;
|
|
300
|
+
/** Legal form of the contact (individual, corporate, association, other). */
|
|
301
|
+
legal_form?: ContactLegalForm | undefined;
|
|
302
|
+
/** First name of the contact. */
|
|
303
|
+
firstname?: string | undefined;
|
|
304
|
+
/** Last name of the contact. */
|
|
305
|
+
lastname?: string | undefined;
|
|
306
|
+
/** Company name of the contact (required for corporate legal forms). */
|
|
307
|
+
company_name?: string | undefined;
|
|
308
|
+
/** Email address of the contact. */
|
|
309
|
+
email?: string | undefined;
|
|
310
|
+
/** Alternative email address of the contact. */
|
|
311
|
+
email_alt?: string | undefined;
|
|
312
|
+
/** Phone number of the contact, normalized to +CC.NationalNumber format. */
|
|
313
|
+
phone_number?: string | undefined;
|
|
314
|
+
/** Fax number of the contact, normalized to +CC.NationalNumber format. */
|
|
315
|
+
fax_number?: string | undefined;
|
|
316
|
+
/** First line of the contact's address. */
|
|
317
|
+
address_line_1?: string | undefined;
|
|
318
|
+
/** Second line of the contact's address. */
|
|
319
|
+
address_line_2?: string | undefined;
|
|
320
|
+
/** Postal code of the contact. */
|
|
321
|
+
zip?: string | undefined;
|
|
322
|
+
/** City of the contact. */
|
|
323
|
+
city?: string | undefined;
|
|
324
|
+
/** Country code of the contact (ISO 3166-1 alpha-2 format). */
|
|
325
|
+
country?: string | undefined;
|
|
326
|
+
/** VAT identification code of the contact. */
|
|
327
|
+
vat_identification_code?: string | undefined;
|
|
328
|
+
/** Company identification code of the contact (SIRET/SIREN for French contacts, any format for others). */
|
|
329
|
+
company_identification_code?: string | undefined;
|
|
330
|
+
/** Preferred language of the contact. */
|
|
331
|
+
lang?: ScalewayStdLanguageCode | undefined;
|
|
332
|
+
/** Indicates whether the contact's information can be resold. */
|
|
333
|
+
resale?: boolean | undefined;
|
|
334
|
+
/** Additional information required for AFNIC-managed TLDs (.fr, .re, .pm, .yt, .wf, .tf). */
|
|
335
|
+
extension_fr?: ContactExtensionFR | undefined;
|
|
336
|
+
/** Additional information required for .eu domains. Conditionally required. */
|
|
337
|
+
extension_eu?: ContactExtensionEU | undefined;
|
|
338
|
+
/** Indicates whether the contact's information is published in the WHOIS database. */
|
|
339
|
+
whois_opt_in?: boolean | undefined;
|
|
340
|
+
/** Email validation status of the contact. */
|
|
341
|
+
email_status?: ContactEmailStatus | undefined;
|
|
342
|
+
/** State or region of the contact. */
|
|
343
|
+
state?: string | undefined;
|
|
344
|
+
/** Additional information required for .nl domains. Auto-populated for individuals. */
|
|
345
|
+
extension_nl?: ContactExtensionNL | undefined;
|
|
346
|
+
/** Status of the contact. */
|
|
347
|
+
status?: ContactStatus | undefined;
|
|
348
|
+
/** Additional information required for .it domains. Contains a PIN. */
|
|
349
|
+
extension_it?: ContactExtensionIT | undefined;
|
|
350
|
+
questions?: ContactQuestionsList | undefined;
|
|
351
|
+
/** The SRN of the contact. */
|
|
352
|
+
srn?: string | undefined;
|
|
353
|
+
}
|
|
354
|
+
/** List of glue IP addresses associated with the hostname. (IP address) */
|
|
355
|
+
export type CreateDomainHostRequestIpsList = Array<string>;
|
|
356
|
+
export interface CreateDomainHostRequest {
|
|
357
|
+
/** The domain name to create the hostname for. */
|
|
358
|
+
domain: string;
|
|
359
|
+
/** The hostname to create. */
|
|
360
|
+
name?: string | undefined;
|
|
361
|
+
/** List of glue IP addresses associated with the hostname. (IP address) */
|
|
362
|
+
ips?: CreateDomainHostRequestIpsList | undefined;
|
|
363
|
+
}
|
|
364
|
+
/** List of glue IP addresses associated with the hostname. (IP address) */
|
|
365
|
+
export type HostIpsList = Array<string>;
|
|
366
|
+
export type HostStatus = "unknown_status" | "active" | "updating" | "deleting";
|
|
367
|
+
export interface Host {
|
|
368
|
+
/** The domain name associated with the hostname. */
|
|
369
|
+
domain?: string | undefined;
|
|
370
|
+
/** The hostname (FQDN, e.g. ns1.example.com). */
|
|
371
|
+
name?: string | undefined;
|
|
372
|
+
/** List of glue IP addresses associated with the hostname. (IP address) */
|
|
373
|
+
ips?: HostIpsList | undefined;
|
|
374
|
+
/** Status of the hostname. */
|
|
375
|
+
status?: HostStatus | undefined;
|
|
376
|
+
}
|
|
377
|
+
export interface DeleteDomainHostRequest {
|
|
378
|
+
/** The domain name of the hostname to delete. */
|
|
379
|
+
domain: string;
|
|
380
|
+
/** The hostname to delete. */
|
|
381
|
+
name: string;
|
|
382
|
+
}
|
|
383
|
+
export interface DeleteExternalDomainRequest {
|
|
384
|
+
/** The external domain name to delete. */
|
|
385
|
+
domain: string;
|
|
386
|
+
}
|
|
387
|
+
export type DeleteExternalDomainResponse2 = unknown;
|
|
388
|
+
export interface DisableDomainAutoRenewRequest {
|
|
389
|
+
/** The domain name to disable auto renew for. */
|
|
390
|
+
domain: string;
|
|
391
|
+
}
|
|
392
|
+
export type DomainFeatureStatus =
|
|
393
|
+
| "feature_status_unknown"
|
|
394
|
+
| "enabling"
|
|
395
|
+
| "enabled"
|
|
396
|
+
| "disabling"
|
|
397
|
+
| "disabled";
|
|
398
|
+
export type DSRecordAlgorithm =
|
|
399
|
+
| "rsamd5"
|
|
400
|
+
| "dh"
|
|
401
|
+
| "dsa"
|
|
402
|
+
| "rsasha1"
|
|
403
|
+
| "dsa_nsec3_sha1"
|
|
404
|
+
| "rsasha1_nsec3_sha1"
|
|
405
|
+
| "rsasha256"
|
|
406
|
+
| "rsasha512"
|
|
407
|
+
| "ecc_gost"
|
|
408
|
+
| "ecdsap256sha256"
|
|
409
|
+
| "ecdsap384sha384"
|
|
410
|
+
| "ed25519"
|
|
411
|
+
| "ed448";
|
|
412
|
+
export type DSRecordDigestType = "sha_1" | "sha_256" | "gost_r_34_11_94" | "sha_384";
|
|
413
|
+
export interface DSRecordPublicKey {
|
|
414
|
+
/** The public key string. */
|
|
415
|
+
key?: string | undefined;
|
|
416
|
+
}
|
|
417
|
+
export interface DSRecordDigest {
|
|
418
|
+
/** The digest type of the DS record. */
|
|
419
|
+
type?: DSRecordDigestType | (string & {}) | undefined;
|
|
420
|
+
/** The digest string of the DS record. */
|
|
421
|
+
digest?: string | undefined;
|
|
422
|
+
/** The DNSKEY the digest is derived from. Optional. */
|
|
423
|
+
public_key?: DSRecordPublicKey | undefined;
|
|
424
|
+
}
|
|
425
|
+
export interface DSRecord {
|
|
426
|
+
/** The key tag of the DS record. */
|
|
427
|
+
key_id?: number | undefined;
|
|
428
|
+
/** The cryptographic algorithm of the DNSKEY used for the DS record. */
|
|
429
|
+
algorithm?: DSRecordAlgorithm | (string & {}) | undefined;
|
|
430
|
+
/** The digest of the DS record. Precisely one of digest, public_key can be set. */
|
|
431
|
+
digest?: DSRecordDigest | null | undefined;
|
|
432
|
+
/** The public key of the DS record. Precisely one of digest, public_key can be set. */
|
|
433
|
+
public_key?: DSRecordPublicKey | null | undefined;
|
|
434
|
+
}
|
|
435
|
+
/** List of the domain's DS records. */
|
|
436
|
+
export type DomainDNSSECDsRecordsList = Array<DSRecord>;
|
|
437
|
+
export interface DomainDNSSEC {
|
|
438
|
+
/** Status of the DNSSEC configuration of the domain. */
|
|
439
|
+
status?: DomainFeatureStatus | undefined;
|
|
440
|
+
/** List of the domain's DS records. */
|
|
441
|
+
ds_records?: DomainDNSSECDsRecordsList | undefined;
|
|
442
|
+
}
|
|
443
|
+
/** List of the domain's EPP status codes (e.g. clientTransferProhibited, serverHold). */
|
|
444
|
+
export type DomainEppCodeList = Array<string>;
|
|
445
|
+
export type DomainStatus =
|
|
446
|
+
| "status_unknown"
|
|
447
|
+
| "active"
|
|
448
|
+
| "creating"
|
|
449
|
+
| "create_error"
|
|
450
|
+
| "renewing"
|
|
451
|
+
| "renew_error"
|
|
452
|
+
| "xfering"
|
|
453
|
+
| "xfer_error"
|
|
454
|
+
| "expired"
|
|
455
|
+
| "expiring"
|
|
456
|
+
| "updating"
|
|
457
|
+
| "checking"
|
|
458
|
+
| "locked"
|
|
459
|
+
| "deleting";
|
|
460
|
+
export type DNSZoneNsList = Array<string>;
|
|
461
|
+
export type DNSZoneNsDefaultList = Array<string>;
|
|
462
|
+
export type DNSZoneNsMasterList = Array<string>;
|
|
463
|
+
export type DNSZoneStatus = "unknown" | "active" | "pending" | "error" | "locked";
|
|
464
|
+
export type LinkedProduct = "unknown_product" | "vpc";
|
|
465
|
+
export type DNSZoneLinkedProductsList = Array<LinkedProduct>;
|
|
466
|
+
export interface DNSZone {
|
|
467
|
+
domain?: string | undefined;
|
|
468
|
+
subdomain?: string | undefined;
|
|
469
|
+
ns?: DNSZoneNsList | undefined;
|
|
470
|
+
ns_default?: DNSZoneNsDefaultList | undefined;
|
|
471
|
+
ns_master?: DNSZoneNsMasterList | undefined;
|
|
472
|
+
status?: DNSZoneStatus | undefined;
|
|
473
|
+
message?: string | null | undefined;
|
|
474
|
+
/** (RFC 3339 format) */
|
|
475
|
+
updated_at?: string | null | undefined;
|
|
476
|
+
project_id?: string | undefined;
|
|
477
|
+
linked_products?: DNSZoneLinkedProductsList | undefined;
|
|
478
|
+
srn?: string | undefined;
|
|
479
|
+
dns_zone?: string | undefined;
|
|
480
|
+
}
|
|
481
|
+
/** List of the domain's DNS zones. */
|
|
482
|
+
export type DomainDnsZonesList = Array<DNSZone>;
|
|
483
|
+
export interface DomainRegistrationStatusExternalDomain {
|
|
484
|
+
/** Validation token for the external domain registration. */
|
|
485
|
+
validation_token?: string | Redacted.Redacted<string> | undefined;
|
|
486
|
+
}
|
|
487
|
+
export type DomainRegistrationStatusTransferStatus =
|
|
488
|
+
| "status_unknown"
|
|
489
|
+
| "pending"
|
|
490
|
+
| "waiting_vote"
|
|
491
|
+
| "rejected"
|
|
492
|
+
| "processing"
|
|
493
|
+
| "done";
|
|
494
|
+
export interface DomainRegistrationStatusTransfer {
|
|
495
|
+
/** Status of the domain transfer. */
|
|
496
|
+
status?: DomainRegistrationStatusTransferStatus | undefined;
|
|
497
|
+
/** Indicates whether the current owner has voted for the transfer. */
|
|
498
|
+
vote_current_owner?: boolean | undefined;
|
|
499
|
+
/** Indicates whether the new owner has voted for the transfer. */
|
|
500
|
+
vote_new_owner?: boolean | undefined;
|
|
501
|
+
}
|
|
502
|
+
export interface GoogleTypeMoney {
|
|
503
|
+
currency_code?: string | undefined;
|
|
504
|
+
units?: number | undefined;
|
|
505
|
+
nanos?: number | undefined;
|
|
506
|
+
}
|
|
507
|
+
export interface TldOffer {
|
|
508
|
+
/** The action of the offer (create, renew, transfer, etc.). */
|
|
509
|
+
action?: string | undefined;
|
|
510
|
+
/** The billing SKU path of the offer (e.g. /network/domain/domains/fr/register). */
|
|
511
|
+
operation_path?: string | undefined;
|
|
512
|
+
/** The price of the offer. */
|
|
513
|
+
price?: GoogleTypeMoney | undefined;
|
|
514
|
+
}
|
|
515
|
+
/** Map of available offers for the TLD, keyed by action string (create, renew, transfer, etc.). */
|
|
516
|
+
export type TldOffersMap = { [key: string]: TldOffer | undefined };
|
|
517
|
+
/** Additional specifications of the TLD. */
|
|
518
|
+
export type TldSpecificationsMap = { [key: string]: string | undefined };
|
|
519
|
+
export interface Tld {
|
|
520
|
+
/** The TLD name. */
|
|
521
|
+
name?: string | undefined;
|
|
522
|
+
/** Indicates whether the TLD supports DNSSEC. */
|
|
523
|
+
dnssec_support?: boolean | undefined;
|
|
524
|
+
/** Minimum registration duration in years for the TLD. */
|
|
525
|
+
duration_in_years_min?: number | undefined;
|
|
526
|
+
/** Maximum registration duration in years for the TLD. */
|
|
527
|
+
duration_in_years_max?: number | undefined;
|
|
528
|
+
/** Indicates whether the TLD supports internationalized domain names (IDN). */
|
|
529
|
+
idn_support?: boolean | undefined;
|
|
530
|
+
/** Map of available offers for the TLD, keyed by action string (create, renew, transfer, etc.). */
|
|
531
|
+
offers?: TldOffersMap | undefined;
|
|
532
|
+
/** Additional specifications of the TLD. */
|
|
533
|
+
specifications?: TldSpecificationsMap | undefined;
|
|
534
|
+
/** The SRN of the TLD. */
|
|
535
|
+
srn?: string | undefined;
|
|
536
|
+
}
|
|
537
|
+
/** List of Scaleway product types linked to the domain (e.g. vpc). */
|
|
538
|
+
export type DomainLinkedProductsList = Array<LinkedProduct>;
|
|
539
|
+
export interface Domain {
|
|
540
|
+
/** The domain name. */
|
|
541
|
+
domain?: string | undefined;
|
|
542
|
+
/** The organization ID associated with the domain. */
|
|
543
|
+
organization_id?: string | undefined;
|
|
544
|
+
/** The project ID associated with the domain. */
|
|
545
|
+
project_id?: string | undefined;
|
|
546
|
+
/** Status of the automatic renewal of the domain (enabling, enabled, disabling, disabled). */
|
|
547
|
+
auto_renew_status?: DomainFeatureStatus | undefined;
|
|
548
|
+
/** Status of the DNSSEC configuration of the domain. */
|
|
549
|
+
dnssec?: DomainDNSSEC | undefined;
|
|
550
|
+
/** List of the domain's EPP status codes (e.g. clientTransferProhibited, serverHold). */
|
|
551
|
+
epp_code?: DomainEppCodeList | undefined;
|
|
552
|
+
/** Date of expiration of the domain. (RFC 3339 format) */
|
|
553
|
+
expired_at?: string | null | undefined;
|
|
554
|
+
/** Domain's last modification date. (RFC 3339 format) */
|
|
555
|
+
updated_at?: string | null | undefined;
|
|
556
|
+
/** The registrar managing the domain. */
|
|
557
|
+
registrar?: string | undefined;
|
|
558
|
+
/** Indicates whether the domain is external (not managed by Scaleway as registrar). */
|
|
559
|
+
is_external?: boolean | undefined;
|
|
560
|
+
/** Status of the domain. */
|
|
561
|
+
status?: DomainStatus | undefined;
|
|
562
|
+
/** List of the domain's DNS zones. */
|
|
563
|
+
dns_zones?: DomainDnsZonesList | undefined;
|
|
564
|
+
/** Contact information of the domain's owner. */
|
|
565
|
+
owner_contact?: Contact | undefined;
|
|
566
|
+
/** Contact information of the domain's technical contact. */
|
|
567
|
+
technical_contact?: Contact | undefined;
|
|
568
|
+
/** Contact information of the domain's administrative contact. */
|
|
569
|
+
administrative_contact?: Contact | undefined;
|
|
570
|
+
/** Registration status of an external domain, if available. Precisely one of external_domain_registration_status, transfer_registration_status can be set. */
|
|
571
|
+
external_domain_registration_status?: DomainRegistrationStatusExternalDomain | null | undefined;
|
|
572
|
+
/** Status of an in-progress domain transfer. Precisely one of external_domain_registration_status, transfer_registration_status can be set. */
|
|
573
|
+
transfer_registration_status?: DomainRegistrationStatusTransfer | null | undefined;
|
|
574
|
+
/** Domain's TLD information. */
|
|
575
|
+
tld?: Tld | undefined;
|
|
576
|
+
/** List of Scaleway product types linked to the domain (e.g. vpc). */
|
|
577
|
+
linked_products?: DomainLinkedProductsList | undefined;
|
|
578
|
+
/** Indicates if a trade is ongoing. */
|
|
579
|
+
pending_trade?: boolean | undefined;
|
|
580
|
+
/** The SRN of the domain. */
|
|
581
|
+
srn?: string | undefined;
|
|
582
|
+
}
|
|
583
|
+
export interface DisableDomainDNSSECRequest {
|
|
584
|
+
/** The domain name to disable DNSSEC for. */
|
|
585
|
+
domain: string;
|
|
586
|
+
}
|
|
587
|
+
export interface EnableDomainAutoRenewRequest {
|
|
588
|
+
/** The domain name to enable auto renew for. */
|
|
589
|
+
domain: string;
|
|
590
|
+
}
|
|
591
|
+
export interface EnableDomainDNSSECRequest {
|
|
592
|
+
/** The domain name to enable DNSSEC for. */
|
|
593
|
+
domain: string;
|
|
594
|
+
/** The DS record to configure for DNSSEC. Required for domains using non-Scaleway nameservers. For Scaleway nameservers, auto-generated and must be omitted. */
|
|
595
|
+
ds_record?: DSRecord | undefined;
|
|
596
|
+
}
|
|
597
|
+
export interface GetContactRequest {
|
|
598
|
+
/** ID of the contact to retrieve. */
|
|
599
|
+
contact_id: string;
|
|
600
|
+
}
|
|
601
|
+
export interface GetDomainRequest {
|
|
602
|
+
/** The domain name to retrieve. */
|
|
603
|
+
domain: string;
|
|
604
|
+
}
|
|
605
|
+
export interface GetDomainAuthCodeRequest {
|
|
606
|
+
/** The domain name to retrieve the authorization code for. */
|
|
607
|
+
domain: string;
|
|
608
|
+
}
|
|
609
|
+
export interface GetDomainAuthCodeResponse {
|
|
610
|
+
/** The authorization code to transfer the domain. */
|
|
611
|
+
auth_code?: string | undefined;
|
|
612
|
+
}
|
|
613
|
+
export type ListContactsRequestRole = "unknown_role" | "owner" | "administrative" | "technical";
|
|
614
|
+
export type ListContactsRequestOrderBy =
|
|
615
|
+
| "created_at_asc"
|
|
616
|
+
| "created_at_desc"
|
|
617
|
+
| "email_asc"
|
|
618
|
+
| "email_desc";
|
|
619
|
+
export interface ListContactsRequest {
|
|
620
|
+
/** Page number for the returned contacts. */
|
|
621
|
+
page?: number | undefined;
|
|
622
|
+
/** Maximum number of contacts per page. */
|
|
623
|
+
page_size?: number | undefined;
|
|
624
|
+
/** Filter contacts by domain name. */
|
|
625
|
+
domain?: string | undefined;
|
|
626
|
+
/** Filter contacts by project ID. */
|
|
627
|
+
project_id?: string | undefined;
|
|
628
|
+
/** Filter contacts by organization ID. */
|
|
629
|
+
organization_id?: string | undefined;
|
|
630
|
+
/** Filter contacts by role (owner, administrative, technical). */
|
|
631
|
+
role?: ListContactsRequestRole | (string & {}) | undefined;
|
|
632
|
+
/** Filter contacts by email validation status. */
|
|
633
|
+
email_status?: ContactEmailStatus | (string & {}) | undefined;
|
|
634
|
+
/** Sort order of the returned contacts. */
|
|
635
|
+
order_by?: ListContactsRequestOrderBy | (string & {}) | undefined;
|
|
636
|
+
/** Filter by contact status. */
|
|
637
|
+
status?: ContactStatus | (string & {}) | undefined;
|
|
638
|
+
/** Filter by legal form. */
|
|
639
|
+
legal_form?: ContactLegalForm | (string & {}) | undefined;
|
|
640
|
+
/** Filter by email address. */
|
|
641
|
+
email?: string | undefined;
|
|
642
|
+
/** Fuzzy search in firstname, lastname, email, and company_name. */
|
|
643
|
+
search?: string | undefined;
|
|
644
|
+
}
|
|
645
|
+
export interface ContactRolesRoles {
|
|
646
|
+
/** Indicates whether the contact is the owner of the domain. */
|
|
647
|
+
is_owner?: boolean | undefined;
|
|
648
|
+
/** Indicates whether the contact is the administrative contact of the domain. */
|
|
649
|
+
is_administrative?: boolean | undefined;
|
|
650
|
+
/** Indicates whether the contact is the technical contact of the domain. */
|
|
651
|
+
is_technical?: boolean | undefined;
|
|
652
|
+
}
|
|
653
|
+
/** Map of domain names to the contact's roles on each domain. */
|
|
654
|
+
export type ContactRolesRolesMap = { [key: string]: ContactRolesRoles | undefined };
|
|
655
|
+
export interface ContactRoles {
|
|
656
|
+
/** The contact information. */
|
|
657
|
+
contact?: Contact | undefined;
|
|
658
|
+
/** Map of domain names to the contact's roles on each domain. */
|
|
659
|
+
roles?: ContactRolesRolesMap | undefined;
|
|
660
|
+
}
|
|
661
|
+
/** List of contacts with their associated roles. */
|
|
662
|
+
export type ListContactsResponseContactsList = Array<ContactRoles>;
|
|
663
|
+
export interface ListContactsResponse {
|
|
664
|
+
/** Total count of contacts matching the request. */
|
|
665
|
+
total_count?: number | undefined;
|
|
666
|
+
/** List of contacts with their associated roles. */
|
|
667
|
+
contacts: ListContactsResponseContactsList;
|
|
668
|
+
}
|
|
669
|
+
export interface ListDomainHostsRequest {
|
|
670
|
+
/** The domain name to list hostnames for. */
|
|
671
|
+
domain: string;
|
|
672
|
+
/** Page number for the returned hostnames. */
|
|
673
|
+
page?: number | undefined;
|
|
674
|
+
/** Maximum number of hostnames per page. */
|
|
675
|
+
page_size?: number | undefined;
|
|
676
|
+
}
|
|
677
|
+
/** List of host objects matching the request. */
|
|
678
|
+
export type ListDomainHostsResponseHostsList = Array<Host>;
|
|
679
|
+
export interface ListDomainHostsResponse {
|
|
680
|
+
/** Total count of hostnames matching the request. */
|
|
681
|
+
total_count?: number | undefined;
|
|
682
|
+
/** List of host objects matching the request. */
|
|
683
|
+
hosts: ListDomainHostsResponseHostsList;
|
|
684
|
+
}
|
|
685
|
+
export type ListDomainsRequestOrderBy = "domain_asc" | "domain_desc";
|
|
686
|
+
export interface ListDomainsRequest {
|
|
687
|
+
/** Page number for the returned domains. */
|
|
688
|
+
page?: number | undefined;
|
|
689
|
+
/** Maximum number of domains per page. */
|
|
690
|
+
page_size?: number | undefined;
|
|
691
|
+
/** Sort order of the returned domains. */
|
|
692
|
+
order_by?: ListDomainsRequestOrderBy | (string & {}) | undefined;
|
|
693
|
+
/** Filter domains by registrar. */
|
|
694
|
+
registrar?: string | undefined;
|
|
695
|
+
/** Filter domains by status. */
|
|
696
|
+
status?: DomainStatus | (string & {}) | undefined;
|
|
697
|
+
/** Filter domains by project ID. */
|
|
698
|
+
project_id?: string | undefined;
|
|
699
|
+
/** Filter domains by organization ID. */
|
|
700
|
+
organization_id?: string | undefined;
|
|
701
|
+
/** Filter domains by whether they are external (not managed by Scaleway as registrar). */
|
|
702
|
+
is_external?: boolean | undefined;
|
|
703
|
+
/** Filter domains by domain name. */
|
|
704
|
+
domain?: string | undefined;
|
|
705
|
+
}
|
|
706
|
+
/** List of the domain's EPP status codes (e.g. clientTransferProhibited, serverHold). */
|
|
707
|
+
export type DomainSummaryEppCodeList = Array<string>;
|
|
708
|
+
export interface DomainSummary {
|
|
709
|
+
/** The domain name. */
|
|
710
|
+
domain?: string | undefined;
|
|
711
|
+
/** The project ID associated with the domain. */
|
|
712
|
+
project_id?: string | undefined;
|
|
713
|
+
/** The organization ID associated with the domain. */
|
|
714
|
+
organization_id?: string | undefined;
|
|
715
|
+
/** Status of the automatic renewal of the domain (enabling, enabled, disabling, disabled). */
|
|
716
|
+
auto_renew_status?: DomainFeatureStatus | undefined;
|
|
717
|
+
/** Status of the DNSSEC configuration of the domain (enabling, enabled, disabling, disabled). */
|
|
718
|
+
dnssec_status?: DomainFeatureStatus | undefined;
|
|
719
|
+
/** List of the domain's EPP status codes (e.g. clientTransferProhibited, serverHold). */
|
|
720
|
+
epp_code?: DomainSummaryEppCodeList | undefined;
|
|
721
|
+
/** Date of expiration of the domain. (RFC 3339 format) */
|
|
722
|
+
expired_at?: string | null | undefined;
|
|
723
|
+
/** Domain's last modification date. (RFC 3339 format) */
|
|
724
|
+
updated_at?: string | null | undefined;
|
|
725
|
+
/** Domain's creation date. (RFC 3339 format) */
|
|
726
|
+
created_at?: string | null | undefined;
|
|
727
|
+
/** The registrar managing the domain. */
|
|
728
|
+
registrar?: string | undefined;
|
|
729
|
+
/** Indicates whether the domain is external (not managed by Scaleway as registrar). */
|
|
730
|
+
is_external?: boolean | undefined;
|
|
731
|
+
/** Status of the domain. */
|
|
732
|
+
status?: DomainStatus | undefined;
|
|
733
|
+
/** Registration status of an external domain, if available. Precisely one of external_domain_registration_status, transfer_registration_status can be set. */
|
|
734
|
+
external_domain_registration_status?: DomainRegistrationStatusExternalDomain | null | undefined;
|
|
735
|
+
/** Status of an in-progress domain transfer. Precisely one of external_domain_registration_status, transfer_registration_status can be set. */
|
|
736
|
+
transfer_registration_status?: DomainRegistrationStatusTransfer | null | undefined;
|
|
737
|
+
/** Indicates if a trade is ongoing. */
|
|
738
|
+
pending_trade?: boolean | undefined;
|
|
739
|
+
/** The SRN of the domain. */
|
|
740
|
+
srn?: string | undefined;
|
|
741
|
+
}
|
|
742
|
+
/** List of domain summaries matching the request. */
|
|
743
|
+
export type ListDomainsResponseDomainsList = Array<DomainSummary>;
|
|
744
|
+
export interface ListDomainsResponse {
|
|
745
|
+
/** Total count of domains matching the request. */
|
|
746
|
+
total_count?: number | undefined;
|
|
747
|
+
/** List of domain summaries matching the request. */
|
|
748
|
+
domains: ListDomainsResponseDomainsList;
|
|
749
|
+
}
|
|
750
|
+
export interface ListInboundTransfersRequest {
|
|
751
|
+
/** Page number for the returned inbound transfers. */
|
|
752
|
+
page: number;
|
|
753
|
+
/** Maximum number of inbound transfers per page. */
|
|
754
|
+
page_size?: number | undefined;
|
|
755
|
+
/** Filter inbound transfers by project ID. */
|
|
756
|
+
project_id: string;
|
|
757
|
+
/** Filter inbound transfers by organization ID. */
|
|
758
|
+
organization_id: string;
|
|
759
|
+
/** Filter inbound transfers by domain name. */
|
|
760
|
+
domain: string;
|
|
761
|
+
}
|
|
762
|
+
export type InboundTransferStatus =
|
|
763
|
+
| "unknown"
|
|
764
|
+
| "in_progress"
|
|
765
|
+
| "done"
|
|
766
|
+
| "err_internal"
|
|
767
|
+
| "err_domain_pending"
|
|
768
|
+
| "err_already_transferring"
|
|
769
|
+
| "err_transfer_prohibited"
|
|
770
|
+
| "err_transfer_impossible"
|
|
771
|
+
| "err_invalid_authcode"
|
|
772
|
+
| "err_domain_too_young"
|
|
773
|
+
| "err_too_many_requests";
|
|
774
|
+
export interface InboundTransfer {
|
|
775
|
+
/** The unique identifier of the inbound transfer. */
|
|
776
|
+
id?: string | undefined;
|
|
777
|
+
/** The creation date of the inbound transfer. (RFC 3339 format) */
|
|
778
|
+
created_at?: string | null | undefined;
|
|
779
|
+
/** The last modification date of the inbound transfer. (RFC 3339 format) */
|
|
780
|
+
last_updated_at?: string | null | undefined;
|
|
781
|
+
/** The project ID associated with the inbound transfer. */
|
|
782
|
+
project_id?: string | undefined;
|
|
783
|
+
/** The domain associated with the inbound transfer. */
|
|
784
|
+
domain?: string | undefined;
|
|
785
|
+
/** Inbound transfer status. */
|
|
786
|
+
status?: InboundTransferStatus | undefined;
|
|
787
|
+
/** Human-friendly message to describe the current inbound transfer status. */
|
|
788
|
+
message?: string | undefined;
|
|
789
|
+
/** The unique identifier of the associated task. */
|
|
790
|
+
task_id?: string | undefined;
|
|
791
|
+
}
|
|
792
|
+
/** List of inbound transfers matching the request. */
|
|
793
|
+
export type ListInboundTransfersResponseInboundTransfersList = Array<InboundTransfer>;
|
|
794
|
+
export interface ListInboundTransfersResponse {
|
|
795
|
+
/** Total count of inbound transfers matching the request. */
|
|
796
|
+
total_count?: number | undefined;
|
|
797
|
+
/** List of inbound transfers matching the request. */
|
|
798
|
+
inbound_transfers: ListInboundTransfersResponseInboundTransfersList;
|
|
799
|
+
}
|
|
800
|
+
export type ListRenewableDomainsRequestOrderBy = "domain_asc" | "domain_desc";
|
|
801
|
+
export interface ListRenewableDomainsRequest {
|
|
802
|
+
/** Page number for the returned renewable domains. */
|
|
803
|
+
page?: number | undefined;
|
|
804
|
+
/** Maximum number of renewable domains per page. */
|
|
805
|
+
page_size?: number | undefined;
|
|
806
|
+
/** Sort order of the returned renewable domains. */
|
|
807
|
+
order_by?: ListRenewableDomainsRequestOrderBy | (string & {}) | undefined;
|
|
808
|
+
/** Filter renewable domains by project ID. */
|
|
809
|
+
project_id?: string | undefined;
|
|
810
|
+
/** Filter renewable domains by organization ID. */
|
|
811
|
+
organization_id?: string | undefined;
|
|
812
|
+
}
|
|
813
|
+
export type RenewableDomainStatus = "unknown" | "renewable" | "late_reneweable" | "not_renewable";
|
|
814
|
+
export interface RenewableDomain {
|
|
815
|
+
/** The domain name. */
|
|
816
|
+
domain?: string | undefined;
|
|
817
|
+
/** The project ID associated with the domain. */
|
|
818
|
+
project_id?: string | undefined;
|
|
819
|
+
/** The organization ID associated with the domain. */
|
|
820
|
+
organization_id?: string | undefined;
|
|
821
|
+
/** The renewal status of the domain. */
|
|
822
|
+
status?: RenewableDomainStatus | undefined;
|
|
823
|
+
/** Duration in years for which the domain can be renewed. */
|
|
824
|
+
renewable_duration_in_years?: number | null | undefined;
|
|
825
|
+
/** Date of expiration of the domain. (RFC 3339 format) */
|
|
826
|
+
expired_at?: string | null | undefined;
|
|
827
|
+
/** Deadline to renew the domain before it enters the late renewal period. (RFC 3339 format) */
|
|
828
|
+
limit_renew_at?: string | null | undefined;
|
|
829
|
+
/** Deadline to renew the domain before it enters the redemption period. (RFC 3339 format) */
|
|
830
|
+
limit_redemption_at?: string | null | undefined;
|
|
831
|
+
/** Estimated date at which the domain will be deleted. (RFC 3339 format) */
|
|
832
|
+
estimated_delete_at?: string | null | undefined;
|
|
833
|
+
/** TLD information of the domain. */
|
|
834
|
+
tld?: Tld | undefined;
|
|
835
|
+
/** The SRN of the domain. */
|
|
836
|
+
srn?: string | undefined;
|
|
837
|
+
}
|
|
838
|
+
/** List of renewable domains matching the request. */
|
|
839
|
+
export type ListRenewableDomainsResponseDomainsList = Array<RenewableDomain>;
|
|
840
|
+
export interface ListRenewableDomainsResponse {
|
|
841
|
+
/** Total count of renewable domains matching the request. */
|
|
842
|
+
total_count?: number | undefined;
|
|
843
|
+
/** List of renewable domains matching the request. */
|
|
844
|
+
domains: ListRenewableDomainsResponseDomainsList;
|
|
845
|
+
}
|
|
846
|
+
export type TaskType =
|
|
847
|
+
| "unknown"
|
|
848
|
+
| "create_domain"
|
|
849
|
+
| "create_external_domain"
|
|
850
|
+
| "renew_domain"
|
|
851
|
+
| "transfer_domain"
|
|
852
|
+
| "trade_domain"
|
|
853
|
+
| "lock_domain_transfer"
|
|
854
|
+
| "unlock_domain_transfer"
|
|
855
|
+
| "enable_dnssec"
|
|
856
|
+
| "disable_dnssec"
|
|
857
|
+
| "update_domain"
|
|
858
|
+
| "update_contact"
|
|
859
|
+
| "delete_domain"
|
|
860
|
+
| "cancel_task"
|
|
861
|
+
| "generate_ssl_certificate"
|
|
862
|
+
| "renew_ssl_certificate"
|
|
863
|
+
| "send_message"
|
|
864
|
+
| "delete_domain_expired"
|
|
865
|
+
| "delete_external_domain"
|
|
866
|
+
| "create_host"
|
|
867
|
+
| "update_host"
|
|
868
|
+
| "delete_host"
|
|
869
|
+
| "move_project"
|
|
870
|
+
| "transfer_online_domain";
|
|
871
|
+
export type ListTasksRequestTypesList = Array<TaskType | (string & {})>;
|
|
872
|
+
export type TaskStatus =
|
|
873
|
+
| "unavailable"
|
|
874
|
+
| "new"
|
|
875
|
+
| "waiting_payment"
|
|
876
|
+
| "pending"
|
|
877
|
+
| "success"
|
|
878
|
+
| "error";
|
|
879
|
+
export type ListTasksRequestStatusesList = Array<TaskStatus | (string & {})>;
|
|
880
|
+
export type ListTasksRequestOrderBy =
|
|
881
|
+
| "domain_desc"
|
|
882
|
+
| "domain_asc"
|
|
883
|
+
| "type_asc"
|
|
884
|
+
| "type_desc"
|
|
885
|
+
| "status_asc"
|
|
886
|
+
| "status_desc"
|
|
887
|
+
| "updated_at_asc"
|
|
888
|
+
| "updated_at_desc";
|
|
889
|
+
export interface ListTasksRequest {
|
|
890
|
+
/** Page number for the returned tasks. */
|
|
891
|
+
page?: number | undefined;
|
|
892
|
+
/** Maximum number of tasks per page. */
|
|
893
|
+
page_size?: number | undefined;
|
|
894
|
+
/** Filter tasks by project ID. */
|
|
895
|
+
project_id?: string | undefined;
|
|
896
|
+
/** Filter tasks by organization ID. */
|
|
897
|
+
organization_id?: string | undefined;
|
|
898
|
+
/** Filter tasks by domain name. */
|
|
899
|
+
domain?: string | undefined;
|
|
900
|
+
/** Filter tasks by type. */
|
|
901
|
+
types?: ListTasksRequestTypesList | undefined;
|
|
902
|
+
/** Filter tasks by status. */
|
|
903
|
+
statuses?: ListTasksRequestStatusesList | undefined;
|
|
904
|
+
/** Sort order of the returned tasks. */
|
|
905
|
+
order_by?: ListTasksRequestOrderBy | (string & {}) | undefined;
|
|
906
|
+
}
|
|
907
|
+
export interface Task {
|
|
908
|
+
/** The unique identifier of the task. */
|
|
909
|
+
id?: string | undefined;
|
|
910
|
+
/** The project ID associated to the task. */
|
|
911
|
+
project_id?: string | undefined;
|
|
912
|
+
/** The organization ID associated to the task. */
|
|
913
|
+
organization_id?: string | undefined;
|
|
914
|
+
/** The domain name associated to the task. */
|
|
915
|
+
domain?: string | null | undefined;
|
|
916
|
+
/** The type of the task. */
|
|
917
|
+
type?: TaskType | undefined;
|
|
918
|
+
/** The status of the task. */
|
|
919
|
+
status?: TaskStatus | undefined;
|
|
920
|
+
/** Start date of the task. (RFC 3339 format) */
|
|
921
|
+
started_at?: string | null | undefined;
|
|
922
|
+
/** Last update of the task. (RFC 3339 format) */
|
|
923
|
+
updated_at?: string | null | undefined;
|
|
924
|
+
/** Error message associated to the task. */
|
|
925
|
+
message?: string | null | undefined;
|
|
926
|
+
/** Human-friendly contact identifier used when the task concerns a contact. */
|
|
927
|
+
contact_identifier?: string | null | undefined;
|
|
928
|
+
/** The SRN of the task. */
|
|
929
|
+
srn?: string | undefined;
|
|
930
|
+
}
|
|
931
|
+
/** List of tasks matching the request. */
|
|
932
|
+
export type ListTasksResponseTasksList = Array<Task>;
|
|
933
|
+
export interface ListTasksResponse {
|
|
934
|
+
/** Total count of tasks matching the request. */
|
|
935
|
+
total_count?: number | undefined;
|
|
936
|
+
/** List of tasks matching the request. */
|
|
937
|
+
tasks: ListTasksResponseTasksList;
|
|
938
|
+
}
|
|
939
|
+
export type ListTldsRequestTldsList = Array<string>;
|
|
940
|
+
export type ListTldsRequestOrderBy = "name_asc" | "name_desc";
|
|
941
|
+
export interface ListTldsRequest {
|
|
942
|
+
/** Array of TLDs to return. */
|
|
943
|
+
tlds?: ListTldsRequestTldsList | undefined;
|
|
944
|
+
/** Page number for the returned Projects. */
|
|
945
|
+
page?: number | undefined;
|
|
946
|
+
/** Maximum number of Project per page. */
|
|
947
|
+
page_size?: number | undefined;
|
|
948
|
+
/** Sort order of the returned TLDs. */
|
|
949
|
+
order_by?: ListTldsRequestOrderBy | (string & {}) | undefined;
|
|
950
|
+
}
|
|
951
|
+
/** Array of TLDs. */
|
|
952
|
+
export type ListTldsResponseTldsList = Array<Tld>;
|
|
953
|
+
export interface ListTldsResponse {
|
|
954
|
+
/** Array of TLDs. */
|
|
955
|
+
tlds: ListTldsResponseTldsList;
|
|
956
|
+
/** Total count of TLDs returned. */
|
|
957
|
+
total_count?: number | undefined;
|
|
958
|
+
}
|
|
959
|
+
export interface LockDomainTransferRequest {
|
|
960
|
+
/** The domain name to lock for transfer. */
|
|
961
|
+
domain: string;
|
|
962
|
+
}
|
|
963
|
+
export interface RegisterExternalDomainRequest {
|
|
964
|
+
/** The external domain name to register. */
|
|
965
|
+
domain: string;
|
|
966
|
+
/** Project ID to register the external domain in. */
|
|
967
|
+
project_id?: string | undefined;
|
|
968
|
+
}
|
|
969
|
+
export interface RegisterExternalDomainResponse {
|
|
970
|
+
/** The external domain name registered. */
|
|
971
|
+
domain?: string | undefined;
|
|
972
|
+
/** The organization ID associated with the external domain. */
|
|
973
|
+
organization_id?: string | undefined;
|
|
974
|
+
/** The project ID associated with the external domain. */
|
|
975
|
+
project_id?: string | undefined;
|
|
976
|
+
/** The validation token to set as a DNS TXT record at _scaleway-challenge.<domain> to validate the external domain. */
|
|
977
|
+
validation_token?: string | Redacted.Redacted<string> | undefined;
|
|
978
|
+
/** The creation date of the external domain registration. (RFC 3339 format) */
|
|
979
|
+
created_at?: string | null | undefined;
|
|
980
|
+
}
|
|
981
|
+
/** List of domains to renew. */
|
|
982
|
+
export type RenewDomainsRequestDomainsList = Array<string>;
|
|
983
|
+
export interface RenewDomainsRequest {
|
|
984
|
+
/** List of domains to renew. */
|
|
985
|
+
domains: RenewDomainsRequestDomainsList;
|
|
986
|
+
/** Duration in years for the domain renewal. Subject to TLD-specific minimum and maximum constraints. */
|
|
987
|
+
duration_in_years?: number | undefined;
|
|
988
|
+
/** Confirm the late renewal (incurs extra fees). */
|
|
989
|
+
force_late_renewal?: boolean | null | undefined;
|
|
990
|
+
}
|
|
991
|
+
export interface RetryInboundTransferRequest {
|
|
992
|
+
/** The domain being transferred. */
|
|
993
|
+
domain?: string | undefined;
|
|
994
|
+
/** The project ID to associated with the inbound transfer. */
|
|
995
|
+
project_id?: string | undefined;
|
|
996
|
+
/** An optional new auth code to replace the previous one for the retry. */
|
|
997
|
+
auth_code?: string | null | undefined;
|
|
998
|
+
}
|
|
999
|
+
export type RetryInboundTransferResponse2 = unknown;
|
|
1000
|
+
export type SearchAvailableDomainsRequestDomainsList = Array<string>;
|
|
1001
|
+
export type SearchAvailableDomainsRequestTldsList = Array<string>;
|
|
1002
|
+
export interface SearchAvailableDomainsRequest {
|
|
1003
|
+
/** A list of domain to search, TLD is optional. */
|
|
1004
|
+
domains: SearchAvailableDomainsRequestDomainsList;
|
|
1005
|
+
/** Array of tlds to search on. */
|
|
1006
|
+
tlds?: SearchAvailableDomainsRequestTldsList | undefined;
|
|
1007
|
+
/** Search exact match. */
|
|
1008
|
+
strict_search: boolean;
|
|
1009
|
+
/** If an exact match is found, include it in response as a separate element. */
|
|
1010
|
+
include_exact_match: boolean;
|
|
1011
|
+
}
|
|
1012
|
+
export interface AvailableDomain {
|
|
1013
|
+
/** The domain name. */
|
|
1014
|
+
domain?: string | undefined;
|
|
1015
|
+
/** Indicates whether the domain is available for registration. */
|
|
1016
|
+
available?: boolean | undefined;
|
|
1017
|
+
/** TLD information of the domain. */
|
|
1018
|
+
tld?: Tld | undefined;
|
|
1019
|
+
}
|
|
1020
|
+
/** Array of available domains. */
|
|
1021
|
+
export type SearchAvailableDomainsResponseAvailableDomainsList = Array<AvailableDomain>;
|
|
1022
|
+
export interface SearchAvailableDomainsResponse {
|
|
1023
|
+
/** Array of available domains. */
|
|
1024
|
+
available_domains?: SearchAvailableDomainsResponseAvailableDomainsList | undefined;
|
|
1025
|
+
/** If an exact match was asked and found, the result is in this field. */
|
|
1026
|
+
exact_match_domain?: AvailableDomain | undefined;
|
|
1027
|
+
}
|
|
1028
|
+
export interface TradeDomainRequest {
|
|
1029
|
+
/** The domain name to trade (change of owner/registrant). */
|
|
1030
|
+
domain: string;
|
|
1031
|
+
/** Project ID to associate with the domain after the trade. Also used to filter the new owner's contacts. */
|
|
1032
|
+
project_id?: string | null | undefined;
|
|
1033
|
+
/** ID of the existing contact to use as the domain's new owner. Precisely one of new_owner_contact_id, new_owner_contact can be set. */
|
|
1034
|
+
new_owner_contact_id?: string | null | undefined;
|
|
1035
|
+
/** New contact to create and use as the domain's new owner. Precisely one of new_owner_contact_id, new_owner_contact can be set. */
|
|
1036
|
+
new_owner_contact?: NewContact | null | undefined;
|
|
1037
|
+
}
|
|
1038
|
+
export interface TransferInDomainRequestTransferRequest {
|
|
1039
|
+
domain?: string | undefined;
|
|
1040
|
+
auth_code?: string | undefined;
|
|
1041
|
+
}
|
|
1042
|
+
/** List of domains to transfer in, each with its optional auth code. */
|
|
1043
|
+
export type TransferInDomainRequestDomainsList = Array<TransferInDomainRequestTransferRequest>;
|
|
1044
|
+
export interface TransferInDomainRequest {
|
|
1045
|
+
/** List of domains to transfer in, each with its optional auth code. */
|
|
1046
|
+
domains: TransferInDomainRequestDomainsList;
|
|
1047
|
+
/** Project ID to transfer the domains into. */
|
|
1048
|
+
project_id?: string | undefined;
|
|
1049
|
+
/** ID of the existing contact to use as the domain's owner. Precisely one of owner_contact_id, owner_contact can be set. */
|
|
1050
|
+
owner_contact_id?: string | null | undefined;
|
|
1051
|
+
/** New contact to create and use as the domain's owner. Precisely one of owner_contact_id, owner_contact can be set. */
|
|
1052
|
+
owner_contact?: NewContact | null | undefined;
|
|
1053
|
+
/** ID of the existing contact to use as the domain's administrative contact. Precisely one of administrative_contact_id, administrative_contact can be set. */
|
|
1054
|
+
administrative_contact_id?: string | null | undefined;
|
|
1055
|
+
/** New contact to create and use as the domain's administrative contact. Precisely one of administrative_contact_id, administrative_contact can be set. */
|
|
1056
|
+
administrative_contact?: NewContact | null | undefined;
|
|
1057
|
+
/** ID of the existing contact to use as the domain's technical contact. Precisely one of technical_contact_id, technical_contact can be set. */
|
|
1058
|
+
technical_contact_id?: string | null | undefined;
|
|
1059
|
+
/** New contact to create and use as the domain's technical contact. Precisely one of technical_contact_id, technical_contact can be set. */
|
|
1060
|
+
technical_contact?: NewContact | null | undefined;
|
|
1061
|
+
}
|
|
1062
|
+
export interface UnlockDomainTransferRequest {
|
|
1063
|
+
/** The domain name to unlock for transfer. */
|
|
1064
|
+
domain: string;
|
|
1065
|
+
}
|
|
1066
|
+
export interface UpdateContactRequestQuestion {
|
|
1067
|
+
question?: string | null | undefined;
|
|
1068
|
+
answer?: string | null | undefined;
|
|
1069
|
+
}
|
|
1070
|
+
export type UpdateContactRequestQuestionsList = Array<UpdateContactRequestQuestion>;
|
|
1071
|
+
export interface UpdateContactRequest {
|
|
1072
|
+
/** ID of the contact to update. */
|
|
1073
|
+
contact_id: string;
|
|
1074
|
+
/** Email address of the contact. */
|
|
1075
|
+
email?: string | null | undefined;
|
|
1076
|
+
/** Alternative email address of the contact. */
|
|
1077
|
+
email_alt?: string | null | undefined;
|
|
1078
|
+
/** Phone number of the contact, normalized to +CC.NationalNumber format. */
|
|
1079
|
+
phone_number?: string | null | undefined;
|
|
1080
|
+
/** Fax number of the contact, normalized to +CC.NationalNumber format. */
|
|
1081
|
+
fax_number?: string | null | undefined;
|
|
1082
|
+
/** First line of the contact's address. */
|
|
1083
|
+
address_line_1?: string | null | undefined;
|
|
1084
|
+
/** Second line of the contact's address. */
|
|
1085
|
+
address_line_2?: string | null | undefined;
|
|
1086
|
+
/** Postal code of the contact. */
|
|
1087
|
+
zip?: string | null | undefined;
|
|
1088
|
+
/** City of the contact. */
|
|
1089
|
+
city?: string | null | undefined;
|
|
1090
|
+
/** Country code of the contact (ISO 3166-1 alpha-2 format). Not updatable; returns an error if changed. */
|
|
1091
|
+
country?: string | null | undefined;
|
|
1092
|
+
/** VAT identification code of the contact. */
|
|
1093
|
+
vat_identification_code?: string | null | undefined;
|
|
1094
|
+
/** Company identification code of the contact (SIRET/SIREN for French contacts, any format for others). */
|
|
1095
|
+
company_identification_code?: string | null | undefined;
|
|
1096
|
+
/** Preferred language of the contact. */
|
|
1097
|
+
lang?: ScalewayStdLanguageCode | (string & {}) | undefined;
|
|
1098
|
+
/** Indicates whether the contact's information can be resold. */
|
|
1099
|
+
resale?: boolean | null | undefined;
|
|
1100
|
+
/** Additional information required for AFNIC-managed TLDs (.fr, .re, .pm, .yt, .wf, .tf). */
|
|
1101
|
+
extension_fr?: ContactExtensionFR | undefined;
|
|
1102
|
+
/** Additional information required for .eu domains. Conditionally required. */
|
|
1103
|
+
extension_eu?: ContactExtensionEU | undefined;
|
|
1104
|
+
/** Additional information required for .nl domains. Auto-populated for individuals. */
|
|
1105
|
+
extension_nl?: ContactExtensionNL | undefined;
|
|
1106
|
+
/** Additional information required for .it domains. Contains a PIN. */
|
|
1107
|
+
extension_it?: ContactExtensionIT | undefined;
|
|
1108
|
+
/** Indicates whether the contact's information is published in the WHOIS database. */
|
|
1109
|
+
whois_opt_in?: boolean | null | undefined;
|
|
1110
|
+
/** State or region of the contact. */
|
|
1111
|
+
state?: string | null | undefined;
|
|
1112
|
+
questions?: UpdateContactRequestQuestionsList | undefined;
|
|
1113
|
+
}
|
|
1114
|
+
export interface UpdateDomainRequest {
|
|
1115
|
+
/** The domain name to update. */
|
|
1116
|
+
domain: string;
|
|
1117
|
+
/** ID of the existing contact to use as the domain's technical contact. Precisely one of technical_contact_id, technical_contact can be set. */
|
|
1118
|
+
technical_contact_id?: string | null | undefined;
|
|
1119
|
+
/** New contact to create and use as the domain's technical contact. Precisely one of technical_contact_id, technical_contact can be set. */
|
|
1120
|
+
technical_contact?: NewContact | null | undefined;
|
|
1121
|
+
/** Deprecated. ID of the existing contact to use as the domain's owner. Precisely one of owner_contact_id, owner_contact can be set. */
|
|
1122
|
+
owner_contact_id?: string | null | undefined;
|
|
1123
|
+
/** Deprecated. New contact to create and use as the domain's owner. Precisely one of owner_contact_id, owner_contact can be set. */
|
|
1124
|
+
owner_contact?: NewContact | null | undefined;
|
|
1125
|
+
/** ID of the existing contact to use as the domain's administrative contact. Precisely one of administrative_contact_id, administrative_contact can be set. */
|
|
1126
|
+
administrative_contact_id?: string | null | undefined;
|
|
1127
|
+
/** New contact to create and use as the domain's administrative contact. Precisely one of administrative_contact_id, administrative_contact can be set. */
|
|
1128
|
+
administrative_contact?: NewContact | null | undefined;
|
|
1129
|
+
}
|
|
1130
|
+
/** New list of glue IP addresses associated with the hostname. Optional. */
|
|
1131
|
+
export type UpdateDomainHostRequestIpsList = Array<unknown>;
|
|
1132
|
+
export interface UpdateDomainHostRequest {
|
|
1133
|
+
/** The domain name of the hostname to update. */
|
|
1134
|
+
domain: string;
|
|
1135
|
+
/** The hostname to update. */
|
|
1136
|
+
name: string;
|
|
1137
|
+
/** New list of glue IP addresses associated with the hostname. Optional. */
|
|
1138
|
+
ips?: UpdateDomainHostRequestIpsList | null | undefined;
|
|
1139
|
+
}
|
|
1140
|
+
export type BuyDomainsError = ScalewayOpError;
|
|
1141
|
+
/** Purchase domains Request the registration of domain names. You can provide a domain's already existing contact or a new contact. */
|
|
1142
|
+
export const buyDomains: API.OperationMethod<
|
|
1143
|
+
BuyDomainsRequest,
|
|
1144
|
+
OrderResponse,
|
|
1145
|
+
BuyDomainsError,
|
|
1146
|
+
ScalewayOpContext
|
|
1147
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1148
|
+
input: __S(0, __c0, 0) as any as S.Schema<BuyDomainsRequest>,
|
|
1149
|
+
output: __S(64, __c4, 0) as any as S.Schema<OrderResponse>,
|
|
1150
|
+
errors: [],
|
|
1151
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1152
|
+
protocol: ScalewayProtocol,
|
|
1153
|
+
retry: Retry.Retry,
|
|
1154
|
+
telemetry: TELEMETRY,
|
|
1155
|
+
span: "BuyDomains",
|
|
1156
|
+
}));
|
|
1157
|
+
|
|
1158
|
+
export type CheckContactsCompatibilityError = ScalewayOpError;
|
|
1159
|
+
/** Check if contacts are compatible with a domain or a TLD Check whether contacts are compatible with a domain or a TLD. If contacts are not compatible with either the domain or the TLD, the information that needs to be corrected is returned. */
|
|
1160
|
+
export const checkContactsCompatibility: API.OperationMethod<
|
|
1161
|
+
CheckContactsCompatibilityRequest,
|
|
1162
|
+
CheckContactsCompatibilityResponse,
|
|
1163
|
+
CheckContactsCompatibilityError,
|
|
1164
|
+
ScalewayOpContext
|
|
1165
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1166
|
+
input: __S(80, __c5, 0) as any as S.Schema<CheckContactsCompatibilityRequest>,
|
|
1167
|
+
output: __S(82, __c5, 2) as any as S.Schema<CheckContactsCompatibilityResponse>,
|
|
1168
|
+
errors: [],
|
|
1169
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1170
|
+
protocol: ScalewayProtocol,
|
|
1171
|
+
retry: Retry.Retry,
|
|
1172
|
+
telemetry: TELEMETRY,
|
|
1173
|
+
span: "CheckContactsCompatibility",
|
|
1174
|
+
}));
|
|
1175
|
+
|
|
1176
|
+
export type CreateContactError = ScalewayOpError;
|
|
1177
|
+
/** Create contact Create a new contact with the provided information. */
|
|
1178
|
+
export const createContact: API.OperationMethod<
|
|
1179
|
+
CreateContactRequest,
|
|
1180
|
+
Contact,
|
|
1181
|
+
CreateContactError,
|
|
1182
|
+
ScalewayOpContext
|
|
1183
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1184
|
+
input: __S(256, __c16, 0) as any as S.Schema<CreateContactRequest>,
|
|
1185
|
+
output: __S(272, __c17, 0) as any as S.Schema<Contact>,
|
|
1186
|
+
errors: [],
|
|
1187
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1188
|
+
protocol: ScalewayProtocol,
|
|
1189
|
+
retry: Retry.Retry,
|
|
1190
|
+
telemetry: TELEMETRY,
|
|
1191
|
+
span: "CreateContact",
|
|
1192
|
+
}));
|
|
1193
|
+
|
|
1194
|
+
export type CreateDomainHostError = ScalewayOpError;
|
|
1195
|
+
/** Create a hostname for a domain Create a hostname for a domain with glue IPs. */
|
|
1196
|
+
export const createDomainHost: API.OperationMethod<
|
|
1197
|
+
CreateDomainHostRequest,
|
|
1198
|
+
Host,
|
|
1199
|
+
CreateDomainHostError,
|
|
1200
|
+
ScalewayOpContext
|
|
1201
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1202
|
+
input: __S(448, __c28, 0) as any as S.Schema<CreateDomainHostRequest>,
|
|
1203
|
+
output: __S(464, __c29, 0) as any as S.Schema<Host>,
|
|
1204
|
+
errors: [],
|
|
1205
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1206
|
+
protocol: ScalewayProtocol,
|
|
1207
|
+
retry: Retry.Retry,
|
|
1208
|
+
telemetry: TELEMETRY,
|
|
1209
|
+
span: "CreateDomainHost",
|
|
1210
|
+
}));
|
|
1211
|
+
|
|
1212
|
+
export type DeleteDomainHostError = ScalewayOpError;
|
|
1213
|
+
/** Delete a domain's hostname */
|
|
1214
|
+
export const deleteDomainHost: API.OperationMethod<
|
|
1215
|
+
DeleteDomainHostRequest,
|
|
1216
|
+
Host,
|
|
1217
|
+
DeleteDomainHostError,
|
|
1218
|
+
ScalewayOpContext
|
|
1219
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1220
|
+
input: __S(496, __c31, 0) as any as S.Schema<DeleteDomainHostRequest>,
|
|
1221
|
+
output: __S(464, __c29, 0) as any as S.Schema<Host>,
|
|
1222
|
+
errors: [],
|
|
1223
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1224
|
+
protocol: ScalewayProtocol,
|
|
1225
|
+
retry: Retry.Retry,
|
|
1226
|
+
telemetry: TELEMETRY,
|
|
1227
|
+
span: "DeleteDomainHost",
|
|
1228
|
+
}));
|
|
1229
|
+
|
|
1230
|
+
export type DeleteExternalDomainError = ScalewayOpError;
|
|
1231
|
+
/** Delete an external domain Delete an external domain name. */
|
|
1232
|
+
export const deleteExternalDomain: API.OperationMethod<
|
|
1233
|
+
DeleteExternalDomainRequest,
|
|
1234
|
+
DeleteExternalDomainResponse2,
|
|
1235
|
+
DeleteExternalDomainError,
|
|
1236
|
+
ScalewayOpContext
|
|
1237
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1238
|
+
input: __S(512, __c32, 0) as any as S.Schema<DeleteExternalDomainRequest>,
|
|
1239
|
+
output: __S(528, __c33, 0) as any as S.Schema<DeleteExternalDomainResponse2>,
|
|
1240
|
+
errors: [],
|
|
1241
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1242
|
+
protocol: ScalewayProtocol,
|
|
1243
|
+
retry: Retry.Retry,
|
|
1244
|
+
telemetry: TELEMETRY,
|
|
1245
|
+
span: "DeleteExternalDomain",
|
|
1246
|
+
}));
|
|
1247
|
+
|
|
1248
|
+
export type DisableDomainAutoRenewError = ScalewayOpError;
|
|
1249
|
+
/** Disable auto renew Disable the `auto renew` feature for a domain. This means the domain will not be renewed before its expiry date. */
|
|
1250
|
+
export const disableDomainAutoRenew: API.OperationMethod<
|
|
1251
|
+
DisableDomainAutoRenewRequest,
|
|
1252
|
+
Domain,
|
|
1253
|
+
DisableDomainAutoRenewError,
|
|
1254
|
+
ScalewayOpContext
|
|
1255
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1256
|
+
input: __S(544, __c34, 0) as any as S.Schema<DisableDomainAutoRenewRequest>,
|
|
1257
|
+
output: __S(615, __c38, 7) as any as S.Schema<Domain>,
|
|
1258
|
+
errors: [],
|
|
1259
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1260
|
+
protocol: ScalewayProtocol,
|
|
1261
|
+
retry: Retry.Retry,
|
|
1262
|
+
telemetry: TELEMETRY,
|
|
1263
|
+
span: "DisableDomainAutoRenew",
|
|
1264
|
+
}));
|
|
1265
|
+
|
|
1266
|
+
export type DisableDomainDNSSECError = ScalewayOpError;
|
|
1267
|
+
/** Disable a domain's DNSSEC Disable DNSSEC for a domain. */
|
|
1268
|
+
export const disableDomainDNSSEC: API.OperationMethod<
|
|
1269
|
+
DisableDomainDNSSECRequest,
|
|
1270
|
+
Domain,
|
|
1271
|
+
DisableDomainDNSSECError,
|
|
1272
|
+
ScalewayOpContext
|
|
1273
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1274
|
+
input: __S(624, __c39, 0) as any as S.Schema<DisableDomainDNSSECRequest>,
|
|
1275
|
+
output: __S(615, __c38, 7) as any as S.Schema<Domain>,
|
|
1276
|
+
errors: [],
|
|
1277
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1278
|
+
protocol: ScalewayProtocol,
|
|
1279
|
+
retry: Retry.Retry,
|
|
1280
|
+
telemetry: TELEMETRY,
|
|
1281
|
+
span: "DisableDomainDNSSEC",
|
|
1282
|
+
}));
|
|
1283
|
+
|
|
1284
|
+
export type EnableDomainAutoRenewError = ScalewayOpError;
|
|
1285
|
+
/** Enable auto renew Enable the `auto renew` feature for a domain. This means the domain will be automatically renewed before its expiry date. */
|
|
1286
|
+
export const enableDomainAutoRenew: API.OperationMethod<
|
|
1287
|
+
EnableDomainAutoRenewRequest,
|
|
1288
|
+
Domain,
|
|
1289
|
+
EnableDomainAutoRenewError,
|
|
1290
|
+
ScalewayOpContext
|
|
1291
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1292
|
+
input: __S(640, __c40, 0) as any as S.Schema<EnableDomainAutoRenewRequest>,
|
|
1293
|
+
output: __S(615, __c38, 7) as any as S.Schema<Domain>,
|
|
1294
|
+
errors: [],
|
|
1295
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1296
|
+
protocol: ScalewayProtocol,
|
|
1297
|
+
retry: Retry.Retry,
|
|
1298
|
+
telemetry: TELEMETRY,
|
|
1299
|
+
span: "EnableDomainAutoRenew",
|
|
1300
|
+
}));
|
|
1301
|
+
|
|
1302
|
+
export type EnableDomainDNSSECError = ScalewayOpError;
|
|
1303
|
+
/** Update domain DNSSEC If your domain uses another registrar and has the default Scaleway NS, you have to **update the DS record at your registrar**. */
|
|
1304
|
+
export const enableDomainDNSSEC: API.OperationMethod<
|
|
1305
|
+
EnableDomainDNSSECRequest,
|
|
1306
|
+
Domain,
|
|
1307
|
+
EnableDomainDNSSECError,
|
|
1308
|
+
ScalewayOpContext
|
|
1309
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1310
|
+
input: __S(656, __c41, 0) as any as S.Schema<EnableDomainDNSSECRequest>,
|
|
1311
|
+
output: __S(615, __c38, 7) as any as S.Schema<Domain>,
|
|
1312
|
+
errors: [],
|
|
1313
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1314
|
+
protocol: ScalewayProtocol,
|
|
1315
|
+
retry: Retry.Retry,
|
|
1316
|
+
telemetry: TELEMETRY,
|
|
1317
|
+
span: "EnableDomainDNSSEC",
|
|
1318
|
+
}));
|
|
1319
|
+
|
|
1320
|
+
export type GetContactError = ScalewayOpError;
|
|
1321
|
+
/** Get a contact Retrieve a contact's details from the registrar using the given contact's ID. */
|
|
1322
|
+
export const getContact: API.OperationMethod<
|
|
1323
|
+
GetContactRequest,
|
|
1324
|
+
Contact,
|
|
1325
|
+
GetContactError,
|
|
1326
|
+
ScalewayOpContext
|
|
1327
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1328
|
+
input: __S(96, __c6, 0) as any as S.Schema<GetContactRequest>,
|
|
1329
|
+
output: __S(272, __c17, 0) as any as S.Schema<Contact>,
|
|
1330
|
+
errors: [],
|
|
1331
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1332
|
+
protocol: ScalewayProtocol,
|
|
1333
|
+
retry: Retry.Retry,
|
|
1334
|
+
telemetry: TELEMETRY,
|
|
1335
|
+
span: "GetContact",
|
|
1336
|
+
}));
|
|
1337
|
+
|
|
1338
|
+
export type GetDomainError = ScalewayOpError;
|
|
1339
|
+
/** Get domain Retrieve a specific domain and display the domain's information. */
|
|
1340
|
+
export const getDomain: API.OperationMethod<
|
|
1341
|
+
GetDomainRequest,
|
|
1342
|
+
Domain,
|
|
1343
|
+
GetDomainError,
|
|
1344
|
+
ScalewayOpContext
|
|
1345
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1346
|
+
input: __S(112, __c7, 0) as any as S.Schema<GetDomainRequest>,
|
|
1347
|
+
output: __S(615, __c38, 7) as any as S.Schema<Domain>,
|
|
1348
|
+
errors: [],
|
|
1349
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1350
|
+
protocol: ScalewayProtocol,
|
|
1351
|
+
retry: Retry.Retry,
|
|
1352
|
+
telemetry: TELEMETRY,
|
|
1353
|
+
span: "GetDomain",
|
|
1354
|
+
}));
|
|
1355
|
+
|
|
1356
|
+
export type GetDomainAuthCodeError = ScalewayOpError;
|
|
1357
|
+
/** Get a domain's authorization code Retrieve the authorization code to transfer an unlocked domain. The output returns an error if the domain is locked. Some TLDs may have a different procedure to retrieve the authorization code. In that case, the information displays in the message field. */
|
|
1358
|
+
export const getDomainAuthCode: API.OperationMethod<
|
|
1359
|
+
GetDomainAuthCodeRequest,
|
|
1360
|
+
GetDomainAuthCodeResponse,
|
|
1361
|
+
GetDomainAuthCodeError,
|
|
1362
|
+
ScalewayOpContext
|
|
1363
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1364
|
+
input: __S(128, __c8, 0) as any as S.Schema<GetDomainAuthCodeRequest>,
|
|
1365
|
+
output: __S(129, __c8, 1) as any as S.Schema<GetDomainAuthCodeResponse>,
|
|
1366
|
+
errors: [],
|
|
1367
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1368
|
+
protocol: ScalewayProtocol,
|
|
1369
|
+
retry: Retry.Retry,
|
|
1370
|
+
telemetry: TELEMETRY,
|
|
1371
|
+
span: "GetDomainAuthCode",
|
|
1372
|
+
}));
|
|
1373
|
+
|
|
1374
|
+
export type ListContactsError = ScalewayOpError;
|
|
1375
|
+
/** List contacts Retrieve the list of contacts and their associated domains and roles. You can filter the list by domain name. */
|
|
1376
|
+
export const listContacts: API.PaginatedOperationMethod<
|
|
1377
|
+
ListContactsRequest,
|
|
1378
|
+
ListContactsResponse,
|
|
1379
|
+
ListContactsError,
|
|
1380
|
+
ScalewayOpContext,
|
|
1381
|
+
ContactRoles
|
|
1382
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1383
|
+
() => ({
|
|
1384
|
+
input: __S(144, __c9, 0) as any as S.Schema<ListContactsRequest>,
|
|
1385
|
+
output: __S(149, __c9, 5) as any as S.Schema<ListContactsResponse>,
|
|
1386
|
+
errors: [],
|
|
1387
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1388
|
+
protocol: ScalewayProtocol,
|
|
1389
|
+
retry: Retry.Retry,
|
|
1390
|
+
telemetry: TELEMETRY,
|
|
1391
|
+
span: "ListContacts",
|
|
1392
|
+
pagination: {
|
|
1393
|
+
mode: "page",
|
|
1394
|
+
inputToken: "page",
|
|
1395
|
+
outputToken: "total_count",
|
|
1396
|
+
items: "contacts",
|
|
1397
|
+
pageSize: "page_size",
|
|
1398
|
+
} as const,
|
|
1399
|
+
}),
|
|
1400
|
+
paginateByTotalCount,
|
|
1401
|
+
) as any;
|
|
1402
|
+
|
|
1403
|
+
export type ListDomainHostsError = ScalewayOpError;
|
|
1404
|
+
/** List a domain's hostnames List a domain's hostnames using their glue IPs. */
|
|
1405
|
+
export const listDomainHosts: API.PaginatedOperationMethod<
|
|
1406
|
+
ListDomainHostsRequest,
|
|
1407
|
+
ListDomainHostsResponse,
|
|
1408
|
+
ListDomainHostsError,
|
|
1409
|
+
ScalewayOpContext,
|
|
1410
|
+
Host
|
|
1411
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1412
|
+
() => ({
|
|
1413
|
+
input: __S(160, __c10, 0) as any as S.Schema<ListDomainHostsRequest>,
|
|
1414
|
+
output: __S(162, __c10, 2) as any as S.Schema<ListDomainHostsResponse>,
|
|
1415
|
+
errors: [],
|
|
1416
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1417
|
+
protocol: ScalewayProtocol,
|
|
1418
|
+
retry: Retry.Retry,
|
|
1419
|
+
telemetry: TELEMETRY,
|
|
1420
|
+
span: "ListDomainHosts",
|
|
1421
|
+
pagination: {
|
|
1422
|
+
mode: "page",
|
|
1423
|
+
inputToken: "page",
|
|
1424
|
+
outputToken: "total_count",
|
|
1425
|
+
items: "hosts",
|
|
1426
|
+
pageSize: "page_size",
|
|
1427
|
+
} as const,
|
|
1428
|
+
}),
|
|
1429
|
+
paginateByTotalCount,
|
|
1430
|
+
) as any;
|
|
1431
|
+
|
|
1432
|
+
export type ListDomainsError = ScalewayOpError;
|
|
1433
|
+
/** List domains Retrieve the list of domains you own. */
|
|
1434
|
+
export const listDomains: API.PaginatedOperationMethod<
|
|
1435
|
+
ListDomainsRequest,
|
|
1436
|
+
ListDomainsResponse,
|
|
1437
|
+
ListDomainsError,
|
|
1438
|
+
ScalewayOpContext,
|
|
1439
|
+
DomainSummary
|
|
1440
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1441
|
+
() => ({
|
|
1442
|
+
input: __S(176, __c11, 0) as any as S.Schema<ListDomainsRequest>,
|
|
1443
|
+
output: __S(179, __c11, 3) as any as S.Schema<ListDomainsResponse>,
|
|
1444
|
+
errors: [],
|
|
1445
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1446
|
+
protocol: ScalewayProtocol,
|
|
1447
|
+
retry: Retry.Retry,
|
|
1448
|
+
telemetry: TELEMETRY,
|
|
1449
|
+
span: "ListDomains",
|
|
1450
|
+
pagination: {
|
|
1451
|
+
mode: "page",
|
|
1452
|
+
inputToken: "page",
|
|
1453
|
+
outputToken: "total_count",
|
|
1454
|
+
items: "domains",
|
|
1455
|
+
pageSize: "page_size",
|
|
1456
|
+
} as const,
|
|
1457
|
+
}),
|
|
1458
|
+
paginateByTotalCount,
|
|
1459
|
+
) as any;
|
|
1460
|
+
|
|
1461
|
+
export type ListInboundTransfersError = ScalewayOpError;
|
|
1462
|
+
/** List inbound domain transfers List all inbound transfer operations on the account. You can filter the list of inbound transfers by domain name. */
|
|
1463
|
+
export const listInboundTransfers: API.PaginatedOperationMethod<
|
|
1464
|
+
ListInboundTransfersRequest,
|
|
1465
|
+
ListInboundTransfersResponse,
|
|
1466
|
+
ListInboundTransfersError,
|
|
1467
|
+
ScalewayOpContext,
|
|
1468
|
+
InboundTransfer
|
|
1469
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1470
|
+
() => ({
|
|
1471
|
+
input: __S(192, __c12, 0) as any as S.Schema<ListInboundTransfersRequest>,
|
|
1472
|
+
output: __S(195, __c12, 3) as any as S.Schema<ListInboundTransfersResponse>,
|
|
1473
|
+
errors: [],
|
|
1474
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1475
|
+
protocol: ScalewayProtocol,
|
|
1476
|
+
retry: Retry.Retry,
|
|
1477
|
+
telemetry: TELEMETRY,
|
|
1478
|
+
span: "ListInboundTransfers",
|
|
1479
|
+
pagination: {
|
|
1480
|
+
mode: "page",
|
|
1481
|
+
inputToken: "page",
|
|
1482
|
+
outputToken: "total_count",
|
|
1483
|
+
items: "inbound_transfers",
|
|
1484
|
+
pageSize: "page_size",
|
|
1485
|
+
} as const,
|
|
1486
|
+
}),
|
|
1487
|
+
paginateByTotalCount,
|
|
1488
|
+
) as any;
|
|
1489
|
+
|
|
1490
|
+
export type ListRenewableDomainsError = ScalewayOpError;
|
|
1491
|
+
/** List domains that can be renewed Retrieve the list of domains you own that can be renewed. You can also see the maximum renewal duration in years for your domains that are renewable. */
|
|
1492
|
+
export const listRenewableDomains: API.PaginatedOperationMethod<
|
|
1493
|
+
ListRenewableDomainsRequest,
|
|
1494
|
+
ListRenewableDomainsResponse,
|
|
1495
|
+
ListRenewableDomainsError,
|
|
1496
|
+
ScalewayOpContext,
|
|
1497
|
+
RenewableDomain
|
|
1498
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1499
|
+
() => ({
|
|
1500
|
+
input: __S(208, __c13, 0) as any as S.Schema<ListRenewableDomainsRequest>,
|
|
1501
|
+
output: __S(211, __c13, 3) as any as S.Schema<ListRenewableDomainsResponse>,
|
|
1502
|
+
errors: [],
|
|
1503
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1504
|
+
protocol: ScalewayProtocol,
|
|
1505
|
+
retry: Retry.Retry,
|
|
1506
|
+
telemetry: TELEMETRY,
|
|
1507
|
+
span: "ListRenewableDomains",
|
|
1508
|
+
pagination: {
|
|
1509
|
+
mode: "page",
|
|
1510
|
+
inputToken: "page",
|
|
1511
|
+
outputToken: "total_count",
|
|
1512
|
+
items: "domains",
|
|
1513
|
+
pageSize: "page_size",
|
|
1514
|
+
} as const,
|
|
1515
|
+
}),
|
|
1516
|
+
paginateByTotalCount,
|
|
1517
|
+
) as any;
|
|
1518
|
+
|
|
1519
|
+
export type ListTasksError = ScalewayOpError;
|
|
1520
|
+
/** List tasks List all operations performed on the account. You can filter the list of tasks by domain name. */
|
|
1521
|
+
export const listTasks: API.PaginatedOperationMethod<
|
|
1522
|
+
ListTasksRequest,
|
|
1523
|
+
ListTasksResponse,
|
|
1524
|
+
ListTasksError,
|
|
1525
|
+
ScalewayOpContext,
|
|
1526
|
+
Task
|
|
1527
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1528
|
+
() => ({
|
|
1529
|
+
input: __S(224, __c14, 0) as any as S.Schema<ListTasksRequest>,
|
|
1530
|
+
output: __S(227, __c14, 3) as any as S.Schema<ListTasksResponse>,
|
|
1531
|
+
errors: [],
|
|
1532
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1533
|
+
protocol: ScalewayProtocol,
|
|
1534
|
+
retry: Retry.Retry,
|
|
1535
|
+
telemetry: TELEMETRY,
|
|
1536
|
+
span: "ListTasks",
|
|
1537
|
+
pagination: {
|
|
1538
|
+
mode: "page",
|
|
1539
|
+
inputToken: "page",
|
|
1540
|
+
outputToken: "total_count",
|
|
1541
|
+
items: "tasks",
|
|
1542
|
+
pageSize: "page_size",
|
|
1543
|
+
} as const,
|
|
1544
|
+
}),
|
|
1545
|
+
paginateByTotalCount,
|
|
1546
|
+
) as any;
|
|
1547
|
+
|
|
1548
|
+
export type ListTldsError = ScalewayOpError;
|
|
1549
|
+
/** List TLD offers Retrieve the list of TLDs and offers associated with them. */
|
|
1550
|
+
export const listTlds: API.PaginatedOperationMethod<
|
|
1551
|
+
ListTldsRequest,
|
|
1552
|
+
ListTldsResponse,
|
|
1553
|
+
ListTldsError,
|
|
1554
|
+
ScalewayOpContext,
|
|
1555
|
+
Tld
|
|
1556
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
1557
|
+
() => ({
|
|
1558
|
+
input: __S(240, __c15, 0) as any as S.Schema<ListTldsRequest>,
|
|
1559
|
+
output: __S(242, __c15, 2) as any as S.Schema<ListTldsResponse>,
|
|
1560
|
+
errors: [],
|
|
1561
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1562
|
+
protocol: ScalewayProtocol,
|
|
1563
|
+
retry: Retry.Retry,
|
|
1564
|
+
telemetry: TELEMETRY,
|
|
1565
|
+
span: "ListTlds",
|
|
1566
|
+
pagination: {
|
|
1567
|
+
mode: "page",
|
|
1568
|
+
inputToken: "page",
|
|
1569
|
+
outputToken: "total_count",
|
|
1570
|
+
items: "tlds",
|
|
1571
|
+
pageSize: "page_size",
|
|
1572
|
+
} as const,
|
|
1573
|
+
}),
|
|
1574
|
+
paginateByTotalCount,
|
|
1575
|
+
) as any;
|
|
1576
|
+
|
|
1577
|
+
export type LockDomainTransferError = ScalewayOpError;
|
|
1578
|
+
/** Lock the transfer of a domain Lock the transfer of a domain. This means that the domain cannot be transferred and the authorization code cannot be requested to your current registrar. */
|
|
1579
|
+
export const lockDomainTransfer: API.OperationMethod<
|
|
1580
|
+
LockDomainTransferRequest,
|
|
1581
|
+
Domain,
|
|
1582
|
+
LockDomainTransferError,
|
|
1583
|
+
ScalewayOpContext
|
|
1584
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1585
|
+
input: __S(288, __c18, 0) as any as S.Schema<LockDomainTransferRequest>,
|
|
1586
|
+
output: __S(615, __c38, 7) as any as S.Schema<Domain>,
|
|
1587
|
+
errors: [],
|
|
1588
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1589
|
+
protocol: ScalewayProtocol,
|
|
1590
|
+
retry: Retry.Retry,
|
|
1591
|
+
telemetry: TELEMETRY,
|
|
1592
|
+
span: "LockDomainTransfer",
|
|
1593
|
+
}));
|
|
1594
|
+
|
|
1595
|
+
export type RegisterExternalDomainError = ScalewayOpError;
|
|
1596
|
+
/** Register an external domain Request the registration of an external domain name. */
|
|
1597
|
+
export const registerExternalDomain: API.OperationMethod<
|
|
1598
|
+
RegisterExternalDomainRequest,
|
|
1599
|
+
RegisterExternalDomainResponse,
|
|
1600
|
+
RegisterExternalDomainError,
|
|
1601
|
+
ScalewayOpContext
|
|
1602
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1603
|
+
input: __S(304, __c19, 0) as any as S.Schema<RegisterExternalDomainRequest>,
|
|
1604
|
+
output: __S(305, __c19, 1) as any as S.Schema<RegisterExternalDomainResponse>,
|
|
1605
|
+
errors: [],
|
|
1606
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1607
|
+
protocol: ScalewayProtocol,
|
|
1608
|
+
retry: Retry.Retry,
|
|
1609
|
+
telemetry: TELEMETRY,
|
|
1610
|
+
span: "RegisterExternalDomain",
|
|
1611
|
+
}));
|
|
1612
|
+
|
|
1613
|
+
export type RenewDomainsError = ScalewayOpError;
|
|
1614
|
+
/** Renew domains Request the renewal of one or more domain names. */
|
|
1615
|
+
export const renewDomains: API.OperationMethod<
|
|
1616
|
+
RenewDomainsRequest,
|
|
1617
|
+
OrderResponse,
|
|
1618
|
+
RenewDomainsError,
|
|
1619
|
+
ScalewayOpContext
|
|
1620
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1621
|
+
input: __S(320, __c20, 0) as any as S.Schema<RenewDomainsRequest>,
|
|
1622
|
+
output: __S(64, __c4, 0) as any as S.Schema<OrderResponse>,
|
|
1623
|
+
errors: [],
|
|
1624
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1625
|
+
protocol: ScalewayProtocol,
|
|
1626
|
+
retry: Retry.Retry,
|
|
1627
|
+
telemetry: TELEMETRY,
|
|
1628
|
+
span: "RenewDomains",
|
|
1629
|
+
}));
|
|
1630
|
+
|
|
1631
|
+
export type RetryInboundTransferError = ScalewayOpError;
|
|
1632
|
+
/** Retry the inbound transfer of a domain Request a retry for the transfer of a domain from another registrar to Scaleway Domains and DNS. */
|
|
1633
|
+
export const retryInboundTransfer: API.OperationMethod<
|
|
1634
|
+
RetryInboundTransferRequest,
|
|
1635
|
+
RetryInboundTransferResponse2,
|
|
1636
|
+
RetryInboundTransferError,
|
|
1637
|
+
ScalewayOpContext
|
|
1638
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1639
|
+
input: __S(336, __c21, 0) as any as S.Schema<RetryInboundTransferRequest>,
|
|
1640
|
+
output: __S(528, __c33, 0) as any as S.Schema<RetryInboundTransferResponse2>,
|
|
1641
|
+
errors: [],
|
|
1642
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1643
|
+
protocol: ScalewayProtocol,
|
|
1644
|
+
retry: Retry.Retry,
|
|
1645
|
+
telemetry: TELEMETRY,
|
|
1646
|
+
span: "RetryInboundTransfer",
|
|
1647
|
+
}));
|
|
1648
|
+
|
|
1649
|
+
export type SearchAvailableDomainsError = ScalewayOpError;
|
|
1650
|
+
/** Search available domains Search a domain or a maximum of 10 domains that are available. If the TLD list is empty or not set, the search returns the results from the most popular TLDs. */
|
|
1651
|
+
export const searchAvailableDomains: API.OperationMethod<
|
|
1652
|
+
SearchAvailableDomainsRequest,
|
|
1653
|
+
SearchAvailableDomainsResponse,
|
|
1654
|
+
SearchAvailableDomainsError,
|
|
1655
|
+
ScalewayOpContext
|
|
1656
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1657
|
+
input: __S(352, __c22, 0) as any as S.Schema<SearchAvailableDomainsRequest>,
|
|
1658
|
+
output: __S(355, __c22, 3) as any as S.Schema<SearchAvailableDomainsResponse>,
|
|
1659
|
+
errors: [],
|
|
1660
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1661
|
+
protocol: ScalewayProtocol,
|
|
1662
|
+
retry: Retry.Retry,
|
|
1663
|
+
telemetry: TELEMETRY,
|
|
1664
|
+
span: "SearchAvailableDomains",
|
|
1665
|
+
}));
|
|
1666
|
+
|
|
1667
|
+
export type TradeDomainError = ScalewayOpError;
|
|
1668
|
+
/** Trade a domain's contact Request to change a domain's contact owner.<br/> If you specify the `organization_id` of the domain's new owner, the contact will change from the current owner's Scaleway account to the new owner's Scaleway account.<br/> If the new owner's current contact information is not available, the first ever contact they have created for previous domains is taken into account to operate the change.<br/> If the new owner has never created a contact to register domains before, an error message displays. */
|
|
1669
|
+
export const tradeDomain: API.OperationMethod<
|
|
1670
|
+
TradeDomainRequest,
|
|
1671
|
+
OrderResponse,
|
|
1672
|
+
TradeDomainError,
|
|
1673
|
+
ScalewayOpContext
|
|
1674
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1675
|
+
input: __S(368, __c23, 0) as any as S.Schema<TradeDomainRequest>,
|
|
1676
|
+
output: __S(64, __c4, 0) as any as S.Schema<OrderResponse>,
|
|
1677
|
+
errors: [],
|
|
1678
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1679
|
+
protocol: ScalewayProtocol,
|
|
1680
|
+
retry: Retry.Retry,
|
|
1681
|
+
telemetry: TELEMETRY,
|
|
1682
|
+
span: "TradeDomain",
|
|
1683
|
+
}));
|
|
1684
|
+
|
|
1685
|
+
export type TransferInDomainError = ScalewayOpError;
|
|
1686
|
+
/** Transfer a domain Request the transfer of a domain from another registrar to Scaleway Domains and DNS. */
|
|
1687
|
+
export const transferInDomain: API.OperationMethod<
|
|
1688
|
+
TransferInDomainRequest,
|
|
1689
|
+
OrderResponse,
|
|
1690
|
+
TransferInDomainError,
|
|
1691
|
+
ScalewayOpContext
|
|
1692
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1693
|
+
input: __S(386, __c24, 2) as any as S.Schema<TransferInDomainRequest>,
|
|
1694
|
+
output: __S(64, __c4, 0) as any as S.Schema<OrderResponse>,
|
|
1695
|
+
errors: [],
|
|
1696
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1697
|
+
protocol: ScalewayProtocol,
|
|
1698
|
+
retry: Retry.Retry,
|
|
1699
|
+
telemetry: TELEMETRY,
|
|
1700
|
+
span: "TransferInDomain",
|
|
1701
|
+
}));
|
|
1702
|
+
|
|
1703
|
+
export type UnlockDomainTransferError = ScalewayOpError;
|
|
1704
|
+
/** Unlock the transfer of a domain Unlock the transfer of a domain. This means that the domain can be transferred and the authorization code can be requested to your current registrar. */
|
|
1705
|
+
export const unlockDomainTransfer: API.OperationMethod<
|
|
1706
|
+
UnlockDomainTransferRequest,
|
|
1707
|
+
Domain,
|
|
1708
|
+
UnlockDomainTransferError,
|
|
1709
|
+
ScalewayOpContext
|
|
1710
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1711
|
+
input: __S(400, __c25, 0) as any as S.Schema<UnlockDomainTransferRequest>,
|
|
1712
|
+
output: __S(615, __c38, 7) as any as S.Schema<Domain>,
|
|
1713
|
+
errors: [],
|
|
1714
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1715
|
+
protocol: ScalewayProtocol,
|
|
1716
|
+
retry: Retry.Retry,
|
|
1717
|
+
telemetry: TELEMETRY,
|
|
1718
|
+
span: "UnlockDomainTransfer",
|
|
1719
|
+
}));
|
|
1720
|
+
|
|
1721
|
+
export type UpdateContactError = ScalewayOpError;
|
|
1722
|
+
/** Update contact Edit the contact's information. */
|
|
1723
|
+
export const updateContact: API.OperationMethod<
|
|
1724
|
+
UpdateContactRequest,
|
|
1725
|
+
Contact,
|
|
1726
|
+
UpdateContactError,
|
|
1727
|
+
ScalewayOpContext
|
|
1728
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1729
|
+
input: __S(418, __c26, 2) as any as S.Schema<UpdateContactRequest>,
|
|
1730
|
+
output: __S(272, __c17, 0) as any as S.Schema<Contact>,
|
|
1731
|
+
errors: [],
|
|
1732
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1733
|
+
protocol: ScalewayProtocol,
|
|
1734
|
+
retry: Retry.Retry,
|
|
1735
|
+
telemetry: TELEMETRY,
|
|
1736
|
+
span: "UpdateContact",
|
|
1737
|
+
}));
|
|
1738
|
+
|
|
1739
|
+
export type UpdateDomainError = ScalewayOpError;
|
|
1740
|
+
/** Update a domain's contacts Update contacts for a specific domain or create a new contact.<br/> If you add the same contact for multiple roles (owner, administrative, technical), only one ID will be created and used for all of the roles. */
|
|
1741
|
+
export const updateDomain: API.OperationMethod<
|
|
1742
|
+
UpdateDomainRequest,
|
|
1743
|
+
Domain,
|
|
1744
|
+
UpdateDomainError,
|
|
1745
|
+
ScalewayOpContext
|
|
1746
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1747
|
+
input: __S(432, __c27, 0) as any as S.Schema<UpdateDomainRequest>,
|
|
1748
|
+
output: __S(615, __c38, 7) as any as S.Schema<Domain>,
|
|
1749
|
+
errors: [],
|
|
1750
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1751
|
+
protocol: ScalewayProtocol,
|
|
1752
|
+
retry: Retry.Retry,
|
|
1753
|
+
telemetry: TELEMETRY,
|
|
1754
|
+
span: "UpdateDomain",
|
|
1755
|
+
}));
|
|
1756
|
+
|
|
1757
|
+
export type UpdateDomainHostError = ScalewayOpError;
|
|
1758
|
+
/** Update a domain's hostname Update a domain's hostname with glue IPs. */
|
|
1759
|
+
export const updateDomainHost: API.OperationMethod<
|
|
1760
|
+
UpdateDomainHostRequest,
|
|
1761
|
+
Host,
|
|
1762
|
+
UpdateDomainHostError,
|
|
1763
|
+
ScalewayOpContext
|
|
1764
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1765
|
+
input: __S(481, __c30, 1) as any as S.Schema<UpdateDomainHostRequest>,
|
|
1766
|
+
output: __S(464, __c29, 0) as any as S.Schema<Host>,
|
|
1767
|
+
errors: [],
|
|
1768
|
+
serviceErrors: ScalewayServiceErrors,
|
|
1769
|
+
protocol: ScalewayProtocol,
|
|
1770
|
+
retry: Retry.Retry,
|
|
1771
|
+
telemetry: TELEMETRY,
|
|
1772
|
+
span: "UpdateDomainHost",
|
|
1773
|
+
}));
|
|
1774
|
+
|
|
1775
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
1776
|
+
function __c0(j: number): any {
|
|
1777
|
+
switch (j) {
|
|
1778
|
+
case 0:
|
|
1779
|
+
return S.suspend(() =>
|
|
1780
|
+
S.Struct({
|
|
1781
|
+
domains: __S(48, __c3, 0),
|
|
1782
|
+
duration_in_years: S.optional(S.Number),
|
|
1783
|
+
project_id: S.optional(S.String),
|
|
1784
|
+
owner_contact_id: S.optional(S.NullOr(S.String)),
|
|
1785
|
+
owner_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
1786
|
+
administrative_contact_id: S.optional(S.NullOr(S.String)),
|
|
1787
|
+
administrative_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
1788
|
+
technical_contact_id: S.optional(S.NullOr(S.String)),
|
|
1789
|
+
technical_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
1790
|
+
auto_renew: S.optional(S.Boolean),
|
|
1791
|
+
}).pipe(
|
|
1792
|
+
T.Http({
|
|
1793
|
+
method: "POST",
|
|
1794
|
+
uri: "/domain/v2beta1/buy-domains",
|
|
1795
|
+
code: 200,
|
|
1796
|
+
baseUrl: "https://api.scaleway.com",
|
|
1797
|
+
}),
|
|
1798
|
+
),
|
|
1799
|
+
).annotate({ identifier: "BuyDomainsRequest" });
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
function __c1(j: number): any {
|
|
1803
|
+
switch (j) {
|
|
1804
|
+
case 0:
|
|
1805
|
+
return S.suspend(() =>
|
|
1806
|
+
S.Struct({
|
|
1807
|
+
whois_opt_in: S.optional(S.Boolean),
|
|
1808
|
+
}),
|
|
1809
|
+
).annotate({ identifier: "ContactExtensionFRIndividualInfo" });
|
|
1810
|
+
case 1:
|
|
1811
|
+
return S.suspend(() =>
|
|
1812
|
+
S.Struct({
|
|
1813
|
+
duns_id: S.optional(S.String),
|
|
1814
|
+
local_id: S.optional(S.String),
|
|
1815
|
+
}),
|
|
1816
|
+
).annotate({ identifier: "ContactExtensionFRDunsInfo" });
|
|
1817
|
+
case 2:
|
|
1818
|
+
return S.suspend(() =>
|
|
1819
|
+
S.Struct({
|
|
1820
|
+
publication_jo: S.optional(S.NullOr(S.String)),
|
|
1821
|
+
publication_jo_page: S.optional(S.Number),
|
|
1822
|
+
}),
|
|
1823
|
+
).annotate({ identifier: "ContactExtensionFRAssociationInfo" });
|
|
1824
|
+
case 3:
|
|
1825
|
+
return S.suspend(() =>
|
|
1826
|
+
S.Struct({
|
|
1827
|
+
trademark_inpi: S.optional(S.String),
|
|
1828
|
+
}),
|
|
1829
|
+
).annotate({ identifier: "ContactExtensionFRTrademarkInfo" });
|
|
1830
|
+
case 4:
|
|
1831
|
+
return S.suspend(() =>
|
|
1832
|
+
S.Struct({
|
|
1833
|
+
code_auth_afnic: S.optional(S.String),
|
|
1834
|
+
}),
|
|
1835
|
+
).annotate({ identifier: "ContactExtensionFRCodeAuthAfnicInfo" });
|
|
1836
|
+
case 5:
|
|
1837
|
+
return S.suspend(() =>
|
|
1838
|
+
S.Struct({
|
|
1839
|
+
mode: S.optional(S.String),
|
|
1840
|
+
individual_info: S.optional(S.NullOr(__S(16, __c1, 0))),
|
|
1841
|
+
duns_info: S.optional(S.NullOr(__S(17, __c1, 1))),
|
|
1842
|
+
association_info: S.optional(S.NullOr(__S(18, __c1, 2))),
|
|
1843
|
+
trademark_info: S.optional(S.NullOr(__S(19, __c1, 3))),
|
|
1844
|
+
code_auth_afnic_info: S.optional(S.NullOr(__S(20, __c1, 4))),
|
|
1845
|
+
}),
|
|
1846
|
+
).annotate({ identifier: "ContactExtensionFR" });
|
|
1847
|
+
case 6:
|
|
1848
|
+
return S.suspend(() =>
|
|
1849
|
+
S.Struct({
|
|
1850
|
+
european_citizenship: S.optional(S.String),
|
|
1851
|
+
}),
|
|
1852
|
+
).annotate({ identifier: "ContactExtensionEU" });
|
|
1853
|
+
case 7:
|
|
1854
|
+
return S.suspend(() =>
|
|
1855
|
+
S.Struct({
|
|
1856
|
+
legal_form: S.optional(S.String),
|
|
1857
|
+
legal_form_registration_number: S.optional(S.String),
|
|
1858
|
+
}),
|
|
1859
|
+
).annotate({ identifier: "ContactExtensionNL" });
|
|
1860
|
+
case 8:
|
|
1861
|
+
return S.suspend(() =>
|
|
1862
|
+
S.Struct({
|
|
1863
|
+
european_citizenship: S.optional(S.String),
|
|
1864
|
+
tax_code: S.optional(S.String),
|
|
1865
|
+
pin: S.String,
|
|
1866
|
+
}),
|
|
1867
|
+
).annotate({ identifier: "ContactExtensionIT" });
|
|
1868
|
+
case 9:
|
|
1869
|
+
return S.suspend(() =>
|
|
1870
|
+
S.Struct({
|
|
1871
|
+
question: S.optional(S.String),
|
|
1872
|
+
answer: S.optional(S.String),
|
|
1873
|
+
}),
|
|
1874
|
+
).annotate({ identifier: "ContactQuestion" });
|
|
1875
|
+
case 10:
|
|
1876
|
+
return S.Array(__S(25, __c1, 9));
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
function __c2(j: number): any {
|
|
1880
|
+
switch (j) {
|
|
1881
|
+
case 0:
|
|
1882
|
+
return S.suspend(() =>
|
|
1883
|
+
S.Struct({
|
|
1884
|
+
legal_form: S.optional(S.String),
|
|
1885
|
+
firstname: S.optional(S.String),
|
|
1886
|
+
lastname: S.optional(S.String),
|
|
1887
|
+
company_name: S.optional(S.NullOr(S.String)),
|
|
1888
|
+
email: S.optional(S.String),
|
|
1889
|
+
email_alt: S.optional(S.NullOr(S.String)),
|
|
1890
|
+
phone_number: S.optional(S.String),
|
|
1891
|
+
fax_number: S.optional(S.NullOr(S.String)),
|
|
1892
|
+
address_line_1: S.optional(S.String),
|
|
1893
|
+
address_line_2: S.optional(S.NullOr(S.String)),
|
|
1894
|
+
zip: S.optional(S.String),
|
|
1895
|
+
city: S.optional(S.String),
|
|
1896
|
+
country: S.optional(S.String),
|
|
1897
|
+
vat_identification_code: S.optional(S.NullOr(S.String)),
|
|
1898
|
+
company_identification_code: S.optional(S.NullOr(S.String)),
|
|
1899
|
+
lang: S.optional(S.String),
|
|
1900
|
+
resale: S.optional(S.Boolean),
|
|
1901
|
+
extension_fr: S.optional(__S(21, __c1, 5)),
|
|
1902
|
+
extension_eu: S.optional(__S(22, __c1, 6)),
|
|
1903
|
+
whois_opt_in: S.optional(S.Boolean),
|
|
1904
|
+
state: S.optional(S.NullOr(S.String)),
|
|
1905
|
+
extension_nl: S.optional(__S(23, __c1, 7)),
|
|
1906
|
+
extension_it: S.optional(__S(24, __c1, 8)),
|
|
1907
|
+
questions: S.optional(__S(26, __c1, 10)),
|
|
1908
|
+
}),
|
|
1909
|
+
).annotate({ identifier: "NewContact" });
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
function __c3(j: number): any {
|
|
1913
|
+
switch (j) {
|
|
1914
|
+
case 0:
|
|
1915
|
+
return S.Array(S.String);
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
function __c4(j: number): any {
|
|
1919
|
+
switch (j) {
|
|
1920
|
+
case 0:
|
|
1921
|
+
return S.suspend(() =>
|
|
1922
|
+
S.Struct({
|
|
1923
|
+
domains: S.optional(__S(48, __c3, 0)),
|
|
1924
|
+
organization_id: S.optional(S.String),
|
|
1925
|
+
project_id: S.optional(S.String),
|
|
1926
|
+
task_id: S.optional(S.String),
|
|
1927
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
1928
|
+
}),
|
|
1929
|
+
).annotate({ identifier: "OrderResponse" });
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
function __c5(j: number): any {
|
|
1933
|
+
switch (j) {
|
|
1934
|
+
case 0:
|
|
1935
|
+
return S.suspend(() =>
|
|
1936
|
+
S.Struct({
|
|
1937
|
+
domains: S.optional(__S(48, __c3, 0)),
|
|
1938
|
+
tlds: S.optional(__S(48, __c3, 0)),
|
|
1939
|
+
owner_contact_id: S.optional(S.NullOr(S.String)),
|
|
1940
|
+
owner_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
1941
|
+
administrative_contact_id: S.optional(S.NullOr(S.String)),
|
|
1942
|
+
administrative_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
1943
|
+
technical_contact_id: S.optional(S.NullOr(S.String)),
|
|
1944
|
+
technical_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
1945
|
+
}).pipe(
|
|
1946
|
+
T.Http({
|
|
1947
|
+
method: "POST",
|
|
1948
|
+
uri: "/domain/v2beta1/check-contacts-compatibility",
|
|
1949
|
+
code: 200,
|
|
1950
|
+
baseUrl: "https://api.scaleway.com",
|
|
1951
|
+
}),
|
|
1952
|
+
),
|
|
1953
|
+
).annotate({ identifier: "CheckContactsCompatibilityRequest" });
|
|
1954
|
+
case 1:
|
|
1955
|
+
return S.suspend(() =>
|
|
1956
|
+
S.Struct({
|
|
1957
|
+
compatible: S.optional(S.Boolean),
|
|
1958
|
+
error_message: S.optional(S.NullOr(S.String)),
|
|
1959
|
+
}),
|
|
1960
|
+
).annotate({ identifier: "CheckContactsCompatibilityResponseContactCheckResult" });
|
|
1961
|
+
case 2:
|
|
1962
|
+
return S.suspend(() =>
|
|
1963
|
+
S.Struct({
|
|
1964
|
+
compatible: S.optional(S.Boolean),
|
|
1965
|
+
owner_check_result: S.optional(__S(81, __c5, 1)),
|
|
1966
|
+
administrative_check_result: S.optional(__S(81, __c5, 1)),
|
|
1967
|
+
technical_check_result: S.optional(__S(81, __c5, 1)),
|
|
1968
|
+
}),
|
|
1969
|
+
).annotate({ identifier: "CheckContactsCompatibilityResponse" });
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
function __c6(j: number): any {
|
|
1973
|
+
switch (j) {
|
|
1974
|
+
case 0:
|
|
1975
|
+
return S.suspend(() =>
|
|
1976
|
+
S.Struct({
|
|
1977
|
+
contact_id: S.String.pipe(T.Label()),
|
|
1978
|
+
}).pipe(
|
|
1979
|
+
T.Http({
|
|
1980
|
+
method: "GET",
|
|
1981
|
+
uri: "/domain/v2beta1/contacts/{contact_id}",
|
|
1982
|
+
code: 200,
|
|
1983
|
+
baseUrl: "https://api.scaleway.com",
|
|
1984
|
+
}),
|
|
1985
|
+
),
|
|
1986
|
+
).annotate({ identifier: "GetContactRequest" });
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
function __c7(j: number): any {
|
|
1990
|
+
switch (j) {
|
|
1991
|
+
case 0:
|
|
1992
|
+
return S.suspend(() =>
|
|
1993
|
+
S.Struct({
|
|
1994
|
+
domain: S.String.pipe(T.Label()),
|
|
1995
|
+
}).pipe(
|
|
1996
|
+
T.Http({
|
|
1997
|
+
method: "GET",
|
|
1998
|
+
uri: "/domain/v2beta1/domains/{domain}",
|
|
1999
|
+
code: 200,
|
|
2000
|
+
baseUrl: "https://api.scaleway.com",
|
|
2001
|
+
}),
|
|
2002
|
+
),
|
|
2003
|
+
).annotate({ identifier: "GetDomainRequest" });
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
function __c8(j: number): any {
|
|
2007
|
+
switch (j) {
|
|
2008
|
+
case 0:
|
|
2009
|
+
return S.suspend(() =>
|
|
2010
|
+
S.Struct({
|
|
2011
|
+
domain: S.String.pipe(T.Label()),
|
|
2012
|
+
}).pipe(
|
|
2013
|
+
T.Http({
|
|
2014
|
+
method: "GET",
|
|
2015
|
+
uri: "/domain/v2beta1/domains/{domain}/auth-code",
|
|
2016
|
+
code: 200,
|
|
2017
|
+
baseUrl: "https://api.scaleway.com",
|
|
2018
|
+
}),
|
|
2019
|
+
),
|
|
2020
|
+
).annotate({ identifier: "GetDomainAuthCodeRequest" });
|
|
2021
|
+
case 1:
|
|
2022
|
+
return S.suspend(() =>
|
|
2023
|
+
S.Struct({
|
|
2024
|
+
auth_code: S.optional(S.String),
|
|
2025
|
+
}),
|
|
2026
|
+
).annotate({ identifier: "GetDomainAuthCodeResponse" });
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
function __c9(j: number): any {
|
|
2030
|
+
switch (j) {
|
|
2031
|
+
case 0:
|
|
2032
|
+
return S.suspend(() =>
|
|
2033
|
+
S.Struct({
|
|
2034
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
2035
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
2036
|
+
domain: S.optional(S.String.pipe(T.Query())),
|
|
2037
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
2038
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
2039
|
+
role: S.optional(S.String.pipe(T.Query())),
|
|
2040
|
+
email_status: S.optional(S.String.pipe(T.Query())),
|
|
2041
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
2042
|
+
status: S.optional(S.String.pipe(T.Query())),
|
|
2043
|
+
legal_form: S.optional(S.String.pipe(T.Query())),
|
|
2044
|
+
email: S.optional(S.String.pipe(T.Query())),
|
|
2045
|
+
search: S.optional(S.String.pipe(T.Query())),
|
|
2046
|
+
}).pipe(
|
|
2047
|
+
T.Http({
|
|
2048
|
+
method: "GET",
|
|
2049
|
+
uri: "/domain/v2beta1/contacts",
|
|
2050
|
+
code: 200,
|
|
2051
|
+
baseUrl: "https://api.scaleway.com",
|
|
2052
|
+
}),
|
|
2053
|
+
),
|
|
2054
|
+
).annotate({ identifier: "ListContactsRequest" });
|
|
2055
|
+
case 1:
|
|
2056
|
+
return S.suspend(() =>
|
|
2057
|
+
S.Struct({
|
|
2058
|
+
is_owner: S.optional(S.Boolean),
|
|
2059
|
+
is_administrative: S.optional(S.Boolean),
|
|
2060
|
+
is_technical: S.optional(S.Boolean),
|
|
2061
|
+
}),
|
|
2062
|
+
).annotate({ identifier: "ContactRolesRoles" });
|
|
2063
|
+
case 2:
|
|
2064
|
+
return S.Record(S.String, __S(145, __c9, 1));
|
|
2065
|
+
case 3:
|
|
2066
|
+
return S.suspend(() =>
|
|
2067
|
+
S.Struct({
|
|
2068
|
+
contact: S.optional(__S(272, __c17, 0)),
|
|
2069
|
+
roles: S.optional(__S(146, __c9, 2)),
|
|
2070
|
+
}),
|
|
2071
|
+
).annotate({ identifier: "ContactRoles" });
|
|
2072
|
+
case 4:
|
|
2073
|
+
return S.Array(__S(147, __c9, 3));
|
|
2074
|
+
case 5:
|
|
2075
|
+
return S.suspend(() =>
|
|
2076
|
+
S.Struct({
|
|
2077
|
+
total_count: S.optional(S.Number),
|
|
2078
|
+
contacts: __S(148, __c9, 4),
|
|
2079
|
+
}),
|
|
2080
|
+
).annotate({ identifier: "ListContactsResponse" });
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
function __c10(j: number): any {
|
|
2084
|
+
switch (j) {
|
|
2085
|
+
case 0:
|
|
2086
|
+
return S.suspend(() =>
|
|
2087
|
+
S.Struct({
|
|
2088
|
+
domain: S.String.pipe(T.Label()),
|
|
2089
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
2090
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
2091
|
+
}).pipe(
|
|
2092
|
+
T.Http({
|
|
2093
|
+
method: "GET",
|
|
2094
|
+
uri: "/domain/v2beta1/domains/{domain}/hosts",
|
|
2095
|
+
code: 200,
|
|
2096
|
+
baseUrl: "https://api.scaleway.com",
|
|
2097
|
+
}),
|
|
2098
|
+
),
|
|
2099
|
+
).annotate({ identifier: "ListDomainHostsRequest" });
|
|
2100
|
+
case 1:
|
|
2101
|
+
return S.Array(__S(464, __c29, 0));
|
|
2102
|
+
case 2:
|
|
2103
|
+
return S.suspend(() =>
|
|
2104
|
+
S.Struct({
|
|
2105
|
+
total_count: S.optional(S.Number),
|
|
2106
|
+
hosts: __S(161, __c10, 1),
|
|
2107
|
+
}),
|
|
2108
|
+
).annotate({ identifier: "ListDomainHostsResponse" });
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
function __c11(j: number): any {
|
|
2112
|
+
switch (j) {
|
|
2113
|
+
case 0:
|
|
2114
|
+
return S.suspend(() =>
|
|
2115
|
+
S.Struct({
|
|
2116
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
2117
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
2118
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
2119
|
+
registrar: S.optional(S.String.pipe(T.Query())),
|
|
2120
|
+
status: S.optional(S.String.pipe(T.Query())),
|
|
2121
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
2122
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
2123
|
+
is_external: S.optional(S.Boolean.pipe(T.Query())),
|
|
2124
|
+
domain: S.optional(S.String.pipe(T.Query())),
|
|
2125
|
+
}).pipe(
|
|
2126
|
+
T.Http({
|
|
2127
|
+
method: "GET",
|
|
2128
|
+
uri: "/domain/v2beta1/domains",
|
|
2129
|
+
code: 200,
|
|
2130
|
+
baseUrl: "https://api.scaleway.com",
|
|
2131
|
+
}),
|
|
2132
|
+
),
|
|
2133
|
+
).annotate({ identifier: "ListDomainsRequest" });
|
|
2134
|
+
case 1:
|
|
2135
|
+
return S.suspend(() =>
|
|
2136
|
+
S.Struct({
|
|
2137
|
+
domain: S.optional(S.String),
|
|
2138
|
+
project_id: S.optional(S.String),
|
|
2139
|
+
organization_id: S.optional(S.String),
|
|
2140
|
+
auto_renew_status: S.optional(S.String),
|
|
2141
|
+
dnssec_status: S.optional(S.String),
|
|
2142
|
+
epp_code: S.optional(__S(48, __c3, 0)),
|
|
2143
|
+
expired_at: S.optional(S.NullOr(S.String)),
|
|
2144
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
2145
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
2146
|
+
registrar: S.optional(S.String),
|
|
2147
|
+
is_external: S.optional(S.Boolean),
|
|
2148
|
+
status: S.optional(S.String),
|
|
2149
|
+
external_domain_registration_status: S.optional(S.NullOr(__S(560, __c35, 0))),
|
|
2150
|
+
transfer_registration_status: S.optional(S.NullOr(__S(561, __c35, 1))),
|
|
2151
|
+
pending_trade: S.optional(S.Boolean),
|
|
2152
|
+
srn: S.optional(S.String),
|
|
2153
|
+
}),
|
|
2154
|
+
).annotate({ identifier: "DomainSummary" });
|
|
2155
|
+
case 2:
|
|
2156
|
+
return S.Array(__S(177, __c11, 1));
|
|
2157
|
+
case 3:
|
|
2158
|
+
return S.suspend(() =>
|
|
2159
|
+
S.Struct({
|
|
2160
|
+
total_count: S.optional(S.Number),
|
|
2161
|
+
domains: __S(178, __c11, 2),
|
|
2162
|
+
}),
|
|
2163
|
+
).annotate({ identifier: "ListDomainsResponse" });
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
function __c12(j: number): any {
|
|
2167
|
+
switch (j) {
|
|
2168
|
+
case 0:
|
|
2169
|
+
return S.suspend(() =>
|
|
2170
|
+
S.Struct({
|
|
2171
|
+
page: S.Number.pipe(T.Query()),
|
|
2172
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
2173
|
+
project_id: S.String.pipe(T.Query()),
|
|
2174
|
+
organization_id: S.String.pipe(T.Query()),
|
|
2175
|
+
domain: S.String.pipe(T.Query()),
|
|
2176
|
+
}).pipe(
|
|
2177
|
+
T.Http({
|
|
2178
|
+
method: "GET",
|
|
2179
|
+
uri: "/domain/v2beta1/inbound-transfers",
|
|
2180
|
+
code: 200,
|
|
2181
|
+
baseUrl: "https://api.scaleway.com",
|
|
2182
|
+
}),
|
|
2183
|
+
),
|
|
2184
|
+
).annotate({ identifier: "ListInboundTransfersRequest" });
|
|
2185
|
+
case 1:
|
|
2186
|
+
return S.suspend(() =>
|
|
2187
|
+
S.Struct({
|
|
2188
|
+
id: S.optional(S.String),
|
|
2189
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
2190
|
+
last_updated_at: S.optional(S.NullOr(S.String)),
|
|
2191
|
+
project_id: S.optional(S.String),
|
|
2192
|
+
domain: S.optional(S.String),
|
|
2193
|
+
status: S.optional(S.String),
|
|
2194
|
+
message: S.optional(S.String),
|
|
2195
|
+
task_id: S.optional(S.String),
|
|
2196
|
+
}),
|
|
2197
|
+
).annotate({ identifier: "InboundTransfer" });
|
|
2198
|
+
case 2:
|
|
2199
|
+
return S.Array(__S(193, __c12, 1));
|
|
2200
|
+
case 3:
|
|
2201
|
+
return S.suspend(() =>
|
|
2202
|
+
S.Struct({
|
|
2203
|
+
total_count: S.optional(S.Number),
|
|
2204
|
+
inbound_transfers: __S(194, __c12, 2),
|
|
2205
|
+
}),
|
|
2206
|
+
).annotate({ identifier: "ListInboundTransfersResponse" });
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
function __c13(j: number): any {
|
|
2210
|
+
switch (j) {
|
|
2211
|
+
case 0:
|
|
2212
|
+
return S.suspend(() =>
|
|
2213
|
+
S.Struct({
|
|
2214
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
2215
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
2216
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
2217
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
2218
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
2219
|
+
}).pipe(
|
|
2220
|
+
T.Http({
|
|
2221
|
+
method: "GET",
|
|
2222
|
+
uri: "/domain/v2beta1/renewable-domains",
|
|
2223
|
+
code: 200,
|
|
2224
|
+
baseUrl: "https://api.scaleway.com",
|
|
2225
|
+
}),
|
|
2226
|
+
),
|
|
2227
|
+
).annotate({ identifier: "ListRenewableDomainsRequest" });
|
|
2228
|
+
case 1:
|
|
2229
|
+
return S.suspend(() =>
|
|
2230
|
+
S.Struct({
|
|
2231
|
+
domain: S.optional(S.String),
|
|
2232
|
+
project_id: S.optional(S.String),
|
|
2233
|
+
organization_id: S.optional(S.String),
|
|
2234
|
+
status: S.optional(S.String),
|
|
2235
|
+
renewable_duration_in_years: S.optional(S.NullOr(S.Number)),
|
|
2236
|
+
expired_at: S.optional(S.NullOr(S.String)),
|
|
2237
|
+
limit_renew_at: S.optional(S.NullOr(S.String)),
|
|
2238
|
+
limit_redemption_at: S.optional(S.NullOr(S.String)),
|
|
2239
|
+
estimated_delete_at: S.optional(S.NullOr(S.String)),
|
|
2240
|
+
tld: S.optional(__S(580, __c36, 4)),
|
|
2241
|
+
srn: S.optional(S.String),
|
|
2242
|
+
}),
|
|
2243
|
+
).annotate({ identifier: "RenewableDomain" });
|
|
2244
|
+
case 2:
|
|
2245
|
+
return S.Array(__S(209, __c13, 1));
|
|
2246
|
+
case 3:
|
|
2247
|
+
return S.suspend(() =>
|
|
2248
|
+
S.Struct({
|
|
2249
|
+
total_count: S.optional(S.Number),
|
|
2250
|
+
domains: __S(210, __c13, 2),
|
|
2251
|
+
}),
|
|
2252
|
+
).annotate({ identifier: "ListRenewableDomainsResponse" });
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
function __c14(j: number): any {
|
|
2256
|
+
switch (j) {
|
|
2257
|
+
case 0:
|
|
2258
|
+
return S.suspend(() =>
|
|
2259
|
+
S.Struct({
|
|
2260
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
2261
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
2262
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
2263
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
2264
|
+
domain: S.optional(S.String.pipe(T.Query())),
|
|
2265
|
+
types: S.optional(__S(592, __c37, 0).pipe(T.Query())),
|
|
2266
|
+
statuses: S.optional(__S(592, __c37, 0).pipe(T.Query())),
|
|
2267
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
2268
|
+
}).pipe(
|
|
2269
|
+
T.Http({
|
|
2270
|
+
method: "GET",
|
|
2271
|
+
uri: "/domain/v2beta1/tasks",
|
|
2272
|
+
code: 200,
|
|
2273
|
+
baseUrl: "https://api.scaleway.com",
|
|
2274
|
+
}),
|
|
2275
|
+
),
|
|
2276
|
+
).annotate({ identifier: "ListTasksRequest" });
|
|
2277
|
+
case 1:
|
|
2278
|
+
return S.suspend(() =>
|
|
2279
|
+
S.Struct({
|
|
2280
|
+
id: S.optional(S.String),
|
|
2281
|
+
project_id: S.optional(S.String),
|
|
2282
|
+
organization_id: S.optional(S.String),
|
|
2283
|
+
domain: S.optional(S.NullOr(S.String)),
|
|
2284
|
+
type: S.optional(S.String),
|
|
2285
|
+
status: S.optional(S.String),
|
|
2286
|
+
started_at: S.optional(S.NullOr(S.String)),
|
|
2287
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
2288
|
+
message: S.optional(S.NullOr(S.String)),
|
|
2289
|
+
contact_identifier: S.optional(S.NullOr(S.String)),
|
|
2290
|
+
srn: S.optional(S.String),
|
|
2291
|
+
}),
|
|
2292
|
+
).annotate({ identifier: "Task" });
|
|
2293
|
+
case 2:
|
|
2294
|
+
return S.Array(__S(225, __c14, 1));
|
|
2295
|
+
case 3:
|
|
2296
|
+
return S.suspend(() =>
|
|
2297
|
+
S.Struct({
|
|
2298
|
+
total_count: S.optional(S.Number),
|
|
2299
|
+
tasks: __S(226, __c14, 2),
|
|
2300
|
+
}),
|
|
2301
|
+
).annotate({ identifier: "ListTasksResponse" });
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
function __c15(j: number): any {
|
|
2305
|
+
switch (j) {
|
|
2306
|
+
case 0:
|
|
2307
|
+
return S.suspend(() =>
|
|
2308
|
+
S.Struct({
|
|
2309
|
+
tlds: S.optional(__S(48, __c3, 0).pipe(T.Query())),
|
|
2310
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
2311
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
2312
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
2313
|
+
}).pipe(
|
|
2314
|
+
T.Http({
|
|
2315
|
+
method: "GET",
|
|
2316
|
+
uri: "/domain/v2beta1/tlds",
|
|
2317
|
+
code: 200,
|
|
2318
|
+
baseUrl: "https://api.scaleway.com",
|
|
2319
|
+
}),
|
|
2320
|
+
),
|
|
2321
|
+
).annotate({ identifier: "ListTldsRequest" });
|
|
2322
|
+
case 1:
|
|
2323
|
+
return S.Array(__S(580, __c36, 4));
|
|
2324
|
+
case 2:
|
|
2325
|
+
return S.suspend(() =>
|
|
2326
|
+
S.Struct({
|
|
2327
|
+
tlds: __S(241, __c15, 1),
|
|
2328
|
+
total_count: S.optional(S.Number),
|
|
2329
|
+
}),
|
|
2330
|
+
).annotate({ identifier: "ListTldsResponse" });
|
|
2331
|
+
}
|
|
2332
|
+
}
|
|
2333
|
+
function __c16(j: number): any {
|
|
2334
|
+
switch (j) {
|
|
2335
|
+
case 0:
|
|
2336
|
+
return S.suspend(() =>
|
|
2337
|
+
S.Struct({
|
|
2338
|
+
project_id: S.optional(S.String),
|
|
2339
|
+
legal_form: S.optional(S.String),
|
|
2340
|
+
firstname: S.optional(S.String),
|
|
2341
|
+
lastname: S.optional(S.String),
|
|
2342
|
+
company_name: S.optional(S.NullOr(S.String)),
|
|
2343
|
+
email: S.optional(S.String),
|
|
2344
|
+
email_alt: S.optional(S.NullOr(S.String)),
|
|
2345
|
+
phone_number: S.optional(S.String),
|
|
2346
|
+
fax_number: S.optional(S.NullOr(S.String)),
|
|
2347
|
+
address_line_1: S.optional(S.String),
|
|
2348
|
+
address_line_2: S.optional(S.NullOr(S.String)),
|
|
2349
|
+
zip: S.optional(S.String),
|
|
2350
|
+
city: S.optional(S.String),
|
|
2351
|
+
state: S.optional(S.NullOr(S.String)),
|
|
2352
|
+
country: S.optional(S.String),
|
|
2353
|
+
vat_identification_code: S.optional(S.NullOr(S.String)),
|
|
2354
|
+
company_identification_code: S.optional(S.NullOr(S.String)),
|
|
2355
|
+
lang: S.optional(S.String),
|
|
2356
|
+
resale: S.optional(S.Boolean),
|
|
2357
|
+
whois_opt_in: S.optional(S.Boolean),
|
|
2358
|
+
extension_fr: S.optional(__S(21, __c1, 5)),
|
|
2359
|
+
extension_eu: S.optional(__S(22, __c1, 6)),
|
|
2360
|
+
extension_nl: S.optional(__S(23, __c1, 7)),
|
|
2361
|
+
extension_it: S.optional(__S(24, __c1, 8)),
|
|
2362
|
+
}).pipe(
|
|
2363
|
+
T.Http({
|
|
2364
|
+
method: "POST",
|
|
2365
|
+
uri: "/domain/v2beta1/contacts",
|
|
2366
|
+
code: 200,
|
|
2367
|
+
baseUrl: "https://api.scaleway.com",
|
|
2368
|
+
}),
|
|
2369
|
+
),
|
|
2370
|
+
).annotate({ identifier: "CreateContactRequest" });
|
|
2371
|
+
}
|
|
2372
|
+
}
|
|
2373
|
+
function __c17(j: number): any {
|
|
2374
|
+
switch (j) {
|
|
2375
|
+
case 0:
|
|
2376
|
+
return S.suspend(() =>
|
|
2377
|
+
S.Struct({
|
|
2378
|
+
id: S.optional(S.String),
|
|
2379
|
+
legal_form: S.optional(S.String),
|
|
2380
|
+
firstname: S.optional(S.String),
|
|
2381
|
+
lastname: S.optional(S.String),
|
|
2382
|
+
company_name: S.optional(S.String),
|
|
2383
|
+
email: S.optional(S.String),
|
|
2384
|
+
email_alt: S.optional(S.String),
|
|
2385
|
+
phone_number: S.optional(S.String),
|
|
2386
|
+
fax_number: S.optional(S.String),
|
|
2387
|
+
address_line_1: S.optional(S.String),
|
|
2388
|
+
address_line_2: S.optional(S.String),
|
|
2389
|
+
zip: S.optional(S.String),
|
|
2390
|
+
city: S.optional(S.String),
|
|
2391
|
+
country: S.optional(S.String),
|
|
2392
|
+
vat_identification_code: S.optional(S.String),
|
|
2393
|
+
company_identification_code: S.optional(S.String),
|
|
2394
|
+
lang: S.optional(S.String),
|
|
2395
|
+
resale: S.optional(S.Boolean),
|
|
2396
|
+
extension_fr: S.optional(__S(21, __c1, 5)),
|
|
2397
|
+
extension_eu: S.optional(__S(22, __c1, 6)),
|
|
2398
|
+
whois_opt_in: S.optional(S.Boolean),
|
|
2399
|
+
email_status: S.optional(S.String),
|
|
2400
|
+
state: S.optional(S.String),
|
|
2401
|
+
extension_nl: S.optional(__S(23, __c1, 7)),
|
|
2402
|
+
status: S.optional(S.String),
|
|
2403
|
+
extension_it: S.optional(__S(24, __c1, 8)),
|
|
2404
|
+
questions: S.optional(__S(26, __c1, 10)),
|
|
2405
|
+
srn: S.optional(S.String),
|
|
2406
|
+
}),
|
|
2407
|
+
).annotate({ identifier: "Contact" });
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
function __c18(j: number): any {
|
|
2411
|
+
switch (j) {
|
|
2412
|
+
case 0:
|
|
2413
|
+
return S.suspend(() =>
|
|
2414
|
+
S.Struct({
|
|
2415
|
+
domain: S.String.pipe(T.Label()),
|
|
2416
|
+
}).pipe(
|
|
2417
|
+
T.Http({
|
|
2418
|
+
method: "POST",
|
|
2419
|
+
uri: "/domain/v2beta1/domains/{domain}/lock-transfer",
|
|
2420
|
+
code: 200,
|
|
2421
|
+
baseUrl: "https://api.scaleway.com",
|
|
2422
|
+
}),
|
|
2423
|
+
),
|
|
2424
|
+
).annotate({ identifier: "LockDomainTransferRequest" });
|
|
2425
|
+
}
|
|
2426
|
+
}
|
|
2427
|
+
function __c19(j: number): any {
|
|
2428
|
+
switch (j) {
|
|
2429
|
+
case 0:
|
|
2430
|
+
return S.suspend(() =>
|
|
2431
|
+
S.Struct({
|
|
2432
|
+
domain: S.String,
|
|
2433
|
+
project_id: S.optional(S.String),
|
|
2434
|
+
}).pipe(
|
|
2435
|
+
T.Http({
|
|
2436
|
+
method: "POST",
|
|
2437
|
+
uri: "/domain/v2beta1/external-domains",
|
|
2438
|
+
code: 200,
|
|
2439
|
+
baseUrl: "https://api.scaleway.com",
|
|
2440
|
+
}),
|
|
2441
|
+
),
|
|
2442
|
+
).annotate({ identifier: "RegisterExternalDomainRequest" });
|
|
2443
|
+
case 1:
|
|
2444
|
+
return S.suspend(() =>
|
|
2445
|
+
S.Struct({
|
|
2446
|
+
domain: S.optional(S.String),
|
|
2447
|
+
organization_id: S.optional(S.String),
|
|
2448
|
+
project_id: S.optional(S.String),
|
|
2449
|
+
validation_token: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
2450
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
2451
|
+
}),
|
|
2452
|
+
).annotate({ identifier: "RegisterExternalDomainResponse" });
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2455
|
+
function __c20(j: number): any {
|
|
2456
|
+
switch (j) {
|
|
2457
|
+
case 0:
|
|
2458
|
+
return S.suspend(() =>
|
|
2459
|
+
S.Struct({
|
|
2460
|
+
domains: __S(48, __c3, 0),
|
|
2461
|
+
duration_in_years: S.optional(S.Number),
|
|
2462
|
+
force_late_renewal: S.optional(S.NullOr(S.Boolean)),
|
|
2463
|
+
}).pipe(
|
|
2464
|
+
T.Http({
|
|
2465
|
+
method: "POST",
|
|
2466
|
+
uri: "/domain/v2beta1/renew-domains",
|
|
2467
|
+
code: 200,
|
|
2468
|
+
baseUrl: "https://api.scaleway.com",
|
|
2469
|
+
}),
|
|
2470
|
+
),
|
|
2471
|
+
).annotate({ identifier: "RenewDomainsRequest" });
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
function __c21(j: number): any {
|
|
2475
|
+
switch (j) {
|
|
2476
|
+
case 0:
|
|
2477
|
+
return S.suspend(() =>
|
|
2478
|
+
S.Struct({
|
|
2479
|
+
domain: S.optional(S.String),
|
|
2480
|
+
project_id: S.optional(S.String),
|
|
2481
|
+
auth_code: S.optional(S.NullOr(S.String)),
|
|
2482
|
+
}).pipe(
|
|
2483
|
+
T.Http({
|
|
2484
|
+
method: "POST",
|
|
2485
|
+
uri: "/domain/v2beta1/retry-inbound-transfer",
|
|
2486
|
+
code: 200,
|
|
2487
|
+
baseUrl: "https://api.scaleway.com",
|
|
2488
|
+
}),
|
|
2489
|
+
),
|
|
2490
|
+
).annotate({ identifier: "RetryInboundTransferRequest" });
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
function __c22(j: number): any {
|
|
2494
|
+
switch (j) {
|
|
2495
|
+
case 0:
|
|
2496
|
+
return S.suspend(() =>
|
|
2497
|
+
S.Struct({
|
|
2498
|
+
domains: __S(48, __c3, 0).pipe(T.Query()),
|
|
2499
|
+
tlds: S.optional(__S(48, __c3, 0).pipe(T.Query())),
|
|
2500
|
+
strict_search: S.Boolean.pipe(T.Query()),
|
|
2501
|
+
include_exact_match: S.Boolean.pipe(T.Query()),
|
|
2502
|
+
}).pipe(
|
|
2503
|
+
T.Http({
|
|
2504
|
+
method: "GET",
|
|
2505
|
+
uri: "/domain/v2beta1/search-domains",
|
|
2506
|
+
code: 200,
|
|
2507
|
+
baseUrl: "https://api.scaleway.com",
|
|
2508
|
+
}),
|
|
2509
|
+
),
|
|
2510
|
+
).annotate({ identifier: "SearchAvailableDomainsRequest" });
|
|
2511
|
+
case 1:
|
|
2512
|
+
return S.suspend(() =>
|
|
2513
|
+
S.Struct({
|
|
2514
|
+
domain: S.optional(S.String),
|
|
2515
|
+
available: S.optional(S.Boolean),
|
|
2516
|
+
tld: S.optional(__S(580, __c36, 4)),
|
|
2517
|
+
}),
|
|
2518
|
+
).annotate({ identifier: "AvailableDomain" });
|
|
2519
|
+
case 2:
|
|
2520
|
+
return S.Array(__S(353, __c22, 1));
|
|
2521
|
+
case 3:
|
|
2522
|
+
return S.suspend(() =>
|
|
2523
|
+
S.Struct({
|
|
2524
|
+
available_domains: S.optional(__S(354, __c22, 2)),
|
|
2525
|
+
exact_match_domain: S.optional(__S(353, __c22, 1)),
|
|
2526
|
+
}),
|
|
2527
|
+
).annotate({ identifier: "SearchAvailableDomainsResponse" });
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
function __c23(j: number): any {
|
|
2531
|
+
switch (j) {
|
|
2532
|
+
case 0:
|
|
2533
|
+
return S.suspend(() =>
|
|
2534
|
+
S.Struct({
|
|
2535
|
+
domain: S.String.pipe(T.Label()),
|
|
2536
|
+
project_id: S.optional(S.NullOr(S.String)),
|
|
2537
|
+
new_owner_contact_id: S.optional(S.NullOr(S.String)),
|
|
2538
|
+
new_owner_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
2539
|
+
}).pipe(
|
|
2540
|
+
T.Http({
|
|
2541
|
+
method: "POST",
|
|
2542
|
+
uri: "/domain/v2beta1/domains/{domain}/trade",
|
|
2543
|
+
code: 200,
|
|
2544
|
+
baseUrl: "https://api.scaleway.com",
|
|
2545
|
+
}),
|
|
2546
|
+
),
|
|
2547
|
+
).annotate({ identifier: "TradeDomainRequest" });
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
2550
|
+
function __c24(j: number): any {
|
|
2551
|
+
switch (j) {
|
|
2552
|
+
case 0:
|
|
2553
|
+
return S.suspend(() =>
|
|
2554
|
+
S.Struct({
|
|
2555
|
+
domain: S.optional(S.String),
|
|
2556
|
+
auth_code: S.optional(S.String),
|
|
2557
|
+
}),
|
|
2558
|
+
).annotate({ identifier: "TransferInDomainRequestTransferRequest" });
|
|
2559
|
+
case 1:
|
|
2560
|
+
return S.Array(__S(384, __c24, 0));
|
|
2561
|
+
case 2:
|
|
2562
|
+
return S.suspend(() =>
|
|
2563
|
+
S.Struct({
|
|
2564
|
+
domains: __S(385, __c24, 1),
|
|
2565
|
+
project_id: S.optional(S.String),
|
|
2566
|
+
owner_contact_id: S.optional(S.NullOr(S.String)),
|
|
2567
|
+
owner_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
2568
|
+
administrative_contact_id: S.optional(S.NullOr(S.String)),
|
|
2569
|
+
administrative_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
2570
|
+
technical_contact_id: S.optional(S.NullOr(S.String)),
|
|
2571
|
+
technical_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
2572
|
+
}).pipe(
|
|
2573
|
+
T.Http({
|
|
2574
|
+
method: "POST",
|
|
2575
|
+
uri: "/domain/v2beta1/domains/transfer-domains",
|
|
2576
|
+
code: 200,
|
|
2577
|
+
baseUrl: "https://api.scaleway.com",
|
|
2578
|
+
}),
|
|
2579
|
+
),
|
|
2580
|
+
).annotate({ identifier: "TransferInDomainRequest" });
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2583
|
+
function __c25(j: number): any {
|
|
2584
|
+
switch (j) {
|
|
2585
|
+
case 0:
|
|
2586
|
+
return S.suspend(() =>
|
|
2587
|
+
S.Struct({
|
|
2588
|
+
domain: S.String.pipe(T.Label()),
|
|
2589
|
+
}).pipe(
|
|
2590
|
+
T.Http({
|
|
2591
|
+
method: "POST",
|
|
2592
|
+
uri: "/domain/v2beta1/domains/{domain}/unlock-transfer",
|
|
2593
|
+
code: 200,
|
|
2594
|
+
baseUrl: "https://api.scaleway.com",
|
|
2595
|
+
}),
|
|
2596
|
+
),
|
|
2597
|
+
).annotate({ identifier: "UnlockDomainTransferRequest" });
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
function __c26(j: number): any {
|
|
2601
|
+
switch (j) {
|
|
2602
|
+
case 0:
|
|
2603
|
+
return S.suspend(() =>
|
|
2604
|
+
S.Struct({
|
|
2605
|
+
question: S.optional(S.NullOr(S.String)),
|
|
2606
|
+
answer: S.optional(S.NullOr(S.String)),
|
|
2607
|
+
}),
|
|
2608
|
+
).annotate({ identifier: "UpdateContactRequestQuestion" });
|
|
2609
|
+
case 1:
|
|
2610
|
+
return S.Array(__S(416, __c26, 0));
|
|
2611
|
+
case 2:
|
|
2612
|
+
return S.suspend(() =>
|
|
2613
|
+
S.Struct({
|
|
2614
|
+
contact_id: S.String.pipe(T.Label()),
|
|
2615
|
+
email: S.optional(S.NullOr(S.String)),
|
|
2616
|
+
email_alt: S.optional(S.NullOr(S.String)),
|
|
2617
|
+
phone_number: S.optional(S.NullOr(S.String)),
|
|
2618
|
+
fax_number: S.optional(S.NullOr(S.String)),
|
|
2619
|
+
address_line_1: S.optional(S.NullOr(S.String)),
|
|
2620
|
+
address_line_2: S.optional(S.NullOr(S.String)),
|
|
2621
|
+
zip: S.optional(S.NullOr(S.String)),
|
|
2622
|
+
city: S.optional(S.NullOr(S.String)),
|
|
2623
|
+
country: S.optional(S.NullOr(S.String)),
|
|
2624
|
+
vat_identification_code: S.optional(S.NullOr(S.String)),
|
|
2625
|
+
company_identification_code: S.optional(S.NullOr(S.String)),
|
|
2626
|
+
lang: S.optional(S.String),
|
|
2627
|
+
resale: S.optional(S.NullOr(S.Boolean)),
|
|
2628
|
+
extension_fr: S.optional(__S(21, __c1, 5)),
|
|
2629
|
+
extension_eu: S.optional(__S(22, __c1, 6)),
|
|
2630
|
+
extension_nl: S.optional(__S(23, __c1, 7)),
|
|
2631
|
+
extension_it: S.optional(__S(24, __c1, 8)),
|
|
2632
|
+
whois_opt_in: S.optional(S.NullOr(S.Boolean)),
|
|
2633
|
+
state: S.optional(S.NullOr(S.String)),
|
|
2634
|
+
questions: S.optional(__S(417, __c26, 1)),
|
|
2635
|
+
}).pipe(
|
|
2636
|
+
T.Http({
|
|
2637
|
+
method: "PATCH",
|
|
2638
|
+
uri: "/domain/v2beta1/contacts/{contact_id}",
|
|
2639
|
+
code: 200,
|
|
2640
|
+
baseUrl: "https://api.scaleway.com",
|
|
2641
|
+
}),
|
|
2642
|
+
),
|
|
2643
|
+
).annotate({ identifier: "UpdateContactRequest" });
|
|
2644
|
+
}
|
|
2645
|
+
}
|
|
2646
|
+
function __c27(j: number): any {
|
|
2647
|
+
switch (j) {
|
|
2648
|
+
case 0:
|
|
2649
|
+
return S.suspend(() =>
|
|
2650
|
+
S.Struct({
|
|
2651
|
+
domain: S.String.pipe(T.Label()),
|
|
2652
|
+
technical_contact_id: S.optional(S.NullOr(S.String)),
|
|
2653
|
+
technical_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
2654
|
+
owner_contact_id: S.optional(S.NullOr(S.String)),
|
|
2655
|
+
owner_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
2656
|
+
administrative_contact_id: S.optional(S.NullOr(S.String)),
|
|
2657
|
+
administrative_contact: S.optional(S.NullOr(__S(32, __c2, 0))),
|
|
2658
|
+
}).pipe(
|
|
2659
|
+
T.Http({
|
|
2660
|
+
method: "PATCH",
|
|
2661
|
+
uri: "/domain/v2beta1/domains/{domain}",
|
|
2662
|
+
code: 200,
|
|
2663
|
+
baseUrl: "https://api.scaleway.com",
|
|
2664
|
+
}),
|
|
2665
|
+
),
|
|
2666
|
+
).annotate({ identifier: "UpdateDomainRequest" });
|
|
2667
|
+
}
|
|
2668
|
+
}
|
|
2669
|
+
function __c28(j: number): any {
|
|
2670
|
+
switch (j) {
|
|
2671
|
+
case 0:
|
|
2672
|
+
return S.suspend(() =>
|
|
2673
|
+
S.Struct({
|
|
2674
|
+
domain: S.String.pipe(T.Label()),
|
|
2675
|
+
name: S.optional(S.String),
|
|
2676
|
+
ips: S.optional(__S(48, __c3, 0)),
|
|
2677
|
+
}).pipe(
|
|
2678
|
+
T.Http({
|
|
2679
|
+
method: "POST",
|
|
2680
|
+
uri: "/domain/v2beta1/domains/{domain}/hosts",
|
|
2681
|
+
code: 200,
|
|
2682
|
+
baseUrl: "https://api.scaleway.com",
|
|
2683
|
+
}),
|
|
2684
|
+
),
|
|
2685
|
+
).annotate({ identifier: "CreateDomainHostRequest" });
|
|
2686
|
+
}
|
|
2687
|
+
}
|
|
2688
|
+
function __c29(j: number): any {
|
|
2689
|
+
switch (j) {
|
|
2690
|
+
case 0:
|
|
2691
|
+
return S.suspend(() =>
|
|
2692
|
+
S.Struct({
|
|
2693
|
+
domain: S.optional(S.String),
|
|
2694
|
+
name: S.optional(S.String),
|
|
2695
|
+
ips: S.optional(__S(48, __c3, 0)),
|
|
2696
|
+
status: S.optional(S.String),
|
|
2697
|
+
}),
|
|
2698
|
+
).annotate({ identifier: "Host" });
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
function __c30(j: number): any {
|
|
2702
|
+
switch (j) {
|
|
2703
|
+
case 0:
|
|
2704
|
+
return S.Array(S.Unknown);
|
|
2705
|
+
case 1:
|
|
2706
|
+
return S.suspend(() =>
|
|
2707
|
+
S.Struct({
|
|
2708
|
+
domain: S.String.pipe(T.Label()),
|
|
2709
|
+
name: S.String.pipe(T.Label()),
|
|
2710
|
+
ips: S.optional(S.NullOr(__S(480, __c30, 0))),
|
|
2711
|
+
}).pipe(
|
|
2712
|
+
T.Http({
|
|
2713
|
+
method: "PATCH",
|
|
2714
|
+
uri: "/domain/v2beta1/domains/{domain}/hosts/{name}",
|
|
2715
|
+
code: 200,
|
|
2716
|
+
baseUrl: "https://api.scaleway.com",
|
|
2717
|
+
}),
|
|
2718
|
+
),
|
|
2719
|
+
).annotate({ identifier: "UpdateDomainHostRequest" });
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
function __c31(j: number): any {
|
|
2723
|
+
switch (j) {
|
|
2724
|
+
case 0:
|
|
2725
|
+
return S.suspend(() =>
|
|
2726
|
+
S.Struct({
|
|
2727
|
+
domain: S.String.pipe(T.Label()),
|
|
2728
|
+
name: S.String.pipe(T.Label()),
|
|
2729
|
+
}).pipe(
|
|
2730
|
+
T.Http({
|
|
2731
|
+
method: "DELETE",
|
|
2732
|
+
uri: "/domain/v2beta1/domains/{domain}/hosts/{name}",
|
|
2733
|
+
code: 200,
|
|
2734
|
+
baseUrl: "https://api.scaleway.com",
|
|
2735
|
+
}),
|
|
2736
|
+
),
|
|
2737
|
+
).annotate({ identifier: "DeleteDomainHostRequest" });
|
|
2738
|
+
}
|
|
2739
|
+
}
|
|
2740
|
+
function __c32(j: number): any {
|
|
2741
|
+
switch (j) {
|
|
2742
|
+
case 0:
|
|
2743
|
+
return S.suspend(() =>
|
|
2744
|
+
S.Struct({
|
|
2745
|
+
domain: S.String.pipe(T.Label()),
|
|
2746
|
+
}).pipe(
|
|
2747
|
+
T.Http({
|
|
2748
|
+
method: "DELETE",
|
|
2749
|
+
uri: "/domain/v2beta1/external-domains/{domain}",
|
|
2750
|
+
code: 200,
|
|
2751
|
+
baseUrl: "https://api.scaleway.com",
|
|
2752
|
+
}),
|
|
2753
|
+
),
|
|
2754
|
+
).annotate({ identifier: "DeleteExternalDomainRequest" });
|
|
2755
|
+
}
|
|
2756
|
+
}
|
|
2757
|
+
function __c33(j: number): any {
|
|
2758
|
+
switch (j) {
|
|
2759
|
+
case 0:
|
|
2760
|
+
return S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
|
|
2761
|
+
identifier: "DeleteExternalDomainResponse2",
|
|
2762
|
+
});
|
|
2763
|
+
}
|
|
2764
|
+
}
|
|
2765
|
+
function __c34(j: number): any {
|
|
2766
|
+
switch (j) {
|
|
2767
|
+
case 0:
|
|
2768
|
+
return S.suspend(() =>
|
|
2769
|
+
S.Struct({
|
|
2770
|
+
domain: S.String.pipe(T.Label()),
|
|
2771
|
+
}).pipe(
|
|
2772
|
+
T.Http({
|
|
2773
|
+
method: "POST",
|
|
2774
|
+
uri: "/domain/v2beta1/domains/{domain}/disable-auto-renew",
|
|
2775
|
+
code: 200,
|
|
2776
|
+
baseUrl: "https://api.scaleway.com",
|
|
2777
|
+
}),
|
|
2778
|
+
),
|
|
2779
|
+
).annotate({ identifier: "DisableDomainAutoRenewRequest" });
|
|
2780
|
+
}
|
|
2781
|
+
}
|
|
2782
|
+
function __c35(j: number): any {
|
|
2783
|
+
switch (j) {
|
|
2784
|
+
case 0:
|
|
2785
|
+
return S.suspend(() =>
|
|
2786
|
+
S.Struct({
|
|
2787
|
+
validation_token: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
2788
|
+
}),
|
|
2789
|
+
).annotate({ identifier: "DomainRegistrationStatusExternalDomain" });
|
|
2790
|
+
case 1:
|
|
2791
|
+
return S.suspend(() =>
|
|
2792
|
+
S.Struct({
|
|
2793
|
+
status: S.optional(S.String),
|
|
2794
|
+
vote_current_owner: S.optional(S.Boolean),
|
|
2795
|
+
vote_new_owner: S.optional(S.Boolean),
|
|
2796
|
+
}),
|
|
2797
|
+
).annotate({ identifier: "DomainRegistrationStatusTransfer" });
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
function __c36(j: number): any {
|
|
2801
|
+
switch (j) {
|
|
2802
|
+
case 0:
|
|
2803
|
+
return S.suspend(() =>
|
|
2804
|
+
S.Struct({
|
|
2805
|
+
currency_code: S.optional(S.String),
|
|
2806
|
+
units: S.optional(S.Number),
|
|
2807
|
+
nanos: S.optional(S.Number),
|
|
2808
|
+
}),
|
|
2809
|
+
).annotate({ identifier: "GoogleTypeMoney" });
|
|
2810
|
+
case 1:
|
|
2811
|
+
return S.suspend(() =>
|
|
2812
|
+
S.Struct({
|
|
2813
|
+
action: S.optional(S.String),
|
|
2814
|
+
operation_path: S.optional(S.String),
|
|
2815
|
+
price: S.optional(__S(576, __c36, 0)),
|
|
2816
|
+
}),
|
|
2817
|
+
).annotate({ identifier: "TldOffer" });
|
|
2818
|
+
case 2:
|
|
2819
|
+
return S.Record(S.String, __S(577, __c36, 1));
|
|
2820
|
+
case 3:
|
|
2821
|
+
return S.Record(S.String, S.String);
|
|
2822
|
+
case 4:
|
|
2823
|
+
return S.suspend(() =>
|
|
2824
|
+
S.Struct({
|
|
2825
|
+
name: S.optional(S.String),
|
|
2826
|
+
dnssec_support: S.optional(S.Boolean),
|
|
2827
|
+
duration_in_years_min: S.optional(S.Number),
|
|
2828
|
+
duration_in_years_max: S.optional(S.Number),
|
|
2829
|
+
idn_support: S.optional(S.Boolean),
|
|
2830
|
+
offers: S.optional(__S(578, __c36, 2)),
|
|
2831
|
+
specifications: S.optional(__S(579, __c36, 3)),
|
|
2832
|
+
srn: S.optional(S.String),
|
|
2833
|
+
}),
|
|
2834
|
+
).annotate({ identifier: "Tld" });
|
|
2835
|
+
}
|
|
2836
|
+
}
|
|
2837
|
+
function __c37(j: number): any {
|
|
2838
|
+
switch (j) {
|
|
2839
|
+
case 0:
|
|
2840
|
+
return S.Array(S.String);
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
function __c38(j: number): any {
|
|
2844
|
+
switch (j) {
|
|
2845
|
+
case 0:
|
|
2846
|
+
return S.suspend(() =>
|
|
2847
|
+
S.Struct({
|
|
2848
|
+
key: S.optional(S.String),
|
|
2849
|
+
}),
|
|
2850
|
+
).annotate({ identifier: "DSRecordPublicKey" });
|
|
2851
|
+
case 1:
|
|
2852
|
+
return S.suspend(() =>
|
|
2853
|
+
S.Struct({
|
|
2854
|
+
type: S.optional(S.String),
|
|
2855
|
+
digest: S.optional(S.String),
|
|
2856
|
+
public_key: S.optional(__S(608, __c38, 0)),
|
|
2857
|
+
}),
|
|
2858
|
+
).annotate({ identifier: "DSRecordDigest" });
|
|
2859
|
+
case 2:
|
|
2860
|
+
return S.suspend(() =>
|
|
2861
|
+
S.Struct({
|
|
2862
|
+
key_id: S.optional(S.Number),
|
|
2863
|
+
algorithm: S.optional(S.String),
|
|
2864
|
+
digest: S.optional(S.NullOr(__S(609, __c38, 1))),
|
|
2865
|
+
public_key: S.optional(S.NullOr(__S(608, __c38, 0))),
|
|
2866
|
+
}),
|
|
2867
|
+
).annotate({ identifier: "DSRecord" });
|
|
2868
|
+
case 3:
|
|
2869
|
+
return S.Array(__S(610, __c38, 2));
|
|
2870
|
+
case 4:
|
|
2871
|
+
return S.suspend(() =>
|
|
2872
|
+
S.Struct({
|
|
2873
|
+
status: S.optional(S.String),
|
|
2874
|
+
ds_records: S.optional(__S(611, __c38, 3)),
|
|
2875
|
+
}),
|
|
2876
|
+
).annotate({ identifier: "DomainDNSSEC" });
|
|
2877
|
+
case 5:
|
|
2878
|
+
return S.suspend(() =>
|
|
2879
|
+
S.Struct({
|
|
2880
|
+
domain: S.optional(S.String),
|
|
2881
|
+
subdomain: S.optional(S.String),
|
|
2882
|
+
ns: S.optional(__S(48, __c3, 0)),
|
|
2883
|
+
ns_default: S.optional(__S(48, __c3, 0)),
|
|
2884
|
+
ns_master: S.optional(__S(48, __c3, 0)),
|
|
2885
|
+
status: S.optional(S.String),
|
|
2886
|
+
message: S.optional(S.NullOr(S.String)),
|
|
2887
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
2888
|
+
project_id: S.optional(S.String),
|
|
2889
|
+
linked_products: S.optional(__S(592, __c37, 0)),
|
|
2890
|
+
srn: S.optional(S.String),
|
|
2891
|
+
dns_zone: S.optional(S.String),
|
|
2892
|
+
}),
|
|
2893
|
+
).annotate({ identifier: "DNSZone" });
|
|
2894
|
+
case 6:
|
|
2895
|
+
return S.Array(__S(613, __c38, 5));
|
|
2896
|
+
case 7:
|
|
2897
|
+
return S.suspend(() =>
|
|
2898
|
+
S.Struct({
|
|
2899
|
+
domain: S.optional(S.String),
|
|
2900
|
+
organization_id: S.optional(S.String),
|
|
2901
|
+
project_id: S.optional(S.String),
|
|
2902
|
+
auto_renew_status: S.optional(S.String),
|
|
2903
|
+
dnssec: S.optional(__S(612, __c38, 4)),
|
|
2904
|
+
epp_code: S.optional(__S(48, __c3, 0)),
|
|
2905
|
+
expired_at: S.optional(S.NullOr(S.String)),
|
|
2906
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
2907
|
+
registrar: S.optional(S.String),
|
|
2908
|
+
is_external: S.optional(S.Boolean),
|
|
2909
|
+
status: S.optional(S.String),
|
|
2910
|
+
dns_zones: S.optional(__S(614, __c38, 6)),
|
|
2911
|
+
owner_contact: S.optional(__S(272, __c17, 0)),
|
|
2912
|
+
technical_contact: S.optional(__S(272, __c17, 0)),
|
|
2913
|
+
administrative_contact: S.optional(__S(272, __c17, 0)),
|
|
2914
|
+
external_domain_registration_status: S.optional(S.NullOr(__S(560, __c35, 0))),
|
|
2915
|
+
transfer_registration_status: S.optional(S.NullOr(__S(561, __c35, 1))),
|
|
2916
|
+
tld: S.optional(__S(580, __c36, 4)),
|
|
2917
|
+
linked_products: S.optional(__S(592, __c37, 0)),
|
|
2918
|
+
pending_trade: S.optional(S.Boolean),
|
|
2919
|
+
srn: S.optional(S.String),
|
|
2920
|
+
}),
|
|
2921
|
+
).annotate({ identifier: "Domain" });
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2924
|
+
function __c39(j: number): any {
|
|
2925
|
+
switch (j) {
|
|
2926
|
+
case 0:
|
|
2927
|
+
return S.suspend(() =>
|
|
2928
|
+
S.Struct({
|
|
2929
|
+
domain: S.String.pipe(T.Label()),
|
|
2930
|
+
}).pipe(
|
|
2931
|
+
T.Http({
|
|
2932
|
+
method: "POST",
|
|
2933
|
+
uri: "/domain/v2beta1/domains/{domain}/disable-dnssec",
|
|
2934
|
+
code: 200,
|
|
2935
|
+
baseUrl: "https://api.scaleway.com",
|
|
2936
|
+
}),
|
|
2937
|
+
),
|
|
2938
|
+
).annotate({ identifier: "DisableDomainDNSSECRequest" });
|
|
2939
|
+
}
|
|
2940
|
+
}
|
|
2941
|
+
function __c40(j: number): any {
|
|
2942
|
+
switch (j) {
|
|
2943
|
+
case 0:
|
|
2944
|
+
return S.suspend(() =>
|
|
2945
|
+
S.Struct({
|
|
2946
|
+
domain: S.String.pipe(T.Label()),
|
|
2947
|
+
}).pipe(
|
|
2948
|
+
T.Http({
|
|
2949
|
+
method: "POST",
|
|
2950
|
+
uri: "/domain/v2beta1/domains/{domain}/enable-auto-renew",
|
|
2951
|
+
code: 200,
|
|
2952
|
+
baseUrl: "https://api.scaleway.com",
|
|
2953
|
+
}),
|
|
2954
|
+
),
|
|
2955
|
+
).annotate({ identifier: "EnableDomainAutoRenewRequest" });
|
|
2956
|
+
}
|
|
2957
|
+
}
|
|
2958
|
+
function __c41(j: number): any {
|
|
2959
|
+
switch (j) {
|
|
2960
|
+
case 0:
|
|
2961
|
+
return S.suspend(() =>
|
|
2962
|
+
S.Struct({
|
|
2963
|
+
domain: S.String.pipe(T.Label()),
|
|
2964
|
+
ds_record: S.optional(__S(610, __c38, 2)),
|
|
2965
|
+
}).pipe(
|
|
2966
|
+
T.Http({
|
|
2967
|
+
method: "POST",
|
|
2968
|
+
uri: "/domain/v2beta1/domains/{domain}/enable-dnssec",
|
|
2969
|
+
code: 200,
|
|
2970
|
+
baseUrl: "https://api.scaleway.com",
|
|
2971
|
+
}),
|
|
2972
|
+
),
|
|
2973
|
+
).annotate({ identifier: "EnableDomainDNSSECRequest" });
|
|
2974
|
+
}
|
|
2975
|
+
}
|
|
2976
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
2977
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
2978
|
+
return (__s[i] ??= __L.at(f, j));
|
|
2979
|
+
}
|