@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,947 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-scaleway). Do not edit.
|
|
3
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
4
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import { ScalewayServiceErrors } from "../errors.ts";
|
|
6
|
+
import { paginateByTotalCount } from "../pagination.ts";
|
|
7
|
+
import { ScalewayProtocol, type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
8
|
+
import * as Retry from "../retry.ts";
|
|
9
|
+
import * as T from "../traits.ts";
|
|
10
|
+
// Schema table, filled on first reach (see __S at the end).
|
|
11
|
+
const __s: any[] = [];
|
|
12
|
+
|
|
13
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
14
|
+
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "scaleway-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "Scaleway",
|
|
23
|
+
service: "AccountOrganizationV3",
|
|
24
|
+
labels: "scaleway",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type SupportPlanLevel =
|
|
29
|
+
| "unknown_level"
|
|
30
|
+
| "basic"
|
|
31
|
+
| "developer"
|
|
32
|
+
| "bronze"
|
|
33
|
+
| "silver"
|
|
34
|
+
| "gold"
|
|
35
|
+
| "platinum"
|
|
36
|
+
| "advanced"
|
|
37
|
+
| "business"
|
|
38
|
+
| "enterprise"
|
|
39
|
+
| "custom_lvmh";
|
|
40
|
+
export interface ChangeSupportPlanRequest {
|
|
41
|
+
/** ID of the Organization. (UUID format) */
|
|
42
|
+
organization_id: string;
|
|
43
|
+
/** Level of support plan The level of support plan. Can only be basic, silver or gold. */
|
|
44
|
+
level?: SupportPlanLevel | (string & {}) | undefined;
|
|
45
|
+
}
|
|
46
|
+
export interface SupportPlan {
|
|
47
|
+
/** ID of the support plan. (UUID format) */
|
|
48
|
+
id?: string | undefined;
|
|
49
|
+
/** Level of the support plan. */
|
|
50
|
+
level?: SupportPlanLevel | undefined;
|
|
51
|
+
/** Creation date of the support plan. (RFC 3339 format) */
|
|
52
|
+
started_at?: string | null | undefined;
|
|
53
|
+
/** End date of the support plan. (RFC 3339 format) */
|
|
54
|
+
stopped_at?: string | null | undefined;
|
|
55
|
+
/** ID of the Organization. (UUID format) */
|
|
56
|
+
organization_id?: string | undefined;
|
|
57
|
+
/** The SRN of the support plan. */
|
|
58
|
+
srn?: string | undefined;
|
|
59
|
+
}
|
|
60
|
+
export type CloseOrganizationRequestReason =
|
|
61
|
+
| "unknown_reason"
|
|
62
|
+
| "no_longer_needed"
|
|
63
|
+
| "too_expensive"
|
|
64
|
+
| "missing_feature"
|
|
65
|
+
| "technical_issue"
|
|
66
|
+
| "test_only"
|
|
67
|
+
| "difficult_to_use"
|
|
68
|
+
| "using_another_account"
|
|
69
|
+
| "other";
|
|
70
|
+
/** Reasons to close the Organization. */
|
|
71
|
+
export type CloseOrganizationRequestReasonsList = Array<
|
|
72
|
+
CloseOrganizationRequestReason | (string & {})
|
|
73
|
+
>;
|
|
74
|
+
export interface CloseOrganizationRequest {
|
|
75
|
+
/** ID of the Organization. */
|
|
76
|
+
organization_id: string;
|
|
77
|
+
/** Reasons to close the Organization. */
|
|
78
|
+
reasons?: CloseOrganizationRequestReasonsList | undefined;
|
|
79
|
+
/** More details about why the Organization is being closed. */
|
|
80
|
+
details?: string | null | undefined;
|
|
81
|
+
}
|
|
82
|
+
export interface CloseOrganizationResponse {}
|
|
83
|
+
export interface GetActiveSupportPlanRequest {
|
|
84
|
+
/** ID of the Organization. (UUID format) */
|
|
85
|
+
organization_id: string;
|
|
86
|
+
}
|
|
87
|
+
export interface TechnicalAccountManager {
|
|
88
|
+
/** ID of the TAM. (UUID format) */
|
|
89
|
+
id?: string | undefined;
|
|
90
|
+
/** Last name of the TAM. */
|
|
91
|
+
last_name?: string | undefined;
|
|
92
|
+
/** First name of the TAM. */
|
|
93
|
+
first_name?: string | undefined;
|
|
94
|
+
/** Email address of the TAM. */
|
|
95
|
+
email?: string | undefined;
|
|
96
|
+
/** Phone number of the TAM. */
|
|
97
|
+
phone_number?: string | undefined;
|
|
98
|
+
/** The SRN of the TAM. */
|
|
99
|
+
srn?: string | undefined;
|
|
100
|
+
}
|
|
101
|
+
export interface ActiveSupportPlan {
|
|
102
|
+
/** Active support plan information. */
|
|
103
|
+
support_plan?: SupportPlan | undefined;
|
|
104
|
+
/** Support id of the Organization. */
|
|
105
|
+
support_id?: string | undefined;
|
|
106
|
+
/** Support pin of the Organization. */
|
|
107
|
+
support_pin?: string | undefined;
|
|
108
|
+
/** Technical account manager attached to the Organization. */
|
|
109
|
+
technical_account_manager?: TechnicalAccountManager | undefined;
|
|
110
|
+
}
|
|
111
|
+
export interface GetOrganizationRequest {
|
|
112
|
+
/** ID of the Organization. */
|
|
113
|
+
organization_id: string;
|
|
114
|
+
}
|
|
115
|
+
export interface OrganizationAddress {
|
|
116
|
+
line1?: string | undefined;
|
|
117
|
+
line2?: string | undefined;
|
|
118
|
+
city_name?: string | undefined;
|
|
119
|
+
zip_code?: string | undefined;
|
|
120
|
+
subdivision_code?: string | undefined;
|
|
121
|
+
country_code?: string | undefined;
|
|
122
|
+
}
|
|
123
|
+
export type OrganizationType = "unknown_type" | "individual" | "professional" | "internal";
|
|
124
|
+
export type OrganizationSubType =
|
|
125
|
+
| "unknown_sub_type"
|
|
126
|
+
| "standard_sub_type"
|
|
127
|
+
| "startup_sub_type"
|
|
128
|
+
| "consultant_sub_type"
|
|
129
|
+
| "personal_sub_type"
|
|
130
|
+
| "association_sub_type";
|
|
131
|
+
export type OrganizationCurrency = "unknown_currency" | "eur";
|
|
132
|
+
export type OrganizationWarningReason =
|
|
133
|
+
| "unknown_reason"
|
|
134
|
+
| "security_concerns"
|
|
135
|
+
| "security_issue"
|
|
136
|
+
| "critical_security_issue"
|
|
137
|
+
| "locked_for_abuse"
|
|
138
|
+
| "network_abuse"
|
|
139
|
+
| "invoice_payment_failure"
|
|
140
|
+
| "got_chargeback"
|
|
141
|
+
| "validate_tos"
|
|
142
|
+
| "validate_kyc"
|
|
143
|
+
| "payment_info_missing"
|
|
144
|
+
| "billing_info_missing"
|
|
145
|
+
| "account_closed"
|
|
146
|
+
| "card_expired_or_soon"
|
|
147
|
+
| "confirm_email_change"
|
|
148
|
+
| "gdpr_delete"
|
|
149
|
+
| "rate_limiting"
|
|
150
|
+
| "trusted_level_security_check"
|
|
151
|
+
| "online_invoice_payment_failure"
|
|
152
|
+
| "validate_email"
|
|
153
|
+
| "ultra_security_issue"
|
|
154
|
+
| "missing_vat_number"
|
|
155
|
+
| "invalid_vat_number"
|
|
156
|
+
| "locked_by_reseller"
|
|
157
|
+
| "validate_phone"
|
|
158
|
+
| "e_invoicing_info_missing"
|
|
159
|
+
| "e_invoicing_info_invalid"
|
|
160
|
+
| "compliance_issue";
|
|
161
|
+
export interface OrganizationWarning {
|
|
162
|
+
/** (UUID format) */
|
|
163
|
+
id?: string | undefined;
|
|
164
|
+
reason?: OrganizationWarningReason | undefined;
|
|
165
|
+
locking?: boolean | undefined;
|
|
166
|
+
closed?: boolean | undefined;
|
|
167
|
+
/** (RFC 3339 format) */
|
|
168
|
+
opened_at?: string | null | undefined;
|
|
169
|
+
}
|
|
170
|
+
/** All warnings attached to this Organization. */
|
|
171
|
+
export type OrganizationWarningsList = Array<OrganizationWarning>;
|
|
172
|
+
export type OrganizationPaymentMode = "unknown_payment_mode" | "card" | "sepa";
|
|
173
|
+
export interface OrganizationDediboxAccount {
|
|
174
|
+
id?: number | undefined;
|
|
175
|
+
/** (RFC 3339 format) */
|
|
176
|
+
linked_at?: string | null | undefined;
|
|
177
|
+
/** (RFC 3339 format) */
|
|
178
|
+
migrated_at?: string | null | undefined;
|
|
179
|
+
}
|
|
180
|
+
export type OrganizationCorporateIndustry =
|
|
181
|
+
| "unknown_corporate_industry"
|
|
182
|
+
| "consulting_services"
|
|
183
|
+
| "cybersecurity_software"
|
|
184
|
+
| "ecommerce_retail"
|
|
185
|
+
| "education"
|
|
186
|
+
| "energy"
|
|
187
|
+
| "financial_services_insurance"
|
|
188
|
+
| "gaming_entertainment"
|
|
189
|
+
| "hospitality_leisure"
|
|
190
|
+
| "lifescience_healthcare_pharmaceuticals"
|
|
191
|
+
| "manufacturing"
|
|
192
|
+
| "media_press_tv"
|
|
193
|
+
| "public_sector"
|
|
194
|
+
| "telecommunications"
|
|
195
|
+
| "technology"
|
|
196
|
+
| "other";
|
|
197
|
+
export type OrganizationUseCase =
|
|
198
|
+
| "unknown_use_case"
|
|
199
|
+
| "host_private_or_hybrid_cloud"
|
|
200
|
+
| "build_and_host_saas_application"
|
|
201
|
+
| "host_web_apps_and_websites"
|
|
202
|
+
| "manage_infrastructure"
|
|
203
|
+
| "store_data_and_automate_processes"
|
|
204
|
+
| "train_ml_models_and_run_ai_inference"
|
|
205
|
+
| "dont_know_yet"
|
|
206
|
+
| "other_use_case";
|
|
207
|
+
/** Use cases of the Organization. */
|
|
208
|
+
export type OrganizationUseCasesList = Array<OrganizationUseCase>;
|
|
209
|
+
export type OrganizationBadge = "unknown_badge" | "badge_hds";
|
|
210
|
+
/** All badges attached to this Organization. */
|
|
211
|
+
export type OrganizationBadgesList = Array<OrganizationBadge>;
|
|
212
|
+
export type OrganizationResellerCustomerConfig =
|
|
213
|
+
| "unknown_reseller_customer_config"
|
|
214
|
+
| "standard"
|
|
215
|
+
| "billing"
|
|
216
|
+
| "billing_support";
|
|
217
|
+
export type OrganizationOnboardingStep =
|
|
218
|
+
| "unknown_onboarding_step"
|
|
219
|
+
| "account_details"
|
|
220
|
+
| "phone_details"
|
|
221
|
+
| "address_details"
|
|
222
|
+
| "billing_details"
|
|
223
|
+
| "default_project_details"
|
|
224
|
+
| "default_project_qualification"
|
|
225
|
+
| "completed";
|
|
226
|
+
export type OrganizationOrigin =
|
|
227
|
+
| "unknown_origin"
|
|
228
|
+
| "direct"
|
|
229
|
+
| "invitation"
|
|
230
|
+
| "origin_internal"
|
|
231
|
+
| "reseller"
|
|
232
|
+
| "dedibox"
|
|
233
|
+
| "dedibox_one_account"
|
|
234
|
+
| "web_cloud"
|
|
235
|
+
| "account"
|
|
236
|
+
| "book_my_name_one_account"
|
|
237
|
+
| "book_my_name";
|
|
238
|
+
export interface Organization {
|
|
239
|
+
/** ID of the Organization. (UUID format) */
|
|
240
|
+
id?: string | undefined;
|
|
241
|
+
/** Name of the Organization. */
|
|
242
|
+
name?: string | undefined;
|
|
243
|
+
/** Creation date of the Organization. (RFC 3339 format) */
|
|
244
|
+
created_at?: string | null | undefined;
|
|
245
|
+
/** Last modification date of the Organization. (RFC 3339 format) */
|
|
246
|
+
updated_at?: string | null | undefined;
|
|
247
|
+
/** Postal address of the Organization. */
|
|
248
|
+
address?: OrganizationAddress | undefined;
|
|
249
|
+
/** VAT number for tax exemption. */
|
|
250
|
+
vat_number?: string | null | undefined;
|
|
251
|
+
/** Type of this Organization (personal or professional). */
|
|
252
|
+
type?: OrganizationType | undefined;
|
|
253
|
+
/** Subtype of this Organization. */
|
|
254
|
+
sub_type?: OrganizationSubType | undefined;
|
|
255
|
+
/** Currency defined in the signed Terms of Service. */
|
|
256
|
+
currency?: OrganizationCurrency | undefined;
|
|
257
|
+
/** All warnings attached to this Organization. */
|
|
258
|
+
warnings?: OrganizationWarningsList | undefined;
|
|
259
|
+
/** Deprecated, use payment API instead. */
|
|
260
|
+
payment_mode?: OrganizationPaymentMode | undefined;
|
|
261
|
+
/** 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. */
|
|
262
|
+
billing_email?: string | undefined;
|
|
263
|
+
/** Set to true if MFA is required for the Organization. */
|
|
264
|
+
mfa_enforced?: boolean | undefined;
|
|
265
|
+
/** Contains ID and link creation date if a dedibox account is linked. */
|
|
266
|
+
dedibox_account?: OrganizationDediboxAccount | undefined;
|
|
267
|
+
/** Deprecated. Set to true if the Organization is identified as a startup. */
|
|
268
|
+
is_startup?: boolean | undefined;
|
|
269
|
+
/** Corporate industry of the Organization. */
|
|
270
|
+
corporate_industry?: OrganizationCorporateIndustry | undefined;
|
|
271
|
+
/** DUNS number. */
|
|
272
|
+
duns_number?: string | null | undefined;
|
|
273
|
+
/** Use cases of the Organization. */
|
|
274
|
+
use_cases?: OrganizationUseCasesList | undefined;
|
|
275
|
+
/** Link to the Organization's picture. */
|
|
276
|
+
picture_link?: string | null | undefined;
|
|
277
|
+
/** Reseller customer profile. */
|
|
278
|
+
reseller_customer_profile?: string | null | undefined;
|
|
279
|
+
/** All badges attached to this Organization. */
|
|
280
|
+
badges?: OrganizationBadgesList | undefined;
|
|
281
|
+
/** Reseller customer config. */
|
|
282
|
+
reseller_customer_config?: OrganizationResellerCustomerConfig | undefined;
|
|
283
|
+
/** Organization onboarding process step. */
|
|
284
|
+
onboarding_step?: OrganizationOnboardingStep | undefined;
|
|
285
|
+
/** Organization origin. */
|
|
286
|
+
origin?: OrganizationOrigin | undefined;
|
|
287
|
+
/** Tax code for if required for your country. */
|
|
288
|
+
tax_code?: string | null | undefined;
|
|
289
|
+
/** Certified email address if required for your country. */
|
|
290
|
+
certified_email_address?: string | null | undefined;
|
|
291
|
+
/** Recipient Code if required for your country (e.g SDI, PPF). */
|
|
292
|
+
recipient_code?: string | null | undefined;
|
|
293
|
+
/** Legal name of the organization. */
|
|
294
|
+
legal_name?: string | null | undefined;
|
|
295
|
+
/** The primary identification number for the legal entity. */
|
|
296
|
+
company_registration_number?: string | null | undefined;
|
|
297
|
+
/** The identification number for a specific branch, operating unit, or physical location of the company. */
|
|
298
|
+
establishment_registration_number?: string | null | undefined;
|
|
299
|
+
/** The SRN of the organization. */
|
|
300
|
+
srn?: string | undefined;
|
|
301
|
+
}
|
|
302
|
+
export type ListSupportPlansRequestOrderBy =
|
|
303
|
+
| "started_at_asc"
|
|
304
|
+
| "started_at_desc"
|
|
305
|
+
| "stopped_at_asc"
|
|
306
|
+
| "stopped_at_desc";
|
|
307
|
+
export interface ListSupportPlansRequest {
|
|
308
|
+
/** Filter by Organization ID. (UUID format) */
|
|
309
|
+
organization_id: string;
|
|
310
|
+
/** Sort order of support plans. */
|
|
311
|
+
order_by?: ListSupportPlansRequestOrderBy | (string & {}) | undefined;
|
|
312
|
+
/** Requested page number. Value must be greater or equals to 1. */
|
|
313
|
+
page?: number | undefined;
|
|
314
|
+
/** Number of items per page. Value must be between 1 and 1000. */
|
|
315
|
+
page_size?: number | undefined;
|
|
316
|
+
}
|
|
317
|
+
/** List of support plans. */
|
|
318
|
+
export type ListSupportPlansResponseSupportPlansList = Array<SupportPlan>;
|
|
319
|
+
export interface ListSupportPlansResponse {
|
|
320
|
+
/** List of support plans. */
|
|
321
|
+
support_plans: ListSupportPlansResponseSupportPlansList;
|
|
322
|
+
/** Total count of support plans. */
|
|
323
|
+
total_count?: number | undefined;
|
|
324
|
+
}
|
|
325
|
+
export interface ReopenOrganizationRequest {
|
|
326
|
+
/** ID of the Organization. */
|
|
327
|
+
organization_id: string;
|
|
328
|
+
}
|
|
329
|
+
export interface ReopenOrganizationResponse {}
|
|
330
|
+
export type SetOrganizationUseCasesRequestUseCasesList = Array<OrganizationUseCase | (string & {})>;
|
|
331
|
+
export interface SetOrganizationUseCasesRequest {
|
|
332
|
+
organization_id?: string | undefined;
|
|
333
|
+
use_cases?: SetOrganizationUseCasesRequestUseCasesList | undefined;
|
|
334
|
+
}
|
|
335
|
+
export type SetOrganizationUseCasesResponseUseCasesList = Array<OrganizationUseCase>;
|
|
336
|
+
export interface SetOrganizationUseCasesResponse {
|
|
337
|
+
use_cases?: SetOrganizationUseCasesResponseUseCasesList | undefined;
|
|
338
|
+
}
|
|
339
|
+
export interface ScalewayStdFile {
|
|
340
|
+
name?: string | undefined;
|
|
341
|
+
content_type?: string | undefined;
|
|
342
|
+
content?: string | undefined;
|
|
343
|
+
}
|
|
344
|
+
export interface SetPictureRequest {
|
|
345
|
+
/** ID of the Organization. */
|
|
346
|
+
organization_id: string;
|
|
347
|
+
/** Picture to upload. */
|
|
348
|
+
file?: ScalewayStdFile | undefined;
|
|
349
|
+
}
|
|
350
|
+
export interface SetPictureResponse {}
|
|
351
|
+
export interface SkipOnboardingBillingDetailsRequest {
|
|
352
|
+
/** ID of the Organization. */
|
|
353
|
+
organization_id: string;
|
|
354
|
+
}
|
|
355
|
+
export interface UpdateOrganizationBillingDetailsRequest {
|
|
356
|
+
/** ID of the Organization. */
|
|
357
|
+
organization_id: string;
|
|
358
|
+
/** VAT number for tax exemption. */
|
|
359
|
+
vat_number?: string | null | undefined;
|
|
360
|
+
/** Address object. */
|
|
361
|
+
address?: OrganizationAddress | undefined;
|
|
362
|
+
/** DUNS number. */
|
|
363
|
+
duns_number?: string | null | undefined;
|
|
364
|
+
/** Tax code for if required for your country. */
|
|
365
|
+
tax_code?: string | null | undefined;
|
|
366
|
+
/** Certified email address if required for your country. */
|
|
367
|
+
certified_email_address?: string | null | undefined;
|
|
368
|
+
/** Legal name of the organization. */
|
|
369
|
+
legal_name?: string | null | undefined;
|
|
370
|
+
/** Recipient Code if required for your country (e.g SDI, PPF). */
|
|
371
|
+
recipient_code?: string | null | undefined;
|
|
372
|
+
/** The primary identification number for the legal entity. */
|
|
373
|
+
company_registration_number?: string | null | undefined;
|
|
374
|
+
/** The identification number for a specific branch, operating unit, or physical location of the company. */
|
|
375
|
+
establishment_registration_number?: string | null | undefined;
|
|
376
|
+
}
|
|
377
|
+
export interface UpdateOrganizationDetailsRequest {
|
|
378
|
+
/** ID of the Organization. */
|
|
379
|
+
organization_id: string;
|
|
380
|
+
/** Name of the Organization. */
|
|
381
|
+
name?: string | null | undefined;
|
|
382
|
+
/** Organization type. */
|
|
383
|
+
type?: OrganizationType | (string & {}) | undefined;
|
|
384
|
+
/** Set to true to ensure MFA is required for the Organization. */
|
|
385
|
+
mfa_enforced?: boolean | null | undefined;
|
|
386
|
+
}
|
|
387
|
+
export type ChangeSupportPlanError = ScalewayOpError;
|
|
388
|
+
/** Change the support plan for the Organization Change the support plan by supplying the level of support wanted and the Organization ID. */
|
|
389
|
+
export const changeSupportPlan: API.OperationMethod<
|
|
390
|
+
ChangeSupportPlanRequest,
|
|
391
|
+
SupportPlan,
|
|
392
|
+
ChangeSupportPlanError,
|
|
393
|
+
ScalewayOpContext
|
|
394
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
395
|
+
input: __S(0, __c0, 0) as any as S.Schema<ChangeSupportPlanRequest>,
|
|
396
|
+
output: __S(8, __c1, 0) as any as S.Schema<SupportPlan>,
|
|
397
|
+
errors: [],
|
|
398
|
+
serviceErrors: ScalewayServiceErrors,
|
|
399
|
+
protocol: ScalewayProtocol,
|
|
400
|
+
retry: Retry.Retry,
|
|
401
|
+
telemetry: TELEMETRY,
|
|
402
|
+
span: "ChangeSupportPlan",
|
|
403
|
+
}));
|
|
404
|
+
|
|
405
|
+
export type CloseOrganizationError = ScalewayOpError;
|
|
406
|
+
/** Close Organization Close the Organization associated with the given ID. */
|
|
407
|
+
export const closeOrganization: API.OperationMethod<
|
|
408
|
+
CloseOrganizationRequest,
|
|
409
|
+
CloseOrganizationResponse,
|
|
410
|
+
CloseOrganizationError,
|
|
411
|
+
ScalewayOpContext
|
|
412
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
413
|
+
input: __S(16, __c2, 0) as any as S.Schema<CloseOrganizationRequest>,
|
|
414
|
+
output: __S(32, __c4, 0) as any as S.Schema<CloseOrganizationResponse>,
|
|
415
|
+
errors: [],
|
|
416
|
+
serviceErrors: ScalewayServiceErrors,
|
|
417
|
+
protocol: ScalewayProtocol,
|
|
418
|
+
retry: Retry.Retry,
|
|
419
|
+
telemetry: TELEMETRY,
|
|
420
|
+
span: "CloseOrganization",
|
|
421
|
+
}));
|
|
422
|
+
|
|
423
|
+
export type GetActiveSupportPlanError = ScalewayOpError;
|
|
424
|
+
/** Get the active support plan for the Organization Get the support plan for the Organization along with the Technical Account Manager contact information. */
|
|
425
|
+
export const getActiveSupportPlan: API.OperationMethod<
|
|
426
|
+
GetActiveSupportPlanRequest,
|
|
427
|
+
ActiveSupportPlan,
|
|
428
|
+
GetActiveSupportPlanError,
|
|
429
|
+
ScalewayOpContext
|
|
430
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
431
|
+
input: __S(48, __c6, 0) as any as S.Schema<GetActiveSupportPlanRequest>,
|
|
432
|
+
output: __S(50, __c6, 2) as any as S.Schema<ActiveSupportPlan>,
|
|
433
|
+
errors: [],
|
|
434
|
+
serviceErrors: ScalewayServiceErrors,
|
|
435
|
+
protocol: ScalewayProtocol,
|
|
436
|
+
retry: Retry.Retry,
|
|
437
|
+
telemetry: TELEMETRY,
|
|
438
|
+
span: "GetActiveSupportPlan",
|
|
439
|
+
}));
|
|
440
|
+
|
|
441
|
+
export type GetOrganizationError = ScalewayOpError;
|
|
442
|
+
/** Get the Organization with the given ID */
|
|
443
|
+
export const getOrganization: API.OperationMethod<
|
|
444
|
+
GetOrganizationRequest,
|
|
445
|
+
Organization,
|
|
446
|
+
GetOrganizationError,
|
|
447
|
+
ScalewayOpContext
|
|
448
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
449
|
+
input: __S(56, __c7, 0) as any as S.Schema<GetOrganizationRequest>,
|
|
450
|
+
output: __S(68, __c8, 4) as any as S.Schema<Organization>,
|
|
451
|
+
errors: [],
|
|
452
|
+
serviceErrors: ScalewayServiceErrors,
|
|
453
|
+
protocol: ScalewayProtocol,
|
|
454
|
+
retry: Retry.Retry,
|
|
455
|
+
telemetry: TELEMETRY,
|
|
456
|
+
span: "GetOrganization",
|
|
457
|
+
}));
|
|
458
|
+
|
|
459
|
+
export type ListSupportPlansError = ScalewayOpError;
|
|
460
|
+
/** List the support plans for the Organization */
|
|
461
|
+
export const listSupportPlans: API.PaginatedOperationMethod<
|
|
462
|
+
ListSupportPlansRequest,
|
|
463
|
+
ListSupportPlansResponse,
|
|
464
|
+
ListSupportPlansError,
|
|
465
|
+
ScalewayOpContext,
|
|
466
|
+
SupportPlan
|
|
467
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
468
|
+
() => ({
|
|
469
|
+
input: __S(72, __c9, 0) as any as S.Schema<ListSupportPlansRequest>,
|
|
470
|
+
output: __S(74, __c9, 2) as any as S.Schema<ListSupportPlansResponse>,
|
|
471
|
+
errors: [],
|
|
472
|
+
serviceErrors: ScalewayServiceErrors,
|
|
473
|
+
protocol: ScalewayProtocol,
|
|
474
|
+
retry: Retry.Retry,
|
|
475
|
+
telemetry: TELEMETRY,
|
|
476
|
+
span: "ListSupportPlans",
|
|
477
|
+
pagination: {
|
|
478
|
+
mode: "page",
|
|
479
|
+
inputToken: "page",
|
|
480
|
+
outputToken: "total_count",
|
|
481
|
+
items: "support_plans",
|
|
482
|
+
pageSize: "page_size",
|
|
483
|
+
} as const,
|
|
484
|
+
}),
|
|
485
|
+
paginateByTotalCount,
|
|
486
|
+
) as any;
|
|
487
|
+
|
|
488
|
+
export type ReopenOrganizationError = ScalewayOpError;
|
|
489
|
+
/** Reopen Organization Reopen a previously closed Organization associated with the given ID. */
|
|
490
|
+
export const reopenOrganization: API.OperationMethod<
|
|
491
|
+
ReopenOrganizationRequest,
|
|
492
|
+
ReopenOrganizationResponse,
|
|
493
|
+
ReopenOrganizationError,
|
|
494
|
+
ScalewayOpContext
|
|
495
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
496
|
+
input: __S(80, __c10, 0) as any as S.Schema<ReopenOrganizationRequest>,
|
|
497
|
+
output: __S(32, __c4, 0) as any as S.Schema<ReopenOrganizationResponse>,
|
|
498
|
+
errors: [],
|
|
499
|
+
serviceErrors: ScalewayServiceErrors,
|
|
500
|
+
protocol: ScalewayProtocol,
|
|
501
|
+
retry: Retry.Retry,
|
|
502
|
+
telemetry: TELEMETRY,
|
|
503
|
+
span: "ReopenOrganization",
|
|
504
|
+
}));
|
|
505
|
+
|
|
506
|
+
export type SetOrganizationUseCasesError = ScalewayOpError;
|
|
507
|
+
export const setOrganizationUseCases: API.OperationMethod<
|
|
508
|
+
SetOrganizationUseCasesRequest,
|
|
509
|
+
SetOrganizationUseCasesResponse,
|
|
510
|
+
SetOrganizationUseCasesError,
|
|
511
|
+
ScalewayOpContext
|
|
512
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
513
|
+
input: __S(88, __c11, 0) as any as S.Schema<SetOrganizationUseCasesRequest>,
|
|
514
|
+
output: __S(89, __c11, 1) as any as S.Schema<SetOrganizationUseCasesResponse>,
|
|
515
|
+
errors: [],
|
|
516
|
+
serviceErrors: ScalewayServiceErrors,
|
|
517
|
+
protocol: ScalewayProtocol,
|
|
518
|
+
retry: Retry.Retry,
|
|
519
|
+
telemetry: TELEMETRY,
|
|
520
|
+
span: "SetOrganizationUseCases",
|
|
521
|
+
}));
|
|
522
|
+
|
|
523
|
+
export type SetPictureError = ScalewayOpError;
|
|
524
|
+
/** Set picture Set a picture for the Organization. */
|
|
525
|
+
export const setPicture: API.OperationMethod<
|
|
526
|
+
SetPictureRequest,
|
|
527
|
+
SetPictureResponse,
|
|
528
|
+
SetPictureError,
|
|
529
|
+
ScalewayOpContext
|
|
530
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
531
|
+
input: __S(97, __c12, 1) as any as S.Schema<SetPictureRequest>,
|
|
532
|
+
output: __S(32, __c4, 0) as any as S.Schema<SetPictureResponse>,
|
|
533
|
+
errors: [],
|
|
534
|
+
serviceErrors: ScalewayServiceErrors,
|
|
535
|
+
protocol: ScalewayProtocol,
|
|
536
|
+
retry: Retry.Retry,
|
|
537
|
+
telemetry: TELEMETRY,
|
|
538
|
+
span: "SetPicture",
|
|
539
|
+
}));
|
|
540
|
+
|
|
541
|
+
export type SkipOnboardingBillingDetailsError = ScalewayOpError;
|
|
542
|
+
/** Skip billing details during onboarding Skip the billing details step during the onboarding process. The onboarding step will be advanced to the next step. */
|
|
543
|
+
export const skipOnboardingBillingDetails: API.OperationMethod<
|
|
544
|
+
SkipOnboardingBillingDetailsRequest,
|
|
545
|
+
Organization,
|
|
546
|
+
SkipOnboardingBillingDetailsError,
|
|
547
|
+
ScalewayOpContext
|
|
548
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
549
|
+
input: __S(104, __c13, 0) as any as S.Schema<SkipOnboardingBillingDetailsRequest>,
|
|
550
|
+
output: __S(68, __c8, 4) as any as S.Schema<Organization>,
|
|
551
|
+
errors: [],
|
|
552
|
+
serviceErrors: ScalewayServiceErrors,
|
|
553
|
+
protocol: ScalewayProtocol,
|
|
554
|
+
retry: Retry.Retry,
|
|
555
|
+
telemetry: TELEMETRY,
|
|
556
|
+
span: "SkipOnboardingBillingDetails",
|
|
557
|
+
}));
|
|
558
|
+
|
|
559
|
+
export type UpdateOrganizationBillingDetailsError = ScalewayOpError;
|
|
560
|
+
/** Update the billing details of the Organization with the given ID */
|
|
561
|
+
export const updateOrganizationBillingDetails: API.OperationMethod<
|
|
562
|
+
UpdateOrganizationBillingDetailsRequest,
|
|
563
|
+
Organization,
|
|
564
|
+
UpdateOrganizationBillingDetailsError,
|
|
565
|
+
ScalewayOpContext
|
|
566
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
567
|
+
input: __S(112, __c14, 0) as any as S.Schema<UpdateOrganizationBillingDetailsRequest>,
|
|
568
|
+
output: __S(68, __c8, 4) as any as S.Schema<Organization>,
|
|
569
|
+
errors: [],
|
|
570
|
+
serviceErrors: ScalewayServiceErrors,
|
|
571
|
+
protocol: ScalewayProtocol,
|
|
572
|
+
retry: Retry.Retry,
|
|
573
|
+
telemetry: TELEMETRY,
|
|
574
|
+
span: "UpdateOrganizationBillingDetails",
|
|
575
|
+
}));
|
|
576
|
+
|
|
577
|
+
export type UpdateOrganizationDetailsError = ScalewayOpError;
|
|
578
|
+
/** Update the details of the Organization details with the given ID */
|
|
579
|
+
export const updateOrganizationDetails: API.OperationMethod<
|
|
580
|
+
UpdateOrganizationDetailsRequest,
|
|
581
|
+
Organization,
|
|
582
|
+
UpdateOrganizationDetailsError,
|
|
583
|
+
ScalewayOpContext
|
|
584
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
585
|
+
input: __S(40, __c5, 0) as any as S.Schema<UpdateOrganizationDetailsRequest>,
|
|
586
|
+
output: __S(68, __c8, 4) as any as S.Schema<Organization>,
|
|
587
|
+
errors: [],
|
|
588
|
+
serviceErrors: ScalewayServiceErrors,
|
|
589
|
+
protocol: ScalewayProtocol,
|
|
590
|
+
retry: Retry.Retry,
|
|
591
|
+
telemetry: TELEMETRY,
|
|
592
|
+
span: "UpdateOrganizationDetails",
|
|
593
|
+
}));
|
|
594
|
+
|
|
595
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
596
|
+
function __c0(j: number): any {
|
|
597
|
+
switch (j) {
|
|
598
|
+
case 0:
|
|
599
|
+
return S.suspend(() =>
|
|
600
|
+
S.Struct({
|
|
601
|
+
organization_id: S.String.pipe(T.Label()),
|
|
602
|
+
level: S.optional(S.String),
|
|
603
|
+
}).pipe(
|
|
604
|
+
T.Http({
|
|
605
|
+
method: "POST",
|
|
606
|
+
uri: "/account/v3/organizations/{organization_id}/support-plans",
|
|
607
|
+
code: 200,
|
|
608
|
+
baseUrl: "https://api.scaleway.com",
|
|
609
|
+
}),
|
|
610
|
+
),
|
|
611
|
+
).annotate({ identifier: "ChangeSupportPlanRequest" });
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
function __c1(j: number): any {
|
|
615
|
+
switch (j) {
|
|
616
|
+
case 0:
|
|
617
|
+
return S.suspend(() =>
|
|
618
|
+
S.Struct({
|
|
619
|
+
id: S.optional(S.String),
|
|
620
|
+
level: S.optional(S.String),
|
|
621
|
+
started_at: S.optional(S.NullOr(S.String)),
|
|
622
|
+
stopped_at: S.optional(S.NullOr(S.String)),
|
|
623
|
+
organization_id: S.optional(S.String),
|
|
624
|
+
srn: S.optional(S.String),
|
|
625
|
+
}),
|
|
626
|
+
).annotate({ identifier: "SupportPlan" });
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
function __c2(j: number): any {
|
|
630
|
+
switch (j) {
|
|
631
|
+
case 0:
|
|
632
|
+
return S.suspend(() =>
|
|
633
|
+
S.Struct({
|
|
634
|
+
organization_id: S.String.pipe(T.Label()),
|
|
635
|
+
reasons: S.optional(__S(24, __c3, 0)),
|
|
636
|
+
details: S.optional(S.NullOr(S.String)),
|
|
637
|
+
}).pipe(
|
|
638
|
+
T.Http({
|
|
639
|
+
method: "POST",
|
|
640
|
+
uri: "/account/v3/organizations/{organization_id}/close",
|
|
641
|
+
code: 200,
|
|
642
|
+
baseUrl: "https://api.scaleway.com",
|
|
643
|
+
}),
|
|
644
|
+
),
|
|
645
|
+
).annotate({ identifier: "CloseOrganizationRequest" });
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
function __c3(j: number): any {
|
|
649
|
+
switch (j) {
|
|
650
|
+
case 0:
|
|
651
|
+
return S.Array(S.String);
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
function __c4(j: number): any {
|
|
655
|
+
switch (j) {
|
|
656
|
+
case 0:
|
|
657
|
+
return S.suspend(() => S.Struct({})).annotate({ identifier: "CloseOrganizationResponse" });
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
function __c5(j: number): any {
|
|
661
|
+
switch (j) {
|
|
662
|
+
case 0:
|
|
663
|
+
return S.suspend(() =>
|
|
664
|
+
S.Struct({
|
|
665
|
+
organization_id: S.String.pipe(T.Label()),
|
|
666
|
+
name: S.optional(S.NullOr(S.String)),
|
|
667
|
+
type: S.optional(S.String),
|
|
668
|
+
mfa_enforced: S.optional(S.NullOr(S.Boolean)),
|
|
669
|
+
}).pipe(
|
|
670
|
+
T.Http({
|
|
671
|
+
method: "POST",
|
|
672
|
+
uri: "/account/v3/organizations/{organization_id}/update-details",
|
|
673
|
+
code: 200,
|
|
674
|
+
baseUrl: "https://api.scaleway.com",
|
|
675
|
+
}),
|
|
676
|
+
),
|
|
677
|
+
).annotate({ identifier: "UpdateOrganizationDetailsRequest" });
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
function __c6(j: number): any {
|
|
681
|
+
switch (j) {
|
|
682
|
+
case 0:
|
|
683
|
+
return S.suspend(() =>
|
|
684
|
+
S.Struct({
|
|
685
|
+
organization_id: S.String.pipe(T.Label()),
|
|
686
|
+
}).pipe(
|
|
687
|
+
T.Http({
|
|
688
|
+
method: "GET",
|
|
689
|
+
uri: "/account/v3/organizations/{organization_id}/active-support-plan",
|
|
690
|
+
code: 200,
|
|
691
|
+
baseUrl: "https://api.scaleway.com",
|
|
692
|
+
}),
|
|
693
|
+
),
|
|
694
|
+
).annotate({ identifier: "GetActiveSupportPlanRequest" });
|
|
695
|
+
case 1:
|
|
696
|
+
return S.suspend(() =>
|
|
697
|
+
S.Struct({
|
|
698
|
+
id: S.optional(S.String),
|
|
699
|
+
last_name: S.optional(S.String),
|
|
700
|
+
first_name: S.optional(S.String),
|
|
701
|
+
email: S.optional(S.String),
|
|
702
|
+
phone_number: S.optional(S.String),
|
|
703
|
+
srn: S.optional(S.String),
|
|
704
|
+
}),
|
|
705
|
+
).annotate({ identifier: "TechnicalAccountManager" });
|
|
706
|
+
case 2:
|
|
707
|
+
return S.suspend(() =>
|
|
708
|
+
S.Struct({
|
|
709
|
+
support_plan: S.optional(__S(8, __c1, 0)),
|
|
710
|
+
support_id: S.optional(S.String),
|
|
711
|
+
support_pin: S.optional(S.String),
|
|
712
|
+
technical_account_manager: S.optional(__S(49, __c6, 1)),
|
|
713
|
+
}),
|
|
714
|
+
).annotate({ identifier: "ActiveSupportPlan" });
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
function __c7(j: number): any {
|
|
718
|
+
switch (j) {
|
|
719
|
+
case 0:
|
|
720
|
+
return S.suspend(() =>
|
|
721
|
+
S.Struct({
|
|
722
|
+
organization_id: S.String.pipe(T.Label()),
|
|
723
|
+
}).pipe(
|
|
724
|
+
T.Http({
|
|
725
|
+
method: "GET",
|
|
726
|
+
uri: "/account/v3/organizations/{organization_id}",
|
|
727
|
+
code: 200,
|
|
728
|
+
baseUrl: "https://api.scaleway.com",
|
|
729
|
+
}),
|
|
730
|
+
),
|
|
731
|
+
).annotate({ identifier: "GetOrganizationRequest" });
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
function __c8(j: number): any {
|
|
735
|
+
switch (j) {
|
|
736
|
+
case 0:
|
|
737
|
+
return S.suspend(() =>
|
|
738
|
+
S.Struct({
|
|
739
|
+
line1: S.optional(S.String),
|
|
740
|
+
line2: S.optional(S.String),
|
|
741
|
+
city_name: S.optional(S.String),
|
|
742
|
+
zip_code: S.optional(S.String),
|
|
743
|
+
subdivision_code: S.optional(S.String),
|
|
744
|
+
country_code: S.optional(S.String),
|
|
745
|
+
}),
|
|
746
|
+
).annotate({ identifier: "OrganizationAddress" });
|
|
747
|
+
case 1:
|
|
748
|
+
return S.suspend(() =>
|
|
749
|
+
S.Struct({
|
|
750
|
+
id: S.optional(S.String),
|
|
751
|
+
reason: S.optional(S.String),
|
|
752
|
+
locking: S.optional(S.Boolean),
|
|
753
|
+
closed: S.optional(S.Boolean),
|
|
754
|
+
opened_at: S.optional(S.NullOr(S.String)),
|
|
755
|
+
}),
|
|
756
|
+
).annotate({ identifier: "OrganizationWarning" });
|
|
757
|
+
case 2:
|
|
758
|
+
return S.Array(__S(65, __c8, 1));
|
|
759
|
+
case 3:
|
|
760
|
+
return S.suspend(() =>
|
|
761
|
+
S.Struct({
|
|
762
|
+
id: S.optional(S.Number),
|
|
763
|
+
linked_at: S.optional(S.NullOr(S.String)),
|
|
764
|
+
migrated_at: S.optional(S.NullOr(S.String)),
|
|
765
|
+
}),
|
|
766
|
+
).annotate({ identifier: "OrganizationDediboxAccount" });
|
|
767
|
+
case 4:
|
|
768
|
+
return S.suspend(() =>
|
|
769
|
+
S.Struct({
|
|
770
|
+
id: S.optional(S.String),
|
|
771
|
+
name: S.optional(S.String),
|
|
772
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
773
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
774
|
+
address: S.optional(__S(64, __c8, 0)),
|
|
775
|
+
vat_number: S.optional(S.NullOr(S.String)),
|
|
776
|
+
type: S.optional(S.String),
|
|
777
|
+
sub_type: S.optional(S.String),
|
|
778
|
+
currency: S.optional(S.String),
|
|
779
|
+
warnings: S.optional(__S(66, __c8, 2)),
|
|
780
|
+
payment_mode: S.optional(S.String),
|
|
781
|
+
billing_email: S.optional(S.String),
|
|
782
|
+
mfa_enforced: S.optional(S.Boolean),
|
|
783
|
+
dedibox_account: S.optional(__S(67, __c8, 3)),
|
|
784
|
+
is_startup: S.optional(S.Boolean),
|
|
785
|
+
corporate_industry: S.optional(S.String),
|
|
786
|
+
duns_number: S.optional(S.NullOr(S.String)),
|
|
787
|
+
use_cases: S.optional(__S(24, __c3, 0)),
|
|
788
|
+
picture_link: S.optional(S.NullOr(S.String)),
|
|
789
|
+
reseller_customer_profile: S.optional(S.NullOr(S.String)),
|
|
790
|
+
badges: S.optional(__S(24, __c3, 0)),
|
|
791
|
+
reseller_customer_config: S.optional(S.String),
|
|
792
|
+
onboarding_step: S.optional(S.String),
|
|
793
|
+
origin: S.optional(S.String),
|
|
794
|
+
tax_code: S.optional(S.NullOr(S.String)),
|
|
795
|
+
certified_email_address: S.optional(S.NullOr(S.String)),
|
|
796
|
+
recipient_code: S.optional(S.NullOr(S.String)),
|
|
797
|
+
legal_name: S.optional(S.NullOr(S.String)),
|
|
798
|
+
company_registration_number: S.optional(S.NullOr(S.String)),
|
|
799
|
+
establishment_registration_number: S.optional(S.NullOr(S.String)),
|
|
800
|
+
srn: S.optional(S.String),
|
|
801
|
+
}),
|
|
802
|
+
).annotate({ identifier: "Organization" });
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
function __c9(j: number): any {
|
|
806
|
+
switch (j) {
|
|
807
|
+
case 0:
|
|
808
|
+
return S.suspend(() =>
|
|
809
|
+
S.Struct({
|
|
810
|
+
organization_id: S.String.pipe(T.Label()),
|
|
811
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
812
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
813
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
814
|
+
}).pipe(
|
|
815
|
+
T.Http({
|
|
816
|
+
method: "GET",
|
|
817
|
+
uri: "/account/v3/organizations/{organization_id}/support-plans",
|
|
818
|
+
code: 200,
|
|
819
|
+
baseUrl: "https://api.scaleway.com",
|
|
820
|
+
}),
|
|
821
|
+
),
|
|
822
|
+
).annotate({ identifier: "ListSupportPlansRequest" });
|
|
823
|
+
case 1:
|
|
824
|
+
return S.Array(__S(8, __c1, 0));
|
|
825
|
+
case 2:
|
|
826
|
+
return S.suspend(() =>
|
|
827
|
+
S.Struct({
|
|
828
|
+
support_plans: __S(73, __c9, 1),
|
|
829
|
+
total_count: S.optional(S.Number),
|
|
830
|
+
}),
|
|
831
|
+
).annotate({ identifier: "ListSupportPlansResponse" });
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
function __c10(j: number): any {
|
|
835
|
+
switch (j) {
|
|
836
|
+
case 0:
|
|
837
|
+
return S.suspend(() =>
|
|
838
|
+
S.Struct({
|
|
839
|
+
organization_id: S.String.pipe(T.Label()),
|
|
840
|
+
}).pipe(
|
|
841
|
+
T.Http({
|
|
842
|
+
method: "POST",
|
|
843
|
+
uri: "/account/v3/organizations/{organization_id}/reopen",
|
|
844
|
+
code: 200,
|
|
845
|
+
baseUrl: "https://api.scaleway.com",
|
|
846
|
+
}),
|
|
847
|
+
),
|
|
848
|
+
).annotate({ identifier: "ReopenOrganizationRequest" });
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
function __c11(j: number): any {
|
|
852
|
+
switch (j) {
|
|
853
|
+
case 0:
|
|
854
|
+
return S.suspend(() =>
|
|
855
|
+
S.Struct({
|
|
856
|
+
organization_id: S.optional(S.String),
|
|
857
|
+
use_cases: S.optional(__S(24, __c3, 0)),
|
|
858
|
+
}).pipe(
|
|
859
|
+
T.Http({
|
|
860
|
+
method: "PATCH",
|
|
861
|
+
uri: "/account/v3/organization-use-cases",
|
|
862
|
+
code: 200,
|
|
863
|
+
baseUrl: "https://api.scaleway.com",
|
|
864
|
+
}),
|
|
865
|
+
),
|
|
866
|
+
).annotate({ identifier: "SetOrganizationUseCasesRequest" });
|
|
867
|
+
case 1:
|
|
868
|
+
return S.suspend(() =>
|
|
869
|
+
S.Struct({
|
|
870
|
+
use_cases: S.optional(__S(24, __c3, 0)),
|
|
871
|
+
}),
|
|
872
|
+
).annotate({ identifier: "SetOrganizationUseCasesResponse" });
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
function __c12(j: number): any {
|
|
876
|
+
switch (j) {
|
|
877
|
+
case 0:
|
|
878
|
+
return S.suspend(() =>
|
|
879
|
+
S.Struct({
|
|
880
|
+
name: S.optional(S.String),
|
|
881
|
+
content_type: S.optional(S.String),
|
|
882
|
+
content: S.optional(S.String),
|
|
883
|
+
}),
|
|
884
|
+
).annotate({ identifier: "ScalewayStdFile" });
|
|
885
|
+
case 1:
|
|
886
|
+
return S.suspend(() =>
|
|
887
|
+
S.Struct({
|
|
888
|
+
organization_id: S.String.pipe(T.Label()),
|
|
889
|
+
file: S.optional(__S(96, __c12, 0)),
|
|
890
|
+
}).pipe(
|
|
891
|
+
T.Http({
|
|
892
|
+
method: "PUT",
|
|
893
|
+
uri: "/account/v3/organizations/{organization_id}/picture",
|
|
894
|
+
code: 200,
|
|
895
|
+
baseUrl: "https://api.scaleway.com",
|
|
896
|
+
}),
|
|
897
|
+
),
|
|
898
|
+
).annotate({ identifier: "SetPictureRequest" });
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
function __c13(j: number): any {
|
|
902
|
+
switch (j) {
|
|
903
|
+
case 0:
|
|
904
|
+
return S.suspend(() =>
|
|
905
|
+
S.Struct({
|
|
906
|
+
organization_id: S.String.pipe(T.Label()),
|
|
907
|
+
}).pipe(
|
|
908
|
+
T.Http({
|
|
909
|
+
method: "POST",
|
|
910
|
+
uri: "/account/v3/organizations/{organization_id}/skip-onboarding-billing-details",
|
|
911
|
+
code: 200,
|
|
912
|
+
baseUrl: "https://api.scaleway.com",
|
|
913
|
+
}),
|
|
914
|
+
),
|
|
915
|
+
).annotate({ identifier: "SkipOnboardingBillingDetailsRequest" });
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
function __c14(j: number): any {
|
|
919
|
+
switch (j) {
|
|
920
|
+
case 0:
|
|
921
|
+
return S.suspend(() =>
|
|
922
|
+
S.Struct({
|
|
923
|
+
organization_id: S.String.pipe(T.Label()),
|
|
924
|
+
vat_number: S.optional(S.NullOr(S.String)),
|
|
925
|
+
address: S.optional(__S(64, __c8, 0)),
|
|
926
|
+
duns_number: S.optional(S.NullOr(S.String)),
|
|
927
|
+
tax_code: S.optional(S.NullOr(S.String)),
|
|
928
|
+
certified_email_address: S.optional(S.NullOr(S.String)),
|
|
929
|
+
legal_name: S.optional(S.NullOr(S.String)),
|
|
930
|
+
recipient_code: S.optional(S.NullOr(S.String)),
|
|
931
|
+
company_registration_number: S.optional(S.NullOr(S.String)),
|
|
932
|
+
establishment_registration_number: S.optional(S.NullOr(S.String)),
|
|
933
|
+
}).pipe(
|
|
934
|
+
T.Http({
|
|
935
|
+
method: "POST",
|
|
936
|
+
uri: "/account/v3/organizations/{organization_id}/update-billing-details",
|
|
937
|
+
code: 200,
|
|
938
|
+
baseUrl: "https://api.scaleway.com",
|
|
939
|
+
}),
|
|
940
|
+
),
|
|
941
|
+
).annotate({ identifier: "UpdateOrganizationBillingDetailsRequest" });
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
945
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
946
|
+
return (__s[i] ??= __L.at(f, j));
|
|
947
|
+
}
|