@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,897 @@
|
|
|
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: "AnnotationsV1",
|
|
24
|
+
labels: "scaleway",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export interface CreateBindingRequest {
|
|
29
|
+
/** SRN of the resource to attach the value to. */
|
|
30
|
+
target_srn?: string | undefined;
|
|
31
|
+
/** ID of the value to associate. (UUID format) */
|
|
32
|
+
value_id?: string | undefined;
|
|
33
|
+
}
|
|
34
|
+
export interface BindingKey {
|
|
35
|
+
/** ID of the key. (UUID format) */
|
|
36
|
+
id?: string | undefined;
|
|
37
|
+
/** SRN of the key. */
|
|
38
|
+
srn?: string | undefined;
|
|
39
|
+
/** Name of the key. */
|
|
40
|
+
name?: string | undefined;
|
|
41
|
+
}
|
|
42
|
+
export interface BindingValue {
|
|
43
|
+
/** ID of the value. (UUID format) */
|
|
44
|
+
id?: string | undefined;
|
|
45
|
+
/** SRN of the value. */
|
|
46
|
+
srn?: string | undefined;
|
|
47
|
+
/** Name of the value. */
|
|
48
|
+
name?: string | undefined;
|
|
49
|
+
}
|
|
50
|
+
export interface Binding {
|
|
51
|
+
/** ID of the binding. (UUID format) */
|
|
52
|
+
id?: string | undefined;
|
|
53
|
+
/** SRN of the binding. */
|
|
54
|
+
srn?: string | undefined;
|
|
55
|
+
/** SRN of the resource the binding is attached to. */
|
|
56
|
+
target_srn?: string | undefined;
|
|
57
|
+
/** Key associated to the binding. */
|
|
58
|
+
key?: BindingKey | undefined;
|
|
59
|
+
/** Value associated to the binding. */
|
|
60
|
+
value?: BindingValue | undefined;
|
|
61
|
+
/** Timestamp of creation of the binding. (RFC 3339 format) */
|
|
62
|
+
created_at?: string | null | undefined;
|
|
63
|
+
/** Timestamp of the last update of the binding. (RFC 3339 format) */
|
|
64
|
+
updated_at?: string | null | undefined;
|
|
65
|
+
}
|
|
66
|
+
export interface CreateKeyRequest {
|
|
67
|
+
/** ID of the organization. (UUID format) */
|
|
68
|
+
organization_id?: string | undefined;
|
|
69
|
+
/** Name of the annotation key. Never use a secret as a name, as it is shown in the audit trail. */
|
|
70
|
+
name?: string | undefined;
|
|
71
|
+
/** Description of the annotation key. Never put a secret in the description, as it is shown in the audit trail. */
|
|
72
|
+
description?: string | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface Key {
|
|
75
|
+
/** ID of the annotation key. (UUID format) */
|
|
76
|
+
id?: string | undefined;
|
|
77
|
+
/** SRN of the annotation key. */
|
|
78
|
+
srn?: string | undefined;
|
|
79
|
+
/** Name of the annotation key. */
|
|
80
|
+
name?: string | undefined;
|
|
81
|
+
/** Description of the annotation key. */
|
|
82
|
+
description?: string | undefined;
|
|
83
|
+
/** Timestamp of creation of the annotation key. (RFC 3339 format) */
|
|
84
|
+
created_at?: string | null | undefined;
|
|
85
|
+
/** Timestamp of the last update of the annotation key. (RFC 3339 format) */
|
|
86
|
+
updated_at?: string | null | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface CreateValueRequest {
|
|
89
|
+
/** ID of the key the value will be bound to. (UUID format) */
|
|
90
|
+
key_id?: string | undefined;
|
|
91
|
+
/** Name of the value. Never use a secret as a name, as it is shown in the audit trail. */
|
|
92
|
+
name?: string | undefined;
|
|
93
|
+
/** Description of the value. Never put a secret in the description, as it is shown in the audit trail. */
|
|
94
|
+
description?: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface Value {
|
|
97
|
+
/** ID of the value. (UUID format) */
|
|
98
|
+
id?: string | undefined;
|
|
99
|
+
/** SRN of the annotation value. */
|
|
100
|
+
srn?: string | undefined;
|
|
101
|
+
/** ID of the key the value is associated to. (UUID format) */
|
|
102
|
+
key_id?: string | undefined;
|
|
103
|
+
/** Name of the value (e.g. "production" for a key "environment"). */
|
|
104
|
+
name?: string | undefined;
|
|
105
|
+
/** Description of the value. */
|
|
106
|
+
description?: string | undefined;
|
|
107
|
+
/** Timestamp of creation of the value. (RFC 3339 format) */
|
|
108
|
+
created_at?: string | null | undefined;
|
|
109
|
+
/** Timestamp of the last update of the value. (RFC 3339 format) */
|
|
110
|
+
updated_at?: string | null | undefined;
|
|
111
|
+
}
|
|
112
|
+
export interface DeleteBindingRequest {
|
|
113
|
+
/** ID of the binding to delete. (UUID format) */
|
|
114
|
+
binding_id: string;
|
|
115
|
+
}
|
|
116
|
+
export interface DeleteBindingResponse {}
|
|
117
|
+
export interface DeleteKeyRequest {
|
|
118
|
+
/** ID of the key to delete. (UUID format) */
|
|
119
|
+
key_id: string;
|
|
120
|
+
}
|
|
121
|
+
export interface DeleteKeyResponse {}
|
|
122
|
+
export interface DeleteValueRequest {
|
|
123
|
+
/** ID of the value to delete. (UUID format) */
|
|
124
|
+
value_id: string;
|
|
125
|
+
}
|
|
126
|
+
export interface DeleteValueResponse {}
|
|
127
|
+
export interface GetKeyRequest {
|
|
128
|
+
/** ID of the key to retrieve. (UUID format) */
|
|
129
|
+
key_id: string;
|
|
130
|
+
}
|
|
131
|
+
export interface GetValueRequest {
|
|
132
|
+
/** ID of the value to retrieve. (UUID format) */
|
|
133
|
+
value_id: string;
|
|
134
|
+
}
|
|
135
|
+
export interface ListAllKeysAndValuesRequest {
|
|
136
|
+
/** ID of the organization. (UUID format) */
|
|
137
|
+
organization_id: string;
|
|
138
|
+
}
|
|
139
|
+
export interface ListAllKeysAndValuesResponseValue {
|
|
140
|
+
/** ID of the value. (UUID format) */
|
|
141
|
+
id?: string | undefined;
|
|
142
|
+
/** SRN of the value. */
|
|
143
|
+
srn?: string | undefined;
|
|
144
|
+
/** Name of the value. */
|
|
145
|
+
name?: string | undefined;
|
|
146
|
+
/** Description of the value. */
|
|
147
|
+
description?: string | undefined;
|
|
148
|
+
}
|
|
149
|
+
/** List of values associated with the key, sorted alphabetically by name. */
|
|
150
|
+
export type ListAllKeysAndValuesResponseKeyValuesList = Array<ListAllKeysAndValuesResponseValue>;
|
|
151
|
+
export interface ListAllKeysAndValuesResponseKey {
|
|
152
|
+
/** ID of the key. (UUID format) */
|
|
153
|
+
id?: string | undefined;
|
|
154
|
+
/** SRN of the key. */
|
|
155
|
+
srn?: string | undefined;
|
|
156
|
+
/** Name of the key. */
|
|
157
|
+
name?: string | undefined;
|
|
158
|
+
/** Description of the key. */
|
|
159
|
+
description?: string | undefined;
|
|
160
|
+
/** List of values associated with the key, sorted alphabetically by name. */
|
|
161
|
+
values?: ListAllKeysAndValuesResponseKeyValuesList | undefined;
|
|
162
|
+
}
|
|
163
|
+
/** List of keys with values for an organization, sorted alphabetically by name. */
|
|
164
|
+
export type ListAllKeysAndValuesResponseKeysList = Array<ListAllKeysAndValuesResponseKey>;
|
|
165
|
+
export interface ListAllKeysAndValuesResponse {
|
|
166
|
+
/** List of keys with values for an organization, sorted alphabetically by name. */
|
|
167
|
+
keys?: ListAllKeysAndValuesResponseKeysList | undefined;
|
|
168
|
+
}
|
|
169
|
+
export interface ListBindingsRequest {
|
|
170
|
+
/** Page number. */
|
|
171
|
+
page?: number | undefined;
|
|
172
|
+
/** Maximum number of bindings on the page. */
|
|
173
|
+
page_size?: number | undefined;
|
|
174
|
+
/** ID of the organization. (UUID format) */
|
|
175
|
+
organization_id: string;
|
|
176
|
+
/** SRN of the resource for which to list all bindings. */
|
|
177
|
+
target_srn?: string | undefined;
|
|
178
|
+
/** Value ID for which to list all bindings. (UUID format) */
|
|
179
|
+
value_id?: string | undefined;
|
|
180
|
+
}
|
|
181
|
+
/** List of bindings for the organization. Response order by ID. */
|
|
182
|
+
export type ListBindingsResponseBindingsList = Array<Binding>;
|
|
183
|
+
export interface ListBindingsResponse {
|
|
184
|
+
/** List of bindings for the organization. Response order by ID. */
|
|
185
|
+
bindings: ListBindingsResponseBindingsList;
|
|
186
|
+
/** Total number of bindings returned. */
|
|
187
|
+
total_count?: number | undefined;
|
|
188
|
+
}
|
|
189
|
+
export interface ListKeysRequest {
|
|
190
|
+
/** Page number. */
|
|
191
|
+
page?: number | undefined;
|
|
192
|
+
/** Maximum number of keys on the page. */
|
|
193
|
+
page_size?: number | undefined;
|
|
194
|
+
/** ID of the organization. (UUID format) */
|
|
195
|
+
organization_id: string;
|
|
196
|
+
}
|
|
197
|
+
/** List of keys for an organization, sorted alphabetically by name. */
|
|
198
|
+
export type ListKeysResponseKeysList = Array<Key>;
|
|
199
|
+
export interface ListKeysResponse {
|
|
200
|
+
/** List of keys for an organization, sorted alphabetically by name. */
|
|
201
|
+
keys: ListKeysResponseKeysList;
|
|
202
|
+
/** Total number of keys returned. */
|
|
203
|
+
total_count?: number | undefined;
|
|
204
|
+
}
|
|
205
|
+
export interface ListValuesRequest {
|
|
206
|
+
/** Page number. */
|
|
207
|
+
page?: number | undefined;
|
|
208
|
+
/** Maximum number of values on the page. */
|
|
209
|
+
page_size?: number | undefined;
|
|
210
|
+
/** ID of the organization. (UUID format) */
|
|
211
|
+
organization_id: string;
|
|
212
|
+
/** ID of the key to list the values for. (UUID format) */
|
|
213
|
+
key_id?: string | undefined;
|
|
214
|
+
}
|
|
215
|
+
/** List of values for a key, sorted alphabetically by name. */
|
|
216
|
+
export type ListValuesResponseValuesList = Array<Value>;
|
|
217
|
+
export interface ListValuesResponse {
|
|
218
|
+
/** List of values for a key, sorted alphabetically by name. */
|
|
219
|
+
values: ListValuesResponseValuesList;
|
|
220
|
+
/** Total number of values returned. */
|
|
221
|
+
total_count?: number | undefined;
|
|
222
|
+
}
|
|
223
|
+
export interface UpdateKeyRequest {
|
|
224
|
+
/** ID of the key to update. (UUID format) */
|
|
225
|
+
key_id: string;
|
|
226
|
+
/** New name of the key. Never use a secret as a name, as it is shown in the audit trail. */
|
|
227
|
+
name?: string | null | undefined;
|
|
228
|
+
/** New description of the key. Never put a secret in the description, as it is shown in the audit trail. */
|
|
229
|
+
description?: string | null | undefined;
|
|
230
|
+
}
|
|
231
|
+
export interface UpdateValueRequest {
|
|
232
|
+
/** ID of the value to update. (UUID format) */
|
|
233
|
+
value_id: string;
|
|
234
|
+
/** New name of the value. Never use a secret as a name, as it is shown in the audit trail. */
|
|
235
|
+
name?: string | null | undefined;
|
|
236
|
+
/** New description of the value. Never put a secret in the description, as it is shown in the audit trail. */
|
|
237
|
+
description?: string | null | undefined;
|
|
238
|
+
}
|
|
239
|
+
export type CreateBindingError = ScalewayOpError;
|
|
240
|
+
/** Attach a value to a resource. Fails if the resource already has a value for this key. */
|
|
241
|
+
export const createBinding: API.OperationMethod<
|
|
242
|
+
CreateBindingRequest,
|
|
243
|
+
Binding,
|
|
244
|
+
CreateBindingError,
|
|
245
|
+
ScalewayOpContext
|
|
246
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
247
|
+
input: __S(0, __c0, 0) as any as S.Schema<CreateBindingRequest>,
|
|
248
|
+
output: __S(9, __c1, 1) as any as S.Schema<Binding>,
|
|
249
|
+
errors: [],
|
|
250
|
+
serviceErrors: ScalewayServiceErrors,
|
|
251
|
+
protocol: ScalewayProtocol,
|
|
252
|
+
retry: Retry.Retry,
|
|
253
|
+
telemetry: TELEMETRY,
|
|
254
|
+
span: "CreateBinding",
|
|
255
|
+
}));
|
|
256
|
+
|
|
257
|
+
export type CreateKeyError = ScalewayOpError;
|
|
258
|
+
/** Create an annotation key. */
|
|
259
|
+
export const createKey: API.OperationMethod<
|
|
260
|
+
CreateKeyRequest,
|
|
261
|
+
Key,
|
|
262
|
+
CreateKeyError,
|
|
263
|
+
ScalewayOpContext
|
|
264
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
265
|
+
input: __S(16, __c2, 0) as any as S.Schema<CreateKeyRequest>,
|
|
266
|
+
output: __S(24, __c3, 0) as any as S.Schema<Key>,
|
|
267
|
+
errors: [],
|
|
268
|
+
serviceErrors: ScalewayServiceErrors,
|
|
269
|
+
protocol: ScalewayProtocol,
|
|
270
|
+
retry: Retry.Retry,
|
|
271
|
+
telemetry: TELEMETRY,
|
|
272
|
+
span: "CreateKey",
|
|
273
|
+
}));
|
|
274
|
+
|
|
275
|
+
export type CreateValueError = ScalewayOpError;
|
|
276
|
+
/** Add a value definition to a key. */
|
|
277
|
+
export const createValue: API.OperationMethod<
|
|
278
|
+
CreateValueRequest,
|
|
279
|
+
Value,
|
|
280
|
+
CreateValueError,
|
|
281
|
+
ScalewayOpContext
|
|
282
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
283
|
+
input: __S(64, __c8, 0) as any as S.Schema<CreateValueRequest>,
|
|
284
|
+
output: __S(72, __c9, 0) as any as S.Schema<Value>,
|
|
285
|
+
errors: [],
|
|
286
|
+
serviceErrors: ScalewayServiceErrors,
|
|
287
|
+
protocol: ScalewayProtocol,
|
|
288
|
+
retry: Retry.Retry,
|
|
289
|
+
telemetry: TELEMETRY,
|
|
290
|
+
span: "CreateValue",
|
|
291
|
+
}));
|
|
292
|
+
|
|
293
|
+
export type DeleteBindingError = ScalewayOpError;
|
|
294
|
+
/** Detach an annotation from a resource. */
|
|
295
|
+
export const deleteBinding: API.OperationMethod<
|
|
296
|
+
DeleteBindingRequest,
|
|
297
|
+
DeleteBindingResponse,
|
|
298
|
+
DeleteBindingError,
|
|
299
|
+
ScalewayOpContext
|
|
300
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
301
|
+
input: __S(80, __c10, 0) as any as S.Schema<DeleteBindingRequest>,
|
|
302
|
+
output: __S(88, __c11, 0) as any as S.Schema<DeleteBindingResponse>,
|
|
303
|
+
errors: [],
|
|
304
|
+
serviceErrors: ScalewayServiceErrors,
|
|
305
|
+
protocol: ScalewayProtocol,
|
|
306
|
+
retry: Retry.Retry,
|
|
307
|
+
telemetry: TELEMETRY,
|
|
308
|
+
span: "DeleteBinding",
|
|
309
|
+
}));
|
|
310
|
+
|
|
311
|
+
export type DeleteKeyError = ScalewayOpError;
|
|
312
|
+
/** Delete a key definition. Fails if the key has any associated values. */
|
|
313
|
+
export const deleteKey: API.OperationMethod<
|
|
314
|
+
DeleteKeyRequest,
|
|
315
|
+
DeleteKeyResponse,
|
|
316
|
+
DeleteKeyError,
|
|
317
|
+
ScalewayOpContext
|
|
318
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
319
|
+
input: __S(96, __c12, 0) as any as S.Schema<DeleteKeyRequest>,
|
|
320
|
+
output: __S(88, __c11, 0) as any as S.Schema<DeleteKeyResponse>,
|
|
321
|
+
errors: [],
|
|
322
|
+
serviceErrors: ScalewayServiceErrors,
|
|
323
|
+
protocol: ScalewayProtocol,
|
|
324
|
+
retry: Retry.Retry,
|
|
325
|
+
telemetry: TELEMETRY,
|
|
326
|
+
span: "DeleteKey",
|
|
327
|
+
}));
|
|
328
|
+
|
|
329
|
+
export type DeleteValueError = ScalewayOpError;
|
|
330
|
+
/** Delete a value definition. Fails if the value is currently bound to any resource. */
|
|
331
|
+
export const deleteValue: API.OperationMethod<
|
|
332
|
+
DeleteValueRequest,
|
|
333
|
+
DeleteValueResponse,
|
|
334
|
+
DeleteValueError,
|
|
335
|
+
ScalewayOpContext
|
|
336
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
337
|
+
input: __S(104, __c13, 0) as any as S.Schema<DeleteValueRequest>,
|
|
338
|
+
output: __S(88, __c11, 0) as any as S.Schema<DeleteValueResponse>,
|
|
339
|
+
errors: [],
|
|
340
|
+
serviceErrors: ScalewayServiceErrors,
|
|
341
|
+
protocol: ScalewayProtocol,
|
|
342
|
+
retry: Retry.Retry,
|
|
343
|
+
telemetry: TELEMETRY,
|
|
344
|
+
span: "DeleteValue",
|
|
345
|
+
}));
|
|
346
|
+
|
|
347
|
+
export type GetKeyError = ScalewayOpError;
|
|
348
|
+
/** Retrieve a specific key. */
|
|
349
|
+
export const getKey: API.OperationMethod<GetKeyRequest, Key, GetKeyError, ScalewayOpContext> =
|
|
350
|
+
/*@__PURE__*/ API.make(() => ({
|
|
351
|
+
input: __S(112, __c14, 0) as any as S.Schema<GetKeyRequest>,
|
|
352
|
+
output: __S(24, __c3, 0) as any as S.Schema<Key>,
|
|
353
|
+
errors: [],
|
|
354
|
+
serviceErrors: ScalewayServiceErrors,
|
|
355
|
+
protocol: ScalewayProtocol,
|
|
356
|
+
retry: Retry.Retry,
|
|
357
|
+
telemetry: TELEMETRY,
|
|
358
|
+
span: "GetKey",
|
|
359
|
+
}));
|
|
360
|
+
|
|
361
|
+
export type GetValueError = ScalewayOpError;
|
|
362
|
+
/** Retrieve a specific value. */
|
|
363
|
+
export const getValue: API.OperationMethod<
|
|
364
|
+
GetValueRequest,
|
|
365
|
+
Value,
|
|
366
|
+
GetValueError,
|
|
367
|
+
ScalewayOpContext
|
|
368
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
369
|
+
input: __S(120, __c15, 0) as any as S.Schema<GetValueRequest>,
|
|
370
|
+
output: __S(72, __c9, 0) as any as S.Schema<Value>,
|
|
371
|
+
errors: [],
|
|
372
|
+
serviceErrors: ScalewayServiceErrors,
|
|
373
|
+
protocol: ScalewayProtocol,
|
|
374
|
+
retry: Retry.Retry,
|
|
375
|
+
telemetry: TELEMETRY,
|
|
376
|
+
span: "GetValue",
|
|
377
|
+
}));
|
|
378
|
+
|
|
379
|
+
export type ListAllKeysAndValuesError = ScalewayOpError;
|
|
380
|
+
/** List all keys and values for an organization, sorted alphabetically by key name and value name. */
|
|
381
|
+
export const listAllKeysAndValues: API.OperationMethod<
|
|
382
|
+
ListAllKeysAndValuesRequest,
|
|
383
|
+
ListAllKeysAndValuesResponse,
|
|
384
|
+
ListAllKeysAndValuesError,
|
|
385
|
+
ScalewayOpContext
|
|
386
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
387
|
+
input: __S(128, __c16, 0) as any as S.Schema<ListAllKeysAndValuesRequest>,
|
|
388
|
+
output: __S(133, __c16, 5) as any as S.Schema<ListAllKeysAndValuesResponse>,
|
|
389
|
+
errors: [],
|
|
390
|
+
serviceErrors: ScalewayServiceErrors,
|
|
391
|
+
protocol: ScalewayProtocol,
|
|
392
|
+
retry: Retry.Retry,
|
|
393
|
+
telemetry: TELEMETRY,
|
|
394
|
+
span: "ListAllKeysAndValues",
|
|
395
|
+
}));
|
|
396
|
+
|
|
397
|
+
export type ListBindingsError = ScalewayOpError;
|
|
398
|
+
/** List all bindings, or filter by Scaleway Resource Name or value ID. Response order by ID. */
|
|
399
|
+
export const listBindings: API.PaginatedOperationMethod<
|
|
400
|
+
ListBindingsRequest,
|
|
401
|
+
ListBindingsResponse,
|
|
402
|
+
ListBindingsError,
|
|
403
|
+
ScalewayOpContext,
|
|
404
|
+
Binding
|
|
405
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
406
|
+
() => ({
|
|
407
|
+
input: __S(136, __c17, 0) as any as S.Schema<ListBindingsRequest>,
|
|
408
|
+
output: __S(138, __c17, 2) as any as S.Schema<ListBindingsResponse>,
|
|
409
|
+
errors: [],
|
|
410
|
+
serviceErrors: ScalewayServiceErrors,
|
|
411
|
+
protocol: ScalewayProtocol,
|
|
412
|
+
retry: Retry.Retry,
|
|
413
|
+
telemetry: TELEMETRY,
|
|
414
|
+
span: "ListBindings",
|
|
415
|
+
pagination: {
|
|
416
|
+
mode: "page",
|
|
417
|
+
inputToken: "page",
|
|
418
|
+
outputToken: "total_count",
|
|
419
|
+
items: "bindings",
|
|
420
|
+
pageSize: "page_size",
|
|
421
|
+
} as const,
|
|
422
|
+
}),
|
|
423
|
+
paginateByTotalCount,
|
|
424
|
+
) as any;
|
|
425
|
+
|
|
426
|
+
export type ListKeysError = ScalewayOpError;
|
|
427
|
+
/** List all keys, sorted alphabetically by name. */
|
|
428
|
+
export const listKeys: API.PaginatedOperationMethod<
|
|
429
|
+
ListKeysRequest,
|
|
430
|
+
ListKeysResponse,
|
|
431
|
+
ListKeysError,
|
|
432
|
+
ScalewayOpContext,
|
|
433
|
+
Key
|
|
434
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
435
|
+
() => ({
|
|
436
|
+
input: __S(32, __c4, 0) as any as S.Schema<ListKeysRequest>,
|
|
437
|
+
output: __S(34, __c4, 2) as any as S.Schema<ListKeysResponse>,
|
|
438
|
+
errors: [],
|
|
439
|
+
serviceErrors: ScalewayServiceErrors,
|
|
440
|
+
protocol: ScalewayProtocol,
|
|
441
|
+
retry: Retry.Retry,
|
|
442
|
+
telemetry: TELEMETRY,
|
|
443
|
+
span: "ListKeys",
|
|
444
|
+
pagination: {
|
|
445
|
+
mode: "page",
|
|
446
|
+
inputToken: "page",
|
|
447
|
+
outputToken: "total_count",
|
|
448
|
+
items: "keys",
|
|
449
|
+
pageSize: "page_size",
|
|
450
|
+
} as const,
|
|
451
|
+
}),
|
|
452
|
+
paginateByTotalCount,
|
|
453
|
+
) as any;
|
|
454
|
+
|
|
455
|
+
export type ListValuesError = ScalewayOpError;
|
|
456
|
+
/** List all values, sorted alphabetically by name. */
|
|
457
|
+
export const listValues: API.PaginatedOperationMethod<
|
|
458
|
+
ListValuesRequest,
|
|
459
|
+
ListValuesResponse,
|
|
460
|
+
ListValuesError,
|
|
461
|
+
ScalewayOpContext,
|
|
462
|
+
Value
|
|
463
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
464
|
+
() => ({
|
|
465
|
+
input: __S(40, __c5, 0) as any as S.Schema<ListValuesRequest>,
|
|
466
|
+
output: __S(42, __c5, 2) as any as S.Schema<ListValuesResponse>,
|
|
467
|
+
errors: [],
|
|
468
|
+
serviceErrors: ScalewayServiceErrors,
|
|
469
|
+
protocol: ScalewayProtocol,
|
|
470
|
+
retry: Retry.Retry,
|
|
471
|
+
telemetry: TELEMETRY,
|
|
472
|
+
span: "ListValues",
|
|
473
|
+
pagination: {
|
|
474
|
+
mode: "page",
|
|
475
|
+
inputToken: "page",
|
|
476
|
+
outputToken: "total_count",
|
|
477
|
+
items: "values",
|
|
478
|
+
pageSize: "page_size",
|
|
479
|
+
} as const,
|
|
480
|
+
}),
|
|
481
|
+
paginateByTotalCount,
|
|
482
|
+
) as any;
|
|
483
|
+
|
|
484
|
+
export type UpdateKeyError = ScalewayOpError;
|
|
485
|
+
/** Update name or description. All associated resources will immediately display the new name. */
|
|
486
|
+
export const updateKey: API.OperationMethod<
|
|
487
|
+
UpdateKeyRequest,
|
|
488
|
+
Key,
|
|
489
|
+
UpdateKeyError,
|
|
490
|
+
ScalewayOpContext
|
|
491
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
492
|
+
input: __S(48, __c6, 0) as any as S.Schema<UpdateKeyRequest>,
|
|
493
|
+
output: __S(24, __c3, 0) as any as S.Schema<Key>,
|
|
494
|
+
errors: [],
|
|
495
|
+
serviceErrors: ScalewayServiceErrors,
|
|
496
|
+
protocol: ScalewayProtocol,
|
|
497
|
+
retry: Retry.Retry,
|
|
498
|
+
telemetry: TELEMETRY,
|
|
499
|
+
span: "UpdateKey",
|
|
500
|
+
}));
|
|
501
|
+
|
|
502
|
+
export type UpdateValueError = ScalewayOpError;
|
|
503
|
+
/** Update name or description. */
|
|
504
|
+
export const updateValue: API.OperationMethod<
|
|
505
|
+
UpdateValueRequest,
|
|
506
|
+
Value,
|
|
507
|
+
UpdateValueError,
|
|
508
|
+
ScalewayOpContext
|
|
509
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
510
|
+
input: __S(56, __c7, 0) as any as S.Schema<UpdateValueRequest>,
|
|
511
|
+
output: __S(72, __c9, 0) as any as S.Schema<Value>,
|
|
512
|
+
errors: [],
|
|
513
|
+
serviceErrors: ScalewayServiceErrors,
|
|
514
|
+
protocol: ScalewayProtocol,
|
|
515
|
+
retry: Retry.Retry,
|
|
516
|
+
telemetry: TELEMETRY,
|
|
517
|
+
span: "UpdateValue",
|
|
518
|
+
}));
|
|
519
|
+
|
|
520
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
521
|
+
function __c0(j: number): any {
|
|
522
|
+
switch (j) {
|
|
523
|
+
case 0:
|
|
524
|
+
return S.suspend(() =>
|
|
525
|
+
S.Struct({
|
|
526
|
+
target_srn: S.optional(S.String),
|
|
527
|
+
value_id: S.optional(S.String),
|
|
528
|
+
}).pipe(
|
|
529
|
+
T.Http({
|
|
530
|
+
method: "POST",
|
|
531
|
+
uri: "/annotations/v1/bindings",
|
|
532
|
+
code: 200,
|
|
533
|
+
baseUrl: "https://api.scaleway.com",
|
|
534
|
+
}),
|
|
535
|
+
),
|
|
536
|
+
).annotate({ identifier: "CreateBindingRequest" });
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
function __c1(j: number): any {
|
|
540
|
+
switch (j) {
|
|
541
|
+
case 0:
|
|
542
|
+
return S.suspend(() =>
|
|
543
|
+
S.Struct({
|
|
544
|
+
id: S.optional(S.String),
|
|
545
|
+
srn: S.optional(S.String),
|
|
546
|
+
name: S.optional(S.String),
|
|
547
|
+
}),
|
|
548
|
+
).annotate({ identifier: "BindingKey" });
|
|
549
|
+
case 1:
|
|
550
|
+
return S.suspend(() =>
|
|
551
|
+
S.Struct({
|
|
552
|
+
id: S.optional(S.String),
|
|
553
|
+
srn: S.optional(S.String),
|
|
554
|
+
target_srn: S.optional(S.String),
|
|
555
|
+
key: S.optional(__S(8, __c1, 0)),
|
|
556
|
+
value: S.optional(__S(8, __c1, 0)),
|
|
557
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
558
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
559
|
+
}),
|
|
560
|
+
).annotate({ identifier: "Binding" });
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
function __c2(j: number): any {
|
|
564
|
+
switch (j) {
|
|
565
|
+
case 0:
|
|
566
|
+
return S.suspend(() =>
|
|
567
|
+
S.Struct({
|
|
568
|
+
organization_id: S.optional(S.String),
|
|
569
|
+
name: S.optional(S.String),
|
|
570
|
+
description: S.optional(S.String),
|
|
571
|
+
}).pipe(
|
|
572
|
+
T.Http({
|
|
573
|
+
method: "POST",
|
|
574
|
+
uri: "/annotations/v1/keys",
|
|
575
|
+
code: 200,
|
|
576
|
+
baseUrl: "https://api.scaleway.com",
|
|
577
|
+
}),
|
|
578
|
+
),
|
|
579
|
+
).annotate({ identifier: "CreateKeyRequest" });
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
function __c3(j: number): any {
|
|
583
|
+
switch (j) {
|
|
584
|
+
case 0:
|
|
585
|
+
return S.suspend(() =>
|
|
586
|
+
S.Struct({
|
|
587
|
+
id: S.optional(S.String),
|
|
588
|
+
srn: S.optional(S.String),
|
|
589
|
+
name: S.optional(S.String),
|
|
590
|
+
description: S.optional(S.String),
|
|
591
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
592
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
593
|
+
}),
|
|
594
|
+
).annotate({ identifier: "Key" });
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
function __c4(j: number): any {
|
|
598
|
+
switch (j) {
|
|
599
|
+
case 0:
|
|
600
|
+
return S.suspend(() =>
|
|
601
|
+
S.Struct({
|
|
602
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
603
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
604
|
+
organization_id: S.String.pipe(T.Query()),
|
|
605
|
+
}).pipe(
|
|
606
|
+
T.Http({
|
|
607
|
+
method: "GET",
|
|
608
|
+
uri: "/annotations/v1/keys",
|
|
609
|
+
code: 200,
|
|
610
|
+
baseUrl: "https://api.scaleway.com",
|
|
611
|
+
}),
|
|
612
|
+
),
|
|
613
|
+
).annotate({ identifier: "ListKeysRequest" });
|
|
614
|
+
case 1:
|
|
615
|
+
return S.Array(__S(24, __c3, 0));
|
|
616
|
+
case 2:
|
|
617
|
+
return S.suspend(() =>
|
|
618
|
+
S.Struct({
|
|
619
|
+
keys: __S(33, __c4, 1),
|
|
620
|
+
total_count: S.optional(S.Number),
|
|
621
|
+
}),
|
|
622
|
+
).annotate({ identifier: "ListKeysResponse" });
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
function __c5(j: number): any {
|
|
626
|
+
switch (j) {
|
|
627
|
+
case 0:
|
|
628
|
+
return S.suspend(() =>
|
|
629
|
+
S.Struct({
|
|
630
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
631
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
632
|
+
organization_id: S.String.pipe(T.Query()),
|
|
633
|
+
key_id: S.optional(S.String.pipe(T.Query())),
|
|
634
|
+
}).pipe(
|
|
635
|
+
T.Http({
|
|
636
|
+
method: "GET",
|
|
637
|
+
uri: "/annotations/v1/values",
|
|
638
|
+
code: 200,
|
|
639
|
+
baseUrl: "https://api.scaleway.com",
|
|
640
|
+
}),
|
|
641
|
+
),
|
|
642
|
+
).annotate({ identifier: "ListValuesRequest" });
|
|
643
|
+
case 1:
|
|
644
|
+
return S.Array(__S(72, __c9, 0));
|
|
645
|
+
case 2:
|
|
646
|
+
return S.suspend(() =>
|
|
647
|
+
S.Struct({
|
|
648
|
+
values: __S(41, __c5, 1),
|
|
649
|
+
total_count: S.optional(S.Number),
|
|
650
|
+
}),
|
|
651
|
+
).annotate({ identifier: "ListValuesResponse" });
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
function __c6(j: number): any {
|
|
655
|
+
switch (j) {
|
|
656
|
+
case 0:
|
|
657
|
+
return S.suspend(() =>
|
|
658
|
+
S.Struct({
|
|
659
|
+
key_id: S.String.pipe(T.Label()),
|
|
660
|
+
name: S.optional(S.NullOr(S.String)),
|
|
661
|
+
description: S.optional(S.NullOr(S.String)),
|
|
662
|
+
}).pipe(
|
|
663
|
+
T.Http({
|
|
664
|
+
method: "PATCH",
|
|
665
|
+
uri: "/annotations/v1/keys/{key_id}",
|
|
666
|
+
code: 200,
|
|
667
|
+
baseUrl: "https://api.scaleway.com",
|
|
668
|
+
}),
|
|
669
|
+
),
|
|
670
|
+
).annotate({ identifier: "UpdateKeyRequest" });
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
function __c7(j: number): any {
|
|
674
|
+
switch (j) {
|
|
675
|
+
case 0:
|
|
676
|
+
return S.suspend(() =>
|
|
677
|
+
S.Struct({
|
|
678
|
+
value_id: S.String.pipe(T.Label()),
|
|
679
|
+
name: S.optional(S.NullOr(S.String)),
|
|
680
|
+
description: S.optional(S.NullOr(S.String)),
|
|
681
|
+
}).pipe(
|
|
682
|
+
T.Http({
|
|
683
|
+
method: "PATCH",
|
|
684
|
+
uri: "/annotations/v1/values/{value_id}",
|
|
685
|
+
code: 200,
|
|
686
|
+
baseUrl: "https://api.scaleway.com",
|
|
687
|
+
}),
|
|
688
|
+
),
|
|
689
|
+
).annotate({ identifier: "UpdateValueRequest" });
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
function __c8(j: number): any {
|
|
693
|
+
switch (j) {
|
|
694
|
+
case 0:
|
|
695
|
+
return S.suspend(() =>
|
|
696
|
+
S.Struct({
|
|
697
|
+
key_id: S.optional(S.String),
|
|
698
|
+
name: S.optional(S.String),
|
|
699
|
+
description: S.optional(S.String),
|
|
700
|
+
}).pipe(
|
|
701
|
+
T.Http({
|
|
702
|
+
method: "POST",
|
|
703
|
+
uri: "/annotations/v1/values",
|
|
704
|
+
code: 200,
|
|
705
|
+
baseUrl: "https://api.scaleway.com",
|
|
706
|
+
}),
|
|
707
|
+
),
|
|
708
|
+
).annotate({ identifier: "CreateValueRequest" });
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
function __c9(j: number): any {
|
|
712
|
+
switch (j) {
|
|
713
|
+
case 0:
|
|
714
|
+
return S.suspend(() =>
|
|
715
|
+
S.Struct({
|
|
716
|
+
id: S.optional(S.String),
|
|
717
|
+
srn: S.optional(S.String),
|
|
718
|
+
key_id: S.optional(S.String),
|
|
719
|
+
name: S.optional(S.String),
|
|
720
|
+
description: S.optional(S.String),
|
|
721
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
722
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
723
|
+
}),
|
|
724
|
+
).annotate({ identifier: "Value" });
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
function __c10(j: number): any {
|
|
728
|
+
switch (j) {
|
|
729
|
+
case 0:
|
|
730
|
+
return S.suspend(() =>
|
|
731
|
+
S.Struct({
|
|
732
|
+
binding_id: S.String.pipe(T.Label()),
|
|
733
|
+
}).pipe(
|
|
734
|
+
T.Http({
|
|
735
|
+
method: "DELETE",
|
|
736
|
+
uri: "/annotations/v1/bindings/{binding_id}",
|
|
737
|
+
code: 200,
|
|
738
|
+
baseUrl: "https://api.scaleway.com",
|
|
739
|
+
}),
|
|
740
|
+
),
|
|
741
|
+
).annotate({ identifier: "DeleteBindingRequest" });
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
function __c11(j: number): any {
|
|
745
|
+
switch (j) {
|
|
746
|
+
case 0:
|
|
747
|
+
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteBindingResponse" });
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
function __c12(j: number): any {
|
|
751
|
+
switch (j) {
|
|
752
|
+
case 0:
|
|
753
|
+
return S.suspend(() =>
|
|
754
|
+
S.Struct({
|
|
755
|
+
key_id: S.String.pipe(T.Label()),
|
|
756
|
+
}).pipe(
|
|
757
|
+
T.Http({
|
|
758
|
+
method: "DELETE",
|
|
759
|
+
uri: "/annotations/v1/keys/{key_id}",
|
|
760
|
+
code: 200,
|
|
761
|
+
baseUrl: "https://api.scaleway.com",
|
|
762
|
+
}),
|
|
763
|
+
),
|
|
764
|
+
).annotate({ identifier: "DeleteKeyRequest" });
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
function __c13(j: number): any {
|
|
768
|
+
switch (j) {
|
|
769
|
+
case 0:
|
|
770
|
+
return S.suspend(() =>
|
|
771
|
+
S.Struct({
|
|
772
|
+
value_id: S.String.pipe(T.Label()),
|
|
773
|
+
}).pipe(
|
|
774
|
+
T.Http({
|
|
775
|
+
method: "DELETE",
|
|
776
|
+
uri: "/annotations/v1/values/{value_id}",
|
|
777
|
+
code: 200,
|
|
778
|
+
baseUrl: "https://api.scaleway.com",
|
|
779
|
+
}),
|
|
780
|
+
),
|
|
781
|
+
).annotate({ identifier: "DeleteValueRequest" });
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
function __c14(j: number): any {
|
|
785
|
+
switch (j) {
|
|
786
|
+
case 0:
|
|
787
|
+
return S.suspend(() =>
|
|
788
|
+
S.Struct({
|
|
789
|
+
key_id: S.String.pipe(T.Label()),
|
|
790
|
+
}).pipe(
|
|
791
|
+
T.Http({
|
|
792
|
+
method: "GET",
|
|
793
|
+
uri: "/annotations/v1/keys/{key_id}",
|
|
794
|
+
code: 200,
|
|
795
|
+
baseUrl: "https://api.scaleway.com",
|
|
796
|
+
}),
|
|
797
|
+
),
|
|
798
|
+
).annotate({ identifier: "GetKeyRequest" });
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
function __c15(j: number): any {
|
|
802
|
+
switch (j) {
|
|
803
|
+
case 0:
|
|
804
|
+
return S.suspend(() =>
|
|
805
|
+
S.Struct({
|
|
806
|
+
value_id: S.String.pipe(T.Label()),
|
|
807
|
+
}).pipe(
|
|
808
|
+
T.Http({
|
|
809
|
+
method: "GET",
|
|
810
|
+
uri: "/annotations/v1/values/{value_id}",
|
|
811
|
+
code: 200,
|
|
812
|
+
baseUrl: "https://api.scaleway.com",
|
|
813
|
+
}),
|
|
814
|
+
),
|
|
815
|
+
).annotate({ identifier: "GetValueRequest" });
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
function __c16(j: number): any {
|
|
819
|
+
switch (j) {
|
|
820
|
+
case 0:
|
|
821
|
+
return S.suspend(() =>
|
|
822
|
+
S.Struct({
|
|
823
|
+
organization_id: S.String.pipe(T.Query()),
|
|
824
|
+
}).pipe(
|
|
825
|
+
T.Http({
|
|
826
|
+
method: "GET",
|
|
827
|
+
uri: "/annotations/v1/all-keys-and-values",
|
|
828
|
+
code: 200,
|
|
829
|
+
baseUrl: "https://api.scaleway.com",
|
|
830
|
+
}),
|
|
831
|
+
),
|
|
832
|
+
).annotate({ identifier: "ListAllKeysAndValuesRequest" });
|
|
833
|
+
case 1:
|
|
834
|
+
return S.suspend(() =>
|
|
835
|
+
S.Struct({
|
|
836
|
+
id: S.optional(S.String),
|
|
837
|
+
srn: S.optional(S.String),
|
|
838
|
+
name: S.optional(S.String),
|
|
839
|
+
description: S.optional(S.String),
|
|
840
|
+
}),
|
|
841
|
+
).annotate({ identifier: "ListAllKeysAndValuesResponseValue" });
|
|
842
|
+
case 2:
|
|
843
|
+
return S.Array(__S(129, __c16, 1));
|
|
844
|
+
case 3:
|
|
845
|
+
return S.suspend(() =>
|
|
846
|
+
S.Struct({
|
|
847
|
+
id: S.optional(S.String),
|
|
848
|
+
srn: S.optional(S.String),
|
|
849
|
+
name: S.optional(S.String),
|
|
850
|
+
description: S.optional(S.String),
|
|
851
|
+
values: S.optional(__S(130, __c16, 2)),
|
|
852
|
+
}),
|
|
853
|
+
).annotate({ identifier: "ListAllKeysAndValuesResponseKey" });
|
|
854
|
+
case 4:
|
|
855
|
+
return S.Array(__S(131, __c16, 3));
|
|
856
|
+
case 5:
|
|
857
|
+
return S.suspend(() =>
|
|
858
|
+
S.Struct({
|
|
859
|
+
keys: S.optional(__S(132, __c16, 4)),
|
|
860
|
+
}),
|
|
861
|
+
).annotate({ identifier: "ListAllKeysAndValuesResponse" });
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
function __c17(j: number): any {
|
|
865
|
+
switch (j) {
|
|
866
|
+
case 0:
|
|
867
|
+
return S.suspend(() =>
|
|
868
|
+
S.Struct({
|
|
869
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
870
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
871
|
+
organization_id: S.String.pipe(T.Query()),
|
|
872
|
+
target_srn: S.optional(S.String.pipe(T.Query())),
|
|
873
|
+
value_id: S.optional(S.String.pipe(T.Query())),
|
|
874
|
+
}).pipe(
|
|
875
|
+
T.Http({
|
|
876
|
+
method: "GET",
|
|
877
|
+
uri: "/annotations/v1/bindings",
|
|
878
|
+
code: 200,
|
|
879
|
+
baseUrl: "https://api.scaleway.com",
|
|
880
|
+
}),
|
|
881
|
+
),
|
|
882
|
+
).annotate({ identifier: "ListBindingsRequest" });
|
|
883
|
+
case 1:
|
|
884
|
+
return S.Array(__S(9, __c1, 1));
|
|
885
|
+
case 2:
|
|
886
|
+
return S.suspend(() =>
|
|
887
|
+
S.Struct({
|
|
888
|
+
bindings: __S(137, __c17, 1),
|
|
889
|
+
total_count: S.optional(S.Number),
|
|
890
|
+
}),
|
|
891
|
+
).annotate({ identifier: "ListBindingsResponse" });
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
895
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
896
|
+
return (__s[i] ??= __L.at(f, j));
|
|
897
|
+
}
|