@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,407 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import type * as Redacted from "effect/Redacted";
|
|
3
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
4
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
5
|
+
export type AccessSecretVersionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
6
|
+
export interface AccessSecretVersionRequest {
|
|
7
|
+
/** The region you want to target */
|
|
8
|
+
region?: AccessSecretVersionRequestRegion | (string & {}) | undefined;
|
|
9
|
+
/** ID of the secret. (UUID format) */
|
|
10
|
+
secret_id: string;
|
|
11
|
+
/** Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either: - a number (the revision number) - "latest" (the latest revision) - "latest_enabled" (the latest enabled revision). */
|
|
12
|
+
revision: string;
|
|
13
|
+
}
|
|
14
|
+
export type SecretType = "unknown_type" | "opaque" | "certificate" | "key_value" | "basic_credentials" | "database_credentials" | "ssh_key";
|
|
15
|
+
export interface AccessSecretVersionResponse {
|
|
16
|
+
/** ID of the secret. (UUID format) */
|
|
17
|
+
secret_id?: string | undefined;
|
|
18
|
+
/** Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. */
|
|
19
|
+
revision?: number | undefined;
|
|
20
|
+
/** The base64-encoded secret payload of the version. */
|
|
21
|
+
data?: string | Redacted.Redacted<string> | undefined;
|
|
22
|
+
/** The CRC32 checksum of the data as a base-10 integer. This field is only available if a CRC32 was supplied during the creation of the version. */
|
|
23
|
+
data_crc32?: number | null | undefined;
|
|
24
|
+
/** Type of the secret. See the `Secret.Type` enum for a description of values. */
|
|
25
|
+
type?: SecretType | undefined;
|
|
26
|
+
}
|
|
27
|
+
export type AccessSecretVersionByPathRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
28
|
+
export interface AccessSecretVersionByPathRequest {
|
|
29
|
+
/** The region you want to target */
|
|
30
|
+
region?: AccessSecretVersionByPathRequestRegion | (string & {}) | undefined;
|
|
31
|
+
/** Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either: - an integer (the revision number) - "latest" (the latest revision) - "latest_enabled" (the latest enabled revision). */
|
|
32
|
+
revision: string;
|
|
33
|
+
/** Secret's path. */
|
|
34
|
+
secret_path: string;
|
|
35
|
+
/** Secret's name. */
|
|
36
|
+
secret_name: string;
|
|
37
|
+
/** ID of the Project to target. (UUID format) */
|
|
38
|
+
project_id: string;
|
|
39
|
+
}
|
|
40
|
+
export type AddSecretOwnerRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
41
|
+
export type Product = "unknown_product" | "edge_services" | "s2s_vpn";
|
|
42
|
+
export interface AddSecretOwnerRequest {
|
|
43
|
+
/** The region you want to target */
|
|
44
|
+
region?: AddSecretOwnerRequestRegion | (string & {}) | undefined;
|
|
45
|
+
/** ID of the secret. (UUID format) */
|
|
46
|
+
secret_id: string;
|
|
47
|
+
/** ID of the product to add. See `Product` enum for description of values. */
|
|
48
|
+
product?: Product | (string & {}) | undefined;
|
|
49
|
+
}
|
|
50
|
+
export interface AddSecretOwnerResponse {
|
|
51
|
+
}
|
|
52
|
+
export type CreateSecretRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
53
|
+
/** List of the secret's tags. */
|
|
54
|
+
export type CreateSecretRequestTagsList = Array<string>;
|
|
55
|
+
export type EphemeralPolicyAction = "unknown_action" | "delete" | "disable";
|
|
56
|
+
export interface EphemeralPolicy {
|
|
57
|
+
/** Time frame, from one second and up to one year, during which the secret's versions are valid. (in seconds) */
|
|
58
|
+
time_to_live?: string | null | undefined;
|
|
59
|
+
/** Returns `true` if the version expires after a single user access. */
|
|
60
|
+
expires_once_accessed?: boolean | null | undefined;
|
|
61
|
+
/** Action to perform when the version of a secret expires. See the `EphemeralPolicy.Action` enum for a description of values. */
|
|
62
|
+
action?: EphemeralPolicyAction | (string & {}) | undefined;
|
|
63
|
+
}
|
|
64
|
+
export interface CreateSecretRequest {
|
|
65
|
+
/** The region you want to target */
|
|
66
|
+
region?: CreateSecretRequestRegion | (string & {}) | undefined;
|
|
67
|
+
/** ID of the Project containing the secret. (UUID format) */
|
|
68
|
+
project_id?: string | undefined;
|
|
69
|
+
/** Name of the secret. */
|
|
70
|
+
name?: string | undefined;
|
|
71
|
+
/** List of the secret's tags. */
|
|
72
|
+
tags?: CreateSecretRequestTagsList | undefined;
|
|
73
|
+
/** Description of the secret. */
|
|
74
|
+
description?: string | null | undefined;
|
|
75
|
+
/** Type of the secret. (Optional.) See the `Secret.Type` enum for a description of values. If not specified, the type is `Opaque`. */
|
|
76
|
+
type?: SecretType | (string & {}) | undefined;
|
|
77
|
+
/** Path of the secret. (Optional.) Location of the secret in the directory structure. If not specified, the path is `/`. */
|
|
78
|
+
path?: string | null | undefined;
|
|
79
|
+
/** Ephemeral policy of the secret. (Optional.) Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions. */
|
|
80
|
+
ephemeral_policy?: EphemeralPolicy | undefined;
|
|
81
|
+
/** Returns `true` if secret protection is applied to a given secret. A protected secret cannot be deleted. */
|
|
82
|
+
protected?: boolean | undefined;
|
|
83
|
+
/** ID of the Scaleway Key Manager key. (Optional.) The Scaleway Key Manager key ID will be used to encrypt and decrypt secret versions. If not specified, Secret Manager will use a Key Manager internal key. (UUID format) */
|
|
84
|
+
key_id?: string | null | undefined;
|
|
85
|
+
}
|
|
86
|
+
export type SecretStatus = "unknown_status" | "ready" | "locked";
|
|
87
|
+
/** List of the secret's tags. */
|
|
88
|
+
export type SecretTagsList = Array<string>;
|
|
89
|
+
/** List of Scaleway resources that can access and manage the secret. */
|
|
90
|
+
export type SecretUsedByList = Array<Product>;
|
|
91
|
+
export interface Secret {
|
|
92
|
+
/** ID of the secret. (UUID format) */
|
|
93
|
+
id?: string | undefined;
|
|
94
|
+
/** The SRN of the secret. */
|
|
95
|
+
srn?: string | undefined;
|
|
96
|
+
/** ID of the Project containing the secret. (UUID format) */
|
|
97
|
+
project_id?: string | undefined;
|
|
98
|
+
/** Name of the secret. */
|
|
99
|
+
name?: string | undefined;
|
|
100
|
+
/** Current status of the secret. * `ready`: the secret can be read, modified and deleted. * `locked`: no action can be performed on the secret. This status can only be applied and removed by Scaleway. */
|
|
101
|
+
status?: SecretStatus | undefined;
|
|
102
|
+
/** Date and time of the secret's creation. (RFC 3339 format) */
|
|
103
|
+
created_at?: string | null | undefined;
|
|
104
|
+
/** Last update of the secret. (RFC 3339 format) */
|
|
105
|
+
updated_at?: string | null | undefined;
|
|
106
|
+
/** List of the secret's tags. */
|
|
107
|
+
tags?: SecretTagsList | undefined;
|
|
108
|
+
/** Number of versions for this secret. */
|
|
109
|
+
version_count?: number | undefined;
|
|
110
|
+
/** Updated description of the secret. */
|
|
111
|
+
description?: string | null | undefined;
|
|
112
|
+
/** Returns `true` for secrets that are managed by another product. */
|
|
113
|
+
managed?: boolean | undefined;
|
|
114
|
+
/** Returns `true` for protected secrets that cannot be deleted. */
|
|
115
|
+
protected?: boolean | undefined;
|
|
116
|
+
/** Type of the secret. See the `Secret.Type` enum for a description of values. */
|
|
117
|
+
type?: SecretType | undefined;
|
|
118
|
+
/** Path of the secret. Location of the secret in the directory structure. */
|
|
119
|
+
path?: string | undefined;
|
|
120
|
+
/** Ephemeral policy of the secret. (Optional.) Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions. */
|
|
121
|
+
ephemeral_policy?: EphemeralPolicy | undefined;
|
|
122
|
+
/** List of Scaleway resources that can access and manage the secret. */
|
|
123
|
+
used_by?: SecretUsedByList | undefined;
|
|
124
|
+
/** Returns the time at which deletion was requested. (RFC 3339 format) */
|
|
125
|
+
deletion_requested_at?: string | null | undefined;
|
|
126
|
+
/** ID of the Scaleway Key Manager key. (Optional.) The Scaleway Key Manager key ID used to encrypt and decrypt secret versions. (UUID format) */
|
|
127
|
+
key_id?: string | null | undefined;
|
|
128
|
+
/** Region of the secret. */
|
|
129
|
+
region?: string | undefined;
|
|
130
|
+
}
|
|
131
|
+
export type CreateSecretVersionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
132
|
+
export interface CreateSecretVersionRequest {
|
|
133
|
+
/** The region you want to target */
|
|
134
|
+
region?: CreateSecretVersionRequestRegion | (string & {}) | undefined;
|
|
135
|
+
/** ID of the secret. (UUID format) */
|
|
136
|
+
secret_id: string;
|
|
137
|
+
/** The base64-encoded secret payload of the version. */
|
|
138
|
+
data?: string | Redacted.Redacted<string> | undefined;
|
|
139
|
+
/** Description of the version. */
|
|
140
|
+
description?: string | null | undefined;
|
|
141
|
+
/** Disable the previous secret version. (Optional.) If there is no previous version or if the previous version was already disabled, does nothing. */
|
|
142
|
+
disable_previous?: boolean | null | undefined;
|
|
143
|
+
/** (Optional.) The CRC32 checksum of the data as a base-10 integer. If specified, Secret Manager will verify the integrity of the data received against the given CRC32 checksum. An error is returned if the CRC32 does not match. If, however, the CRC32 matches, it will be stored and returned along with the SecretVersion on future access requests. */
|
|
144
|
+
data_crc32?: number | null | undefined;
|
|
145
|
+
}
|
|
146
|
+
export type SecretVersionStatus = "unknown_status" | "enabled" | "disabled" | "deleted" | "scheduled_for_deletion";
|
|
147
|
+
export interface EphemeralProperties {
|
|
148
|
+
/** The version's expiration date. (Optional.) If not specified, the version does not have an expiration date. (RFC 3339 format) */
|
|
149
|
+
expires_at?: string | null | undefined;
|
|
150
|
+
/** Returns `true` if the version expires after a single user access. (Optional.) If not specified, the version can be accessed an unlimited amount of times. */
|
|
151
|
+
expires_once_accessed?: boolean | null | undefined;
|
|
152
|
+
/** Action to perform when the version of a secret expires. See `EphemeralPolicy.Action` enum for a description of values. */
|
|
153
|
+
action?: EphemeralPolicyAction | (string & {}) | undefined;
|
|
154
|
+
}
|
|
155
|
+
export interface SecretVersion {
|
|
156
|
+
/** Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. */
|
|
157
|
+
revision?: number | undefined;
|
|
158
|
+
/** The SRN of the secret version. */
|
|
159
|
+
srn?: string | undefined;
|
|
160
|
+
/** ID of the secret. (UUID format) */
|
|
161
|
+
secret_id?: string | undefined;
|
|
162
|
+
/** Current status of the version. * `unknown_status`: the version is in an invalid state. * `enabled`: the version is accessible. * `disabled`: the version is not accessible but can be enabled. * `scheduled_for_deletion`: the version is scheduled for deletion. It will be deleted in 7 days. * `deleted`: the version is permanently deleted. It is not possible to recover it. */
|
|
163
|
+
status?: SecretVersionStatus | undefined;
|
|
164
|
+
/** Date and time of the version's creation. (RFC 3339 format) */
|
|
165
|
+
created_at?: string | null | undefined;
|
|
166
|
+
/** Last update of the version. (RFC 3339 format) */
|
|
167
|
+
updated_at?: string | null | undefined;
|
|
168
|
+
/** Date and time of the version's deletion. (RFC 3339 format) */
|
|
169
|
+
deleted_at?: string | null | undefined;
|
|
170
|
+
/** Description of the version. */
|
|
171
|
+
description?: string | null | undefined;
|
|
172
|
+
/** Returns `true` if the version is the latest. */
|
|
173
|
+
latest?: boolean | undefined;
|
|
174
|
+
/** Properties of the ephemeral version. Returns the version's expiration date, whether it expires after being accessed once, and the action to perform (disable or delete) once the version expires. */
|
|
175
|
+
ephemeral_properties?: EphemeralProperties | undefined;
|
|
176
|
+
/** Returns the time at which deletion was requested. (RFC 3339 format) */
|
|
177
|
+
deletion_requested_at?: string | null | undefined;
|
|
178
|
+
/** Region of the version. */
|
|
179
|
+
region?: string | undefined;
|
|
180
|
+
}
|
|
181
|
+
export type DeleteSecretRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
182
|
+
export interface DeleteSecretRequest {
|
|
183
|
+
/** The region you want to target */
|
|
184
|
+
region?: DeleteSecretRequestRegion | (string & {}) | undefined;
|
|
185
|
+
/** ID of the secret. (UUID format) */
|
|
186
|
+
secret_id: string;
|
|
187
|
+
}
|
|
188
|
+
export interface DeleteSecretResponse {
|
|
189
|
+
}
|
|
190
|
+
export type DeleteSecretVersionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
191
|
+
export interface DeleteSecretVersionRequest {
|
|
192
|
+
/** The region you want to target */
|
|
193
|
+
region?: DeleteSecretVersionRequestRegion | (string & {}) | undefined;
|
|
194
|
+
/** ID of the secret. (UUID format) */
|
|
195
|
+
secret_id: string;
|
|
196
|
+
/** Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either: - a number (the revision number) - "latest" (the latest revision) - "latest_enabled" (the latest enabled revision). */
|
|
197
|
+
revision: string;
|
|
198
|
+
}
|
|
199
|
+
export interface DeleteSecretVersionResponse {
|
|
200
|
+
}
|
|
201
|
+
export type DisableSecretVersionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
202
|
+
export interface DisableSecretVersionRequest {
|
|
203
|
+
/** The region you want to target */
|
|
204
|
+
region?: DisableSecretVersionRequestRegion | (string & {}) | undefined;
|
|
205
|
+
/** ID of the secret. (UUID format) */
|
|
206
|
+
secret_id: string;
|
|
207
|
+
/** Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either: - a number (the revision number) - "latest" (the latest revision) - "latest_enabled" (the latest enabled revision). */
|
|
208
|
+
revision: string;
|
|
209
|
+
}
|
|
210
|
+
export type EnableSecretVersionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
211
|
+
export interface EnableSecretVersionRequest {
|
|
212
|
+
/** The region you want to target */
|
|
213
|
+
region?: EnableSecretVersionRequestRegion | (string & {}) | undefined;
|
|
214
|
+
/** ID of the secret. (UUID format) */
|
|
215
|
+
secret_id: string;
|
|
216
|
+
/** Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either: - a number (the revision number) - "latest" (the latest revision) - "latest_enabled" (the latest enabled revision). */
|
|
217
|
+
revision: string;
|
|
218
|
+
}
|
|
219
|
+
export type GetSecretRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
220
|
+
export interface GetSecretRequest {
|
|
221
|
+
/** The region you want to target */
|
|
222
|
+
region?: GetSecretRequestRegion | (string & {}) | undefined;
|
|
223
|
+
/** ID of the secret. (UUID format) */
|
|
224
|
+
secret_id: string;
|
|
225
|
+
}
|
|
226
|
+
export type GetSecretVersionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
227
|
+
export interface GetSecretVersionRequest {
|
|
228
|
+
/** The region you want to target */
|
|
229
|
+
region?: GetSecretVersionRequestRegion | (string & {}) | undefined;
|
|
230
|
+
/** ID of the secret. (UUID format) */
|
|
231
|
+
secret_id: string;
|
|
232
|
+
/** Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either: - a number (the revision number) - "latest" (the latest revision) - "latest_enabled" (the latest enabled revision). */
|
|
233
|
+
revision: string;
|
|
234
|
+
}
|
|
235
|
+
export type ListSecretsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
236
|
+
export type ListSecretsRequestOrderBy = "name_asc" | "name_desc" | "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc";
|
|
237
|
+
export type ListSecretsRequestTagsList = Array<string>;
|
|
238
|
+
export interface ListSecretsRequest {
|
|
239
|
+
/** The region you want to target */
|
|
240
|
+
region?: ListSecretsRequestRegion | (string & {}) | undefined;
|
|
241
|
+
/** Filter by Organization ID (optional). (UUID format) */
|
|
242
|
+
organization_id?: string | undefined;
|
|
243
|
+
/** Filter by Project ID (optional). (UUID format) */
|
|
244
|
+
project_id?: string | undefined;
|
|
245
|
+
order_by?: ListSecretsRequestOrderBy | (string & {}) | undefined;
|
|
246
|
+
page?: number | undefined;
|
|
247
|
+
page_size?: number | undefined;
|
|
248
|
+
/** List of tags to filter on (optional). */
|
|
249
|
+
tags?: ListSecretsRequestTagsList | undefined;
|
|
250
|
+
/** Filter by secret name (optional). */
|
|
251
|
+
name?: string | undefined;
|
|
252
|
+
/** Filter by exact path (optional). */
|
|
253
|
+
path?: string | undefined;
|
|
254
|
+
/** Filter by ephemeral / not ephemeral (optional). */
|
|
255
|
+
ephemeral?: boolean | undefined;
|
|
256
|
+
/** Filter by secret type (optional). */
|
|
257
|
+
type?: SecretType | (string & {}) | undefined;
|
|
258
|
+
/** Filter by whether the secret was scheduled for deletion / not scheduled for deletion. By default, it will display only not scheduled for deletion secrets. */
|
|
259
|
+
scheduled_for_deletion: boolean;
|
|
260
|
+
}
|
|
261
|
+
/** Single page of secrets matching the requested criteria. */
|
|
262
|
+
export type ListSecretsResponseSecretsList = Array<Secret>;
|
|
263
|
+
export interface ListSecretsResponse {
|
|
264
|
+
/** Single page of secrets matching the requested criteria. */
|
|
265
|
+
secrets: ListSecretsResponseSecretsList;
|
|
266
|
+
/** Count of all secrets matching the requested criteria. */
|
|
267
|
+
total_count?: number | undefined;
|
|
268
|
+
}
|
|
269
|
+
export type ListSecretVersionsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
270
|
+
export type ListSecretVersionsRequestStatusList = Array<SecretVersionStatus | (string & {})>;
|
|
271
|
+
export interface ListSecretVersionsRequest {
|
|
272
|
+
/** The region you want to target */
|
|
273
|
+
region?: ListSecretVersionsRequestRegion | (string & {}) | undefined;
|
|
274
|
+
/** ID of the secret. (UUID format) */
|
|
275
|
+
secret_id: string;
|
|
276
|
+
page?: number | undefined;
|
|
277
|
+
page_size?: number | undefined;
|
|
278
|
+
/** Filter results by status. */
|
|
279
|
+
status?: ListSecretVersionsRequestStatusList | undefined;
|
|
280
|
+
}
|
|
281
|
+
/** Single page of versions. */
|
|
282
|
+
export type ListSecretVersionsResponseVersionsList = Array<SecretVersion>;
|
|
283
|
+
export interface ListSecretVersionsResponse {
|
|
284
|
+
/** Single page of versions. */
|
|
285
|
+
versions: ListSecretVersionsResponseVersionsList;
|
|
286
|
+
/** Number of versions. */
|
|
287
|
+
total_count?: number | undefined;
|
|
288
|
+
}
|
|
289
|
+
export type ProtectSecretRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
290
|
+
export interface ProtectSecretRequest {
|
|
291
|
+
/** The region you want to target */
|
|
292
|
+
region?: ProtectSecretRequestRegion | (string & {}) | undefined;
|
|
293
|
+
/** ID of the secret to enable secret protection for. (UUID format) */
|
|
294
|
+
secret_id: string;
|
|
295
|
+
}
|
|
296
|
+
export type RestoreSecretRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
297
|
+
export interface RestoreSecretRequest {
|
|
298
|
+
/** The region you want to target */
|
|
299
|
+
region?: RestoreSecretRequestRegion | (string & {}) | undefined;
|
|
300
|
+
/** (UUID format) */
|
|
301
|
+
secret_id: string;
|
|
302
|
+
}
|
|
303
|
+
export type RestoreSecretVersionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
304
|
+
export interface RestoreSecretVersionRequest {
|
|
305
|
+
/** The region you want to target */
|
|
306
|
+
region?: RestoreSecretVersionRequestRegion | (string & {}) | undefined;
|
|
307
|
+
/** (UUID format) */
|
|
308
|
+
secret_id: string;
|
|
309
|
+
revision: string;
|
|
310
|
+
}
|
|
311
|
+
export type UnprotectSecretRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
312
|
+
export interface UnprotectSecretRequest {
|
|
313
|
+
/** The region you want to target */
|
|
314
|
+
region?: UnprotectSecretRequestRegion | (string & {}) | undefined;
|
|
315
|
+
/** ID of the secret to disable secret protection for. (UUID format) */
|
|
316
|
+
secret_id: string;
|
|
317
|
+
}
|
|
318
|
+
export type UpdateSecretRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
319
|
+
/** Secret's updated list of tags (optional). */
|
|
320
|
+
export type UpdateSecretRequestTagsList = Array<unknown>;
|
|
321
|
+
export interface UpdateSecretRequest {
|
|
322
|
+
/** The region you want to target */
|
|
323
|
+
region?: UpdateSecretRequestRegion | (string & {}) | undefined;
|
|
324
|
+
/** ID of the secret. (UUID format) */
|
|
325
|
+
secret_id: string;
|
|
326
|
+
/** Secret's updated name (optional). */
|
|
327
|
+
name?: string | null | undefined;
|
|
328
|
+
/** Secret's updated list of tags (optional). */
|
|
329
|
+
tags?: UpdateSecretRequestTagsList | null | undefined;
|
|
330
|
+
/** Description of the secret. */
|
|
331
|
+
description?: string | null | undefined;
|
|
332
|
+
/** Path of the folder. (Optional.) Location of the folder in the directory structure. If not specified, the path is `/`. */
|
|
333
|
+
path?: string | null | undefined;
|
|
334
|
+
/** Ephemeral policy of the secret. (Optional.) Policy that defines whether/when a secret's versions expire. */
|
|
335
|
+
ephemeral_policy?: EphemeralPolicy | undefined;
|
|
336
|
+
}
|
|
337
|
+
export type UpdateSecretVersionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
|
|
338
|
+
export interface UpdateSecretVersionRequest {
|
|
339
|
+
/** The region you want to target */
|
|
340
|
+
region?: UpdateSecretVersionRequestRegion | (string & {}) | undefined;
|
|
341
|
+
/** ID of the secret. (UUID format) */
|
|
342
|
+
secret_id: string;
|
|
343
|
+
/** Version number. The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either: - a number (the revision number) - "latest" (the latest revision) - "latest_enabled" (the latest enabled revision). */
|
|
344
|
+
revision: string;
|
|
345
|
+
/** Description of the version. */
|
|
346
|
+
description?: string | null | undefined;
|
|
347
|
+
/** Ephemeral properties of the version. (Optional.) Properties that defines the version's expiration date, whether it expires after being accessed once, and the action to perform (disable or delete) once the version expires. */
|
|
348
|
+
ephemeral_properties?: EphemeralProperties | undefined;
|
|
349
|
+
}
|
|
350
|
+
export type AccessSecretVersionError = ScalewayOpError;
|
|
351
|
+
/** Access a secret's version using the secret's ID Access sensitive data in a secret's version specified by the `region`, `secret_id` and `revision` parameters. */
|
|
352
|
+
export declare const accessSecretVersion: API.OperationMethod<AccessSecretVersionRequest, AccessSecretVersionResponse, AccessSecretVersionError, ScalewayOpContext>;
|
|
353
|
+
export type AccessSecretVersionByPathError = ScalewayOpError;
|
|
354
|
+
/** Access a secret's version using the secret's name and path Access sensitive data in a secret's version specified by the `region`, `secret_name`, `secret_path` and `revision` parameters. */
|
|
355
|
+
export declare const accessSecretVersionByPath: API.OperationMethod<AccessSecretVersionByPathRequest, AccessSecretVersionResponse, AccessSecretVersionByPathError, ScalewayOpContext>;
|
|
356
|
+
export type AddSecretOwnerError = ScalewayOpError;
|
|
357
|
+
/** Allow a product to use the secret */
|
|
358
|
+
export declare const addSecretOwner: API.OperationMethod<AddSecretOwnerRequest, AddSecretOwnerResponse, AddSecretOwnerError, ScalewayOpContext>;
|
|
359
|
+
export type CreateSecretError = ScalewayOpError;
|
|
360
|
+
/** Create a secret Create a secret in a given region specified by the `region` parameter. */
|
|
361
|
+
export declare const createSecret: API.OperationMethod<CreateSecretRequest, Secret, CreateSecretError, ScalewayOpContext>;
|
|
362
|
+
export type CreateSecretVersionError = ScalewayOpError;
|
|
363
|
+
/** Create a version Create a version of a given secret specified by the `region` and `secret_id` parameters. */
|
|
364
|
+
export declare const createSecretVersion: API.OperationMethod<CreateSecretVersionRequest, SecretVersion, CreateSecretVersionError, ScalewayOpContext>;
|
|
365
|
+
export type DeleteSecretError = ScalewayOpError;
|
|
366
|
+
/** Delete a secret Delete a given secret specified by the `region` and `secret_id` parameters. */
|
|
367
|
+
export declare const deleteSecret: API.OperationMethod<DeleteSecretRequest, DeleteSecretResponse, DeleteSecretError, ScalewayOpContext>;
|
|
368
|
+
export type DeleteSecretVersionError = ScalewayOpError;
|
|
369
|
+
/** Delete a version Delete a secret's version and the sensitive data contained in it. Deleting a version is permanent and cannot be undone. */
|
|
370
|
+
export declare const deleteSecretVersion: API.OperationMethod<DeleteSecretVersionRequest, DeleteSecretVersionResponse, DeleteSecretVersionError, ScalewayOpContext>;
|
|
371
|
+
export type DisableSecretVersionError = ScalewayOpError;
|
|
372
|
+
/** Disable a version Make a specific version inaccessible. You must specify the `region`, `secret_id` and `revision` parameters. */
|
|
373
|
+
export declare const disableSecretVersion: API.OperationMethod<DisableSecretVersionRequest, SecretVersion, DisableSecretVersionError, ScalewayOpContext>;
|
|
374
|
+
export type EnableSecretVersionError = ScalewayOpError;
|
|
375
|
+
/** Enable a version Make a specific version accessible. You must specify the `region`, `secret_id` and `revision` parameters. */
|
|
376
|
+
export declare const enableSecretVersion: API.OperationMethod<EnableSecretVersionRequest, SecretVersion, EnableSecretVersionError, ScalewayOpContext>;
|
|
377
|
+
export type GetSecretError = ScalewayOpError;
|
|
378
|
+
/** Get metadata using the secret's ID Retrieve the metadata of a secret specified by the `region` and `secret_id` parameters. */
|
|
379
|
+
export declare const getSecret: API.OperationMethod<GetSecretRequest, Secret, GetSecretError, ScalewayOpContext>;
|
|
380
|
+
export type GetSecretVersionError = ScalewayOpError;
|
|
381
|
+
/** Get metadata of a secret's version using the secret's ID Retrieve the metadata of a secret's given version specified by the `region`, `secret_id` and `revision` parameters. */
|
|
382
|
+
export declare const getSecretVersion: API.OperationMethod<GetSecretVersionRequest, SecretVersion, GetSecretVersionError, ScalewayOpContext>;
|
|
383
|
+
export type ListSecretsError = ScalewayOpError;
|
|
384
|
+
/** List secrets Retrieve the list of secrets created within an Organization and/or Project. If the user has permissions for all current and future projects: Either organization_id or project_id is required. If the user has permissions for all current projects or only specific projects: The `project_id` is required. The `region` parameter in path is needed in both case. */
|
|
385
|
+
export declare const listSecrets: API.PaginatedOperationMethod<ListSecretsRequest, ListSecretsResponse, ListSecretsError, ScalewayOpContext, Secret>;
|
|
386
|
+
export type ListSecretVersionsError = ScalewayOpError;
|
|
387
|
+
/** List versions of a secret using the secret's ID Retrieve the list of a given secret's versions specified by the `secret_id` and `region` parameters. */
|
|
388
|
+
export declare const listSecretVersions: API.PaginatedOperationMethod<ListSecretVersionsRequest, ListSecretVersionsResponse, ListSecretVersionsError, ScalewayOpContext, SecretVersion>;
|
|
389
|
+
export type ProtectSecretError = ScalewayOpError;
|
|
390
|
+
/** Enable secret protection Enable secret protection for a given secret specified by the `secret_id` parameter. Enabling secret protection means that your secret can be read and modified, but it cannot be deleted. */
|
|
391
|
+
export declare const protectSecret: API.OperationMethod<ProtectSecretRequest, Secret, ProtectSecretError, ScalewayOpContext>;
|
|
392
|
+
export type RestoreSecretError = ScalewayOpError;
|
|
393
|
+
/** Restore a secret Restore a secret and all its versions scheduled for deletion specified by the `region` and `secret_id` parameters. */
|
|
394
|
+
export declare const restoreSecret: API.OperationMethod<RestoreSecretRequest, Secret, RestoreSecretError, ScalewayOpContext>;
|
|
395
|
+
export type RestoreSecretVersionError = ScalewayOpError;
|
|
396
|
+
/** Restore a version Restore a secret's version specified by the `region`, `secret_id` and `revision` parameters. */
|
|
397
|
+
export declare const restoreSecretVersion: API.OperationMethod<RestoreSecretVersionRequest, SecretVersion, RestoreSecretVersionError, ScalewayOpContext>;
|
|
398
|
+
export type UnprotectSecretError = ScalewayOpError;
|
|
399
|
+
/** Disable secret protection Disable secret protection for a given secret specified by the `secret_id` parameter. Disabling secret protection means that your secret can be read, modified and deleted. */
|
|
400
|
+
export declare const unprotectSecret: API.OperationMethod<UnprotectSecretRequest, Secret, UnprotectSecretError, ScalewayOpContext>;
|
|
401
|
+
export type UpdateSecretError = ScalewayOpError;
|
|
402
|
+
/** Update metadata of a secret Edit a secret's metadata such as name, tag(s), description and ephemeral policy. The secret to update is specified by the `secret_id` and `region` parameters. */
|
|
403
|
+
export declare const updateSecret: API.OperationMethod<UpdateSecretRequest, Secret, UpdateSecretError, ScalewayOpContext>;
|
|
404
|
+
export type UpdateSecretVersionError = ScalewayOpError;
|
|
405
|
+
/** Update metadata of a version Edit the metadata of a secret's given version, specified by the `region`, `secret_id` and `revision` parameters. */
|
|
406
|
+
export declare const updateSecretVersion: API.OperationMethod<UpdateSecretVersionRequest, SecretVersion, UpdateSecretVersionError, ScalewayOpContext>;
|
|
407
|
+
//# sourceMappingURL=secret_manager_v1beta1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret_manager_v1beta1.d.ts","sources":["../../src/unstable-services/secret_manager_v1beta1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAIjD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAGjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,gCAAgC,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC9E,MAAM,WAAW,0BAA0B;IACzC,oCAAoC;IACpC,MAAM,CAAC,EAAE,gCAAgC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;IACtE,sCAAsC;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,yPAAyP;IACzP,QAAQ,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,MAAM,UAAU,GAClB,cAAc,GACd,QAAQ,GACR,aAAa,GACb,WAAW,GACX,mBAAmB,GACnB,sBAAsB,GACtB,SAAS,CAAC;AACd,MAAM,WAAW,2BAA2B;IAC1C,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,gHAAgH;IAChH,QAAQ,CAAC,E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B,MAAM,EACN,oBAAoB,EACpB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC;AAChD,iMAAiM;AACjM,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,eAAe,CAC5C,mBAAmB,EACnB,MAAM,EACN,iBAAiB,EACjB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC;AACvD,oJAAoJ;AACpJ,eAAO,MAAM,mBAAmB,EAAE,GAAG,CAAC,eAAe,CACnD,0BAA0B,EAC1B,aAAa,EACb,wBAAwB,EACxB,iBAAiB,CAUhB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import{Tc as e,Uc as t,a as n,b as r,bd as i,cd as a,errors$ScalewayServiceErrors as o,fd as s,gd as c,l,ld as u,n as d,nd as f,o as p,pagination$paginateByTotalCount as m,protocol$ScalewayProtocol as h,retry$Retry as g,sd as _,td as v,traits$Http as y,traits$Label as b,traits$Query as x,traits$SensitiveValue as S}from"../_bundle/sdk.js";const C={system:`scaleway-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Scaleway`,service:`SecretManagerV1beta1`,labels:`scaleway`,propagate:`w3c`};const w=/*@__PURE__*/ d(e=>e===n?l(`AccessSecretVersion`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),secret_id:$3.pipe($2()),revision:$3.pipe($2())}).pipe($1({method:"GET",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/versions/{revision}/access",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d0,o,h,g,C]):r(w,e));const T=/*@__PURE__*/ d(e=>e===n?l(`AccessSecretVersionByPath`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$4($3.pipe($2())),revision:$3.pipe($2()),secret_path:$3.pipe($5()),secret_name:$3.pipe($5()),project_id:$3.pipe($5())}).pipe($1({method:"GET",uri:"/secret-manager/v1beta1/regions/{region}/secrets-by-path/versions/{revision}/access",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,x,c,v,__d0,o,h,g,C]):r(T,e));const E=/*@__PURE__*/ d(e=>e===n?l(`AddSecretOwner`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),secret_id:$3.pipe($2()),product:$4($3)}).pipe($1({method:"POST",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/add-owner",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d1,o,h,g,C]):r(E,e));const D=/*@__PURE__*/ d(e=>e===n?l(`CreateSecret`,`{input:#1,output:#5:2,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$9(>2)@"%Request";$8({region:$4($3.pipe($2())),project_id:$4($3),name:$4($3),tags:$4(#5:0),description:$4($6($3)),type:$4($3),path:$4($6($3)),ephemeral_policy:$4(#5:1),protected:$4($7),key_id:$4($6($3))}).pipe($1({method:"POST",uri:"/secret-manager/v1beta1/regions/{region}/secrets",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,__d3,i,t,c,v,o,h,g,C]):r(D,e));const O=/*@__PURE__*/ d(e=>e===n?l(`CreateSecretVersion`,`{input:#1,output:#11:1,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%"};$10(>2)@"%Request";$9({region:$4($3.pipe($2())),secret_id:$3.pipe($2()),data:$4($3.pipe($5({}))),description:$4($6($3)),disable_previous:$4($6($7)),data_crc32:$4($6($8))}).pipe($1({method:"POST",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/versions",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,S,i,t,a,c,v,__d4,o,h,g,C]):r(O,e));const k=/*@__PURE__*/ d(e=>e===n?l(`DeleteSecret`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),secret_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d1,o,h,g,C]):r(k,e));const A=/*@__PURE__*/ d(e=>e===n?l(`DeleteSecretVersion`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),secret_id:$3.pipe($2()),revision:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/versions/{revision}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d1,o,h,g,C]):r(A,e));const j=/*@__PURE__*/ d(e=>e===n?l(`DisableSecretVersion`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),secret_id:$3.pipe($2()),revision:$3.pipe($2())}).pipe($1({method:"POST",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/versions/{revision}/disable",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d4,o,h,g,C]):r(j,e));const M=/*@__PURE__*/ d(e=>e===n?l(`EnableSecretVersion`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),secret_id:$3.pipe($2()),revision:$3.pipe($2())}).pipe($1({method:"POST",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/versions/{revision}/enable",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d4,o,h,g,C]):r(M,e));const N=/*@__PURE__*/ d(e=>e===n?l(`GetSecret`,`{input:#1,output:#7:2,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),secret_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d3,o,h,g,C]):r(N,e));const P=/*@__PURE__*/ d(e=>e===n?l(`GetSecretVersion`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),secret_id:$3.pipe($2()),revision:$3.pipe($2())}).pipe($1({method:"GET",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/versions/{revision}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d4,o,h,g,C]):r(P,e));const F=/*@__PURE__*/ p(i=>i===n?l(`ListSecrets`,`{input:#1,output:#3,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"secrets",pageSize:"page_size"},strategy:$16};$10(>5)@"%Request";$11(#7:2);$10(>6)@"%Response";$4($3.pipe($5()));$9({region:$4($3.pipe($2())),organization_id:~4,project_id:~4,order_by:~4,page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),tags:$4(#7:0.pipe($5())),name:~4,path:~4,ephemeral:$4($8.pipe($5())),type:~4,scheduled_for_deletion:$8.pipe($5())}).pipe($1({method:"GET",uri:"/secret-manager/v1beta1/regions/{region}/secrets",code:200,baseUrl:"https://api.scaleway.com"}));$9({secrets:#2,total_count:$4($6)})`,[f,y,b,s,_,x,a,__d3,t,c,v,e,o,h,g,C,m]):r(F,i));const I=/*@__PURE__*/ p(t=>t===n?l(`ListSecretVersions`,`{input:#1,output:#3,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"versions",pageSize:"page_size"},strategy:$16};$9(>4)@"%Request";$11(#10:1);$9(>5)@"%Response";$8({region:$4($3.pipe($2())),secret_id:$3.pipe($2()),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),status:$4(#7:0.pipe($5()))}).pipe($1({method:"GET",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/versions",code:200,baseUrl:"https://api.scaleway.com"}));$8({versions:#2,total_count:$4($6)})`,[f,y,b,s,_,x,a,__d2,c,v,__d4,e,o,h,g,C,m]):r(I,t));const L=/*@__PURE__*/ d(e=>e===n?l(`ProtectSecret`,`{input:#1,output:#7:2,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),secret_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/protect",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d3,o,h,g,C]):r(L,e));const R=/*@__PURE__*/ d(e=>e===n?l(`RestoreSecret`,`{input:#1,output:#7:2,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),secret_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/restore",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d3,o,h,g,C]):r(R,e));const z=/*@__PURE__*/ d(e=>e===n?l(`RestoreSecretVersion`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),secret_id:$3.pipe($2()),revision:$3.pipe($2())}).pipe($1({method:"POST",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/versions/{revision}/restore",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d4,o,h,g,C]):r(z,e));const B=/*@__PURE__*/ d(e=>e===n?l(`UnprotectSecret`,`{input:#1,output:#7:2,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),secret_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/unprotect",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d3,o,h,g,C]):r(B,e));const V=/*@__PURE__*/ d(t=>t===n?l(`UpdateSecret`,`{input:#2,output:#8:2,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$2($1);$10(>3)@"%Request";$9({region:$6($5.pipe($4())),secret_id:$5.pipe($4()),name:$6($7($5)),tags:$6($7(#1)),description:$6($7($5)),path:$6($7($5)),ephemeral_policy:$6(#8:1)}).pipe($3({method:"PATCH",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,u,e,y,b,s,_,i,__d3,c,v,o,h,g,C]):r(V,t));const H=/*@__PURE__*/ d(e=>e===n?l(`UpdateSecretVersion`,`{input:#1,output:#6:1,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$8(>2)@"%Request";$7({region:$4($3.pipe($2())),secret_id:$3.pipe($2()),revision:$3.pipe($2()),description:$4($5($3)),ephemeral_properties:$4(#6:0)}).pipe($1({method:"PATCH",uri:"/secret-manager/v1beta1/regions/{region}/secrets/{secret_id}/versions/{revision}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,i,__d4,c,v,o,h,g,C]):r(H,e));function __d0(){return[`$7(>1)@"AccessSecretVersionResponse";$6({secret_id:$2($1),revision:$2($3),data:$2($1.pipe($4({}))),data_crc32:$2($5($3)),type:$2($1)})`,[f,s,_,a,S,i,c,v]]}function __d1(){return[`$2(>1)@"AddSecretOwnerResponse";$1({})`,[f,c,v]]}function __d2(){return[`$2($1)`,[f,s,e]]}function __d3(){return[`$2($1);$7(>3)@"EphemeralPolicy";$7(>4)@"Secret";$6({time_to_live:$4($3($1)),expires_once_accessed:$4($3($5)),action:$4($1)});$6({id:$4($1),srn:$4($1),project_id:$4($1),name:$4($1),status:$4($1),created_at:$4($3($1)),updated_at:$4($3($1)),tags:$4(#0),version_count:$4($8),description:$4($3($1)),managed:$4($5),protected:$4($5),type:$4($1),path:$4($1),ephemeral_policy:$4(#1),used_by:$4(#9:0),deletion_requested_at:$4($3($1)),key_id:$4($3($1)),region:$4($1)})`,[f,s,e,i,_,t,c,v,a,__d2]]}function __d4(){return[`$6(>2)@"EphemeralProperties";$6(>3)@"SecretVersion";$5({expires_at:$3($2($1)),expires_once_accessed:$3($2($4)),action:$3($1)});$5({revision:$3($7),srn:$3($1),secret_id:$3($1),status:$3($1),created_at:$3($2($1)),updated_at:$3($2($1)),deleted_at:$3($2($1)),description:$3($2($1)),latest:$3($4),ephemeral_properties:$3(#0),deletion_requested_at:$3($2($1)),region:$3($1)})`,[f,s,i,_,t,c,v,a]]}export{w as accessSecretVersion,T as accessSecretVersionByPath,E as addSecretOwner,D as createSecret,O as createSecretVersion,k as deleteSecret,A as deleteSecretVersion,j as disableSecretVersion,M as enableSecretVersion,N as getSecret,P as getSecretVersion,I as listSecretVersions,F as listSecrets,L as protectSecret,R as restoreSecret,z as restoreSecretVersion,B as unprotectSecret,V as updateSecret,H as updateSecretVersion};
|
|
2
|
+
/*
|
|
3
|
+
23 25
|
|
4
|
+
e:0:Tc t:0:Uc n:0:a r:0:b i:0:bd a:0:cd o:0:errors$ScalewayServiceErrors s:0:fd c:0:gd l:0:l u:0:ld d:0:n f:0:nd p:0:o m:0:pagination$paginateByTotalCount h:0:protocol$ScalewayProtocol g:0:retry$Retry _:0:sd v:0:td y:0:traits$Http b:0:traits$Label x:0:traits$Query S:0:traits$SensitiveValue
|
|
5
|
+
000000001r0003s0005i0007a0009d000b1000cw000es000gn000i8000k0000lx000o2000pr000rg000tc000v3000wx000yu000z60010b00116001210013b0014g
|
|
6
|
+
2 i9 u2 w|=AccessSecretVersion;j7 t0;c,j,k,7,h,8,i,17,6,f,g,16
|
|
7
|
+
2 us 187 T|=AccessSecretVersionByPath;vw 173;c,j,k,7,h,l,8,i,17,6,f,g,16
|
|
8
|
+
2 18x 1jx E|=AddSecretOwner;19q 1iv;c,j,k,7,h,8,i,18,6,f,g,16
|
|
9
|
+
2 1kn 1ye D|=CreateSecret;1le 1x8;c,j,k,7,h,1a,4,1,8,i,6,f,g,16
|
|
10
|
+
2 1z4 2cv O|=CreateSecretVersion;202 2bl;c,j,k,7,h,m,4,1,5,8,i,1b,6,f,g,16
|
|
11
|
+
2 2dl 2nw k|=DeleteSecret;2ec 2mu;c,j,k,7,h,8,i,18,6,f,g,16
|
|
12
|
+
2 2om 30b A|=DeleteSecretVersion;2pk 2z9;c,j,k,7,h,8,i,18,6,f,g,16
|
|
13
|
+
2 311 3cx j|=DisableSecretVersion;320 3bv;c,j,k,7,h,8,i,1b,6,f,g,16
|
|
14
|
+
2 3dn 3ph M|=EnableSecretVersion;3el 3of;c,j,k,7,h,8,i,1b,6,f,g,16
|
|
15
|
+
2 3q7 40c N|=GetSecret;3qv 3za;c,j,k,7,h,8,i,1a,6,f,g,16
|
|
16
|
+
2 412 4cl P|=GetSecretVersion;41x 4bj;c,j,k,7,h,8,i,1b,6,f,g,16
|
|
17
|
+
2 4db 4ya F|=ListSecrets;4e1 4wy;c,j,k,7,h,l,5,1a,1,8,i,0,6,f,g,16,e
|
|
18
|
+
2 4z0 5hd I|=ListSecretVersions;4zx 5fy;c,j,k,7,h,l,5,19,8,i,1b,0,6,f,g,16,e
|
|
19
|
+
2 5i3 5sl L|=ProtectSecret;5iv 5rj;c,j,k,7,h,8,i,1a,6,f,g,16
|
|
20
|
+
2 5tb 63t R|=RestoreSecret;5u3 62r;c,j,k,7,h,8,i,1a,6,f,g,16
|
|
21
|
+
2 64j 6gf z|=RestoreSecretVersion;65i 6fd;c,j,k,7,h,8,i,1b,6,f,g,16
|
|
22
|
+
2 6h5 6rr B|=UnprotectSecret;6hz 6qp;c,j,k,7,h,8,i,1a,6,f,g,16
|
|
23
|
+
2 6sh 75w V|=UpdateSecret;6t8 74o;c,a,0,j,k,7,h,4,1a,8,i,6,f,g,16
|
|
24
|
+
2 76m 7ju H|=UpdateSecretVersion;77k 7iq;c,j,k,7,h,4,1b,8,i,6,f,g,16
|
|
25
|
+
0 9o hk C||
|
|
26
|
+
1 7jw 7ov __d0|=;7kk 7oa;c,7,h,5,m,4,8,i
|
|
27
|
+
1 7ov 7qw __d1|=;7pj 7ql;c,8,i
|
|
28
|
+
1 7qw 7s1 __d2|=;7rk 7rq;c,7,0
|
|
29
|
+
1 7s1 866 __d3|=;7sp 85e;c,7,0,4,h,1,8,i,5,19
|
|
30
|
+
1 866 8hn __d4|=;86u 8h2;c,7,4,h,1,8,i,5
|
|
31
|
+
*/
|
|
32
|
+
//# sourceMappingURL=secret_manager_v1beta1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret_manager_v1beta1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","T.Query","S.NullOr","S.Boolean","T.SensitiveValue","S.Number","S.Array","S.Unknown","Array","Boolean","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","Unknown","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","SensitiveValue","TELEMETRY","accessSecretVersion","i","named","accessSecretVersionByPath","addSecretOwner","createSecret","createSecretVersion","deleteSecret","deleteSecretVersion","disableSecretVersion","enableSecretVersion","getSecret","getSecretVersion","listSecrets","listSecretVersions","protectSecret","restoreSecret","restoreSecretVersion","unprotectSecret","updateSecret","updateSecretVersion"],"sources":["../../src/unstable-services/secret_manager_v1beta1.ts"],"mappings":"oVAcA,MAAMwC,EAAY,CAChB,OAAQ,eACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,WACR,QAAS,uBACT,OAAQ,WACR,UAAW,KACb,EA4WA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAM1C,EAAQC,EAAU,sBAAuB,oWAAqW,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAW,KAAMgB,EAAuBQ,EAAkBvB,EAAa+B,CAAS,CAAC,EAAI9B,EAAS+B,EAAqBC,CAAC,CAAC,EAI7mB,MAAaE,EAKK,gBAAQ,GAAgBF,IAAM1C,EAAQC,EAAU,4BAA6B,sZAAuZ,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYK,EAASJ,EAAUC,EAAW,KAAMgB,EAAuBQ,EAAkBvB,EAAa+B,CAAS,CAAC,EAAI9B,EAASkC,EAA2BF,CAAC,CAAC,EAIprB,MAAaG,EAKK,gBAAQ,GAAgBH,IAAM1C,EAAQC,EAAU,iBAAkB,4UAA6U,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAW,KAAMgB,EAAuBQ,EAAkBvB,EAAa+B,CAAS,CAAC,EAAI9B,EAASmC,EAAgBH,CAAC,CAAC,EAI3kB,MAAaI,EAKK,gBAAQ,GAAgBJ,IAAM1C,EAAQC,EAAU,eAAgB,6aAA8a,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAY,KAAMM,EAAUC,EAAWN,EAAUC,EAAWgB,EAAuBQ,EAAkBvB,EAAa+B,CAAS,CA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