@distilled.cloud/scaleway 0.0.0 → 1.0.0-rc.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +171 -4
- package/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +44 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +285 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +48 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/pagination.d.ts +10 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +1 -0
- package/lib/protocol.d.ts +48 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +1 -0
- package/lib/retry.d.ts +31 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +1 -0
- package/lib/services/account_contract_v3.d.ts +124 -0
- package/lib/services/account_contract_v3.d.ts.map +1 -0
- package/lib/services/account_contract_v3.js +2 -0
- package/lib/services/account_contract_v3.js.map +1 -0
- package/lib/services/account_iso_code_v3.d.ts +44 -0
- package/lib/services/account_iso_code_v3.d.ts.map +1 -0
- package/lib/services/account_iso_code_v3.js +2 -0
- package/lib/services/account_iso_code_v3.js.map +1 -0
- package/lib/services/account_organization_v3.d.ts +290 -0
- package/lib/services/account_organization_v3.d.ts.map +1 -0
- package/lib/services/account_organization_v3.js +2 -0
- package/lib/services/account_organization_v3.js.map +1 -0
- package/lib/services/account_project_v3.d.ts +173 -0
- package/lib/services/account_project_v3.d.ts.map +1 -0
- package/lib/services/account_project_v3.js +2 -0
- package/lib/services/account_project_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts +479 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.js +35 -0
- package/lib/services/account_unauthenticated_user_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_v3.d.ts +18 -0
- package/lib/services/account_unauthenticated_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_v3.js +2 -0
- package/lib/services/account_unauthenticated_v3.js.map +1 -0
- package/lib/services/account_user_v3.d.ts +522 -0
- package/lib/services/account_user_v3.d.ts.map +1 -0
- package/lib/services/account_user_v3.js +39 -0
- package/lib/services/account_user_v3.js.map +1 -0
- package/lib/services/annotations_v1.d.ts +260 -0
- package/lib/services/annotations_v1.d.ts.map +1 -0
- package/lib/services/annotations_v1.js +2 -0
- package/lib/services/annotations_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v1.d.ts +95 -0
- package/lib/services/baremetal_private_network_v1.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v1.js +2 -0
- package/lib/services/baremetal_private_network_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v3.d.ts +110 -0
- package/lib/services/baremetal_private_network_v3.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v3.js +2 -0
- package/lib/services/baremetal_private_network_v3.js.map +1 -0
- package/lib/services/baremetal_v1.d.ts +1089 -0
- package/lib/services/baremetal_v1.d.ts.map +1 -0
- package/lib/services/baremetal_v1.js +52 -0
- package/lib/services/baremetal_v1.js.map +1 -0
- package/lib/services/billing_electronic_billing_v2.d.ts +86 -0
- package/lib/services/billing_electronic_billing_v2.d.ts.map +1 -0
- package/lib/services/billing_electronic_billing_v2.js +2 -0
- package/lib/services/billing_electronic_billing_v2.js.map +1 -0
- package/lib/services/billing_v2.d.ts +187 -0
- package/lib/services/billing_v2.d.ts.map +1 -0
- package/lib/services/billing_v2.js +2 -0
- package/lib/services/billing_v2.js.map +1 -0
- package/lib/services/block_v1.d.ts +401 -0
- package/lib/services/block_v1.d.ts.map +1 -0
- package/lib/services/block_v1.js +27 -0
- package/lib/services/block_v1.js.map +1 -0
- package/lib/services/cockpit_global_v1.d.ts +75 -0
- package/lib/services/cockpit_global_v1.d.ts.map +1 -0
- package/lib/services/cockpit_global_v1.js +2 -0
- package/lib/services/cockpit_global_v1.js.map +1 -0
- package/lib/services/cockpit_regional_v1.d.ts +739 -0
- package/lib/services/cockpit_regional_v1.d.ts.map +1 -0
- package/lib/services/cockpit_regional_v1.js +47 -0
- package/lib/services/cockpit_regional_v1.js.map +1 -0
- package/lib/services/containers_v1.d.ts +822 -0
- package/lib/services/containers_v1.d.ts.map +1 -0
- package/lib/services/containers_v1.js +39 -0
- package/lib/services/containers_v1.js.map +1 -0
- package/lib/services/dedibox_billing_v1.d.ts +151 -0
- package/lib/services/dedibox_billing_v1.d.ts.map +1 -0
- package/lib/services/dedibox_billing_v1.js +2 -0
- package/lib/services/dedibox_billing_v1.js.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts +119 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.js +2 -0
- package/lib/services/dedibox_ipv6_block_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts +486 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.js +2 -0
- package/lib/services/dedibox_rpn_san_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1.d.ts +68 -0
- package/lib/services/dedibox_rpn_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1.js +2 -0
- package/lib/services/dedibox_rpn_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts +687 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.js +30 -0
- package/lib/services/dedibox_rpn_v1_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts +646 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.js +27 -0
- package/lib/services/dedibox_rpn_v2_v1.js.map +1 -0
- package/lib/services/dedibox_v1.d.ts +1351 -0
- package/lib/services/dedibox_v1.d.ts.map +1 -0
- package/lib/services/dedibox_v1.js +70 -0
- package/lib/services/dedibox_v1.js.map +1 -0
- package/lib/services/generative_apis_openai_v1.d.ts +772 -0
- package/lib/services/generative_apis_openai_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_openai_v1.js +24 -0
- package/lib/services/generative_apis_openai_v1.js.map +1 -0
- package/lib/services/generative_apis_v1.d.ts +82 -0
- package/lib/services/generative_apis_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_v1.js +2 -0
- package/lib/services/generative_apis_v1.js.map +1 -0
- package/lib/services/index.d.ts +57 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +56 -0
- package/lib/services/inference_v1.d.ts +460 -0
- package/lib/services/inference_v1.d.ts.map +1 -0
- package/lib/services/inference_v1.js +33 -0
- package/lib/services/inference_v1.js.map +1 -0
- package/lib/services/instance_v1.d.ts +2183 -0
- package/lib/services/instance_v1.d.ts.map +1 -0
- package/lib/services/instance_v1.js +112 -0
- package/lib/services/instance_v1.js.map +1 -0
- package/lib/services/iot_v1.d.ts +837 -0
- package/lib/services/iot_v1.d.ts.map +1 -0
- package/lib/services/iot_v1.js +50 -0
- package/lib/services/iot_v1.js.map +1 -0
- package/lib/services/ipam_v1.d.ts +244 -0
- package/lib/services/ipam_v1.d.ts.map +1 -0
- package/lib/services/ipam_v1.js +2 -0
- package/lib/services/ipam_v1.js.map +1 -0
- package/lib/services/k8s_v1.d.ts +1223 -0
- package/lib/services/k8s_v1.d.ts.map +1 -0
- package/lib/services/k8s_v1.js +61 -0
- package/lib/services/k8s_v1.js.map +1 -0
- package/lib/services/lb_zoned_v1.d.ts +1517 -0
- package/lib/services/lb_zoned_v1.d.ts.map +1 -0
- package/lib/services/lb_zoned_v1.js +75 -0
- package/lib/services/lb_zoned_v1.js.map +1 -0
- package/lib/services/marketplace_console_v2.d.ts +72 -0
- package/lib/services/marketplace_console_v2.d.ts.map +1 -0
- package/lib/services/marketplace_console_v2.js +2 -0
- package/lib/services/marketplace_console_v2.js.map +1 -0
- package/lib/services/marketplace_v2.d.ts +169 -0
- package/lib/services/marketplace_v2.d.ts.map +1 -0
- package/lib/services/marketplace_v2.js +2 -0
- package/lib/services/marketplace_v2.js.map +1 -0
- package/lib/services/mongodb_v1.d.ts +698 -0
- package/lib/services/mongodb_v1.d.ts.map +1 -0
- package/lib/services/mongodb_v1.js +43 -0
- package/lib/services/mongodb_v1.js.map +1 -0
- package/lib/services/partner_v1.d.ts +142 -0
- package/lib/services/partner_v1.d.ts.map +1 -0
- package/lib/services/partner_v1.js +2 -0
- package/lib/services/partner_v1.js.map +1 -0
- package/lib/services/rdb_encryption_v1.d.ts +17 -0
- package/lib/services/rdb_encryption_v1.d.ts.map +1 -0
- package/lib/services/rdb_encryption_v1.js +2 -0
- package/lib/services/rdb_encryption_v1.js.map +1 -0
- package/lib/services/rdb_v1.d.ts +1422 -0
- package/lib/services/rdb_v1.d.ts.map +1 -0
- package/lib/services/rdb_v1.js +87 -0
- package/lib/services/rdb_v1.js.map +1 -0
- package/lib/services/redis_v1.d.ts +602 -0
- package/lib/services/redis_v1.d.ts.map +1 -0
- package/lib/services/redis_v1.js +42 -0
- package/lib/services/redis_v1.js.map +1 -0
- package/lib/services/registry_v1.d.ts +281 -0
- package/lib/services/registry_v1.d.ts.map +1 -0
- package/lib/services/registry_v1.js +2 -0
- package/lib/services/registry_v1.js.map +1 -0
- package/lib/services/reseller_v1.d.ts +81 -0
- package/lib/services/reseller_v1.d.ts.map +1 -0
- package/lib/services/reseller_v1.js +2 -0
- package/lib/services/reseller_v1.js.map +1 -0
- package/lib/services/vpc_gw_v2.d.ts +635 -0
- package/lib/services/vpc_gw_v2.d.ts.map +1 -0
- package/lib/services/vpc_gw_v2.js +46 -0
- package/lib/services/vpc_gw_v2.js.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts +114 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.js +2 -0
- package/lib/services/vpc_private_network_with_nics_v2.js.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts +87 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js +2 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js.map +1 -0
- package/lib/services/vpc_v2.d.ts +875 -0
- package/lib/services/vpc_v2.d.ts.map +1 -0
- package/lib/services/vpc_v2.js +54 -0
- package/lib/services/vpc_v2.js.map +1 -0
- package/lib/services/webhosting_backup_v1.d.ts +182 -0
- package/lib/services/webhosting_backup_v1.d.ts.map +1 -0
- package/lib/services/webhosting_backup_v1.js +2 -0
- package/lib/services/webhosting_backup_v1.js.map +1 -0
- package/lib/services/webhosting_control_panel_v1.d.ts +37 -0
- package/lib/services/webhosting_control_panel_v1.d.ts.map +1 -0
- package/lib/services/webhosting_control_panel_v1.js +2 -0
- package/lib/services/webhosting_control_panel_v1.js.map +1 -0
- package/lib/services/webhosting_database_v1.d.ts +195 -0
- package/lib/services/webhosting_database_v1.d.ts.map +1 -0
- package/lib/services/webhosting_database_v1.js +2 -0
- package/lib/services/webhosting_database_v1.js.map +1 -0
- package/lib/services/webhosting_dedibox_v1.d.ts +232 -0
- package/lib/services/webhosting_dedibox_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dedibox_v1.js +2 -0
- package/lib/services/webhosting_dedibox_v1.js.map +1 -0
- package/lib/services/webhosting_dns_v1.d.ts +177 -0
- package/lib/services/webhosting_dns_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dns_v1.js +2 -0
- package/lib/services/webhosting_dns_v1.js.map +1 -0
- package/lib/services/webhosting_free_domain_v1.d.ts +51 -0
- package/lib/services/webhosting_free_domain_v1.d.ts.map +1 -0
- package/lib/services/webhosting_free_domain_v1.js +2 -0
- package/lib/services/webhosting_free_domain_v1.js.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts +79 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.js +2 -0
- package/lib/services/webhosting_ftp_account_v1.js.map +1 -0
- package/lib/services/webhosting_hosting_v1.d.ts +502 -0
- package/lib/services/webhosting_hosting_v1.d.ts.map +1 -0
- package/lib/services/webhosting_hosting_v1.js +27 -0
- package/lib/services/webhosting_hosting_v1.js.map +1 -0
- package/lib/services/webhosting_mail_account_v1.d.ts +84 -0
- package/lib/services/webhosting_mail_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_mail_account_v1.js +2 -0
- package/lib/services/webhosting_mail_account_v1.js.map +1 -0
- package/lib/services/webhosting_offer_v1.d.ts +122 -0
- package/lib/services/webhosting_offer_v1.d.ts.map +1 -0
- package/lib/services/webhosting_offer_v1.js +2 -0
- package/lib/services/webhosting_offer_v1.js.map +1 -0
- package/lib/services/webhosting_website_v1.d.ts +75 -0
- package/lib/services/webhosting_website_v1.d.ts.map +1 -0
- package/lib/services/webhosting_website_v1.js +2 -0
- package/lib/services/webhosting_website_v1.js.map +1 -0
- package/lib/services.lazy/account_contract_v3.js +1 -0
- package/lib/services.lazy/account_iso_code_v3.js +1 -0
- package/lib/services.lazy/account_organization_v3.js +1 -0
- package/lib/services.lazy/account_project_v3.js +1 -0
- package/lib/services.lazy/account_unauthenticated_user_v3.js +3 -0
- package/lib/services.lazy/account_unauthenticated_v3.js +1 -0
- package/lib/services.lazy/account_user_v3.js +3 -0
- package/lib/services.lazy/annotations_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v3.js +1 -0
- package/lib/services.lazy/baremetal_v1.js +3 -0
- package/lib/services.lazy/billing_electronic_billing_v2.js +1 -0
- package/lib/services.lazy/billing_v2.js +1 -0
- package/lib/services.lazy/block_v1.js +3 -0
- package/lib/services.lazy/cockpit_global_v1.js +1 -0
- package/lib/services.lazy/cockpit_regional_v1.js +3 -0
- package/lib/services.lazy/containers_v1.js +3 -0
- package/lib/services.lazy/dedibox_billing_v1.js +1 -0
- package/lib/services.lazy/dedibox_ipv6_block_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_san_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1_v1.js +3 -0
- package/lib/services.lazy/dedibox_rpn_v2_v1.js +3 -0
- package/lib/services.lazy/dedibox_v1.js +3 -0
- package/lib/services.lazy/generative_apis_openai_v1.js +3 -0
- package/lib/services.lazy/generative_apis_v1.js +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/inference_v1.js +3 -0
- package/lib/services.lazy/instance_v1.js +3 -0
- package/lib/services.lazy/iot_v1.js +3 -0
- package/lib/services.lazy/ipam_v1.js +1 -0
- package/lib/services.lazy/k8s_v1.js +3 -0
- package/lib/services.lazy/lb_zoned_v1.js +3 -0
- package/lib/services.lazy/marketplace_console_v2.js +1 -0
- package/lib/services.lazy/marketplace_v2.js +1 -0
- package/lib/services.lazy/mongodb_v1.js +3 -0
- package/lib/services.lazy/partner_v1.js +1 -0
- package/lib/services.lazy/rdb_encryption_v1.js +1 -0
- package/lib/services.lazy/rdb_v1.js +3 -0
- package/lib/services.lazy/redis_v1.js +3 -0
- package/lib/services.lazy/registry_v1.js +1 -0
- package/lib/services.lazy/reseller_v1.js +1 -0
- package/lib/services.lazy/vpc_gw_v2.js +3 -0
- package/lib/services.lazy/vpc_private_network_with_nics_v2.js +1 -0
- package/lib/services.lazy/vpc_routes_with_nexthop_v2.js +1 -0
- package/lib/services.lazy/vpc_v2.js +3 -0
- package/lib/services.lazy/webhosting_backup_v1.js +1 -0
- package/lib/services.lazy/webhosting_control_panel_v1.js +1 -0
- package/lib/services.lazy/webhosting_database_v1.js +1 -0
- package/lib/services.lazy/webhosting_dedibox_v1.js +1 -0
- package/lib/services.lazy/webhosting_dns_v1.js +1 -0
- package/lib/services.lazy/webhosting_free_domain_v1.js +1 -0
- package/lib/services.lazy/webhosting_ftp_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_hosting_v1.js +3 -0
- package/lib/services.lazy/webhosting_mail_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_offer_v1.js +1 -0
- package/lib/services.lazy/webhosting_website_v1.js +1 -0
- package/lib/traits.d.ts +25 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts +119 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js +2 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts +569 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js +38 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts +1082 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js +47 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts +368 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js +2 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts +78 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js +2 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js.map +1 -0
- package/lib/unstable-services/billing_v2beta1.d.ts +411 -0
- package/lib/unstable-services/billing_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_v2beta1.js +25 -0
- package/lib/unstable-services/billing_v2beta1.js.map +1 -0
- package/lib/unstable-services/block_v1alpha1.d.ts +372 -0
- package/lib/unstable-services/block_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/block_v1alpha1.js +27 -0
- package/lib/unstable-services/block_v1alpha1.js.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts +440 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js +27 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts +322 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.js +2 -0
- package/lib/unstable-services/datalab_v1beta1.js.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts +456 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.js +34 -0
- package/lib/unstable-services/dataviz_v1alpha1.js.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts +492 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js +34 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts +1087 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js +50 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts +19 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js +2 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_v2beta1.d.ts +520 -0
- package/lib/unstable-services/domain_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_v2beta1.js +44 -0
- package/lib/unstable-services/domain_v2beta1.js.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts +1153 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.js +81 -0
- package/lib/unstable-services/edge_services_v1beta1.js.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts +149 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js +2 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js.map +1 -0
- package/lib/unstable-services/file_v1alpha1.d.ts +350 -0
- package/lib/unstable-services/file_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/file_v1alpha1.js +24 -0
- package/lib/unstable-services/file_v1alpha1.js.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts +241 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js +2 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js.map +1 -0
- package/lib/unstable-services/functions_v1beta1.d.ts +852 -0
- package/lib/unstable-services/functions_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/functions_v1beta1.js +49 -0
- package/lib/unstable-services/functions_v1beta1.js.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts +257 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js +2 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts +1506 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.js +105 -0
- package/lib/unstable-services/iam_v1alpha1.js.map +1 -0
- package/lib/unstable-services/index.d.ts +44 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +43 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts +1745 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_v2alpha1.js +81 -0
- package/lib/unstable-services/instance_v2alpha1.js.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts +333 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js +26 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts +636 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.js +39 -0
- package/lib/unstable-services/interlink_v1beta1.js.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts +451 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.js +27 -0
- package/lib/unstable-services/kafka_v1alpha1.js.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts +515 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.js +36 -0
- package/lib/unstable-services/key_manager_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts +438 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.js +39 -0
- package/lib/unstable-services/mailbox_v1alpha1.js.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts +420 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.js +29 -0
- package/lib/unstable-services/messageq_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts +32 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_console_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts +177 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts +604 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.js +37 -0
- package/lib/unstable-services/mongodb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts +477 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js +2 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts +764 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.js +51 -0
- package/lib/unstable-services/qaas_v1alpha1.js.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts +794 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js +45 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js.map +1 -0
- package/lib/unstable-services/search_v1alpha1.d.ts +120 -0
- package/lib/unstable-services/search_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/search_v1alpha1.js +2 -0
- package/lib/unstable-services/search_v1alpha1.js.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts +424 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.js +29 -0
- package/lib/unstable-services/searchdb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts +407 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.js +32 -0
- package/lib/unstable-services/secret_manager_v1beta1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts +331 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js +28 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts +546 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js +35 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts +239 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js +2 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts +936 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js +46 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js.map +1 -0
- package/lib/unstable-services.lazy/apple_silicon_private_network_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/apple_silicon_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/audit_trail_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/autoscaling_v1alpha2.js +1 -0
- package/lib/unstable-services.lazy/billing_fin_ops_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/billing_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/block_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/data_orchestrator_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/datalab_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/dataviz_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/datawarehouse_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_registrar_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_suggestion_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/domain_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/edge_services_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/environmental_footprint_user_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/file_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/flexible_ip_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/functions_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/iam_unauthenticated_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/iam_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/unstable-services.lazy/instance_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/instance_volume_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/interlink_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/kafka_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/key_manager_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mailbox_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/messageq_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mnq_console_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_nats_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sns_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sqs_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mongodb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/product_catalog_public_catalog_v2alpha1.js +1 -0
- package/lib/unstable-services.lazy/qaas_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/s2s_vpn_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/search_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/searchdb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/secret_manager_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/serverless_sqldb_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/transactional_email_v1alpha1.js +3 -0
- package/package.json +89 -2
- package/src/credentials.ts +104 -0
- package/src/errors.ts +307 -0
- package/src/index.ts +52 -0
- package/src/pagination.ts +65 -0
- package/src/protocol.ts +496 -0
- package/src/retry.ts +47 -0
- package/src/services/account_contract_v3.ts +441 -0
- package/src/services/account_iso_code_v3.ts +165 -0
- package/src/services/account_organization_v3.ts +946 -0
- package/src/services/account_project_v3.ts +530 -0
- package/src/services/account_unauthenticated_user_v3.ts +1445 -0
- package/src/services/account_unauthenticated_v3.ts +92 -0
- package/src/services/account_user_v3.ts +1657 -0
- package/src/services/annotations_v1.ts +897 -0
- package/src/services/baremetal_private_network_v1.ts +327 -0
- package/src/services/baremetal_private_network_v3.ts +376 -0
- package/src/services/baremetal_v1.ts +3072 -0
- package/src/services/billing_electronic_billing_v2.ts +323 -0
- package/src/services/billing_v2.ts +662 -0
- package/src/services/block_v1.ts +1282 -0
- package/src/services/cockpit_global_v1.ts +282 -0
- package/src/services/cockpit_regional_v1.ts +2177 -0
- package/src/services/containers_v1.ts +2110 -0
- package/src/services/dedibox_billing_v1.ts +621 -0
- package/src/services/dedibox_ipv6_block_v1.ts +468 -0
- package/src/services/dedibox_rpn_san_v1.ts +1185 -0
- package/src/services/dedibox_rpn_v1.ts +207 -0
- package/src/services/dedibox_rpn_v1_v1.ts +1763 -0
- package/src/services/dedibox_rpn_v2_v1.ts +1654 -0
- package/src/services/dedibox_v1.ts +3765 -0
- package/src/services/generative_apis_openai_v1.ts +1692 -0
- package/src/services/generative_apis_v1.ts +251 -0
- package/src/services/index.ts +57 -0
- package/src/services/inference_v1.ts +1353 -0
- package/src/services/instance_v1.ts +6611 -0
- package/src/services/iot_v1.ts +2419 -0
- package/src/services/ipam_v1.ts +716 -0
- package/src/services/k8s_v1.ts +3108 -0
- package/src/services/lb_zoned_v1.ts +4533 -0
- package/src/services/marketplace_console_v2.ts +198 -0
- package/src/services/marketplace_v2.ts +625 -0
- package/src/services/mongodb_v1.ts +2104 -0
- package/src/services/partner_v1.ts +462 -0
- package/src/services/rdb_encryption_v1.ts +83 -0
- package/src/services/rdb_v1.ts +4211 -0
- package/src/services/redis_v1.ts +1918 -0
- package/src/services/registry_v1.ts +863 -0
- package/src/services/reseller_v1.ts +258 -0
- package/src/services/vpc_gw_v2.ts +2130 -0
- package/src/services/vpc_private_network_with_nics_v2.ts +311 -0
- package/src/services/vpc_routes_with_nexthop_v2.ts +226 -0
- package/src/services/vpc_v2.ts +2533 -0
- package/src/services/webhosting_backup_v1.ts +578 -0
- package/src/services/webhosting_control_panel_v1.ts +130 -0
- package/src/services/webhosting_database_v1.ts +682 -0
- package/src/services/webhosting_dedibox_v1.ts +480 -0
- package/src/services/webhosting_dns_v1.ts +471 -0
- package/src/services/webhosting_free_domain_v1.ts +190 -0
- package/src/services/webhosting_ftp_account_v1.ts +280 -0
- package/src/services/webhosting_hosting_v1.ts +1309 -0
- package/src/services/webhosting_mail_account_v1.ts +291 -0
- package/src/services/webhosting_offer_v1.ts +289 -0
- package/src/services/webhosting_website_v1.ts +274 -0
- package/src/traits.ts +63 -0
- package/src/unstable-services/apple_silicon_private_network_v1alpha1.ts +395 -0
- package/src/unstable-services/apple_silicon_v1alpha1.ts +1685 -0
- package/src/unstable-services/audit_trail_v1alpha1.ts +3220 -0
- package/src/unstable-services/autoscaling_v1alpha2.ts +1103 -0
- package/src/unstable-services/billing_fin_ops_v2beta1.ts +195 -0
- package/src/unstable-services/billing_v2beta1.ts +1203 -0
- package/src/unstable-services/block_v1alpha1.ts +1239 -0
- package/src/unstable-services/data_orchestrator_v1alpha2.ts +1230 -0
- package/src/unstable-services/datalab_v1beta1.ts +852 -0
- package/src/unstable-services/dataviz_v1alpha1.ts +1478 -0
- package/src/unstable-services/datawarehouse_v1beta1.ts +1504 -0
- package/src/unstable-services/domain_registrar_v2beta1.ts +2979 -0
- package/src/unstable-services/domain_suggestion_v2beta1.ts +86 -0
- package/src/unstable-services/domain_v2beta1.ts +1794 -0
- package/src/unstable-services/edge_services_v1beta1.ts +3724 -0
- package/src/unstable-services/environmental_footprint_user_v1alpha1.ts +429 -0
- package/src/unstable-services/file_v1alpha1.ts +1016 -0
- package/src/unstable-services/flexible_ip_v1alpha1.ts +804 -0
- package/src/unstable-services/functions_v1beta1.ts +2410 -0
- package/src/unstable-services/iam_unauthenticated_v1alpha1.ts +863 -0
- package/src/unstable-services/iam_v1alpha1.ts +4919 -0
- package/src/unstable-services/index.ts +44 -0
- package/src/unstable-services/instance_v2alpha1.ts +5377 -0
- package/src/unstable-services/instance_volume_v2alpha1.ts +1111 -0
- package/src/unstable-services/interlink_v1beta1.ts +1791 -0
- package/src/unstable-services/kafka_v1alpha1.ts +1275 -0
- package/src/unstable-services/key_manager_v1alpha1.ts +1618 -0
- package/src/unstable-services/mailbox_v1alpha1.ts +1561 -0
- package/src/unstable-services/messageq_v1alpha1.ts +1266 -0
- package/src/unstable-services/mnq_console_v1beta1.ts +111 -0
- package/src/unstable-services/mnq_nats_v1beta1.ts +608 -0
- package/src/unstable-services/mnq_sns_v1beta1.ts +523 -0
- package/src/unstable-services/mnq_sqs_v1beta1.ts +523 -0
- package/src/unstable-services/mongodb_v1alpha1.ts +1789 -0
- package/src/unstable-services/product_catalog_public_catalog_v2alpha1.ts +1109 -0
- package/src/unstable-services/qaas_v1alpha1.ts +2404 -0
- package/src/unstable-services/s2s_vpn_v1alpha1.ts +2173 -0
- package/src/unstable-services/search_v1alpha1.ts +349 -0
- package/src/unstable-services/searchdb_v1alpha1.ts +1273 -0
- package/src/unstable-services/secret_manager_v1beta1.ts +1255 -0
- package/src/unstable-services/serverless_jobs_v1alpha1.ts +1017 -0
- package/src/unstable-services/serverless_jobs_v1alpha2.ts +1516 -0
- package/src/unstable-services/serverless_sqldb_v1alpha1.ts +747 -0
- package/src/unstable-services/transactional_email_v1alpha1.ts +2495 -0
|
@@ -0,0 +1,530 @@
|
|
|
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: "AccountProjectV3",
|
|
24
|
+
labels: "scaleway",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export interface CreateProjectRequest {
|
|
29
|
+
/** Name of the Project. */
|
|
30
|
+
name?: string | undefined;
|
|
31
|
+
/** Organization ID of the Project. */
|
|
32
|
+
organization_id?: string | undefined;
|
|
33
|
+
/** Description of the Project. */
|
|
34
|
+
description?: string | undefined;
|
|
35
|
+
}
|
|
36
|
+
export type QualificationArchitectureType =
|
|
37
|
+
| "unknown_architecture_type"
|
|
38
|
+
| "object_storage"
|
|
39
|
+
| "web_hosting"
|
|
40
|
+
| "instance"
|
|
41
|
+
| "elastic"
|
|
42
|
+
| "kubernetes"
|
|
43
|
+
| "serverless"
|
|
44
|
+
| "dedicated_server"
|
|
45
|
+
| "other_architecture_type";
|
|
46
|
+
export type QualificationHostWebsiteSubUseCase =
|
|
47
|
+
| "unknown_sub_use_case"
|
|
48
|
+
| "information_website"
|
|
49
|
+
| "ecommerce_website"
|
|
50
|
+
| "high_website"
|
|
51
|
+
| "other_sub_use_case";
|
|
52
|
+
export interface QualificationHostWebsite {
|
|
53
|
+
sub_use_case?: QualificationHostWebsiteSubUseCase | (string & {}) | undefined;
|
|
54
|
+
}
|
|
55
|
+
export type QualificationHostApplicationSubUseCase =
|
|
56
|
+
| "unknown_sub_use_case"
|
|
57
|
+
| "saas_app"
|
|
58
|
+
| "government_app";
|
|
59
|
+
export interface QualificationHostApplication {
|
|
60
|
+
sub_use_case?: QualificationHostApplicationSubUseCase | (string & {}) | undefined;
|
|
61
|
+
}
|
|
62
|
+
export type QualificationDeploySoftwareSubUseCase = "unknown_sub_use_case";
|
|
63
|
+
export interface QualificationDeploySoftware {
|
|
64
|
+
sub_use_case?: QualificationDeploySoftwareSubUseCase | (string & {}) | undefined;
|
|
65
|
+
}
|
|
66
|
+
export type QualificationSetScalewayEnvironmentSubUseCase = "unknown_sub_use_case";
|
|
67
|
+
export interface QualificationSetScalewayEnvironment {
|
|
68
|
+
sub_use_case?: QualificationSetScalewayEnvironmentSubUseCase | (string & {}) | undefined;
|
|
69
|
+
}
|
|
70
|
+
export type QualificationAiMachineSubUseCase = "unknown_sub_use_case";
|
|
71
|
+
export interface QualificationAiMachine {
|
|
72
|
+
sub_use_case?: QualificationAiMachineSubUseCase | (string & {}) | undefined;
|
|
73
|
+
}
|
|
74
|
+
export type QualificationContainerSubUseCase = "unknown_sub_use_case";
|
|
75
|
+
export interface QualificationContainer {
|
|
76
|
+
sub_use_case?: QualificationContainerSubUseCase | (string & {}) | undefined;
|
|
77
|
+
}
|
|
78
|
+
export type QualificationArchiveDataSubUseCase = "unknown_sub_use_case";
|
|
79
|
+
export interface QualificationArchiveData {
|
|
80
|
+
sub_use_case?: QualificationArchiveDataSubUseCase | (string & {}) | undefined;
|
|
81
|
+
}
|
|
82
|
+
export type QualificationShareDataSubUseCase = "unknown_sub_use_case";
|
|
83
|
+
export interface QualificationShareData {
|
|
84
|
+
sub_use_case?: QualificationShareDataSubUseCase | (string & {}) | undefined;
|
|
85
|
+
}
|
|
86
|
+
export type QualificationOtherUseCaseSubUseCase = "unknown_sub_use_case";
|
|
87
|
+
export interface QualificationOtherUseCase {
|
|
88
|
+
sub_use_case?: QualificationOtherUseCaseSubUseCase | (string & {}) | undefined;
|
|
89
|
+
}
|
|
90
|
+
export interface Qualification {
|
|
91
|
+
/** Architecture type of the qualification. */
|
|
92
|
+
architecture_type?: QualificationArchitectureType | (string & {}) | undefined;
|
|
93
|
+
/** 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. */
|
|
94
|
+
host_website?: QualificationHostWebsite | null | undefined;
|
|
95
|
+
/** 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. */
|
|
96
|
+
host_application?: QualificationHostApplication | null | undefined;
|
|
97
|
+
/** 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. */
|
|
98
|
+
deploy_software?: QualificationDeploySoftware | null | undefined;
|
|
99
|
+
/** 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. */
|
|
100
|
+
set_scaleway_environment?: QualificationSetScalewayEnvironment | null | undefined;
|
|
101
|
+
/** 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. */
|
|
102
|
+
ai_machine?: QualificationAiMachine | null | undefined;
|
|
103
|
+
/** 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. */
|
|
104
|
+
container?: QualificationContainer | null | undefined;
|
|
105
|
+
/** 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. */
|
|
106
|
+
archive_data?: QualificationArchiveData | null | undefined;
|
|
107
|
+
/** 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. */
|
|
108
|
+
share_data?: QualificationShareData | null | undefined;
|
|
109
|
+
/** 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. */
|
|
110
|
+
other_use_case?: QualificationOtherUseCase | null | undefined;
|
|
111
|
+
}
|
|
112
|
+
export type ProjectStatus = "unknown_status" | "active" | "deleting";
|
|
113
|
+
export interface Project {
|
|
114
|
+
/** ID of the Project. (UUID format) */
|
|
115
|
+
id?: string | undefined;
|
|
116
|
+
/** Name of the Project. */
|
|
117
|
+
name?: string | undefined;
|
|
118
|
+
/** Organization ID of the Project. (UUID format) */
|
|
119
|
+
organization_id?: string | undefined;
|
|
120
|
+
/** Creation date of the Project. (RFC 3339 format) */
|
|
121
|
+
created_at?: string | null | undefined;
|
|
122
|
+
/** Update date of the Project. (RFC 3339 format) */
|
|
123
|
+
updated_at?: string | null | undefined;
|
|
124
|
+
/** Description of the Project. */
|
|
125
|
+
description?: string | undefined;
|
|
126
|
+
/** Qualification of the Project. */
|
|
127
|
+
qualification?: Qualification | undefined;
|
|
128
|
+
/** Status of the Project. */
|
|
129
|
+
status?: ProjectStatus | undefined;
|
|
130
|
+
/** The SRN of the Project. */
|
|
131
|
+
srn?: string | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface DeleteProjectRequest {
|
|
134
|
+
/** Project ID of the Project. */
|
|
135
|
+
project_id: string;
|
|
136
|
+
}
|
|
137
|
+
export interface DeleteProjectResponse {}
|
|
138
|
+
export interface DeleteProjectWithResourcesRequest {
|
|
139
|
+
/** Project ID of the Project. */
|
|
140
|
+
project_id: string;
|
|
141
|
+
/** Name of the Project to delete. This is used as a safeguard confirmation. */
|
|
142
|
+
project_name?: string | undefined;
|
|
143
|
+
}
|
|
144
|
+
export interface GetProjectRequest {
|
|
145
|
+
/** Project ID of the Project. */
|
|
146
|
+
project_id: string;
|
|
147
|
+
}
|
|
148
|
+
export type ListProjectsRequestOrderBy =
|
|
149
|
+
| "created_at_asc"
|
|
150
|
+
| "created_at_desc"
|
|
151
|
+
| "name_asc"
|
|
152
|
+
| "name_desc";
|
|
153
|
+
export type ListProjectsRequestProjectIdsList = Array<string>;
|
|
154
|
+
export interface ListProjectsRequest {
|
|
155
|
+
/** Organization ID of the Project. */
|
|
156
|
+
organization_id: string;
|
|
157
|
+
/** Name of the Project. */
|
|
158
|
+
name?: string | undefined;
|
|
159
|
+
/** Page number for the returned Projects. */
|
|
160
|
+
page?: number | undefined;
|
|
161
|
+
/** Maximum number of Project per page. */
|
|
162
|
+
page_size?: number | undefined;
|
|
163
|
+
/** Sort order of the returned Projects. */
|
|
164
|
+
order_by?: ListProjectsRequestOrderBy | (string & {}) | undefined;
|
|
165
|
+
/** Project IDs to filter for. The results will be limited to any Projects with an ID in this array. */
|
|
166
|
+
project_ids?: ListProjectsRequestProjectIdsList | undefined;
|
|
167
|
+
}
|
|
168
|
+
/** Paginated returned Projects. */
|
|
169
|
+
export type ListProjectsResponseProjectsList = Array<Project>;
|
|
170
|
+
export interface ListProjectsResponse {
|
|
171
|
+
/** Total number of Projects. */
|
|
172
|
+
total_count?: number | undefined;
|
|
173
|
+
/** Paginated returned Projects. */
|
|
174
|
+
projects: ListProjectsResponseProjectsList;
|
|
175
|
+
}
|
|
176
|
+
export interface SetProjectQualificationRequest {
|
|
177
|
+
/** Project ID. */
|
|
178
|
+
project_id: string;
|
|
179
|
+
/** Use case chosen for the Project. */
|
|
180
|
+
qualification?: Qualification | undefined;
|
|
181
|
+
}
|
|
182
|
+
export interface ProjectQualification {
|
|
183
|
+
/** Project ID. (UUID format) */
|
|
184
|
+
project_id?: string | undefined;
|
|
185
|
+
/** Qualification of the Project. */
|
|
186
|
+
qualification?: Qualification | undefined;
|
|
187
|
+
}
|
|
188
|
+
export interface UpdateProjectRequest {
|
|
189
|
+
/** Project ID of the Project. */
|
|
190
|
+
project_id: string;
|
|
191
|
+
/** Name of the Project. */
|
|
192
|
+
name?: string | null | undefined;
|
|
193
|
+
/** Description of the Project. */
|
|
194
|
+
description?: string | null | undefined;
|
|
195
|
+
}
|
|
196
|
+
export type CreateProjectError = ScalewayOpError;
|
|
197
|
+
/** Create a new Project for an Organization Generate a new Project for an Organization, specifying its configuration including name and description. */
|
|
198
|
+
export const createProject: API.OperationMethod<
|
|
199
|
+
CreateProjectRequest,
|
|
200
|
+
Project,
|
|
201
|
+
CreateProjectError,
|
|
202
|
+
ScalewayOpContext
|
|
203
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
204
|
+
input: __S(0, __c0, 0) as any as S.Schema<CreateProjectRequest>,
|
|
205
|
+
output: __S(8, __c2, 0) as any as S.Schema<Project>,
|
|
206
|
+
errors: [],
|
|
207
|
+
serviceErrors: ScalewayServiceErrors,
|
|
208
|
+
protocol: ScalewayProtocol,
|
|
209
|
+
retry: Retry.Retry,
|
|
210
|
+
telemetry: TELEMETRY,
|
|
211
|
+
span: "CreateProject",
|
|
212
|
+
}));
|
|
213
|
+
|
|
214
|
+
export type DeleteProjectError = ScalewayOpError;
|
|
215
|
+
/** 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. */
|
|
216
|
+
export const deleteProject: API.OperationMethod<
|
|
217
|
+
DeleteProjectRequest,
|
|
218
|
+
DeleteProjectResponse,
|
|
219
|
+
DeleteProjectError,
|
|
220
|
+
ScalewayOpContext
|
|
221
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
222
|
+
input: __S(12, __c3, 0) as any as S.Schema<DeleteProjectRequest>,
|
|
223
|
+
output: __S(13, __c3, 1) as any as S.Schema<DeleteProjectResponse>,
|
|
224
|
+
errors: [],
|
|
225
|
+
serviceErrors: ScalewayServiceErrors,
|
|
226
|
+
protocol: ScalewayProtocol,
|
|
227
|
+
retry: Retry.Retry,
|
|
228
|
+
telemetry: TELEMETRY,
|
|
229
|
+
span: "DeleteProject",
|
|
230
|
+
}));
|
|
231
|
+
|
|
232
|
+
export type DeleteProjectWithResourcesError = ScalewayOpError;
|
|
233
|
+
/** 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. */
|
|
234
|
+
export const deleteProjectWithResources: API.OperationMethod<
|
|
235
|
+
DeleteProjectWithResourcesRequest,
|
|
236
|
+
Project,
|
|
237
|
+
DeleteProjectWithResourcesError,
|
|
238
|
+
ScalewayOpContext
|
|
239
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
240
|
+
input: __S(16, __c4, 0) as any as S.Schema<DeleteProjectWithResourcesRequest>,
|
|
241
|
+
output: __S(8, __c2, 0) as any as S.Schema<Project>,
|
|
242
|
+
errors: [],
|
|
243
|
+
serviceErrors: ScalewayServiceErrors,
|
|
244
|
+
protocol: ScalewayProtocol,
|
|
245
|
+
retry: Retry.Retry,
|
|
246
|
+
telemetry: TELEMETRY,
|
|
247
|
+
span: "DeleteProjectWithResources",
|
|
248
|
+
}));
|
|
249
|
+
|
|
250
|
+
export type GetProjectError = ScalewayOpError;
|
|
251
|
+
/** 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. */
|
|
252
|
+
export const getProject: API.OperationMethod<
|
|
253
|
+
GetProjectRequest,
|
|
254
|
+
Project,
|
|
255
|
+
GetProjectError,
|
|
256
|
+
ScalewayOpContext
|
|
257
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
258
|
+
input: __S(20, __c5, 0) as any as S.Schema<GetProjectRequest>,
|
|
259
|
+
output: __S(8, __c2, 0) as any as S.Schema<Project>,
|
|
260
|
+
errors: [],
|
|
261
|
+
serviceErrors: ScalewayServiceErrors,
|
|
262
|
+
protocol: ScalewayProtocol,
|
|
263
|
+
retry: Retry.Retry,
|
|
264
|
+
telemetry: TELEMETRY,
|
|
265
|
+
span: "GetProject",
|
|
266
|
+
}));
|
|
267
|
+
|
|
268
|
+
export type ListProjectsError = ScalewayOpError;
|
|
269
|
+
/** 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. */
|
|
270
|
+
export const listProjects: API.PaginatedOperationMethod<
|
|
271
|
+
ListProjectsRequest,
|
|
272
|
+
ListProjectsResponse,
|
|
273
|
+
ListProjectsError,
|
|
274
|
+
ScalewayOpContext,
|
|
275
|
+
Project
|
|
276
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
277
|
+
() => ({
|
|
278
|
+
input: __S(25, __c6, 1) as any as S.Schema<ListProjectsRequest>,
|
|
279
|
+
output: __S(27, __c6, 3) as any as S.Schema<ListProjectsResponse>,
|
|
280
|
+
errors: [],
|
|
281
|
+
serviceErrors: ScalewayServiceErrors,
|
|
282
|
+
protocol: ScalewayProtocol,
|
|
283
|
+
retry: Retry.Retry,
|
|
284
|
+
telemetry: TELEMETRY,
|
|
285
|
+
span: "ListProjects",
|
|
286
|
+
pagination: {
|
|
287
|
+
mode: "page",
|
|
288
|
+
inputToken: "page",
|
|
289
|
+
outputToken: "total_count",
|
|
290
|
+
items: "projects",
|
|
291
|
+
pageSize: "page_size",
|
|
292
|
+
} as const,
|
|
293
|
+
}),
|
|
294
|
+
paginateByTotalCount,
|
|
295
|
+
) as any;
|
|
296
|
+
|
|
297
|
+
export type SetProjectQualificationError = ScalewayOpError;
|
|
298
|
+
/** 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. */
|
|
299
|
+
export const setProjectQualification: API.OperationMethod<
|
|
300
|
+
SetProjectQualificationRequest,
|
|
301
|
+
ProjectQualification,
|
|
302
|
+
SetProjectQualificationError,
|
|
303
|
+
ScalewayOpContext
|
|
304
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
305
|
+
input: __S(28, __c7, 0) as any as S.Schema<SetProjectQualificationRequest>,
|
|
306
|
+
output: __S(29, __c7, 1) as any as S.Schema<ProjectQualification>,
|
|
307
|
+
errors: [],
|
|
308
|
+
serviceErrors: ScalewayServiceErrors,
|
|
309
|
+
protocol: ScalewayProtocol,
|
|
310
|
+
retry: Retry.Retry,
|
|
311
|
+
telemetry: TELEMETRY,
|
|
312
|
+
span: "SetProjectQualification",
|
|
313
|
+
}));
|
|
314
|
+
|
|
315
|
+
export type UpdateProjectError = ScalewayOpError;
|
|
316
|
+
/** Update Project Update the parameters of an existing Project, specified by its Project ID. These parameters include the name and description. */
|
|
317
|
+
export const updateProject: API.OperationMethod<
|
|
318
|
+
UpdateProjectRequest,
|
|
319
|
+
Project,
|
|
320
|
+
UpdateProjectError,
|
|
321
|
+
ScalewayOpContext
|
|
322
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
323
|
+
input: __S(32, __c8, 0) as any as S.Schema<UpdateProjectRequest>,
|
|
324
|
+
output: __S(8, __c2, 0) as any as S.Schema<Project>,
|
|
325
|
+
errors: [],
|
|
326
|
+
serviceErrors: ScalewayServiceErrors,
|
|
327
|
+
protocol: ScalewayProtocol,
|
|
328
|
+
retry: Retry.Retry,
|
|
329
|
+
telemetry: TELEMETRY,
|
|
330
|
+
span: "UpdateProject",
|
|
331
|
+
}));
|
|
332
|
+
|
|
333
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
334
|
+
function __c0(j: number): any {
|
|
335
|
+
switch (j) {
|
|
336
|
+
case 0:
|
|
337
|
+
return S.suspend(() =>
|
|
338
|
+
S.Struct({
|
|
339
|
+
name: S.optional(S.String),
|
|
340
|
+
organization_id: S.optional(S.String),
|
|
341
|
+
description: S.optional(S.String),
|
|
342
|
+
}).pipe(
|
|
343
|
+
T.Http({
|
|
344
|
+
method: "POST",
|
|
345
|
+
uri: "/account/v3/projects",
|
|
346
|
+
code: 200,
|
|
347
|
+
baseUrl: "https://api.scaleway.com",
|
|
348
|
+
}),
|
|
349
|
+
),
|
|
350
|
+
).annotate({ identifier: "CreateProjectRequest" });
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
function __c1(j: number): any {
|
|
354
|
+
switch (j) {
|
|
355
|
+
case 0:
|
|
356
|
+
return S.suspend(() =>
|
|
357
|
+
S.Struct({
|
|
358
|
+
sub_use_case: S.optional(S.String),
|
|
359
|
+
}),
|
|
360
|
+
).annotate({ identifier: "QualificationHostWebsite" });
|
|
361
|
+
case 1:
|
|
362
|
+
return S.suspend(() =>
|
|
363
|
+
S.Struct({
|
|
364
|
+
architecture_type: S.optional(S.String),
|
|
365
|
+
host_website: S.optional(S.NullOr(__S(4, __c1, 0))),
|
|
366
|
+
host_application: S.optional(S.NullOr(__S(4, __c1, 0))),
|
|
367
|
+
deploy_software: S.optional(S.NullOr(__S(4, __c1, 0))),
|
|
368
|
+
set_scaleway_environment: S.optional(S.NullOr(__S(4, __c1, 0))),
|
|
369
|
+
ai_machine: S.optional(S.NullOr(__S(4, __c1, 0))),
|
|
370
|
+
container: S.optional(S.NullOr(__S(4, __c1, 0))),
|
|
371
|
+
archive_data: S.optional(S.NullOr(__S(4, __c1, 0))),
|
|
372
|
+
share_data: S.optional(S.NullOr(__S(4, __c1, 0))),
|
|
373
|
+
other_use_case: S.optional(S.NullOr(__S(4, __c1, 0))),
|
|
374
|
+
}),
|
|
375
|
+
).annotate({ identifier: "Qualification" });
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
function __c2(j: number): any {
|
|
379
|
+
switch (j) {
|
|
380
|
+
case 0:
|
|
381
|
+
return S.suspend(() =>
|
|
382
|
+
S.Struct({
|
|
383
|
+
id: S.optional(S.String),
|
|
384
|
+
name: S.optional(S.String),
|
|
385
|
+
organization_id: S.optional(S.String),
|
|
386
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
387
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
388
|
+
description: S.optional(S.String),
|
|
389
|
+
qualification: S.optional(__S(5, __c1, 1)),
|
|
390
|
+
status: S.optional(S.String),
|
|
391
|
+
srn: S.optional(S.String),
|
|
392
|
+
}),
|
|
393
|
+
).annotate({ identifier: "Project" });
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
function __c3(j: number): any {
|
|
397
|
+
switch (j) {
|
|
398
|
+
case 0:
|
|
399
|
+
return S.suspend(() =>
|
|
400
|
+
S.Struct({
|
|
401
|
+
project_id: S.String.pipe(T.Label()),
|
|
402
|
+
}).pipe(
|
|
403
|
+
T.Http({
|
|
404
|
+
method: "DELETE",
|
|
405
|
+
uri: "/account/v3/projects/{project_id}",
|
|
406
|
+
code: 200,
|
|
407
|
+
baseUrl: "https://api.scaleway.com",
|
|
408
|
+
}),
|
|
409
|
+
),
|
|
410
|
+
).annotate({ identifier: "DeleteProjectRequest" });
|
|
411
|
+
case 1:
|
|
412
|
+
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteProjectResponse" });
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
function __c4(j: number): any {
|
|
416
|
+
switch (j) {
|
|
417
|
+
case 0:
|
|
418
|
+
return S.suspend(() =>
|
|
419
|
+
S.Struct({
|
|
420
|
+
project_id: S.String.pipe(T.Label()),
|
|
421
|
+
project_name: S.optional(S.String),
|
|
422
|
+
}).pipe(
|
|
423
|
+
T.Http({
|
|
424
|
+
method: "POST",
|
|
425
|
+
uri: "/account/v3/projects/{project_id}/delete-with-resources",
|
|
426
|
+
code: 200,
|
|
427
|
+
baseUrl: "https://api.scaleway.com",
|
|
428
|
+
}),
|
|
429
|
+
),
|
|
430
|
+
).annotate({ identifier: "DeleteProjectWithResourcesRequest" });
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
function __c5(j: number): any {
|
|
434
|
+
switch (j) {
|
|
435
|
+
case 0:
|
|
436
|
+
return S.suspend(() =>
|
|
437
|
+
S.Struct({
|
|
438
|
+
project_id: S.String.pipe(T.Label()),
|
|
439
|
+
}).pipe(
|
|
440
|
+
T.Http({
|
|
441
|
+
method: "GET",
|
|
442
|
+
uri: "/account/v3/projects/{project_id}",
|
|
443
|
+
code: 200,
|
|
444
|
+
baseUrl: "https://api.scaleway.com",
|
|
445
|
+
}),
|
|
446
|
+
),
|
|
447
|
+
).annotate({ identifier: "GetProjectRequest" });
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
function __c6(j: number): any {
|
|
451
|
+
switch (j) {
|
|
452
|
+
case 0:
|
|
453
|
+
return S.Array(S.String);
|
|
454
|
+
case 1:
|
|
455
|
+
return S.suspend(() =>
|
|
456
|
+
S.Struct({
|
|
457
|
+
organization_id: S.String.pipe(T.Query()),
|
|
458
|
+
name: S.optional(S.String.pipe(T.Query())),
|
|
459
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
460
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
461
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
462
|
+
project_ids: S.optional(__S(24, __c6, 0).pipe(T.Query())),
|
|
463
|
+
}).pipe(
|
|
464
|
+
T.Http({
|
|
465
|
+
method: "GET",
|
|
466
|
+
uri: "/account/v3/projects",
|
|
467
|
+
code: 200,
|
|
468
|
+
baseUrl: "https://api.scaleway.com",
|
|
469
|
+
}),
|
|
470
|
+
),
|
|
471
|
+
).annotate({ identifier: "ListProjectsRequest" });
|
|
472
|
+
case 2:
|
|
473
|
+
return S.Array(__S(8, __c2, 0));
|
|
474
|
+
case 3:
|
|
475
|
+
return S.suspend(() =>
|
|
476
|
+
S.Struct({
|
|
477
|
+
total_count: S.optional(S.Number),
|
|
478
|
+
projects: __S(26, __c6, 2),
|
|
479
|
+
}),
|
|
480
|
+
).annotate({ identifier: "ListProjectsResponse" });
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
function __c7(j: number): any {
|
|
484
|
+
switch (j) {
|
|
485
|
+
case 0:
|
|
486
|
+
return S.suspend(() =>
|
|
487
|
+
S.Struct({
|
|
488
|
+
project_id: S.String.pipe(T.Label()),
|
|
489
|
+
qualification: S.optional(__S(5, __c1, 1)),
|
|
490
|
+
}).pipe(
|
|
491
|
+
T.Http({
|
|
492
|
+
method: "POST",
|
|
493
|
+
uri: "/account/v3/projects/{project_id}/project-qualification",
|
|
494
|
+
code: 200,
|
|
495
|
+
baseUrl: "https://api.scaleway.com",
|
|
496
|
+
}),
|
|
497
|
+
),
|
|
498
|
+
).annotate({ identifier: "SetProjectQualificationRequest" });
|
|
499
|
+
case 1:
|
|
500
|
+
return S.suspend(() =>
|
|
501
|
+
S.Struct({
|
|
502
|
+
project_id: S.optional(S.String),
|
|
503
|
+
qualification: S.optional(__S(5, __c1, 1)),
|
|
504
|
+
}),
|
|
505
|
+
).annotate({ identifier: "ProjectQualification" });
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
function __c8(j: number): any {
|
|
509
|
+
switch (j) {
|
|
510
|
+
case 0:
|
|
511
|
+
return S.suspend(() =>
|
|
512
|
+
S.Struct({
|
|
513
|
+
project_id: S.String.pipe(T.Label()),
|
|
514
|
+
name: S.optional(S.NullOr(S.String)),
|
|
515
|
+
description: S.optional(S.NullOr(S.String)),
|
|
516
|
+
}).pipe(
|
|
517
|
+
T.Http({
|
|
518
|
+
method: "PATCH",
|
|
519
|
+
uri: "/account/v3/projects/{project_id}",
|
|
520
|
+
code: 200,
|
|
521
|
+
baseUrl: "https://api.scaleway.com",
|
|
522
|
+
}),
|
|
523
|
+
),
|
|
524
|
+
).annotate({ identifier: "UpdateProjectRequest" });
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
528
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
529
|
+
return (__s[i] ??= __L.at(f, j));
|
|
530
|
+
}
|