@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,863 @@
|
|
|
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: "RegistryV1",
|
|
24
|
+
labels: "scaleway",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type CreateNamespaceRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
29
|
+
export interface CreateNamespaceRequest {
|
|
30
|
+
/** The region you want to target */
|
|
31
|
+
region?: CreateNamespaceRequestRegion | (string & {}) | undefined;
|
|
32
|
+
/** Name of the namespace. */
|
|
33
|
+
name: string;
|
|
34
|
+
/** Description of the namespace. */
|
|
35
|
+
description?: string | undefined;
|
|
36
|
+
/** Namespace owner (deprecated). Precisely one of project_id, organization_id can be set. */
|
|
37
|
+
organization_id?: string | null | undefined;
|
|
38
|
+
/** Project ID on which the namespace will be created. Precisely one of project_id, organization_id can be set. */
|
|
39
|
+
project_id?: string | null | undefined;
|
|
40
|
+
/** Defines whether or not namespace is public. */
|
|
41
|
+
is_public?: boolean | undefined;
|
|
42
|
+
}
|
|
43
|
+
export type NamespaceStatus = "unknown" | "ready" | "deleting" | "error" | "locked";
|
|
44
|
+
export interface Namespace {
|
|
45
|
+
/** SRN of the namespace. */
|
|
46
|
+
srn?: string | undefined;
|
|
47
|
+
/** UUID of the namespace. */
|
|
48
|
+
id?: string | undefined;
|
|
49
|
+
/** Name of the namespace, unique in a region across all organizations. */
|
|
50
|
+
name?: string | undefined;
|
|
51
|
+
/** Description of the namespace. */
|
|
52
|
+
description?: string | undefined;
|
|
53
|
+
/** Owner of the namespace. */
|
|
54
|
+
organization_id?: string | undefined;
|
|
55
|
+
/** Project of the namespace. */
|
|
56
|
+
project_id?: string | undefined;
|
|
57
|
+
/** Namespace status. */
|
|
58
|
+
status?: NamespaceStatus | undefined;
|
|
59
|
+
/** Namespace status details. */
|
|
60
|
+
status_message?: string | undefined;
|
|
61
|
+
/** Endpoint reachable by docker. */
|
|
62
|
+
endpoint?: string | undefined;
|
|
63
|
+
/** Defines whether or not namespace is public. */
|
|
64
|
+
is_public?: boolean | undefined;
|
|
65
|
+
/** Total size of the namespace, calculated as the sum of the size of all images in the namespace. (in bytes) */
|
|
66
|
+
size?: number | undefined;
|
|
67
|
+
/** Date and time of creation. (RFC 3339 format) */
|
|
68
|
+
created_at?: string | null | undefined;
|
|
69
|
+
/** Date and time of last update. (RFC 3339 format) */
|
|
70
|
+
updated_at?: string | null | undefined;
|
|
71
|
+
/** Number of images in the namespace. */
|
|
72
|
+
image_count?: number | undefined;
|
|
73
|
+
/** Region the namespace belongs to. */
|
|
74
|
+
region?: string | undefined;
|
|
75
|
+
}
|
|
76
|
+
export type DeleteImageRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
77
|
+
export interface DeleteImageRequest {
|
|
78
|
+
/** The region you want to target */
|
|
79
|
+
region?: DeleteImageRequestRegion | (string & {}) | undefined;
|
|
80
|
+
/** UUID of the image. */
|
|
81
|
+
image_id: string;
|
|
82
|
+
}
|
|
83
|
+
export type ImageStatus = "unknown" | "ready" | "deleting" | "error" | "locked";
|
|
84
|
+
export type ImageVisibility = "visibility_unknown" | "inherit" | "public" | "private";
|
|
85
|
+
/** List of docker tags of the image. */
|
|
86
|
+
export type ImageTagsList = Array<string>;
|
|
87
|
+
export interface Image {
|
|
88
|
+
/** SRN of the image. */
|
|
89
|
+
srn?: string | undefined;
|
|
90
|
+
/** Region where the image is located. */
|
|
91
|
+
region?: string | undefined;
|
|
92
|
+
/** UUID of the image. */
|
|
93
|
+
id?: string | undefined;
|
|
94
|
+
/** Name of the image, it must be unique within the namespace. */
|
|
95
|
+
name?: string | undefined;
|
|
96
|
+
/** UUID of the namespace the image belongs to. */
|
|
97
|
+
namespace_id?: string | undefined;
|
|
98
|
+
/** Status of the image. */
|
|
99
|
+
status?: ImageStatus | undefined;
|
|
100
|
+
/** Details of the image status. */
|
|
101
|
+
status_message?: string | null | undefined;
|
|
102
|
+
/** Set to `public` to allow the image to be pulled without authentication. Else, set to `private`. Set to `inherit` to keep the same visibility configuration as the namespace. */
|
|
103
|
+
visibility?: ImageVisibility | undefined;
|
|
104
|
+
/** Image size in bytes, calculated from the size of image layers. Image size in bytes, calculated from the size of image layers. One layer used in two tags of the same image is counted once but one layer used in two images is counted twice. (in bytes) */
|
|
105
|
+
size?: number | undefined;
|
|
106
|
+
/** Date and time of image creation. (RFC 3339 format) */
|
|
107
|
+
created_at?: string | null | undefined;
|
|
108
|
+
/** Date and time of last update. (RFC 3339 format) */
|
|
109
|
+
updated_at?: string | null | undefined;
|
|
110
|
+
/** List of docker tags of the image. */
|
|
111
|
+
tags?: ImageTagsList | undefined;
|
|
112
|
+
}
|
|
113
|
+
export type DeleteNamespaceRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
114
|
+
export interface DeleteNamespaceRequest {
|
|
115
|
+
/** The region you want to target */
|
|
116
|
+
region?: DeleteNamespaceRequestRegion | (string & {}) | undefined;
|
|
117
|
+
/** UUID of the namespace. */
|
|
118
|
+
namespace_id: string;
|
|
119
|
+
}
|
|
120
|
+
export type DeleteTagRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
121
|
+
export interface DeleteTagRequest {
|
|
122
|
+
/** The region you want to target */
|
|
123
|
+
region?: DeleteTagRequestRegion | (string & {}) | undefined;
|
|
124
|
+
/** UUID of the tag. */
|
|
125
|
+
tag_id: string;
|
|
126
|
+
/** If two tags share the same digest the deletion will fail unless this parameter is set to true (deprecated). */
|
|
127
|
+
force: boolean;
|
|
128
|
+
}
|
|
129
|
+
export type TagStatus = "unknown" | "ready" | "deleting" | "error" | "locked";
|
|
130
|
+
export interface Tag {
|
|
131
|
+
/** SRN of the tag. */
|
|
132
|
+
srn?: string | undefined;
|
|
133
|
+
/** Region where the tag is located. */
|
|
134
|
+
region?: string | undefined;
|
|
135
|
+
/** UUID of the tag. */
|
|
136
|
+
id?: string | undefined;
|
|
137
|
+
/** Tag name, unique to an image. */
|
|
138
|
+
name?: string | undefined;
|
|
139
|
+
/** Image ID the of the image the tag belongs to. */
|
|
140
|
+
image_id?: string | undefined;
|
|
141
|
+
/** Tag status. */
|
|
142
|
+
status?: TagStatus | undefined;
|
|
143
|
+
/** Hash of the tag content. Several tags of a same image may have the same digest. */
|
|
144
|
+
digest?: string | undefined;
|
|
145
|
+
/** Date and time of creation. (RFC 3339 format) */
|
|
146
|
+
created_at?: string | null | undefined;
|
|
147
|
+
/** Date and time of last update. (RFC 3339 format) */
|
|
148
|
+
updated_at?: string | null | undefined;
|
|
149
|
+
}
|
|
150
|
+
export type GetImageRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
151
|
+
export interface GetImageRequest {
|
|
152
|
+
/** The region you want to target */
|
|
153
|
+
region?: GetImageRequestRegion | (string & {}) | undefined;
|
|
154
|
+
/** UUID of the image. */
|
|
155
|
+
image_id: string;
|
|
156
|
+
}
|
|
157
|
+
export type GetNamespaceRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
158
|
+
export interface GetNamespaceRequest {
|
|
159
|
+
/** The region you want to target */
|
|
160
|
+
region?: GetNamespaceRequestRegion | (string & {}) | undefined;
|
|
161
|
+
/** UUID of the namespace. */
|
|
162
|
+
namespace_id: string;
|
|
163
|
+
}
|
|
164
|
+
export type GetTagRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
165
|
+
export interface GetTagRequest {
|
|
166
|
+
/** The region you want to target */
|
|
167
|
+
region?: GetTagRequestRegion | (string & {}) | undefined;
|
|
168
|
+
/** UUID of the tag. */
|
|
169
|
+
tag_id: string;
|
|
170
|
+
}
|
|
171
|
+
export type ListImagesRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
172
|
+
export type ListImagesRequestOrderBy =
|
|
173
|
+
| "created_at_asc"
|
|
174
|
+
| "created_at_desc"
|
|
175
|
+
| "name_asc"
|
|
176
|
+
| "name_desc";
|
|
177
|
+
export interface ListImagesRequest {
|
|
178
|
+
/** The region you want to target */
|
|
179
|
+
region?: ListImagesRequestRegion | (string & {}) | undefined;
|
|
180
|
+
/** A positive integer to choose the page to display. */
|
|
181
|
+
page?: number | undefined;
|
|
182
|
+
/** A positive integer lower or equal to 100 to select the number of items to display. */
|
|
183
|
+
page_size?: number | undefined;
|
|
184
|
+
/** Criteria to use when ordering image listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`. */
|
|
185
|
+
order_by?: ListImagesRequestOrderBy | (string & {}) | undefined;
|
|
186
|
+
/** Filter by the namespace ID. */
|
|
187
|
+
namespace_id?: string | undefined;
|
|
188
|
+
/** Filter by the image name (exact match). */
|
|
189
|
+
name?: string | undefined;
|
|
190
|
+
/** Filter by Organization ID. */
|
|
191
|
+
organization_id?: string | undefined;
|
|
192
|
+
/** Filter by Project ID. */
|
|
193
|
+
project_id?: string | undefined;
|
|
194
|
+
}
|
|
195
|
+
/** Paginated list of images that match the selected filters. */
|
|
196
|
+
export type ListImagesResponseImagesList = Array<Image>;
|
|
197
|
+
export interface ListImagesResponse {
|
|
198
|
+
/** Paginated list of images that match the selected filters. */
|
|
199
|
+
images: ListImagesResponseImagesList;
|
|
200
|
+
/** Total number of images that match the selected filters. */
|
|
201
|
+
total_count?: number | undefined;
|
|
202
|
+
}
|
|
203
|
+
export type ListNamespacesRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
204
|
+
export type ListNamespacesRequestOrderBy =
|
|
205
|
+
| "created_at_asc"
|
|
206
|
+
| "created_at_desc"
|
|
207
|
+
| "description_asc"
|
|
208
|
+
| "description_desc"
|
|
209
|
+
| "name_asc"
|
|
210
|
+
| "name_desc";
|
|
211
|
+
export interface ListNamespacesRequest {
|
|
212
|
+
/** The region you want to target */
|
|
213
|
+
region?: ListNamespacesRequestRegion | (string & {}) | undefined;
|
|
214
|
+
/** A positive integer to choose the page to display. */
|
|
215
|
+
page?: number | undefined;
|
|
216
|
+
/** A positive integer lower or equal to 100 to select the number of items to display. */
|
|
217
|
+
page_size?: number | undefined;
|
|
218
|
+
/** Criteria to use when ordering namespace listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`. */
|
|
219
|
+
order_by?: ListNamespacesRequestOrderBy | (string & {}) | undefined;
|
|
220
|
+
/** Filter by Organization ID. */
|
|
221
|
+
organization_id?: string | undefined;
|
|
222
|
+
/** Filter by Project ID. */
|
|
223
|
+
project_id?: string | undefined;
|
|
224
|
+
/** Filter by the namespace name (exact match). */
|
|
225
|
+
name?: string | undefined;
|
|
226
|
+
}
|
|
227
|
+
/** Paginated list of namespaces that match the selected filters. */
|
|
228
|
+
export type ListNamespacesResponseNamespacesList = Array<Namespace>;
|
|
229
|
+
export interface ListNamespacesResponse {
|
|
230
|
+
/** Paginated list of namespaces that match the selected filters. */
|
|
231
|
+
namespaces: ListNamespacesResponseNamespacesList;
|
|
232
|
+
/** Total number of namespaces that match the selected filters. */
|
|
233
|
+
total_count?: number | undefined;
|
|
234
|
+
}
|
|
235
|
+
export type ListTagsRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
236
|
+
export type ListTagsRequestOrderBy =
|
|
237
|
+
| "created_at_asc"
|
|
238
|
+
| "created_at_desc"
|
|
239
|
+
| "name_asc"
|
|
240
|
+
| "name_desc";
|
|
241
|
+
export interface ListTagsRequest {
|
|
242
|
+
/** The region you want to target */
|
|
243
|
+
region?: ListTagsRequestRegion | (string & {}) | undefined;
|
|
244
|
+
/** UUID of the image. */
|
|
245
|
+
image_id: string;
|
|
246
|
+
/** A positive integer to choose the page to display. */
|
|
247
|
+
page?: number | undefined;
|
|
248
|
+
/** A positive integer lower or equal to 100 to select the number of items to display. */
|
|
249
|
+
page_size?: number | undefined;
|
|
250
|
+
/** Criteria to use when ordering tag listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`. */
|
|
251
|
+
order_by?: ListTagsRequestOrderBy | (string & {}) | undefined;
|
|
252
|
+
/** Filter by the tag name (exact match). */
|
|
253
|
+
name?: string | undefined;
|
|
254
|
+
}
|
|
255
|
+
/** Paginated list of tags that match the selected filters. */
|
|
256
|
+
export type ListTagsResponseTagsList = Array<Tag>;
|
|
257
|
+
export interface ListTagsResponse {
|
|
258
|
+
/** Paginated list of tags that match the selected filters. */
|
|
259
|
+
tags: ListTagsResponseTagsList;
|
|
260
|
+
/** Total number of tags that match the selected filters. */
|
|
261
|
+
total_count?: number | undefined;
|
|
262
|
+
}
|
|
263
|
+
export type UpdateImageRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
264
|
+
export interface UpdateImageRequest {
|
|
265
|
+
/** The region you want to target */
|
|
266
|
+
region?: UpdateImageRequestRegion | (string & {}) | undefined;
|
|
267
|
+
/** ID of the image to update. */
|
|
268
|
+
image_id: string;
|
|
269
|
+
/** Set to `public` to allow the image to be pulled without authentication. Else, set to `private`. Set to `inherit` to keep the same visibility configuration as the namespace. */
|
|
270
|
+
visibility?: ImageVisibility | (string & {}) | undefined;
|
|
271
|
+
}
|
|
272
|
+
export type UpdateNamespaceRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
273
|
+
export interface UpdateNamespaceRequest {
|
|
274
|
+
/** The region you want to target */
|
|
275
|
+
region?: UpdateNamespaceRequestRegion | (string & {}) | undefined;
|
|
276
|
+
/** ID of the namespace to update. */
|
|
277
|
+
namespace_id: string;
|
|
278
|
+
/** Namespace description. */
|
|
279
|
+
description?: string | null | undefined;
|
|
280
|
+
/** Defines whether or not the namespace is public. */
|
|
281
|
+
is_public?: boolean | null | undefined;
|
|
282
|
+
}
|
|
283
|
+
export type CreateNamespaceError = ScalewayOpError;
|
|
284
|
+
/** Create a namespace Create a new Container Registry namespace. You must specify the namespace name and region in which you want it to be created. Optionally, you can specify the `project_id` and `is_public` in the request payload. */
|
|
285
|
+
export const createNamespace: API.OperationMethod<
|
|
286
|
+
CreateNamespaceRequest,
|
|
287
|
+
Namespace,
|
|
288
|
+
CreateNamespaceError,
|
|
289
|
+
ScalewayOpContext
|
|
290
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
291
|
+
input: __S(0, __c0, 0) as any as S.Schema<CreateNamespaceRequest>,
|
|
292
|
+
output: __S(4, __c1, 0) as any as S.Schema<Namespace>,
|
|
293
|
+
errors: [],
|
|
294
|
+
serviceErrors: ScalewayServiceErrors,
|
|
295
|
+
protocol: ScalewayProtocol,
|
|
296
|
+
retry: Retry.Retry,
|
|
297
|
+
telemetry: TELEMETRY,
|
|
298
|
+
span: "CreateNamespace",
|
|
299
|
+
}));
|
|
300
|
+
|
|
301
|
+
export type DeleteImageError = ScalewayOpError;
|
|
302
|
+
/** Delete an image Delete a given image. You must specify, in the endpoint, the `region` and `image_id` parameters of the image you want to delete. */
|
|
303
|
+
export const deleteImage: API.OperationMethod<
|
|
304
|
+
DeleteImageRequest,
|
|
305
|
+
Image,
|
|
306
|
+
DeleteImageError,
|
|
307
|
+
ScalewayOpContext
|
|
308
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
309
|
+
input: __S(8, __c2, 0) as any as S.Schema<DeleteImageRequest>,
|
|
310
|
+
output: __S(13, __c3, 1) as any as S.Schema<Image>,
|
|
311
|
+
errors: [],
|
|
312
|
+
serviceErrors: ScalewayServiceErrors,
|
|
313
|
+
protocol: ScalewayProtocol,
|
|
314
|
+
retry: Retry.Retry,
|
|
315
|
+
telemetry: TELEMETRY,
|
|
316
|
+
span: "DeleteImage",
|
|
317
|
+
}));
|
|
318
|
+
|
|
319
|
+
export type DeleteNamespaceError = ScalewayOpError;
|
|
320
|
+
/** Delete a namespace Delete a given namespace. You must specify, in the endpoint, the `region` and `namespace_id` parameters of the namespace you want to delete. */
|
|
321
|
+
export const deleteNamespace: API.OperationMethod<
|
|
322
|
+
DeleteNamespaceRequest,
|
|
323
|
+
Namespace,
|
|
324
|
+
DeleteNamespaceError,
|
|
325
|
+
ScalewayOpContext
|
|
326
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
327
|
+
input: __S(24, __c6, 0) as any as S.Schema<DeleteNamespaceRequest>,
|
|
328
|
+
output: __S(4, __c1, 0) as any as S.Schema<Namespace>,
|
|
329
|
+
errors: [],
|
|
330
|
+
serviceErrors: ScalewayServiceErrors,
|
|
331
|
+
protocol: ScalewayProtocol,
|
|
332
|
+
retry: Retry.Retry,
|
|
333
|
+
telemetry: TELEMETRY,
|
|
334
|
+
span: "DeleteNamespace",
|
|
335
|
+
}));
|
|
336
|
+
|
|
337
|
+
export type DeleteTagError = ScalewayOpError;
|
|
338
|
+
/** Delete a tag Delete a given image tag. You must specify, in the endpoint, the `region` and `tag_id` parameters of the tag you want to delete. */
|
|
339
|
+
export const deleteTag: API.OperationMethod<
|
|
340
|
+
DeleteTagRequest,
|
|
341
|
+
Tag,
|
|
342
|
+
DeleteTagError,
|
|
343
|
+
ScalewayOpContext
|
|
344
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
345
|
+
input: __S(28, __c7, 0) as any as S.Schema<DeleteTagRequest>,
|
|
346
|
+
output: __S(32, __c8, 0) as any as S.Schema<Tag>,
|
|
347
|
+
errors: [],
|
|
348
|
+
serviceErrors: ScalewayServiceErrors,
|
|
349
|
+
protocol: ScalewayProtocol,
|
|
350
|
+
retry: Retry.Retry,
|
|
351
|
+
telemetry: TELEMETRY,
|
|
352
|
+
span: "DeleteTag",
|
|
353
|
+
}));
|
|
354
|
+
|
|
355
|
+
export type GetImageError = ScalewayOpError;
|
|
356
|
+
/** Get an image Retrieve information about a given container image, specified by its `image_id` and region. Full details about the image, such as `name`, `namespace_id`, `status`, `visibility`, and `size` are returned in the response. */
|
|
357
|
+
export const getImage: API.OperationMethod<
|
|
358
|
+
GetImageRequest,
|
|
359
|
+
Image,
|
|
360
|
+
GetImageError,
|
|
361
|
+
ScalewayOpContext
|
|
362
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
363
|
+
input: __S(36, __c9, 0) as any as S.Schema<GetImageRequest>,
|
|
364
|
+
output: __S(13, __c3, 1) as any as S.Schema<Image>,
|
|
365
|
+
errors: [],
|
|
366
|
+
serviceErrors: ScalewayServiceErrors,
|
|
367
|
+
protocol: ScalewayProtocol,
|
|
368
|
+
retry: Retry.Retry,
|
|
369
|
+
telemetry: TELEMETRY,
|
|
370
|
+
span: "GetImage",
|
|
371
|
+
}));
|
|
372
|
+
|
|
373
|
+
export type GetNamespaceError = ScalewayOpError;
|
|
374
|
+
/** Get a namespace Retrieve information about a given namespace, specified by its `namespace_id` and region. Full details about the namespace, such as `description`, `project_id`, `status`, `endpoint`, `is_public`, `size`, and `image_count` are returned in the response. */
|
|
375
|
+
export const getNamespace: API.OperationMethod<
|
|
376
|
+
GetNamespaceRequest,
|
|
377
|
+
Namespace,
|
|
378
|
+
GetNamespaceError,
|
|
379
|
+
ScalewayOpContext
|
|
380
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
381
|
+
input: __S(40, __c10, 0) as any as S.Schema<GetNamespaceRequest>,
|
|
382
|
+
output: __S(4, __c1, 0) as any as S.Schema<Namespace>,
|
|
383
|
+
errors: [],
|
|
384
|
+
serviceErrors: ScalewayServiceErrors,
|
|
385
|
+
protocol: ScalewayProtocol,
|
|
386
|
+
retry: Retry.Retry,
|
|
387
|
+
telemetry: TELEMETRY,
|
|
388
|
+
span: "GetNamespace",
|
|
389
|
+
}));
|
|
390
|
+
|
|
391
|
+
export type GetTagError = ScalewayOpError;
|
|
392
|
+
/** Get a tag Retrieve information about a given image tag, specified by its `tag_id` and region. Full details about the tag, such as `name`, `image_id`, `status`, and `digest` are returned in the response. */
|
|
393
|
+
export const getTag: API.OperationMethod<GetTagRequest, Tag, GetTagError, ScalewayOpContext> =
|
|
394
|
+
/*@__PURE__*/ API.make(() => ({
|
|
395
|
+
input: __S(44, __c11, 0) as any as S.Schema<GetTagRequest>,
|
|
396
|
+
output: __S(32, __c8, 0) as any as S.Schema<Tag>,
|
|
397
|
+
errors: [],
|
|
398
|
+
serviceErrors: ScalewayServiceErrors,
|
|
399
|
+
protocol: ScalewayProtocol,
|
|
400
|
+
retry: Retry.Retry,
|
|
401
|
+
telemetry: TELEMETRY,
|
|
402
|
+
span: "GetTag",
|
|
403
|
+
}));
|
|
404
|
+
|
|
405
|
+
export type ListImagesError = ScalewayOpError;
|
|
406
|
+
/** List images List all images in a specified region. By default, the images listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `namespace_id` and `project_id` parameters. */
|
|
407
|
+
export const listImages: API.PaginatedOperationMethod<
|
|
408
|
+
ListImagesRequest,
|
|
409
|
+
ListImagesResponse,
|
|
410
|
+
ListImagesError,
|
|
411
|
+
ScalewayOpContext,
|
|
412
|
+
Image
|
|
413
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
414
|
+
() => ({
|
|
415
|
+
input: __S(48, __c12, 0) as any as S.Schema<ListImagesRequest>,
|
|
416
|
+
output: __S(50, __c12, 2) as any as S.Schema<ListImagesResponse>,
|
|
417
|
+
errors: [],
|
|
418
|
+
serviceErrors: ScalewayServiceErrors,
|
|
419
|
+
protocol: ScalewayProtocol,
|
|
420
|
+
retry: Retry.Retry,
|
|
421
|
+
telemetry: TELEMETRY,
|
|
422
|
+
span: "ListImages",
|
|
423
|
+
pagination: {
|
|
424
|
+
mode: "page",
|
|
425
|
+
inputToken: "page",
|
|
426
|
+
outputToken: "total_count",
|
|
427
|
+
items: "images",
|
|
428
|
+
pageSize: "page_size",
|
|
429
|
+
} as const,
|
|
430
|
+
}),
|
|
431
|
+
paginateByTotalCount,
|
|
432
|
+
) as any;
|
|
433
|
+
|
|
434
|
+
export type ListNamespacesError = ScalewayOpError;
|
|
435
|
+
/** List namespaces List all namespaces in a specified region. By default, the namespaces listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `instance_id` and `project_id` parameters. */
|
|
436
|
+
export const listNamespaces: API.PaginatedOperationMethod<
|
|
437
|
+
ListNamespacesRequest,
|
|
438
|
+
ListNamespacesResponse,
|
|
439
|
+
ListNamespacesError,
|
|
440
|
+
ScalewayOpContext,
|
|
441
|
+
Namespace
|
|
442
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
443
|
+
() => ({
|
|
444
|
+
input: __S(52, __c13, 0) as any as S.Schema<ListNamespacesRequest>,
|
|
445
|
+
output: __S(54, __c13, 2) as any as S.Schema<ListNamespacesResponse>,
|
|
446
|
+
errors: [],
|
|
447
|
+
serviceErrors: ScalewayServiceErrors,
|
|
448
|
+
protocol: ScalewayProtocol,
|
|
449
|
+
retry: Retry.Retry,
|
|
450
|
+
telemetry: TELEMETRY,
|
|
451
|
+
span: "ListNamespaces",
|
|
452
|
+
pagination: {
|
|
453
|
+
mode: "page",
|
|
454
|
+
inputToken: "page",
|
|
455
|
+
outputToken: "total_count",
|
|
456
|
+
items: "namespaces",
|
|
457
|
+
pageSize: "page_size",
|
|
458
|
+
} as const,
|
|
459
|
+
}),
|
|
460
|
+
paginateByTotalCount,
|
|
461
|
+
) as any;
|
|
462
|
+
|
|
463
|
+
export type ListTagsError = ScalewayOpError;
|
|
464
|
+
/** List tags List all tags for a given image, specified by region. By default, the tags listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `name`. */
|
|
465
|
+
export const listTags: API.PaginatedOperationMethod<
|
|
466
|
+
ListTagsRequest,
|
|
467
|
+
ListTagsResponse,
|
|
468
|
+
ListTagsError,
|
|
469
|
+
ScalewayOpContext,
|
|
470
|
+
Tag
|
|
471
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
472
|
+
() => ({
|
|
473
|
+
input: __S(56, __c14, 0) as any as S.Schema<ListTagsRequest>,
|
|
474
|
+
output: __S(58, __c14, 2) as any as S.Schema<ListTagsResponse>,
|
|
475
|
+
errors: [],
|
|
476
|
+
serviceErrors: ScalewayServiceErrors,
|
|
477
|
+
protocol: ScalewayProtocol,
|
|
478
|
+
retry: Retry.Retry,
|
|
479
|
+
telemetry: TELEMETRY,
|
|
480
|
+
span: "ListTags",
|
|
481
|
+
pagination: {
|
|
482
|
+
mode: "page",
|
|
483
|
+
inputToken: "page",
|
|
484
|
+
outputToken: "total_count",
|
|
485
|
+
items: "tags",
|
|
486
|
+
pageSize: "page_size",
|
|
487
|
+
} as const,
|
|
488
|
+
}),
|
|
489
|
+
paginateByTotalCount,
|
|
490
|
+
) as any;
|
|
491
|
+
|
|
492
|
+
export type UpdateImageError = ScalewayOpError;
|
|
493
|
+
/** Update an image Update the parameters of a given image, specified by its `image_id` and `region`. You can update the `visibility` parameter. */
|
|
494
|
+
export const updateImage: API.OperationMethod<
|
|
495
|
+
UpdateImageRequest,
|
|
496
|
+
Image,
|
|
497
|
+
UpdateImageError,
|
|
498
|
+
ScalewayOpContext
|
|
499
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
500
|
+
input: __S(16, __c4, 0) as any as S.Schema<UpdateImageRequest>,
|
|
501
|
+
output: __S(13, __c3, 1) as any as S.Schema<Image>,
|
|
502
|
+
errors: [],
|
|
503
|
+
serviceErrors: ScalewayServiceErrors,
|
|
504
|
+
protocol: ScalewayProtocol,
|
|
505
|
+
retry: Retry.Retry,
|
|
506
|
+
telemetry: TELEMETRY,
|
|
507
|
+
span: "UpdateImage",
|
|
508
|
+
}));
|
|
509
|
+
|
|
510
|
+
export type UpdateNamespaceError = ScalewayOpError;
|
|
511
|
+
/** Update a namespace Update the parameters of a given namespace, specified by its `namespace_id` and `region`. You can update the `description` and `is_public` parameters. */
|
|
512
|
+
export const updateNamespace: API.OperationMethod<
|
|
513
|
+
UpdateNamespaceRequest,
|
|
514
|
+
Namespace,
|
|
515
|
+
UpdateNamespaceError,
|
|
516
|
+
ScalewayOpContext
|
|
517
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
518
|
+
input: __S(20, __c5, 0) as any as S.Schema<UpdateNamespaceRequest>,
|
|
519
|
+
output: __S(4, __c1, 0) as any as S.Schema<Namespace>,
|
|
520
|
+
errors: [],
|
|
521
|
+
serviceErrors: ScalewayServiceErrors,
|
|
522
|
+
protocol: ScalewayProtocol,
|
|
523
|
+
retry: Retry.Retry,
|
|
524
|
+
telemetry: TELEMETRY,
|
|
525
|
+
span: "UpdateNamespace",
|
|
526
|
+
}));
|
|
527
|
+
|
|
528
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
529
|
+
function __c0(j: number): any {
|
|
530
|
+
switch (j) {
|
|
531
|
+
case 0:
|
|
532
|
+
return S.suspend(() =>
|
|
533
|
+
S.Struct({
|
|
534
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
535
|
+
name: S.String,
|
|
536
|
+
description: S.optional(S.String),
|
|
537
|
+
organization_id: S.optional(S.NullOr(S.String)),
|
|
538
|
+
project_id: S.optional(S.NullOr(S.String)),
|
|
539
|
+
is_public: S.optional(S.Boolean),
|
|
540
|
+
}).pipe(
|
|
541
|
+
T.Http({
|
|
542
|
+
method: "POST",
|
|
543
|
+
uri: "/registry/v1/regions/{region}/namespaces",
|
|
544
|
+
code: 200,
|
|
545
|
+
baseUrl: "https://api.scaleway.com",
|
|
546
|
+
}),
|
|
547
|
+
),
|
|
548
|
+
).annotate({ identifier: "CreateNamespaceRequest" });
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
function __c1(j: number): any {
|
|
552
|
+
switch (j) {
|
|
553
|
+
case 0:
|
|
554
|
+
return S.suspend(() =>
|
|
555
|
+
S.Struct({
|
|
556
|
+
srn: S.optional(S.String),
|
|
557
|
+
id: S.optional(S.String),
|
|
558
|
+
name: S.optional(S.String),
|
|
559
|
+
description: S.optional(S.String),
|
|
560
|
+
organization_id: S.optional(S.String),
|
|
561
|
+
project_id: S.optional(S.String),
|
|
562
|
+
status: S.optional(S.String),
|
|
563
|
+
status_message: S.optional(S.String),
|
|
564
|
+
endpoint: S.optional(S.String),
|
|
565
|
+
is_public: S.optional(S.Boolean),
|
|
566
|
+
size: S.optional(S.Number),
|
|
567
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
568
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
569
|
+
image_count: S.optional(S.Number),
|
|
570
|
+
region: S.optional(S.String),
|
|
571
|
+
}),
|
|
572
|
+
).annotate({ identifier: "Namespace" });
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
function __c2(j: number): any {
|
|
576
|
+
switch (j) {
|
|
577
|
+
case 0:
|
|
578
|
+
return S.suspend(() =>
|
|
579
|
+
S.Struct({
|
|
580
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
581
|
+
image_id: S.String.pipe(T.Label()),
|
|
582
|
+
}).pipe(
|
|
583
|
+
T.Http({
|
|
584
|
+
method: "DELETE",
|
|
585
|
+
uri: "/registry/v1/regions/{region}/images/{image_id}",
|
|
586
|
+
code: 200,
|
|
587
|
+
baseUrl: "https://api.scaleway.com",
|
|
588
|
+
}),
|
|
589
|
+
),
|
|
590
|
+
).annotate({ identifier: "DeleteImageRequest" });
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
function __c3(j: number): any {
|
|
594
|
+
switch (j) {
|
|
595
|
+
case 0:
|
|
596
|
+
return S.Array(S.String);
|
|
597
|
+
case 1:
|
|
598
|
+
return S.suspend(() =>
|
|
599
|
+
S.Struct({
|
|
600
|
+
srn: S.optional(S.String),
|
|
601
|
+
region: S.optional(S.String),
|
|
602
|
+
id: S.optional(S.String),
|
|
603
|
+
name: S.optional(S.String),
|
|
604
|
+
namespace_id: S.optional(S.String),
|
|
605
|
+
status: S.optional(S.String),
|
|
606
|
+
status_message: S.optional(S.NullOr(S.String)),
|
|
607
|
+
visibility: S.optional(S.String),
|
|
608
|
+
size: S.optional(S.Number),
|
|
609
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
610
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
611
|
+
tags: S.optional(__S(12, __c3, 0)),
|
|
612
|
+
}),
|
|
613
|
+
).annotate({ identifier: "Image" });
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
function __c4(j: number): any {
|
|
617
|
+
switch (j) {
|
|
618
|
+
case 0:
|
|
619
|
+
return S.suspend(() =>
|
|
620
|
+
S.Struct({
|
|
621
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
622
|
+
image_id: S.String.pipe(T.Label()),
|
|
623
|
+
visibility: S.optional(S.String),
|
|
624
|
+
}).pipe(
|
|
625
|
+
T.Http({
|
|
626
|
+
method: "PATCH",
|
|
627
|
+
uri: "/registry/v1/regions/{region}/images/{image_id}",
|
|
628
|
+
code: 200,
|
|
629
|
+
baseUrl: "https://api.scaleway.com",
|
|
630
|
+
}),
|
|
631
|
+
),
|
|
632
|
+
).annotate({ identifier: "UpdateImageRequest" });
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
function __c5(j: number): any {
|
|
636
|
+
switch (j) {
|
|
637
|
+
case 0:
|
|
638
|
+
return S.suspend(() =>
|
|
639
|
+
S.Struct({
|
|
640
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
641
|
+
namespace_id: S.String.pipe(T.Label()),
|
|
642
|
+
description: S.optional(S.NullOr(S.String)),
|
|
643
|
+
is_public: S.optional(S.NullOr(S.Boolean)),
|
|
644
|
+
}).pipe(
|
|
645
|
+
T.Http({
|
|
646
|
+
method: "PATCH",
|
|
647
|
+
uri: "/registry/v1/regions/{region}/namespaces/{namespace_id}",
|
|
648
|
+
code: 200,
|
|
649
|
+
baseUrl: "https://api.scaleway.com",
|
|
650
|
+
}),
|
|
651
|
+
),
|
|
652
|
+
).annotate({ identifier: "UpdateNamespaceRequest" });
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
function __c6(j: number): any {
|
|
656
|
+
switch (j) {
|
|
657
|
+
case 0:
|
|
658
|
+
return S.suspend(() =>
|
|
659
|
+
S.Struct({
|
|
660
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
661
|
+
namespace_id: S.String.pipe(T.Label()),
|
|
662
|
+
}).pipe(
|
|
663
|
+
T.Http({
|
|
664
|
+
method: "DELETE",
|
|
665
|
+
uri: "/registry/v1/regions/{region}/namespaces/{namespace_id}",
|
|
666
|
+
code: 200,
|
|
667
|
+
baseUrl: "https://api.scaleway.com",
|
|
668
|
+
}),
|
|
669
|
+
),
|
|
670
|
+
).annotate({ identifier: "DeleteNamespaceRequest" });
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
function __c7(j: number): any {
|
|
674
|
+
switch (j) {
|
|
675
|
+
case 0:
|
|
676
|
+
return S.suspend(() =>
|
|
677
|
+
S.Struct({
|
|
678
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
679
|
+
tag_id: S.String.pipe(T.Label()),
|
|
680
|
+
force: S.Boolean.pipe(T.Query()),
|
|
681
|
+
}).pipe(
|
|
682
|
+
T.Http({
|
|
683
|
+
method: "DELETE",
|
|
684
|
+
uri: "/registry/v1/regions/{region}/tags/{tag_id}",
|
|
685
|
+
code: 200,
|
|
686
|
+
baseUrl: "https://api.scaleway.com",
|
|
687
|
+
}),
|
|
688
|
+
),
|
|
689
|
+
).annotate({ identifier: "DeleteTagRequest" });
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
function __c8(j: number): any {
|
|
693
|
+
switch (j) {
|
|
694
|
+
case 0:
|
|
695
|
+
return S.suspend(() =>
|
|
696
|
+
S.Struct({
|
|
697
|
+
srn: S.optional(S.String),
|
|
698
|
+
region: S.optional(S.String),
|
|
699
|
+
id: S.optional(S.String),
|
|
700
|
+
name: S.optional(S.String),
|
|
701
|
+
image_id: S.optional(S.String),
|
|
702
|
+
status: S.optional(S.String),
|
|
703
|
+
digest: S.optional(S.String),
|
|
704
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
705
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
706
|
+
}),
|
|
707
|
+
).annotate({ identifier: "Tag" });
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
function __c9(j: number): any {
|
|
711
|
+
switch (j) {
|
|
712
|
+
case 0:
|
|
713
|
+
return S.suspend(() =>
|
|
714
|
+
S.Struct({
|
|
715
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
716
|
+
image_id: S.String.pipe(T.Label()),
|
|
717
|
+
}).pipe(
|
|
718
|
+
T.Http({
|
|
719
|
+
method: "GET",
|
|
720
|
+
uri: "/registry/v1/regions/{region}/images/{image_id}",
|
|
721
|
+
code: 200,
|
|
722
|
+
baseUrl: "https://api.scaleway.com",
|
|
723
|
+
}),
|
|
724
|
+
),
|
|
725
|
+
).annotate({ identifier: "GetImageRequest" });
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
function __c10(j: number): any {
|
|
729
|
+
switch (j) {
|
|
730
|
+
case 0:
|
|
731
|
+
return S.suspend(() =>
|
|
732
|
+
S.Struct({
|
|
733
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
734
|
+
namespace_id: S.String.pipe(T.Label()),
|
|
735
|
+
}).pipe(
|
|
736
|
+
T.Http({
|
|
737
|
+
method: "GET",
|
|
738
|
+
uri: "/registry/v1/regions/{region}/namespaces/{namespace_id}",
|
|
739
|
+
code: 200,
|
|
740
|
+
baseUrl: "https://api.scaleway.com",
|
|
741
|
+
}),
|
|
742
|
+
),
|
|
743
|
+
).annotate({ identifier: "GetNamespaceRequest" });
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
function __c11(j: number): any {
|
|
747
|
+
switch (j) {
|
|
748
|
+
case 0:
|
|
749
|
+
return S.suspend(() =>
|
|
750
|
+
S.Struct({
|
|
751
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
752
|
+
tag_id: S.String.pipe(T.Label()),
|
|
753
|
+
}).pipe(
|
|
754
|
+
T.Http({
|
|
755
|
+
method: "GET",
|
|
756
|
+
uri: "/registry/v1/regions/{region}/tags/{tag_id}",
|
|
757
|
+
code: 200,
|
|
758
|
+
baseUrl: "https://api.scaleway.com",
|
|
759
|
+
}),
|
|
760
|
+
),
|
|
761
|
+
).annotate({ identifier: "GetTagRequest" });
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
function __c12(j: number): any {
|
|
765
|
+
switch (j) {
|
|
766
|
+
case 0:
|
|
767
|
+
return S.suspend(() =>
|
|
768
|
+
S.Struct({
|
|
769
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
770
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
771
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
772
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
773
|
+
namespace_id: S.optional(S.String.pipe(T.Query())),
|
|
774
|
+
name: S.optional(S.String.pipe(T.Query())),
|
|
775
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
776
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
777
|
+
}).pipe(
|
|
778
|
+
T.Http({
|
|
779
|
+
method: "GET",
|
|
780
|
+
uri: "/registry/v1/regions/{region}/images",
|
|
781
|
+
code: 200,
|
|
782
|
+
baseUrl: "https://api.scaleway.com",
|
|
783
|
+
}),
|
|
784
|
+
),
|
|
785
|
+
).annotate({ identifier: "ListImagesRequest" });
|
|
786
|
+
case 1:
|
|
787
|
+
return S.Array(__S(13, __c3, 1));
|
|
788
|
+
case 2:
|
|
789
|
+
return S.suspend(() =>
|
|
790
|
+
S.Struct({
|
|
791
|
+
images: __S(49, __c12, 1),
|
|
792
|
+
total_count: S.optional(S.Number),
|
|
793
|
+
}),
|
|
794
|
+
).annotate({ identifier: "ListImagesResponse" });
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
function __c13(j: number): any {
|
|
798
|
+
switch (j) {
|
|
799
|
+
case 0:
|
|
800
|
+
return S.suspend(() =>
|
|
801
|
+
S.Struct({
|
|
802
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
803
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
804
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
805
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
806
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
807
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
808
|
+
name: S.optional(S.String.pipe(T.Query())),
|
|
809
|
+
}).pipe(
|
|
810
|
+
T.Http({
|
|
811
|
+
method: "GET",
|
|
812
|
+
uri: "/registry/v1/regions/{region}/namespaces",
|
|
813
|
+
code: 200,
|
|
814
|
+
baseUrl: "https://api.scaleway.com",
|
|
815
|
+
}),
|
|
816
|
+
),
|
|
817
|
+
).annotate({ identifier: "ListNamespacesRequest" });
|
|
818
|
+
case 1:
|
|
819
|
+
return S.Array(__S(4, __c1, 0));
|
|
820
|
+
case 2:
|
|
821
|
+
return S.suspend(() =>
|
|
822
|
+
S.Struct({
|
|
823
|
+
namespaces: __S(53, __c13, 1),
|
|
824
|
+
total_count: S.optional(S.Number),
|
|
825
|
+
}),
|
|
826
|
+
).annotate({ identifier: "ListNamespacesResponse" });
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
function __c14(j: number): any {
|
|
830
|
+
switch (j) {
|
|
831
|
+
case 0:
|
|
832
|
+
return S.suspend(() =>
|
|
833
|
+
S.Struct({
|
|
834
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
835
|
+
image_id: S.String.pipe(T.Label()),
|
|
836
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
837
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
838
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
839
|
+
name: S.optional(S.String.pipe(T.Query())),
|
|
840
|
+
}).pipe(
|
|
841
|
+
T.Http({
|
|
842
|
+
method: "GET",
|
|
843
|
+
uri: "/registry/v1/regions/{region}/images/{image_id}/tags",
|
|
844
|
+
code: 200,
|
|
845
|
+
baseUrl: "https://api.scaleway.com",
|
|
846
|
+
}),
|
|
847
|
+
),
|
|
848
|
+
).annotate({ identifier: "ListTagsRequest" });
|
|
849
|
+
case 1:
|
|
850
|
+
return S.Array(__S(32, __c8, 0));
|
|
851
|
+
case 2:
|
|
852
|
+
return S.suspend(() =>
|
|
853
|
+
S.Struct({
|
|
854
|
+
tags: __S(57, __c14, 1),
|
|
855
|
+
total_count: S.optional(S.Number),
|
|
856
|
+
}),
|
|
857
|
+
).annotate({ identifier: "ListTagsResponse" });
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
861
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
862
|
+
return (__s[i] ??= __L.at(f, j));
|
|
863
|
+
}
|