@distilled.cloud/scaleway 0.0.0 → 1.0.0-rc.22
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 +640 -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 +1755 -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 +479 -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 +947 -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 +2137 -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 +5395 -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 +1113 -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,44 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
3
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
4
|
+
export interface ListCountriesRequest {
|
|
5
|
+
}
|
|
6
|
+
export interface ListCountriesResponseCountry {
|
|
7
|
+
/** Name of the country. */
|
|
8
|
+
name?: string | undefined;
|
|
9
|
+
/** Two letters representing the country. */
|
|
10
|
+
code?: string | undefined;
|
|
11
|
+
/** Flag representation of the country. */
|
|
12
|
+
flag?: string | undefined;
|
|
13
|
+
/** True if the country should have a VAT identification number, false otherwise. */
|
|
14
|
+
vat_number_required?: boolean | undefined;
|
|
15
|
+
}
|
|
16
|
+
/** List of countries. */
|
|
17
|
+
export type ListCountriesResponseCountriesList = Array<ListCountriesResponseCountry>;
|
|
18
|
+
export interface ListCountriesResponse {
|
|
19
|
+
/** List of countries. */
|
|
20
|
+
countries?: ListCountriesResponseCountriesList | undefined;
|
|
21
|
+
}
|
|
22
|
+
export interface ListCountrySubdivisionsRequest {
|
|
23
|
+
/** The country code. */
|
|
24
|
+
country_code: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ListCountrySubdivisionsResponseSubdivision {
|
|
27
|
+
/** Subdivision name. */
|
|
28
|
+
name?: string | undefined;
|
|
29
|
+
/** Subdivision code is a few numbers and/or letters completing the ISO 3166-1 code of the country. */
|
|
30
|
+
code?: string | undefined;
|
|
31
|
+
}
|
|
32
|
+
/** List of subdivisions for a country code. */
|
|
33
|
+
export type ListCountrySubdivisionsResponseSubdivisionsList = Array<ListCountrySubdivisionsResponseSubdivision>;
|
|
34
|
+
export interface ListCountrySubdivisionsResponse {
|
|
35
|
+
/** List of subdivisions for a country code. */
|
|
36
|
+
subdivisions?: ListCountrySubdivisionsResponseSubdivisionsList | undefined;
|
|
37
|
+
}
|
|
38
|
+
export type ListCountriesError = ScalewayOpError;
|
|
39
|
+
/** List countries List all countries from ISO 3166-1 alpha-2. */
|
|
40
|
+
export declare const listCountries: API.OperationMethod<ListCountriesRequest, ListCountriesResponse, ListCountriesError, ScalewayOpContext>;
|
|
41
|
+
export type ListCountrySubdivisionsError = ScalewayOpError;
|
|
42
|
+
/** List all subdivisions for a country code Method to list all subdivisions (from ISO 3166-2 alpha-2) for a country code. */
|
|
43
|
+
export declare const listCountrySubdivisions: API.OperationMethod<ListCountrySubdivisionsRequest, ListCountrySubdivisionsResponse, ListCountrySubdivisionsError, ScalewayOpContext>;
|
|
44
|
+
//# sourceMappingURL=account_iso_code_v3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account_iso_code_v3.d.ts","sources":["../../src/services/account_iso_code_v3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAKjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gB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AAO,MAAM,uBAAuB,EAAE,GAAG,CAAC,eAAe,CACvD,8BAA8B,EAC9B,+BAA+B,EAC/B,4BAA4B,EAC5B,iBAAiB,CAUhB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Tc as e,Uc as t,a as n,b as r,errors$ScalewayServiceErrors as i,fd as a,gd as o,l as s,n as c,nd as l,protocol$ScalewayProtocol as u,retry$Retry as d,sd as f,td as p,traits$Http as m,traits$Label as h}from"../_bundle/sdk.js";const g={system:`scaleway-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Scaleway`,service:`AccountIsoCodeV3`,labels:`scaleway`,propagate:`w3c`};const _=/*@__PURE__*/ c(c=>c===n?s(`ListCountries`,`{input:#1,output:#4,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$3(>5)@"%Request";$3(>6)@"%ResponseCountry";$7(#2);$3(>7)@"%Response";$2({}).pipe($1({method:"GET",uri:"/account/v3/iso-codes/countries",code:200,baseUrl:"https://api.scaleway.com"}));$2({name:$5($4),code:$5($4),flag:$5($4),vat_number_required:$5($6)});$2({countries:$5(#3)})`,[l,m,o,p,a,f,t,e,i,u,d,g]):r(_,c));const v=/*@__PURE__*/ c(t=>t===n?s(`ListCountrySubdivisions`,`{input:#1,output:#4,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>5)@"%Request";$5(>6)@"%ResponseSubdivision";$7(#2);$5(>7)@"%Response";$4({country_code:$3.pipe($2())}).pipe($1({method:"GET",uri:"/account/v3/iso-codes/countries/{country_code}/subdivisions",code:200,baseUrl:"https://api.scaleway.com"}));$4({name:$6($3),code:$6($3)});$4({subdivisions:$6(#3)})`,[l,m,h,a,o,p,f,e,i,u,d,g]):r(v,t));export{_ as listCountries,v as listCountrySubdivisions};
|
|
2
|
+
//# sourceMappingURL=account_iso_code_v3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account_iso_code_v3.js","names":["API.D","API.named","__L.at","T.Http","S.Struct","S.suspend","S.String","S.optional","S.Boolean","S.Array","Retry.Retry","API.call","T.Label","Array","Boolean","D","call","ScalewayServiceErrors","String","Struct","named","op","at","ScalewayProtocol","Retry","optional","suspend","Http","Label","TELEMETRY","listCountries","i","listCountrySubdivisions"],"sources":["../../src/services/account_iso_code_v3.ts"],"mappings":"wOAYA,MAAM6B,EAAY,CAChB,OAAQ,eACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,WACR,QAAS,mBACT,OAAQ,WACR,UAAW,KACb,EAsCA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAM/B,EAAQC,EAAU,gBAAiB,mXAAoX,CAACC,EAAQC,EAAQC,EAAUC,EAAWC,EAAUC,EAAYC,EAAWC,EAASQ,EAAuBM,EAAkBb,EAAamB,CAAS,CAAC,EAAIlB,EAASmB,EAAeC,CAAC,CAAC,EAIrnB,MAAaC,EAKK,gBAAQ,GAAgBD,IAAM/B,EAAQC,EAAU,0BAA2B,yYAA0Y,CAACC,EAAQC,EAAQS,EAASN,EAAUF,EAAUC,EAAWE,EAAYE,EAASQ,EAAuBM,EAAkBb,EAAamB,CAAS,CAAC,EAAIlB,EAASqB,EAAyBD,CAAC,CAAC"}
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
3
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
4
|
+
export type SupportPlanLevel = "unknown_level" | "basic" | "developer" | "bronze" | "silver" | "gold" | "platinum" | "advanced" | "business" | "enterprise" | "custom_lvmh";
|
|
5
|
+
export interface ChangeSupportPlanRequest {
|
|
6
|
+
/** ID of the Organization. (UUID format) */
|
|
7
|
+
organization_id: string;
|
|
8
|
+
/** Level of support plan The level of support plan. Can only be basic, silver or gold. */
|
|
9
|
+
level?: SupportPlanLevel | (string & {}) | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface SupportPlan {
|
|
12
|
+
/** ID of the support plan. (UUID format) */
|
|
13
|
+
id?: string | undefined;
|
|
14
|
+
/** Level of the support plan. */
|
|
15
|
+
level?: SupportPlanLevel | undefined;
|
|
16
|
+
/** Creation date of the support plan. (RFC 3339 format) */
|
|
17
|
+
started_at?: string | null | undefined;
|
|
18
|
+
/** End date of the support plan. (RFC 3339 format) */
|
|
19
|
+
stopped_at?: string | null | undefined;
|
|
20
|
+
/** ID of the Organization. (UUID format) */
|
|
21
|
+
organization_id?: string | undefined;
|
|
22
|
+
/** The SRN of the support plan. */
|
|
23
|
+
srn?: string | undefined;
|
|
24
|
+
}
|
|
25
|
+
export type CloseOrganizationRequestReason = "unknown_reason" | "no_longer_needed" | "too_expensive" | "missing_feature" | "technical_issue" | "test_only" | "difficult_to_use" | "using_another_account" | "other";
|
|
26
|
+
/** Reasons to close the Organization. */
|
|
27
|
+
export type CloseOrganizationRequestReasonsList = Array<CloseOrganizationRequestReason | (string & {})>;
|
|
28
|
+
export interface CloseOrganizationRequest {
|
|
29
|
+
/** ID of the Organization. */
|
|
30
|
+
organization_id: string;
|
|
31
|
+
/** Reasons to close the Organization. */
|
|
32
|
+
reasons?: CloseOrganizationRequestReasonsList | undefined;
|
|
33
|
+
/** More details about why the Organization is being closed. */
|
|
34
|
+
details?: string | null | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface CloseOrganizationResponse {
|
|
37
|
+
}
|
|
38
|
+
export interface GetActiveSupportPlanRequest {
|
|
39
|
+
/** ID of the Organization. (UUID format) */
|
|
40
|
+
organization_id: string;
|
|
41
|
+
}
|
|
42
|
+
export interface TechnicalAccountManager {
|
|
43
|
+
/** ID of the TAM. (UUID format) */
|
|
44
|
+
id?: string | undefined;
|
|
45
|
+
/** Last name of the TAM. */
|
|
46
|
+
last_name?: string | undefined;
|
|
47
|
+
/** First name of the TAM. */
|
|
48
|
+
first_name?: string | undefined;
|
|
49
|
+
/** Email address of the TAM. */
|
|
50
|
+
email?: string | undefined;
|
|
51
|
+
/** Phone number of the TAM. */
|
|
52
|
+
phone_number?: string | undefined;
|
|
53
|
+
/** The SRN of the TAM. */
|
|
54
|
+
srn?: string | undefined;
|
|
55
|
+
}
|
|
56
|
+
export interface ActiveSupportPlan {
|
|
57
|
+
/** Active support plan information. */
|
|
58
|
+
support_plan?: SupportPlan | undefined;
|
|
59
|
+
/** Support id of the Organization. */
|
|
60
|
+
support_id?: string | undefined;
|
|
61
|
+
/** Support pin of the Organization. */
|
|
62
|
+
support_pin?: string | undefined;
|
|
63
|
+
/** Technical account manager attached to the Organization. */
|
|
64
|
+
technical_account_manager?: TechnicalAccountManager | undefined;
|
|
65
|
+
}
|
|
66
|
+
export interface GetOrganizationRequest {
|
|
67
|
+
/** ID of the Organization. */
|
|
68
|
+
organization_id: string;
|
|
69
|
+
}
|
|
70
|
+
export interface OrganizationAddress {
|
|
71
|
+
line1?: string | undefined;
|
|
72
|
+
line2?: string | undefined;
|
|
73
|
+
city_name?: string | undefined;
|
|
74
|
+
zip_code?: string | undefined;
|
|
75
|
+
subdivision_code?: string | undefined;
|
|
76
|
+
country_code?: string | undefined;
|
|
77
|
+
}
|
|
78
|
+
export type OrganizationType = "unknown_type" | "individual" | "professional" | "internal";
|
|
79
|
+
export type OrganizationSubType = "unknown_sub_type" | "standard_sub_type" | "startup_sub_type" | "consultant_sub_type" | "personal_sub_type" | "association_sub_type";
|
|
80
|
+
export type OrganizationCurrency = "unknown_currency" | "eur";
|
|
81
|
+
export type OrganizationWarningReason = "unknown_reason" | "security_concerns" | "security_issue" | "critical_security_issue" | "locked_for_abuse" | "network_abuse" | "invoice_payment_failure" | "got_chargeback" | "validate_tos" | "validate_kyc" | "payment_info_missing" | "billing_info_missing" | "account_closed" | "card_expired_or_soon" | "confirm_email_change" | "gdpr_delete" | "rate_limiting" | "trusted_level_security_check" | "online_invoice_payment_failure" | "validate_email" | "ultra_security_issue" | "missing_vat_number" | "invalid_vat_number" | "locked_by_reseller" | "validate_phone" | "e_invoicing_info_missing" | "e_invoicing_info_invalid" | "compliance_issue";
|
|
82
|
+
export interface OrganizationWarning {
|
|
83
|
+
/** (UUID format) */
|
|
84
|
+
id?: string | undefined;
|
|
85
|
+
reason?: OrganizationWarningReason | undefined;
|
|
86
|
+
locking?: boolean | undefined;
|
|
87
|
+
closed?: boolean | undefined;
|
|
88
|
+
/** (RFC 3339 format) */
|
|
89
|
+
opened_at?: string | null | undefined;
|
|
90
|
+
}
|
|
91
|
+
/** All warnings attached to this Organization. */
|
|
92
|
+
export type OrganizationWarningsList = Array<OrganizationWarning>;
|
|
93
|
+
export type OrganizationPaymentMode = "unknown_payment_mode" | "card" | "sepa";
|
|
94
|
+
export interface OrganizationDediboxAccount {
|
|
95
|
+
id?: number | undefined;
|
|
96
|
+
/** (RFC 3339 format) */
|
|
97
|
+
linked_at?: string | null | undefined;
|
|
98
|
+
/** (RFC 3339 format) */
|
|
99
|
+
migrated_at?: string | null | undefined;
|
|
100
|
+
}
|
|
101
|
+
export type OrganizationCorporateIndustry = "unknown_corporate_industry" | "consulting_services" | "cybersecurity_software" | "ecommerce_retail" | "education" | "energy" | "financial_services_insurance" | "gaming_entertainment" | "hospitality_leisure" | "lifescience_healthcare_pharmaceuticals" | "manufacturing" | "media_press_tv" | "public_sector" | "telecommunications" | "technology" | "other";
|
|
102
|
+
export type OrganizationUseCase = "unknown_use_case" | "host_private_or_hybrid_cloud" | "build_and_host_saas_application" | "host_web_apps_and_websites" | "manage_infrastructure" | "store_data_and_automate_processes" | "train_ml_models_and_run_ai_inference" | "dont_know_yet" | "other_use_case";
|
|
103
|
+
/** Use cases of the Organization. */
|
|
104
|
+
export type OrganizationUseCasesList = Array<OrganizationUseCase>;
|
|
105
|
+
export type OrganizationBadge = "unknown_badge" | "badge_hds";
|
|
106
|
+
/** All badges attached to this Organization. */
|
|
107
|
+
export type OrganizationBadgesList = Array<OrganizationBadge>;
|
|
108
|
+
export type OrganizationResellerCustomerConfig = "unknown_reseller_customer_config" | "standard" | "billing" | "billing_support";
|
|
109
|
+
export type OrganizationOnboardingStep = "unknown_onboarding_step" | "account_details" | "phone_details" | "address_details" | "billing_details" | "default_project_details" | "default_project_qualification" | "completed";
|
|
110
|
+
export type OrganizationOrigin = "unknown_origin" | "direct" | "invitation" | "origin_internal" | "reseller" | "dedibox" | "dedibox_one_account" | "web_cloud" | "account" | "book_my_name_one_account" | "book_my_name";
|
|
111
|
+
export interface Organization {
|
|
112
|
+
/** ID of the Organization. (UUID format) */
|
|
113
|
+
id?: string | undefined;
|
|
114
|
+
/** Name of the Organization. */
|
|
115
|
+
name?: string | undefined;
|
|
116
|
+
/** Creation date of the Organization. (RFC 3339 format) */
|
|
117
|
+
created_at?: string | null | undefined;
|
|
118
|
+
/** Last modification date of the Organization. (RFC 3339 format) */
|
|
119
|
+
updated_at?: string | null | undefined;
|
|
120
|
+
/** Postal address of the Organization. */
|
|
121
|
+
address?: OrganizationAddress | undefined;
|
|
122
|
+
/** VAT number for tax exemption. */
|
|
123
|
+
vat_number?: string | null | undefined;
|
|
124
|
+
/** Type of this Organization (personal or professional). */
|
|
125
|
+
type?: OrganizationType | undefined;
|
|
126
|
+
/** Subtype of this Organization. */
|
|
127
|
+
sub_type?: OrganizationSubType | undefined;
|
|
128
|
+
/** Currency defined in the signed Terms of Service. */
|
|
129
|
+
currency?: OrganizationCurrency | undefined;
|
|
130
|
+
/** All warnings attached to this Organization. */
|
|
131
|
+
warnings?: OrganizationWarningsList | undefined;
|
|
132
|
+
/** Deprecated, use payment API instead. */
|
|
133
|
+
payment_mode?: OrganizationPaymentMode | undefined;
|
|
134
|
+
/** Email on which invoices are sent Email to which invoices are sent. If empty, the Owner's email is used. Replaced by the Notification manager. */
|
|
135
|
+
billing_email?: string | undefined;
|
|
136
|
+
/** Set to true if MFA is required for the Organization. */
|
|
137
|
+
mfa_enforced?: boolean | undefined;
|
|
138
|
+
/** Contains ID and link creation date if a dedibox account is linked. */
|
|
139
|
+
dedibox_account?: OrganizationDediboxAccount | undefined;
|
|
140
|
+
/** Deprecated. Set to true if the Organization is identified as a startup. */
|
|
141
|
+
is_startup?: boolean | undefined;
|
|
142
|
+
/** Corporate industry of the Organization. */
|
|
143
|
+
corporate_industry?: OrganizationCorporateIndustry | undefined;
|
|
144
|
+
/** DUNS number. */
|
|
145
|
+
duns_number?: string | null | undefined;
|
|
146
|
+
/** Use cases of the Organization. */
|
|
147
|
+
use_cases?: OrganizationUseCasesList | undefined;
|
|
148
|
+
/** Link to the Organization's picture. */
|
|
149
|
+
picture_link?: string | null | undefined;
|
|
150
|
+
/** Reseller customer profile. */
|
|
151
|
+
reseller_customer_profile?: string | null | undefined;
|
|
152
|
+
/** All badges attached to this Organization. */
|
|
153
|
+
badges?: OrganizationBadgesList | undefined;
|
|
154
|
+
/** Reseller customer config. */
|
|
155
|
+
reseller_customer_config?: OrganizationResellerCustomerConfig | undefined;
|
|
156
|
+
/** Organization onboarding process step. */
|
|
157
|
+
onboarding_step?: OrganizationOnboardingStep | undefined;
|
|
158
|
+
/** Organization origin. */
|
|
159
|
+
origin?: OrganizationOrigin | undefined;
|
|
160
|
+
/** Tax code for if required for your country. */
|
|
161
|
+
tax_code?: string | null | undefined;
|
|
162
|
+
/** Certified email address if required for your country. */
|
|
163
|
+
certified_email_address?: string | null | undefined;
|
|
164
|
+
/** Recipient Code if required for your country (e.g SDI, PPF). */
|
|
165
|
+
recipient_code?: string | null | undefined;
|
|
166
|
+
/** Legal name of the organization. */
|
|
167
|
+
legal_name?: string | null | undefined;
|
|
168
|
+
/** The primary identification number for the legal entity. */
|
|
169
|
+
company_registration_number?: string | null | undefined;
|
|
170
|
+
/** The identification number for a specific branch, operating unit, or physical location of the company. */
|
|
171
|
+
establishment_registration_number?: string | null | undefined;
|
|
172
|
+
/** The SRN of the organization. */
|
|
173
|
+
srn?: string | undefined;
|
|
174
|
+
}
|
|
175
|
+
export type ListSupportPlansRequestOrderBy = "started_at_asc" | "started_at_desc" | "stopped_at_asc" | "stopped_at_desc";
|
|
176
|
+
export interface ListSupportPlansRequest {
|
|
177
|
+
/** Filter by Organization ID. (UUID format) */
|
|
178
|
+
organization_id: string;
|
|
179
|
+
/** Sort order of support plans. */
|
|
180
|
+
order_by?: ListSupportPlansRequestOrderBy | (string & {}) | undefined;
|
|
181
|
+
/** Requested page number. Value must be greater or equals to 1. */
|
|
182
|
+
page?: number | undefined;
|
|
183
|
+
/** Number of items per page. Value must be between 1 and 1000. */
|
|
184
|
+
page_size?: number | undefined;
|
|
185
|
+
}
|
|
186
|
+
/** List of support plans. */
|
|
187
|
+
export type ListSupportPlansResponseSupportPlansList = Array<SupportPlan>;
|
|
188
|
+
export interface ListSupportPlansResponse {
|
|
189
|
+
/** List of support plans. */
|
|
190
|
+
support_plans: ListSupportPlansResponseSupportPlansList;
|
|
191
|
+
/** Total count of support plans. */
|
|
192
|
+
total_count?: number | undefined;
|
|
193
|
+
}
|
|
194
|
+
export interface ReopenOrganizationRequest {
|
|
195
|
+
/** ID of the Organization. */
|
|
196
|
+
organization_id: string;
|
|
197
|
+
}
|
|
198
|
+
export interface ReopenOrganizationResponse {
|
|
199
|
+
}
|
|
200
|
+
export type SetOrganizationUseCasesRequestUseCasesList = Array<OrganizationUseCase | (string & {})>;
|
|
201
|
+
export interface SetOrganizationUseCasesRequest {
|
|
202
|
+
organization_id?: string | undefined;
|
|
203
|
+
use_cases?: SetOrganizationUseCasesRequestUseCasesList | undefined;
|
|
204
|
+
}
|
|
205
|
+
export type SetOrganizationUseCasesResponseUseCasesList = Array<OrganizationUseCase>;
|
|
206
|
+
export interface SetOrganizationUseCasesResponse {
|
|
207
|
+
use_cases?: SetOrganizationUseCasesResponseUseCasesList | undefined;
|
|
208
|
+
}
|
|
209
|
+
export interface ScalewayStdFile {
|
|
210
|
+
name?: string | undefined;
|
|
211
|
+
content_type?: string | undefined;
|
|
212
|
+
content?: string | undefined;
|
|
213
|
+
}
|
|
214
|
+
export interface SetPictureRequest {
|
|
215
|
+
/** ID of the Organization. */
|
|
216
|
+
organization_id: string;
|
|
217
|
+
/** Picture to upload. */
|
|
218
|
+
file?: ScalewayStdFile | undefined;
|
|
219
|
+
}
|
|
220
|
+
export interface SetPictureResponse {
|
|
221
|
+
}
|
|
222
|
+
export interface SkipOnboardingBillingDetailsRequest {
|
|
223
|
+
/** ID of the Organization. */
|
|
224
|
+
organization_id: string;
|
|
225
|
+
}
|
|
226
|
+
export interface UpdateOrganizationBillingDetailsRequest {
|
|
227
|
+
/** ID of the Organization. */
|
|
228
|
+
organization_id: string;
|
|
229
|
+
/** VAT number for tax exemption. */
|
|
230
|
+
vat_number?: string | null | undefined;
|
|
231
|
+
/** Address object. */
|
|
232
|
+
address?: OrganizationAddress | undefined;
|
|
233
|
+
/** DUNS number. */
|
|
234
|
+
duns_number?: string | null | undefined;
|
|
235
|
+
/** Tax code for if required for your country. */
|
|
236
|
+
tax_code?: string | null | undefined;
|
|
237
|
+
/** Certified email address if required for your country. */
|
|
238
|
+
certified_email_address?: string | null | undefined;
|
|
239
|
+
/** Legal name of the organization. */
|
|
240
|
+
legal_name?: string | null | undefined;
|
|
241
|
+
/** Recipient Code if required for your country (e.g SDI, PPF). */
|
|
242
|
+
recipient_code?: string | null | undefined;
|
|
243
|
+
/** The primary identification number for the legal entity. */
|
|
244
|
+
company_registration_number?: string | null | undefined;
|
|
245
|
+
/** The identification number for a specific branch, operating unit, or physical location of the company. */
|
|
246
|
+
establishment_registration_number?: string | null | undefined;
|
|
247
|
+
}
|
|
248
|
+
export interface UpdateOrganizationDetailsRequest {
|
|
249
|
+
/** ID of the Organization. */
|
|
250
|
+
organization_id: string;
|
|
251
|
+
/** Name of the Organization. */
|
|
252
|
+
name?: string | null | undefined;
|
|
253
|
+
/** Organization type. */
|
|
254
|
+
type?: OrganizationType | (string & {}) | undefined;
|
|
255
|
+
/** Set to true to ensure MFA is required for the Organization. */
|
|
256
|
+
mfa_enforced?: boolean | null | undefined;
|
|
257
|
+
}
|
|
258
|
+
export type ChangeSupportPlanError = ScalewayOpError;
|
|
259
|
+
/** Change the support plan for the Organization Change the support plan by supplying the level of support wanted and the Organization ID. */
|
|
260
|
+
export declare const changeSupportPlan: API.OperationMethod<ChangeSupportPlanRequest, SupportPlan, ChangeSupportPlanError, ScalewayOpContext>;
|
|
261
|
+
export type CloseOrganizationError = ScalewayOpError;
|
|
262
|
+
/** Close Organization Close the Organization associated with the given ID. */
|
|
263
|
+
export declare const closeOrganization: API.OperationMethod<CloseOrganizationRequest, CloseOrganizationResponse, CloseOrganizationError, ScalewayOpContext>;
|
|
264
|
+
export type GetActiveSupportPlanError = ScalewayOpError;
|
|
265
|
+
/** Get the active support plan for the Organization Get the support plan for the Organization along with the Technical Account Manager contact information. */
|
|
266
|
+
export declare const getActiveSupportPlan: API.OperationMethod<GetActiveSupportPlanRequest, ActiveSupportPlan, GetActiveSupportPlanError, ScalewayOpContext>;
|
|
267
|
+
export type GetOrganizationError = ScalewayOpError;
|
|
268
|
+
/** Get the Organization with the given ID */
|
|
269
|
+
export declare const getOrganization: API.OperationMethod<GetOrganizationRequest, Organization, GetOrganizationError, ScalewayOpContext>;
|
|
270
|
+
export type ListSupportPlansError = ScalewayOpError;
|
|
271
|
+
/** List the support plans for the Organization */
|
|
272
|
+
export declare const listSupportPlans: API.PaginatedOperationMethod<ListSupportPlansRequest, ListSupportPlansResponse, ListSupportPlansError, ScalewayOpContext, SupportPlan>;
|
|
273
|
+
export type ReopenOrganizationError = ScalewayOpError;
|
|
274
|
+
/** Reopen Organization Reopen a previously closed Organization associated with the given ID. */
|
|
275
|
+
export declare const reopenOrganization: API.OperationMethod<ReopenOrganizationRequest, ReopenOrganizationResponse, ReopenOrganizationError, ScalewayOpContext>;
|
|
276
|
+
export type SetOrganizationUseCasesError = ScalewayOpError;
|
|
277
|
+
export declare const setOrganizationUseCases: API.OperationMethod<SetOrganizationUseCasesRequest, SetOrganizationUseCasesResponse, SetOrganizationUseCasesError, ScalewayOpContext>;
|
|
278
|
+
export type SetPictureError = ScalewayOpError;
|
|
279
|
+
/** Set picture Set a picture for the Organization. */
|
|
280
|
+
export declare const setPicture: API.OperationMethod<SetPictureRequest, SetPictureResponse, SetPictureError, ScalewayOpContext>;
|
|
281
|
+
export type SkipOnboardingBillingDetailsError = ScalewayOpError;
|
|
282
|
+
/** Skip billing details during onboarding Skip the billing details step during the onboarding process. The onboarding step will be advanced to the next step. */
|
|
283
|
+
export declare const skipOnboardingBillingDetails: API.OperationMethod<SkipOnboardingBillingDetailsRequest, Organization, SkipOnboardingBillingDetailsError, ScalewayOpContext>;
|
|
284
|
+
export type UpdateOrganizationBillingDetailsError = ScalewayOpError;
|
|
285
|
+
/** Update the billing details of the Organization with the given ID */
|
|
286
|
+
export declare const updateOrganizationBillingDetails: API.OperationMethod<UpdateOrganizationBillingDetailsRequest, Organization, UpdateOrganizationBillingDetailsError, ScalewayOpContext>;
|
|
287
|
+
export type UpdateOrganizationDetailsError = ScalewayOpError;
|
|
288
|
+
/** Update the details of the Organization details with the given ID */
|
|
289
|
+
export declare const updateOrganizationDetails: API.OperationMethod<UpdateOrganizationDetailsRequest, Organization, UpdateOrganizationDetailsError, ScalewayOpContext>;
|
|
290
|
+
//# sourceMappingURL=account_organization_v3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account_organization_v3.d.ts","sources":["../../src/services/account_organization_v3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAMjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,gBAAgB,GACxB,eAAe,GAC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ACf,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,iCAAiC,GAAG,eAAe,CAAC;AAChE,iKAAiK;AACjK,eAAO,MAAM,4BAA4B,EAAE,GAAG,CAAC,eAAe,CAC5D,mCAAmC,EACnC,YAAY,EACZ,iCAAiC,EACjC,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,qCAAqC,GAAG,eAAe,CAAC;AACpE,uEAAuE;AACvE,eAAO,MAAM,gCAAgC,EAAE,GAAG,CAAC,eAAe,CAChE,uCAAuC,EACvC,YAAY,EACZ,qCAAqC,EACrC,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,8BAA8B,GAAG,eAAe,CAAC;AAC7D,uEAAuE;AACvE,eAAO,MAAM,yBAAyB,EAAE,GAAG,CAAC,eAAe,CACzD,gCAAgC,EAChC,YAAY,EACZ,8BAA8B,EAC9B,iBAAiB,CAUhB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Tc as e,Uc as t,a as n,b as r,bd as i,cd as a,errors$ScalewayServiceErrors as o,fd as s,gd as c,l,n as u,nd as d,o as f,pagination$paginateByTotalCount as p,protocol$ScalewayProtocol as m,retry$Retry as h,sd as g,td as _,traits$Http as v,traits$Label as y,traits$Query as b}from"../_bundle/sdk.js";const x={system:`scaleway-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Scaleway`,service:`AccountOrganizationV3`,labels:`scaleway`,propagate:`w3c`};const S=/*@__PURE__*/ u(e=>e===n?l(`ChangeSupportPlan`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({organization_id:$3.pipe($2()),level:$4($3)}).pipe($1({method:"POST",uri:"/account/v3/organizations/{organization_id}/support-plans",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d0,o,m,h,x]):r(S,e));const C=/*@__PURE__*/ u(e=>e===n?l(`CloseOrganization`,`{input:#1,output:#9:0,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({organization_id:$3.pipe($2()),reasons:$5(#4:0),details:$5($6($3))}).pipe($1({method:"POST",uri:"/account/v3/organizations/{organization_id}/close",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,__d1,g,i,c,_,__d2,o,m,h,x]):r(C,e));const w=/*@__PURE__*/ u(e=>e===n?l(`ActiveSupportPlan`,`{input:#1,output:#3,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"Get%"};$5(>4)@"Get%Request";$5(>5)@"TechnicalAccountManager";$5(>6)@"%";$4({organization_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/account/v3/organizations/{organization_id}/active-support-plan",code:200,baseUrl:"https://api.scaleway.com"}));$4({id:$6($3),last_name:$6($3),first_name:$6($3),email:$6($3),phone_number:$6($3),srn:$6($3)});$4({support_plan:$6(#7:0),support_id:$6($3),support_pin:$6($3),technical_account_manager:$6(#2)})`,[d,v,y,s,c,_,g,__d0,o,m,h,x]):r(w,e));const T=/*@__PURE__*/ u(e=>e===n?l(`GetOrganization`,`{input:#1,output:#6:4,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({organization_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/account/v3/organizations/{organization_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,c,_,__d3,o,m,h,x]):r(T,e));const E=/*@__PURE__*/ f(t=>t===n?l(`ListSupportPlans`,`{input:#1,output:#3,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"support_plans",pageSize:"page_size"},strategy:$15};$8(>4)@"%Request";$10(#9:0);$8(>5)@"%Response";$7({organization_id:$3.pipe($2()),order_by:$5($3.pipe($4())),page:$5($6.pipe($4())),page_size:$5($6.pipe($4()))}).pipe($1({method:"GET",uri:"/account/v3/organizations/{organization_id}/support-plans",code:200,baseUrl:"https://api.scaleway.com"}));$7({support_plans:#2,total_count:$5($6)})`,[d,v,y,s,b,g,a,c,_,__d0,e,o,m,h,x,p]):r(E,t));const D=/*@__PURE__*/ u(e=>e===n?l(`ReopenOrganization`,`{input:#1,output:#6:0,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({organization_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/account/v3/organizations/{organization_id}/reopen",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,c,_,__d2,o,m,h,x]):r(D,e));const O=/*@__PURE__*/ u(e=>e===n?l(`SetOrganizationUseCases`,`{input:#1,output:#2,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({organization_id:$3($2),use_cases:$3(#4:0)}).pipe($1({method:"PATCH",uri:"/account/v3/organization-use-cases",code:200,baseUrl:"https://api.scaleway.com"}));$5({use_cases:$3(#4:0)})`,[d,v,s,g,__d1,c,_,o,m,h,x]):r(O,e));const k=/*@__PURE__*/ u(e=>e===n?l(`SetPicture`,`{input:#2,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$4(>3)@"ScalewayStdFile";$4(>4)@"%Request";$3({name:$2($1),content_type:$2($1),content:$2($1)});$3({organization_id:$1.pipe($6()),file:$2(#1)}).pipe($5({method:"PUT",uri:"/account/v3/organizations/{organization_id}/picture",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,s,g,c,_,v,y,__d2,o,m,h,x]):r(k,e));const A=/*@__PURE__*/ u(e=>e===n?l(`SkipOnboardingBillingDetails`,`{input:#1,output:#6:4,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({organization_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/account/v3/organizations/{organization_id}/skip-onboarding-billing-details",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,c,_,__d3,o,m,h,x]):r(A,e));const j=/*@__PURE__*/ u(e=>e===n?l(`UpdateOrganizationBillingDetails`,`{input:#1,output:#6:4,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$8(>2)@"%Request";$7({organization_id:$3.pipe($2()),vat_number:$5($4($3)),address:$5(#6:0),duns_number:$5($4($3)),tax_code:$5($4($3)),certified_email_address:$5($4($3)),legal_name:$5($4($3)),recipient_code:$5($4($3)),company_registration_number:$5($4($3)),establishment_registration_number:$5($4($3))}).pipe($1({method:"POST",uri:"/account/v3/organizations/{organization_id}/update-billing-details",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,i,g,__d3,c,_,o,m,h,x]):r(j,e));const M=/*@__PURE__*/ u(e=>e===n?l(`UpdateOrganizationDetails`,`{input:#1,output:#9:4,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({organization_id:$3.pipe($2()),name:$5($4($3)),type:$5($3),mfa_enforced:$5($4($6))}).pipe($1({method:"POST",uri:"/account/v3/organizations/{organization_id}/update-details",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,i,g,t,c,_,__d3,o,m,h,x]):r(M,e));function __d0(){return[`$5(>1)@"SupportPlan";$4({id:$2($1),level:$2($1),started_at:$2($3($1)),stopped_at:$2($3($1)),organization_id:$2($1),srn:$2($1)})`,[d,s,g,i,c,_]]}function __d1(){return[`$2($1)`,[d,s,e]]}function __d2(){return[`$2(>1)@"CloseOrganizationResponse";$1({})`,[d,c,_]]}function __d3(){return[`$4(>5)@"OrganizationAddress";$4(>6)@"OrganizationWarning";$7(#1);$4(>7)@"OrganizationDediboxAccount";$4(>8)@"Organization";$3({line1:$2($1),line2:$2($1),city_name:$2($1),zip_code:$2($1),subdivision_code:$2($1),country_code:$2($1)});$3({id:$2($1),reason:$2($1),locking:$2($5),closed:$2($5),opened_at:$2($6($1))});$3({id:$2($8),linked_at:$2($6($1)),migrated_at:$2($6($1))});$3({id:$2($1),name:$2($1),created_at:$2($6($1)),updated_at:$2($6($1)),address:$2(#0),vat_number:$2($6($1)),type:$2($1),sub_type:$2($1),currency:$2($1),warnings:$2(#2),payment_mode:$2($1),billing_email:$2($1),mfa_enforced:$2($5),dedibox_account:$2(#3),is_startup:$2($5),corporate_industry:$2($1),duns_number:$2($6($1)),use_cases:$2(#9:0),picture_link:$2($6($1)),reseller_customer_profile:$2($6($1)),badges:$2(#9:0),reseller_customer_config:$2($1),onboarding_step:$2($1),origin:$2($1),tax_code:$2($6($1)),certified_email_address:$2($6($1)),recipient_code:$2($6($1)),legal_name:$2($6($1)),company_registration_number:$2($6($1)),establishment_registration_number:$2($6($1)),srn:$2($1)})`,[d,s,g,c,_,t,i,e,a,__d1]]}export{S as changeSupportPlan,C as closeOrganization,w as getActiveSupportPlan,T as getOrganization,E as listSupportPlans,D as reopenOrganization,O as setOrganizationUseCases,k as setPicture,A as skipOnboardingBillingDetails,j as updateOrganizationBillingDetails,M as updateOrganizationDetails};
|
|
2
|
+
//# sourceMappingURL=account_organization_v3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account_organization_v3.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","S.NullOr","T.Query","S.Number","S.Array","S.Boolean","Array","Boolean","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","TELEMETRY","changeSupportPlan","i","named","closeOrganization","getActiveSupportPlan","getOrganization","listSupportPlans","reopenOrganization","setOrganizationUseCases","setPicture","skipOnboardingBillingDetails","updateOrganizationBillingDetails","updateOrganizationDetails"],"sources":["../../src/services/account_organization_v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AACC,EAAQC,EAAQC,EAASC,EAAUM,EAAUL,EAAYS,EAAWR,EAAUC,EAAW,KAAMc,EAAuBO,EAAkBpB,EAAa2B,CAAS,CAAC,EAAI1B,EAASuC,EAA2BX,CAAC,CAAC,EAM9nB,SAAS,MAAY,CACnB,MAAO,CAAC,kIAAmI,CAACpC,EAAQG,EAAUC,EAAYK,EAAUJ,EAAUC,CAAS,CAAC,CAC1M,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,SAAU,CAACN,EAAQG,EAAUS,CAAO,CAAC,CAC/C,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,4CAA6C,CAACZ,EAAQK,EAAUC,CAAS,CAAC,CACpF,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,iiCAAkiC,CAACN,EAAQG,EAAUC,EAAYC,EAAUC,EAAWO,EAAWJ,EAAUG,EAASD,EAAU,IAAI,CAAC,CAC7oC"}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
3
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
4
|
+
export interface CreateProjectRequest {
|
|
5
|
+
/** Name of the Project. */
|
|
6
|
+
name?: string | undefined;
|
|
7
|
+
/** Organization ID of the Project. */
|
|
8
|
+
organization_id?: string | undefined;
|
|
9
|
+
/** Description of the Project. */
|
|
10
|
+
description?: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
export type QualificationArchitectureType = "unknown_architecture_type" | "object_storage" | "web_hosting" | "instance" | "elastic" | "kubernetes" | "serverless" | "dedicated_server" | "other_architecture_type";
|
|
13
|
+
export type QualificationHostWebsiteSubUseCase = "unknown_sub_use_case" | "information_website" | "ecommerce_website" | "high_website" | "other_sub_use_case";
|
|
14
|
+
export interface QualificationHostWebsite {
|
|
15
|
+
sub_use_case?: QualificationHostWebsiteSubUseCase | (string & {}) | undefined;
|
|
16
|
+
}
|
|
17
|
+
export type QualificationHostApplicationSubUseCase = "unknown_sub_use_case" | "saas_app" | "government_app";
|
|
18
|
+
export interface QualificationHostApplication {
|
|
19
|
+
sub_use_case?: QualificationHostApplicationSubUseCase | (string & {}) | undefined;
|
|
20
|
+
}
|
|
21
|
+
export type QualificationDeploySoftwareSubUseCase = "unknown_sub_use_case";
|
|
22
|
+
export interface QualificationDeploySoftware {
|
|
23
|
+
sub_use_case?: QualificationDeploySoftwareSubUseCase | (string & {}) | undefined;
|
|
24
|
+
}
|
|
25
|
+
export type QualificationSetScalewayEnvironmentSubUseCase = "unknown_sub_use_case";
|
|
26
|
+
export interface QualificationSetScalewayEnvironment {
|
|
27
|
+
sub_use_case?: QualificationSetScalewayEnvironmentSubUseCase | (string & {}) | undefined;
|
|
28
|
+
}
|
|
29
|
+
export type QualificationAiMachineSubUseCase = "unknown_sub_use_case";
|
|
30
|
+
export interface QualificationAiMachine {
|
|
31
|
+
sub_use_case?: QualificationAiMachineSubUseCase | (string & {}) | undefined;
|
|
32
|
+
}
|
|
33
|
+
export type QualificationContainerSubUseCase = "unknown_sub_use_case";
|
|
34
|
+
export interface QualificationContainer {
|
|
35
|
+
sub_use_case?: QualificationContainerSubUseCase | (string & {}) | undefined;
|
|
36
|
+
}
|
|
37
|
+
export type QualificationArchiveDataSubUseCase = "unknown_sub_use_case";
|
|
38
|
+
export interface QualificationArchiveData {
|
|
39
|
+
sub_use_case?: QualificationArchiveDataSubUseCase | (string & {}) | undefined;
|
|
40
|
+
}
|
|
41
|
+
export type QualificationShareDataSubUseCase = "unknown_sub_use_case";
|
|
42
|
+
export interface QualificationShareData {
|
|
43
|
+
sub_use_case?: QualificationShareDataSubUseCase | (string & {}) | undefined;
|
|
44
|
+
}
|
|
45
|
+
export type QualificationOtherUseCaseSubUseCase = "unknown_sub_use_case";
|
|
46
|
+
export interface QualificationOtherUseCase {
|
|
47
|
+
sub_use_case?: QualificationOtherUseCaseSubUseCase | (string & {}) | undefined;
|
|
48
|
+
}
|
|
49
|
+
export interface Qualification {
|
|
50
|
+
/** Architecture type of the qualification. */
|
|
51
|
+
architecture_type?: QualificationArchitectureType | (string & {}) | undefined;
|
|
52
|
+
/** Precisely one of host_website, host_application, deploy_software, set_scaleway_environment, ai_machine, container, archive_data, share_data, other_use_case can be set. */
|
|
53
|
+
host_website?: QualificationHostWebsite | null | undefined;
|
|
54
|
+
/** Precisely one of host_website, host_application, deploy_software, set_scaleway_environment, ai_machine, container, archive_data, share_data, other_use_case can be set. */
|
|
55
|
+
host_application?: QualificationHostApplication | null | undefined;
|
|
56
|
+
/** Precisely one of host_website, host_application, deploy_software, set_scaleway_environment, ai_machine, container, archive_data, share_data, other_use_case can be set. */
|
|
57
|
+
deploy_software?: QualificationDeploySoftware | null | undefined;
|
|
58
|
+
/** Precisely one of host_website, host_application, deploy_software, set_scaleway_environment, ai_machine, container, archive_data, share_data, other_use_case can be set. */
|
|
59
|
+
set_scaleway_environment?: QualificationSetScalewayEnvironment | null | undefined;
|
|
60
|
+
/** Precisely one of host_website, host_application, deploy_software, set_scaleway_environment, ai_machine, container, archive_data, share_data, other_use_case can be set. */
|
|
61
|
+
ai_machine?: QualificationAiMachine | null | undefined;
|
|
62
|
+
/** Precisely one of host_website, host_application, deploy_software, set_scaleway_environment, ai_machine, container, archive_data, share_data, other_use_case can be set. */
|
|
63
|
+
container?: QualificationContainer | null | undefined;
|
|
64
|
+
/** Precisely one of host_website, host_application, deploy_software, set_scaleway_environment, ai_machine, container, archive_data, share_data, other_use_case can be set. */
|
|
65
|
+
archive_data?: QualificationArchiveData | null | undefined;
|
|
66
|
+
/** Precisely one of host_website, host_application, deploy_software, set_scaleway_environment, ai_machine, container, archive_data, share_data, other_use_case can be set. */
|
|
67
|
+
share_data?: QualificationShareData | null | undefined;
|
|
68
|
+
/** Precisely one of host_website, host_application, deploy_software, set_scaleway_environment, ai_machine, container, archive_data, share_data, other_use_case can be set. */
|
|
69
|
+
other_use_case?: QualificationOtherUseCase | null | undefined;
|
|
70
|
+
}
|
|
71
|
+
export type ProjectStatus = "unknown_status" | "active" | "deleting";
|
|
72
|
+
export interface Project {
|
|
73
|
+
/** ID of the Project. (UUID format) */
|
|
74
|
+
id?: string | undefined;
|
|
75
|
+
/** Name of the Project. */
|
|
76
|
+
name?: string | undefined;
|
|
77
|
+
/** Organization ID of the Project. (UUID format) */
|
|
78
|
+
organization_id?: string | undefined;
|
|
79
|
+
/** Creation date of the Project. (RFC 3339 format) */
|
|
80
|
+
created_at?: string | null | undefined;
|
|
81
|
+
/** Update date of the Project. (RFC 3339 format) */
|
|
82
|
+
updated_at?: string | null | undefined;
|
|
83
|
+
/** Description of the Project. */
|
|
84
|
+
description?: string | undefined;
|
|
85
|
+
/** Qualification of the Project. */
|
|
86
|
+
qualification?: Qualification | undefined;
|
|
87
|
+
/** Status of the Project. */
|
|
88
|
+
status?: ProjectStatus | undefined;
|
|
89
|
+
/** The SRN of the Project. */
|
|
90
|
+
srn?: string | undefined;
|
|
91
|
+
}
|
|
92
|
+
export interface DeleteProjectRequest {
|
|
93
|
+
/** Project ID of the Project. */
|
|
94
|
+
project_id: string;
|
|
95
|
+
}
|
|
96
|
+
export interface DeleteProjectResponse {
|
|
97
|
+
}
|
|
98
|
+
export interface DeleteProjectWithResourcesRequest {
|
|
99
|
+
/** Project ID of the Project. */
|
|
100
|
+
project_id: string;
|
|
101
|
+
/** Name of the Project to delete. This is used as a safeguard confirmation. */
|
|
102
|
+
project_name?: string | undefined;
|
|
103
|
+
}
|
|
104
|
+
export interface GetProjectRequest {
|
|
105
|
+
/** Project ID of the Project. */
|
|
106
|
+
project_id: string;
|
|
107
|
+
}
|
|
108
|
+
export type ListProjectsRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc";
|
|
109
|
+
export type ListProjectsRequestProjectIdsList = Array<string>;
|
|
110
|
+
export interface ListProjectsRequest {
|
|
111
|
+
/** Organization ID of the Project. */
|
|
112
|
+
organization_id: string;
|
|
113
|
+
/** Name of the Project. */
|
|
114
|
+
name?: string | undefined;
|
|
115
|
+
/** Page number for the returned Projects. */
|
|
116
|
+
page?: number | undefined;
|
|
117
|
+
/** Maximum number of Project per page. */
|
|
118
|
+
page_size?: number | undefined;
|
|
119
|
+
/** Sort order of the returned Projects. */
|
|
120
|
+
order_by?: ListProjectsRequestOrderBy | (string & {}) | undefined;
|
|
121
|
+
/** Project IDs to filter for. The results will be limited to any Projects with an ID in this array. */
|
|
122
|
+
project_ids?: ListProjectsRequestProjectIdsList | undefined;
|
|
123
|
+
}
|
|
124
|
+
/** Paginated returned Projects. */
|
|
125
|
+
export type ListProjectsResponseProjectsList = Array<Project>;
|
|
126
|
+
export interface ListProjectsResponse {
|
|
127
|
+
/** Total number of Projects. */
|
|
128
|
+
total_count?: number | undefined;
|
|
129
|
+
/** Paginated returned Projects. */
|
|
130
|
+
projects: ListProjectsResponseProjectsList;
|
|
131
|
+
}
|
|
132
|
+
export interface SetProjectQualificationRequest {
|
|
133
|
+
/** Project ID. */
|
|
134
|
+
project_id: string;
|
|
135
|
+
/** Use case chosen for the Project. */
|
|
136
|
+
qualification?: Qualification | undefined;
|
|
137
|
+
}
|
|
138
|
+
export interface ProjectQualification {
|
|
139
|
+
/** Project ID. (UUID format) */
|
|
140
|
+
project_id?: string | undefined;
|
|
141
|
+
/** Qualification of the Project. */
|
|
142
|
+
qualification?: Qualification | undefined;
|
|
143
|
+
}
|
|
144
|
+
export interface UpdateProjectRequest {
|
|
145
|
+
/** Project ID of the Project. */
|
|
146
|
+
project_id: string;
|
|
147
|
+
/** Name of the Project. */
|
|
148
|
+
name?: string | null | undefined;
|
|
149
|
+
/** Description of the Project. */
|
|
150
|
+
description?: string | null | undefined;
|
|
151
|
+
}
|
|
152
|
+
export type CreateProjectError = ScalewayOpError;
|
|
153
|
+
/** Create a new Project for an Organization Generate a new Project for an Organization, specifying its configuration including name and description. */
|
|
154
|
+
export declare const createProject: API.OperationMethod<CreateProjectRequest, Project, CreateProjectError, ScalewayOpContext>;
|
|
155
|
+
export type DeleteProjectError = ScalewayOpError;
|
|
156
|
+
/** Delete an existing Project Delete an existing Project, specified by its Project ID. The Project needs to be empty (meaning there are no resources left in it) to be deleted effectively. Note that deleting a Project is permanent, and cannot be undone. */
|
|
157
|
+
export declare const deleteProject: API.OperationMethod<DeleteProjectRequest, DeleteProjectResponse, DeleteProjectError, ScalewayOpContext>;
|
|
158
|
+
export type DeleteProjectWithResourcesError = ScalewayOpError;
|
|
159
|
+
/** Delete an existing Project with all its resources Delete an existing Project, specified by its Project ID and Name, along with all the resources it contains. Note that deleting a Project is permanent, and cannot be undone. */
|
|
160
|
+
export declare const deleteProjectWithResources: API.OperationMethod<DeleteProjectWithResourcesRequest, Project, DeleteProjectWithResourcesError, ScalewayOpContext>;
|
|
161
|
+
export type GetProjectError = ScalewayOpError;
|
|
162
|
+
/** Get an existing Project Retrieve information about an existing Project, specified by its Project ID. Its full details, including ID, name and description, are returned in the response object. */
|
|
163
|
+
export declare const getProject: API.OperationMethod<GetProjectRequest, Project, GetProjectError, ScalewayOpContext>;
|
|
164
|
+
export type ListProjectsError = ScalewayOpError;
|
|
165
|
+
/** List all Projects of an Organization List all Projects of an Organization. The response will include the total number of Projects as well as their associated Organizations, names, and IDs. Other information includes the creation and update date of the Project. */
|
|
166
|
+
export declare const listProjects: API.PaginatedOperationMethod<ListProjectsRequest, ListProjectsResponse, ListProjectsError, ScalewayOpContext, Project>;
|
|
167
|
+
export type SetProjectQualificationError = ScalewayOpError;
|
|
168
|
+
/** Set project use case Set the project use case for a new or existing Project, specified by its Project ID. You can customize the use case, sub use case, and architecture type you want to use in the Project. */
|
|
169
|
+
export declare const setProjectQualification: API.OperationMethod<SetProjectQualificationRequest, ProjectQualification, SetProjectQualificationError, ScalewayOpContext>;
|
|
170
|
+
export type UpdateProjectError = ScalewayOpError;
|
|
171
|
+
/** Update Project Update the parameters of an existing Project, specified by its Project ID. These parameters include the name and description. */
|
|
172
|
+
export declare const updateProject: API.OperationMethod<UpdateProjectRequest, Project, UpdateProjectError, ScalewayOpContext>;
|
|
173
|
+
//# sourceMappingURL=account_project_v3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account_project_v3.d.ts","sources":["../../src/services/account_project_v3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAMjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,WAAW,oBAAoB;IACnC,2BAA2B;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,sCAAsC;IACtC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC;AACD,MAAM,MAAM,6BAA6B,GACrC,2BAA2B,GAC3B,gBAAgB,GAChB,aAAa,GACb,UAAU,GACV,SAAS,GACT,YAAY,GACZ,YAAY,GACZ,kBAAkB,GAClB,yBAAyB,CAAC;AAC9B,MAAM,MAAM,kCAAkC,GAC1C,sBAAsB,GACtB,qBAAqB,GACrB,mBAAmB,GACnB,cAAc,GACd,oBAAoB,CAAC;AACzB,MAAM,WAAW,wBAAwB;IACvC,YAAY,CAAC,EAAE,kCAAkC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;CAC/E;AACD,MAAM,MAAM,sCAAsC,GAC9C,sBAAsB,GACtB,UAAU,GACV,gBAAgB,CAAC;AACrB,MAAM,WAAW,4BAA4B;IAC3C,YAAY,CAAC,EAAE,sCAAsC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;CACnF;AACD,MAAM,MAAM,qCAAqC,GAAG,sBAAsB,CAAC;AAC3E,MAAM,WAAW,2BAA2B;IAC1C,YAAY,CAAC,EAAE,qC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B,OAAO,EACP,eAAe,EACf,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC;AAChD,2QAA2Q;AAC3Q,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,wBAAwB,CACrD,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,CAoBD,CAAC;AAET,MAAM,MAAM,4BAA4B,GAAG,eAAe,CAAC;AAC3D,oNAAoN;AACpN,eAAO,MAAM,uBAAuB,EAAE,GAAG,CAAC,eAAe,CACvD,8BAA8B,EAC9B,oBAAoB,EACpB,4BAA4B,EAC5B,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AACjD,mJAAmJ;AACnJ,eAAO,MAAM,aAAa,EAAE,GAAG,CAAC,eAAe,CAC7C,oBAAoB,EACpB,OAAO,EACP,kBAAkB,EAClB,iBAAiB,CAUhB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Tc as e,a as t,b as n,bd as r,cd as i,errors$ScalewayServiceErrors as a,fd as o,gd as s,l as c,n as l,nd as u,o as d,pagination$paginateByTotalCount as f,protocol$ScalewayProtocol as p,retry$Retry as m,sd as h,td as g,traits$Http as _,traits$Label as v,traits$Query as y}from"../_bundle/sdk.js";const b={system:`scaleway-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Scaleway`,service:`AccountProjectV3`,labels:`scaleway`,propagate:`w3c`};const x=/*@__PURE__*/ l(e=>e===t?c(`CreateProject`,`{input:#1,output:#6:0,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({name:$3($2),organization_id:$3($2),description:$3($2)}).pipe($1({method:"POST",uri:"/account/v3/projects",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,o,h,s,g,__d1,a,p,m,b]):n(x,e));const S=/*@__PURE__*/ l(e=>e===t?c(`DeleteProject`,`{input:#1,output:#2,errors:[],serviceErrors:$6,protocol:$7,retry:$8,telemetry:$9,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({project_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/account/v3/projects/{project_id}",code:200,baseUrl:"https://api.scaleway.com"}));$4({})`,[u,_,v,o,s,g,a,p,m,b]):n(S,e));const C=/*@__PURE__*/ l(e=>e===t?c(`DeleteProjectWithResources`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({project_id:$3.pipe($2()),project_name:$4($3)}).pipe($1({method:"POST",uri:"/account/v3/projects/{project_id}/delete-with-resources",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,h,s,g,__d1,a,p,m,b]):n(C,e));const w=/*@__PURE__*/ l(e=>e===t?c(`GetProject`,`{input:#1,output:#6:0,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({project_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/account/v3/projects/{project_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,s,g,__d1,a,p,m,b]):n(w,e));const T=/*@__PURE__*/ d(r=>r===t?c(`ListProjects`,`{input:#2,output:#4,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"projects",pageSize:"page_size"},strategy:$14};$2($1);$8(>5)@"%Request";$2(#9:0);$8(>6)@"%Response";$7({organization_id:$1.pipe($4()),name:$5($1.pipe($4())),page:$5($6.pipe($4())),page_size:$5($6.pipe($4())),order_by:$5($1.pipe($4())),project_ids:$5(#1.pipe($4()))}).pipe($3({method:"GET",uri:"/account/v3/projects",code:200,baseUrl:"https://api.scaleway.com"}));$7({total_count:$5($6),projects:#3})`,[u,o,e,_,y,h,i,s,g,__d1,a,p,m,b,f]):n(T,r));const E=/*@__PURE__*/ l(e=>e===t?c(`ProjectQualification`,`{input:#1,output:#2,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"Set%"};$7(>3)@"Set%Request";$7(>4)@"%";$6({project_id:$3.pipe($2()),qualification:$5(#4:1)}).pipe($1({method:"POST",uri:"/account/v3/projects/{project_id}/project-qualification",code:200,baseUrl:"https://api.scaleway.com"}));$6({project_id:$5($3),qualification:$5(#4:1)})`,[u,_,v,o,__d0,h,s,g,a,p,m,b]):n(E,e));const D=/*@__PURE__*/ l(e=>e===t?c(`UpdateProject`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({project_id:$3.pipe($2()),name:$5($4($3)),description:$5($4($3))}).pipe($1({method:"PATCH",uri:"/account/v3/projects/{project_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,r,h,s,g,__d1,a,p,m,b]):n(D,e));function __d0(){return[`$4(>2)@"QualificationHostWebsite";$4(>3)@"Qualification";$3({sub_use_case:$2($1)});$3({architecture_type:$2($1),host_website:$2($5(#0)),host_application:$2($5(#0)),deploy_software:$2($5(#0)),set_scaleway_environment:$2($5(#0)),ai_machine:$2($5(#0)),container:$2($5(#0)),archive_data:$2($5(#0)),share_data:$2($5(#0)),other_use_case:$2($5(#0))})`,[u,o,h,s,g,r]]}function __d1(){return[`$6(>1)@"Project";$5({id:$2($1),name:$2($1),organization_id:$2($1),created_at:$2($3($1)),updated_at:$2($3($1)),description:$2($1),qualification:$2(#4:1),status:$2($1),srn:$2($1)})`,[u,o,h,r,__d0,s,g]]}export{x as createProject,S as deleteProject,C as deleteProjectWithResources,w as getProject,T as listProjects,E as setProjectQualification,D as updateProject};
|
|
2
|
+
//# sourceMappingURL=account_project_v3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account_project_v3.js","names":["API.D","API.named","__L.at","T.Http","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","T.Label","S.Array","T.Query","S.Number","S.NullOr","Array","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","named","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","TELEMETRY","createProject","i","deleteProject","deleteProjectWithResources","getProject","listProjects","setProjectQualification","updateProject"],"sources":["../../src/services/account_project_v3.ts"],"mappings":"8SAaA,MAAMmC,EAAY,CAChB,OAAQ,eACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,WACR,QAAS,mBACT,OAAQ,WACR,UAAW,KACb,EA4KA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMrC,EAAQC,EAAU,gBAAiB,+QAAgR,CAACC,EAAQC,EAAQC,EAAUC,EAAYC,EAAUC,EAAW,KAAMa,EAAuBQ,EAAkBpB,EAAa2B,CAAS,CAAC,EAAI1B,EAAS2B,EAAeC,CAAC,CAAC,EAIngB,MAAaC,EAKK,gBAAQ,GAAgBD,IAAMrC,EAAQC,EAAU,gBAAiB,wRAAyR,CAACC,EAAQC,EAAQO,EAASN,EAAUE,EAAUC,EAAWa,EAAuBQ,EAAkBpB,EAAa2B,CAAS,CAAC,EAAI1B,EAAS6B,EAAeD,CAAC,CAAC,EAIngB,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMrC,EAAQC,EAAU,6BAA8B,0SAA2S,CAACC,EAAQC,EAAQO,EAASN,EAAUC,EAAYC,EAAUC,EAAW,KAAMa,EAAuBQ,EAAkBpB,EAAa2B,CAAS,CAAC,EAAI1B,EAAS8B,EAA4BF,CAAC,CAAC,EAIjkB,MAAaG,EAKK,gBAAQ,GAAgBH,IAAMrC,EAAQC,EAAU,aAAc,8PAA+P,CAACC,EAAQC,EAAQO,EAASN,E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