@distilled.cloud/scaleway 0.0.0-stage → 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 +175 -2
- 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 +94 -3
- 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,42 @@
|
|
|
1
|
+
import{Tc as e,Uc as t,a as n,b as r,bd as i,cc as a,cd as o,dd as s,errors$ScalewayServiceErrors as c,fd as l,gd as u,l as d,ld as f,n as p,nd as m,o as h,pagination$paginateByTotalCount as g,protocol$ScalewayProtocol as _,retry$Retry as v,sd as y,td as b,traits$BinaryResponse as x,traits$Header as S,traits$Http as C,traits$Label as w,traits$Query as T,traits$RawResponse as E,traits$SensitiveValue as D}from"../_bundle/sdk.js";const O={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:`RedisV1`,labels:`scaleway`,propagate:`w3c`};const k=/*@__PURE__*/ p(e=>e===n?d(`AddAclRules`,`{input:#1,output:#2,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$7(>3)@"%Request";$7(>4)@"%Response";$6({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2()),acl_rules:#5:1}).pipe($1({method:"POST",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}/acls",code:200,baseUrl:"https://api.scaleway.com"}));$6({acl_rules:$4(#8:0),total_count:$4($9)})`,[m,C,w,l,y,__d0,u,b,__d2,o,c,_,v,O]):r(k,e));const A=/*@__PURE__*/ p(e=>e===n?d(`AddClusterSettings`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2()),settings:#5:1}).pipe($1({method:"POST",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}/settings",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,__d4,u,b,__d3,c,_,v,O]):r(A,e));const j=/*@__PURE__*/ p(e=>e===n?d(`AddEndpoints`,`{input:#1,output:#2,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$7(>3)@"%Request";$7(>4)@"%Response";$6({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2()),endpoints:#5:1}).pipe($1({method:"POST",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}/endpoints",code:200,baseUrl:"https://api.scaleway.com"}));$6({endpoints:$4(#8:0),total_count:$4($9)})`,[m,C,w,l,y,__d5,u,b,__d8,o,c,_,v,O]):r(j,e));const M=/*@__PURE__*/ p(e=>e===n?d(`CreateCluster`,`{input:#1,output:#15:0,errors:[],serviceErrors:$16,protocol:$17,retry:$18,telemetry:$19,span:"%"};$14(>2)@"%Request";$13({zone:$4($3.pipe($2())),project_id:$3,name:$4($3),version:$3,tags:$4(#5:0),node_type:$3,user_name:$3,password:$3.pipe($6({})),cluster_size:$4($8($7)),acl_rules:$4(#9:1),endpoints:$4(#10:1),tls_enabled:$4($11),cluster_settings:$4(#12:1)}).pipe($1({method:"POST",uri:"/redis/v1/zones/{zone}/clusters",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,__d7,D,o,i,__d0,__d5,t,__d4,u,b,__d9,c,_,v,O]):r(M,e));const N=/*@__PURE__*/ p(e=>e===n?d(`DeleteAclRule`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),acl_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/redis/v1/zones/{zone}/acls/{acl_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,u,b,__d9,c,_,v,O]):r(N,e));const P=/*@__PURE__*/ p(e=>e===n?d(`DeleteCluster`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,u,b,__d9,c,_,v,O]):r(P,e));const F=/*@__PURE__*/ p(e=>e===n?d(`DeleteClusterSetting`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2()),setting_name:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}/settings/{setting_name}",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,u,b,__d9,c,_,v,O]):r(F,e));const I=/*@__PURE__*/ p(e=>e===n?d(`DeleteEndpoint`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),endpoint_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/redis/v1/zones/{zone}/endpoints/{endpoint_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,u,b,__d9,c,_,v,O]):r(I,e));const L=/*@__PURE__*/ p(e=>e===n?d(`GetAclRule`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),acl_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/redis/v1/zones/{zone}/acls/{acl_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,u,b,__d1,c,_,v,O]):r(L,e));const R=/*@__PURE__*/ p(e=>e===n?d(`GetCluster`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,u,b,__d9,c,_,v,O]):r(R,e));const z=/*@__PURE__*/ p(e=>e===n?d(`GetClusterCertificate`,`{input:#1,output:#2,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$6(>3)@"%Request";$6(>4)@"ScalewayStdFile";$5({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}/certificate",code:200,baseUrl:"https://api.scaleway.com"}));$5({name:$4($3),content_type:$4($3),content:$4($3)})`,[m,C,w,l,y,u,b,c,_,v,O]):r(z,e));const B=/*@__PURE__*/ p(e=>e===n?d(`GetClusterCertificateRaw`,`{input:#1,output:#2,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}/certificate",code:200,baseUrl:"https://api.scaleway.com",rawDownload:true}));$5({body:$9.pipe($7(),$8()),contentType:$4($3.pipe($10("Content-Type")))})`,[m,C,w,l,y,u,b,E,x,a,S,c,_,v,O]):r(B,e));const V=/*@__PURE__*/ p(t=>t===n?d(`GetClusterMetrics`,`{input:#1,output:#7,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$7(>8)@"%Request";$9($8);$9(#2);$10($3,$3);$7(>9)@"ScalewayStdTimeSeries";$9(#5);$7(>10)@"ClusterMetricsResponse";$6({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2()),start_at:$4($3.pipe($5())),end_at:$4($3.pipe($5())),metric_name:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}/metrics",code:200,baseUrl:"https://api.scaleway.com"}));$6({name:$4($3),points:$4(#3),metadata:$4(#4)});$6({timeseries:$4(#6)})`,[m,C,w,l,y,T,u,b,f,e,s,c,_,v,O]):r(V,t));const H=/*@__PURE__*/ p(e=>e===n?d(`GetEndpoint`,`{input:#1,output:#7:2,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),endpoint_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/redis/v1/zones/{zone}/endpoints/{endpoint_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,u,b,__d7,c,_,v,O]):r(H,e));const U=/*@__PURE__*/ h(t=>t===n?d(`ListClusters`,`{input:#1,output:#3,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"clusters",pageSize:"page_size"},strategy:$16};$9(>4)@"%Request";$11(#10:0);$9(>5)@"%Response";$8({zone:$4($3.pipe($2())),tags:$4(#6:0.pipe($5())),name:$4($3.pipe($5())),order_by:$4($3.pipe($5())),project_id:$4($3.pipe($5())),organization_id:$4($3.pipe($5())),version:$4($3.pipe($5())),page:$4($7.pipe($5())),page_size:$4($7.pipe($5()))}).pipe($1({method:"GET",uri:"/redis/v1/zones/{zone}/clusters",code:200,baseUrl:"https://api.scaleway.com"}));$8({clusters:#2,total_count:$4($7)})`,[m,C,w,l,y,T,__d7,o,u,b,__d9,e,c,_,v,O,g]):r(U,t));const W=/*@__PURE__*/ h(a=>a===n?d(`ClusterVersion`,`{input:#1,output:#6,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"List%s",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"versions",pageSize:"page_size"},strategy:$16};$9(>7)@"List%sRequest";$9(>8)@"AvailableClusterSetting";$11(#2);$9(>9)@"%";$11(#4);$9(>10)@"List%sResponse";$8({zone:$4($3.pipe($2())),include_disabled:$6.pipe($5()),include_beta:$6.pipe($5()),include_deprecated:$6.pipe($5()),version:$4($3.pipe($5())),page:$4($7.pipe($5())),page_size:$4($7.pipe($5()))}).pipe($1({method:"GET",uri:"/redis/v1/zones/{zone}/cluster-versions",code:200,baseUrl:"https://api.scaleway.com"}));$8({name:$4($3),default_value:$4($10($3)),type:$4($3),description:$4($3),max_value:$4($10($7)),min_value:$4($10($7)),regex:$4($10($3)),deprecated:$4($6)});$8({version:$4($3),end_of_life_at:$4($10($3)),available_settings:$4(#3),logo_url:$4($3),released_at:$4($10($3)),zone:$4($3)});$8({versions:#5,total_count:$4($7)})`,[m,C,w,l,y,T,t,o,u,b,i,e,c,_,v,O,g]):r(W,a));const G=/*@__PURE__*/ h(i=>i===n?d(`ListNodeTypes`,`{input:#1,output:#4,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"node_types",pageSize:"page_size"},strategy:$15};$9(>5)@"%Request";$9(>6)@"NodeType";$10(#2);$9(>7)@"%Response";$8({zone:$4($3.pipe($2())),include_disabled_types:$6.pipe($5()),page:$4($7.pipe($5())),page_size:$4($7.pipe($5()))}).pipe($1({method:"GET",uri:"/redis/v1/zones/{zone}/node-types",code:200,baseUrl:"https://api.scaleway.com"}));$8({name:$4($3),stock_status:$4($3),description:$4($3),vcpus:$4($7),memory:$4($7),disabled:$4($6),beta:$4($6),zone:$4($3)});$8({node_types:#3,total_count:$4($7)})`,[m,C,w,l,y,T,t,o,u,b,e,c,_,v,O,g]):r(G,i));const K=/*@__PURE__*/ p(e=>e===n?d(`MigrateCluster`,`{input:#1,output:#9:0,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2()),version:$4($5($3)),node_type:$4($5($3)),cluster_size:$4($5($6))}).pipe($1({method:"POST",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}/migrate",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,i,o,u,b,__d9,c,_,v,O]):r(K,e));const q=/*@__PURE__*/ p(e=>e===n?d(`RenewClusterCertificate`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}/renew-certificate",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,u,b,__d9,c,_,v,O]):r(q,e));const J=/*@__PURE__*/ p(e=>e===n?d(`SetAclRules`,`{input:#1,output:#2,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>3)@"%Request";$7(>4)@"%Response";$6({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2()),acl_rules:#5:1}).pipe($1({method:"PUT",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}/acls",code:200,baseUrl:"https://api.scaleway.com"}));$6({acl_rules:$4(#8:0)})`,[m,C,w,l,y,__d0,u,b,__d2,c,_,v,O]):r(J,e));const Y=/*@__PURE__*/ p(e=>e===n?d(`SetClusterSettings`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2()),settings:#5:1}).pipe($1({method:"PUT",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}/settings",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,__d4,u,b,__d3,c,_,v,O]):r(Y,e));const X=/*@__PURE__*/ p(e=>e===n?d(`SetEndpoints`,`{input:#1,output:#2,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>3)@"%Request";$7(>4)@"%Response";$6({zone:$4($3.pipe($2())),cluster_id:$3.pipe($2()),endpoints:#5:1}).pipe($1({method:"PUT",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}/endpoints",code:200,baseUrl:"https://api.scaleway.com"}));$6({endpoints:$4(#8:0)})`,[m,C,w,l,y,__d5,u,b,__d8,c,_,v,O]):r(X,e));const Z=/*@__PURE__*/ p(t=>t===n?d(`UpdateCluster`,`{input:#2,output:#11:0,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%"};$2($1);$10(>3)@"%Request";$9({zone:$6($5.pipe($4())),cluster_id:$5.pipe($4()),name:$6($7($5)),tags:$6($7(#1)),user_name:$6($7($5)),password:$6($7($5).pipe($8({})))}).pipe($3({method:"PATCH",uri:"/redis/v1/zones/{zone}/clusters/{cluster_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,f,e,C,w,l,y,i,D,u,b,__d9,c,_,v,O]):r(Z,t));const Q=/*@__PURE__*/ p(e=>e===n?d(`UpdateEndpoint`,`{input:#1,output:#10:2,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$9(>2)@"%Request";$8({zone:$4($3.pipe($2())),endpoint_id:$3.pipe($2()),private_network:$4($6(#5:0)),public_network:$4($6($7))}).pipe($1({method:"PATCH",uri:"/redis/v1/zones/{zone}/endpoints/{endpoint_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[m,C,w,l,y,__d6,i,f,u,b,__d7,c,_,v,O]):r(Q,e));function __d0(){return[`$4(>2)@"ACLRuleSpec";$5(#0);$3({ip_cidr:$2($1),description:$2($1)})`,[m,l,y,u,b,e]]}function __d1(){return[`$5(>1)@"ACLRule";$4({id:$2($1),ip_cidr:$2($3($1)),description:$2($3($1))})`,[m,l,y,i,u,b]]}function __d2(){return[`$2(#1:0)`,[m,__d1,e]]}function __d3(){return[`$4(>1)@"ClusterSettingsResponse";$3({settings:$2(#1:1)})`,[m,__d4,y,u,b]]}function __d4(){return[`$4(>2)@"ClusterSetting";$5(#0);$3({value:$2($1),name:$2($1)})`,[m,l,y,u,b,e]]}function __d5(){return[`$6(>2)@"EndpointSpec";$7(#0);$5({private_network:$3($2(#1:0)),public_network:$3($2($4))})`,[m,__d6,i,y,f,u,b,e]]}function __d6(){return[`$6(>1)@"EndpointSpecPrivateNetworkSpec";$5({id:$2($1),service_ips:$2(#3:0),ipam_config:$2($4)})`,[m,l,y,__d7,f,u,b]]}function __d7(){return[`$2($1);$5(>3)@"PrivateNetwork";$5(>4)@"Endpoint";$4({id:$3($1),service_ips:$3(#0),zone:$3($1),provisioning_mode:$3($1)});$4({port:$3($6),private_network:$3($7(#1)),public_network:$3($7($8)),ips:$3(#0),id:$3($1)})`,[m,l,e,y,u,b,o,i,f]]}function __d8(){return[`$2(#1:2)`,[m,__d7,e]]}function __d9(){return[`$11(>1)@"Cluster";$10({id:$2($1),name:$2($1),project_id:$2($1),status:$2($1),version:$2($1),endpoints:$2(#3:0),tags:$2(#4:0),node_type:$2($1),created_at:$2($5($1)),updated_at:$2($5($1)),tls_enabled:$2($6),cluster_settings:$2(#7:1),acl_rules:$2(#8:0),cluster_size:$2($9),zone:$2($1),user_name:$2($1),upgradable_versions:$2(#4:0),srn:$2($1)})`,[m,l,y,__d8,__d7,i,t,__d4,__d2,o,u,b]]}export{k as addAclRules,A as addClusterSettings,j as addEndpoints,M as createCluster,N as deleteAclRule,P as deleteCluster,F as deleteClusterSetting,I as deleteEndpoint,L as getAclRule,R as getCluster,z as getClusterCertificate,B as getClusterCertificateRaw,V as getClusterMetrics,H as getEndpoint,W as listClusterVersions,U as listClusters,G as listNodeTypes,K as migrateCluster,q as renewClusterCertificate,J as setAclRules,Y as setClusterSettings,X as setEndpoints,Z as updateCluster,Q as updateEndpoint};
|
|
2
|
+
/*
|
|
3
|
+
28 35
|
|
4
|
+
e:0:Tc t:0:Uc n:0:a r:0:b i:0:bd a:0:cc o:0:cd s:0:dd c:0:errors$ScalewayServiceErrors l:0:fd u:0:gd d:0:l f:0:ld p:0:n m:0:nd h:0:o g:0:pagination$paginateByTotalCount _:0:protocol$ScalewayProtocol v:0:retry$Retry y:0:sd b:0:td x:0:traits$BinaryResponse S:0:traits$Header C:0:traits$Http w:0:traits$Label T:0:traits$Query E:0:traits$RawResponse D:0:traits$SensitiveValue
|
|
5
|
+
000000001o0003j0005c0007l0009a000az000cv000el000g7000ht000jn000ls000nq000pd000rc000tb000v7000x1000z00010q0012n0014e0016b001880018k0019l001am001bi001ci001dj001ep001ft001h0001hw001jd
|
|
6
|
+
2 kf wo k|=AddAclRules;l5 vf;e,n,o,9,j,1h,a,k,1j,6,8,h,i,1g
|
|
7
|
+
2 xe 185 A|=AddClusterSettings;yb 16y;e,n,o,9,j,1l,a,k,1k,8,h,i,1g
|
|
8
|
+
2 18v 1la j|=AddEndpoints;19m 1k1;e,n,o,9,j,1m,a,k,1p,6,8,h,i,1g
|
|
9
|
+
2 1m0 21k M|=CreateCluster;1ms 1zq;e,n,o,9,j,1o,r,6,4,1h,1m,1,1l,a,k,1q,8,h,i,1g
|
|
10
|
+
2 22a 2bt N|=DeleteAclRule;232 2ar;e,n,o,9,j,a,k,1q,8,h,i,1g
|
|
11
|
+
2 2cj 2me P|=DeleteCluster;2db 2lc;e,n,o,9,j,a,k,1q,8,h,i,1g
|
|
12
|
+
2 2n4 2yl F|=DeleteClusterSetting;2o3 2xj;e,n,o,9,j,a,k,1q,8,h,i,1g
|
|
13
|
+
2 2zb 39a I|=DeleteEndpoint;304 388;e,n,o,9,j,a,k,1q,8,h,i,1g
|
|
14
|
+
2 3a0 3jd L|=GetAclRule;3ap 3ib;e,n,o,9,j,a,k,1i,8,h,i,1g
|
|
15
|
+
2 3k3 3ts R|=GetCluster;3ks 3sq;e,n,o,9,j,a,k,1q,8,h,i,1g
|
|
16
|
+
2 3ui 46s z|=GetClusterCertificate;3vi 45v;e,n,o,9,j,a,k,8,h,i,1g
|
|
17
|
+
2 47i 4l3 B|=GetClusterCertificateRaw;48l 4jy;e,n,o,9,j,a,k,q,l,5,m,8,h,i,1g
|
|
18
|
+
2 4lt 52y V|=GetClusterMetrics;4mp 51t;e,n,o,9,j,p,a,k,c,0,7,8,h,i,1g
|
|
19
|
+
2 53o 5dh H|=GetEndpoint;54e 5cf;e,n,o,9,j,a,k,1o,8,h,i,1g
|
|
20
|
+
2 5e7 5yf U|=ListClusters;5ey 5x0;e,n,o,9,j,p,1o,6,a,k,1q,0,8,h,i,1g,g
|
|
21
|
+
2 5z5 6rs W|=ClusterVersion;5zy 6qj;e,n,o,9,j,p,1,6,a,k,4,0,8,h,i,1g,g
|
|
22
|
+
2 6si 7d1 G|=ListNodeTypes;6ta 7bu;e,n,o,9,j,p,1,6,a,k,0,8,h,i,1g,g
|
|
23
|
+
2 7dr 7pr K|=MigrateCluster;7ek 7ol;e,n,o,9,j,4,6,a,k,1q,8,h,i,1g
|
|
24
|
+
2 7qh 812 q|=RenewClusterCertificate;7rj 800;e,n,o,9,j,a,k,1q,8,h,i,1g
|
|
25
|
+
2 81s 8de J|=SetAclRules;82i 8c7;e,n,o,9,j,1h,a,k,1j,8,h,i,1g
|
|
26
|
+
2 8e4 8ou Y|=SetClusterSettings;8f1 8nn;e,n,o,9,j,1l,a,k,1k,8,h,i,1g
|
|
27
|
+
2 8pk 91c X|=SetEndpoints;8qb 905;e,n,o,9,j,1m,a,k,1p,8,h,i,1g
|
|
28
|
+
2 922 9et Z|=UpdateCluster;92u 9dj;e,c,0,n,o,9,j,4,r,a,k,1q,8,h,i,1g
|
|
29
|
+
2 9fj 9rc Q|=UpdateEndpoint;9gc 9q1;e,n,o,9,j,1n,4,c,a,k,1o,8,h,i,1g
|
|
30
|
+
0 c7 jq O||
|
|
31
|
+
1 9re 9ue __d0|=;9s2 9tx;e,9,j,a,k,0
|
|
32
|
+
1 9ue 9xl __d1|=;9v2 9x4;e,9,j,4,a,k
|
|
33
|
+
1 9xl 9yv __d2|=;9y9 9yh;e,1i,0
|
|
34
|
+
1 9yv a1l __d3|=;9zj a13;e,1l,j,a,k
|
|
35
|
+
1 a1l a4f __d4|=;a29 a3y;e,9,j,a,k,0
|
|
36
|
+
1 a4f a88 __d5|=;a53 a7k;e,1n,4,j,c,a,k,0
|
|
37
|
+
1 a88 ac5 __d6|=;a8w abj;e,9,j,1o,c,a,k
|
|
38
|
+
1 ac5 ajc __d7|=;act aip;e,9,0,j,a,k,6,4,c
|
|
39
|
+
1 ajc akm __d8|=;ak0 ak8;e,1o,0
|
|
40
|
+
1 akm avv __d9|=;ala auq;e,9,j,1p,1o,4,1,1l,1j,6,a,k
|
|
41
|
+
*/
|
|
42
|
+
//# sourceMappingURL=redis_v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redis_v1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","S.Struct","S.suspend","S.Number","Retry.Retry","API.call","T.SensitiveValue","S.NullOr","S.Boolean","T.RawResponse","T.BinaryResponse","T.Header","T.Query","S.Unknown","S.Array","S.Record","Array","Boolean","D","call","NullOr","BinaryStream","Number","Record","ScalewayServiceErrors","String","Struct","named","Unknown","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","BinaryResponse","Header","Http","Label","Query","RawResponse","SensitiveValue","TELEMETRY","addAclRules","i","addClusterSettings","addEndpoints","createCluster","deleteAclRule","deleteCluster","deleteClusterSetting","deleteEndpoint","getAclRule","getCluster","getClusterCertificate","getClusterCertificateRaw","getClusterMetrics","getEndpoint","listClusters","listClusterVersions","listNodeTypes","migrateCluster","renewClusterCertificate","setAclRules","setClusterSettings","setEndpoints","updateCluster","updateEndpoint"],"sources":["../../src/services/redis_v1.ts"],"mappings":"+aAeA,MAAMkD,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,UACT,OAAQ,WACR,UAAW,KACb,EAsqBA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMpD,EAAQC,EAAU,cAAe,qXAAsX,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAY,KAAMC,EAAUC,EAAW,KAAMC,EAAUqB,EAAuBS,EAAkB7B,EAAawC,CAAS,CAAC,EAAIvC,EAASwC,EAAaC,CAAC,CAAC,EAI9nB,MAAaC,EAKK,gBAAQ,GAAgBD,IAAMpD,EAAQC,EAAU,qBAAsB,0TAA2T,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAY,KAAMC,EAAUC,EAAW,KAAMsB,EAAuBS,EAAkB7B,EAAawC,CAAS,CAAC,EAAIvC,EAAS0C,EAAoBD,CAAC,CAAC,EAIvkB,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMpD,EAAQC,EAAU,eAAgB,0XAA2X,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAY,KAAMC,EAAUC,EAAW,KAAMC,EAAUqB,EAAuBS,EAAkB7B,EAAawC,CAAS,CAAC,EAAIvC,EAAS2C,EAAcF,CAAC,CAAC,EAIroB,MAAaG,EAKK,gBAAQ,GAAgBH,IAAMpD,EAAQC,EAAU,gBAAiB,qdAAsd,CAACC,EAA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,CAACN,EAAQ,KAAMkB,CAAO,CAAC,CAC7C,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,2DAA4D,CAAClB,EAAQ,KAAMI,EAAYC,EAAUC,CAAS,CAAC,CACrH,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,gEAAiE,CAACN,EAAQG,EAAUC,EAAYC,EAAUC,EAAWY,CAAO,CAAC,CACvI,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,4FAA6F,CAAClB,EAAQ,KAAMW,EAAUP,EAAYa,EAAWZ,EAAUC,EAAWY,CAAO,CAAC,CACpL,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,kGAAmG,CAAClB,EAAQG,EAAUC,EAAY,KAAMa,EAAWZ,EAAUC,CAAS,CAAC,CACjL,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,uNAAwN,CAACN,EAAQG,EAAUe,EAASd,EAAYC,EAAUC,EAAWC,EAAUI,EAAUM,CAAS,CAAC,CAC7T,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,WAAY,CAACjB,EAAQ,KAAMkB,CAAO,CAAC,CAC7C,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,uVAAwV,CAAClB,EAAQG,EAAUC,EAAY,KAAM,KAAMO,EAAUC,EAAW,KAAM,KAAML,EAAUF,EAAUC,CAAS,CAAC,CAC5c"}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
3
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
4
|
+
export type CreateNamespaceRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
5
|
+
export interface CreateNamespaceRequest {
|
|
6
|
+
/** The region you want to target */
|
|
7
|
+
region?: CreateNamespaceRequestRegion | (string & {}) | undefined;
|
|
8
|
+
/** Name of the namespace. */
|
|
9
|
+
name: string;
|
|
10
|
+
/** Description of the namespace. */
|
|
11
|
+
description?: string | undefined;
|
|
12
|
+
/** Namespace owner (deprecated). Precisely one of project_id, organization_id can be set. */
|
|
13
|
+
organization_id?: string | null | undefined;
|
|
14
|
+
/** Project ID on which the namespace will be created. Precisely one of project_id, organization_id can be set. */
|
|
15
|
+
project_id?: string | null | undefined;
|
|
16
|
+
/** Defines whether or not namespace is public. */
|
|
17
|
+
is_public?: boolean | undefined;
|
|
18
|
+
}
|
|
19
|
+
export type NamespaceStatus = "unknown" | "ready" | "deleting" | "error" | "locked";
|
|
20
|
+
export interface Namespace {
|
|
21
|
+
/** SRN of the namespace. */
|
|
22
|
+
srn?: string | undefined;
|
|
23
|
+
/** UUID of the namespace. */
|
|
24
|
+
id?: string | undefined;
|
|
25
|
+
/** Name of the namespace, unique in a region across all organizations. */
|
|
26
|
+
name?: string | undefined;
|
|
27
|
+
/** Description of the namespace. */
|
|
28
|
+
description?: string | undefined;
|
|
29
|
+
/** Owner of the namespace. */
|
|
30
|
+
organization_id?: string | undefined;
|
|
31
|
+
/** Project of the namespace. */
|
|
32
|
+
project_id?: string | undefined;
|
|
33
|
+
/** Namespace status. */
|
|
34
|
+
status?: NamespaceStatus | undefined;
|
|
35
|
+
/** Namespace status details. */
|
|
36
|
+
status_message?: string | undefined;
|
|
37
|
+
/** Endpoint reachable by docker. */
|
|
38
|
+
endpoint?: string | undefined;
|
|
39
|
+
/** Defines whether or not namespace is public. */
|
|
40
|
+
is_public?: boolean | undefined;
|
|
41
|
+
/** Total size of the namespace, calculated as the sum of the size of all images in the namespace. (in bytes) */
|
|
42
|
+
size?: number | undefined;
|
|
43
|
+
/** Date and time of creation. (RFC 3339 format) */
|
|
44
|
+
created_at?: string | null | undefined;
|
|
45
|
+
/** Date and time of last update. (RFC 3339 format) */
|
|
46
|
+
updated_at?: string | null | undefined;
|
|
47
|
+
/** Number of images in the namespace. */
|
|
48
|
+
image_count?: number | undefined;
|
|
49
|
+
/** Region the namespace belongs to. */
|
|
50
|
+
region?: string | undefined;
|
|
51
|
+
}
|
|
52
|
+
export type DeleteImageRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
53
|
+
export interface DeleteImageRequest {
|
|
54
|
+
/** The region you want to target */
|
|
55
|
+
region?: DeleteImageRequestRegion | (string & {}) | undefined;
|
|
56
|
+
/** UUID of the image. */
|
|
57
|
+
image_id: string;
|
|
58
|
+
}
|
|
59
|
+
export type ImageStatus = "unknown" | "ready" | "deleting" | "error" | "locked";
|
|
60
|
+
export type ImageVisibility = "visibility_unknown" | "inherit" | "public" | "private";
|
|
61
|
+
/** List of docker tags of the image. */
|
|
62
|
+
export type ImageTagsList = Array<string>;
|
|
63
|
+
export interface Image {
|
|
64
|
+
/** SRN of the image. */
|
|
65
|
+
srn?: string | undefined;
|
|
66
|
+
/** Region where the image is located. */
|
|
67
|
+
region?: string | undefined;
|
|
68
|
+
/** UUID of the image. */
|
|
69
|
+
id?: string | undefined;
|
|
70
|
+
/** Name of the image, it must be unique within the namespace. */
|
|
71
|
+
name?: string | undefined;
|
|
72
|
+
/** UUID of the namespace the image belongs to. */
|
|
73
|
+
namespace_id?: string | undefined;
|
|
74
|
+
/** Status of the image. */
|
|
75
|
+
status?: ImageStatus | undefined;
|
|
76
|
+
/** Details of the image status. */
|
|
77
|
+
status_message?: string | null | undefined;
|
|
78
|
+
/** Set to `public` to allow the image to be pulled without authentication. Else, set to `private`. Set to `inherit` to keep the same visibility configuration as the namespace. */
|
|
79
|
+
visibility?: ImageVisibility | undefined;
|
|
80
|
+
/** Image size in bytes, calculated from the size of image layers. Image size in bytes, calculated from the size of image layers. One layer used in two tags of the same image is counted once but one layer used in two images is counted twice. (in bytes) */
|
|
81
|
+
size?: number | undefined;
|
|
82
|
+
/** Date and time of image creation. (RFC 3339 format) */
|
|
83
|
+
created_at?: string | null | undefined;
|
|
84
|
+
/** Date and time of last update. (RFC 3339 format) */
|
|
85
|
+
updated_at?: string | null | undefined;
|
|
86
|
+
/** List of docker tags of the image. */
|
|
87
|
+
tags?: ImageTagsList | undefined;
|
|
88
|
+
}
|
|
89
|
+
export type DeleteNamespaceRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
90
|
+
export interface DeleteNamespaceRequest {
|
|
91
|
+
/** The region you want to target */
|
|
92
|
+
region?: DeleteNamespaceRequestRegion | (string & {}) | undefined;
|
|
93
|
+
/** UUID of the namespace. */
|
|
94
|
+
namespace_id: string;
|
|
95
|
+
}
|
|
96
|
+
export type DeleteTagRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
97
|
+
export interface DeleteTagRequest {
|
|
98
|
+
/** The region you want to target */
|
|
99
|
+
region?: DeleteTagRequestRegion | (string & {}) | undefined;
|
|
100
|
+
/** UUID of the tag. */
|
|
101
|
+
tag_id: string;
|
|
102
|
+
/** If two tags share the same digest the deletion will fail unless this parameter is set to true (deprecated). */
|
|
103
|
+
force: boolean;
|
|
104
|
+
}
|
|
105
|
+
export type TagStatus = "unknown" | "ready" | "deleting" | "error" | "locked";
|
|
106
|
+
export interface Tag {
|
|
107
|
+
/** SRN of the tag. */
|
|
108
|
+
srn?: string | undefined;
|
|
109
|
+
/** Region where the tag is located. */
|
|
110
|
+
region?: string | undefined;
|
|
111
|
+
/** UUID of the tag. */
|
|
112
|
+
id?: string | undefined;
|
|
113
|
+
/** Tag name, unique to an image. */
|
|
114
|
+
name?: string | undefined;
|
|
115
|
+
/** Image ID the of the image the tag belongs to. */
|
|
116
|
+
image_id?: string | undefined;
|
|
117
|
+
/** Tag status. */
|
|
118
|
+
status?: TagStatus | undefined;
|
|
119
|
+
/** Hash of the tag content. Several tags of a same image may have the same digest. */
|
|
120
|
+
digest?: string | undefined;
|
|
121
|
+
/** Date and time of creation. (RFC 3339 format) */
|
|
122
|
+
created_at?: string | null | undefined;
|
|
123
|
+
/** Date and time of last update. (RFC 3339 format) */
|
|
124
|
+
updated_at?: string | null | undefined;
|
|
125
|
+
}
|
|
126
|
+
export type GetImageRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
127
|
+
export interface GetImageRequest {
|
|
128
|
+
/** The region you want to target */
|
|
129
|
+
region?: GetImageRequestRegion | (string & {}) | undefined;
|
|
130
|
+
/** UUID of the image. */
|
|
131
|
+
image_id: string;
|
|
132
|
+
}
|
|
133
|
+
export type GetNamespaceRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
134
|
+
export interface GetNamespaceRequest {
|
|
135
|
+
/** The region you want to target */
|
|
136
|
+
region?: GetNamespaceRequestRegion | (string & {}) | undefined;
|
|
137
|
+
/** UUID of the namespace. */
|
|
138
|
+
namespace_id: string;
|
|
139
|
+
}
|
|
140
|
+
export type GetTagRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
141
|
+
export interface GetTagRequest {
|
|
142
|
+
/** The region you want to target */
|
|
143
|
+
region?: GetTagRequestRegion | (string & {}) | undefined;
|
|
144
|
+
/** UUID of the tag. */
|
|
145
|
+
tag_id: string;
|
|
146
|
+
}
|
|
147
|
+
export type ListImagesRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
148
|
+
export type ListImagesRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc";
|
|
149
|
+
export interface ListImagesRequest {
|
|
150
|
+
/** The region you want to target */
|
|
151
|
+
region?: ListImagesRequestRegion | (string & {}) | undefined;
|
|
152
|
+
/** A positive integer to choose the page to display. */
|
|
153
|
+
page?: number | undefined;
|
|
154
|
+
/** A positive integer lower or equal to 100 to select the number of items to display. */
|
|
155
|
+
page_size?: number | undefined;
|
|
156
|
+
/** Criteria to use when ordering image listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`. */
|
|
157
|
+
order_by?: ListImagesRequestOrderBy | (string & {}) | undefined;
|
|
158
|
+
/** Filter by the namespace ID. */
|
|
159
|
+
namespace_id?: string | undefined;
|
|
160
|
+
/** Filter by the image name (exact match). */
|
|
161
|
+
name?: string | undefined;
|
|
162
|
+
/** Filter by Organization ID. */
|
|
163
|
+
organization_id?: string | undefined;
|
|
164
|
+
/** Filter by Project ID. */
|
|
165
|
+
project_id?: string | undefined;
|
|
166
|
+
}
|
|
167
|
+
/** Paginated list of images that match the selected filters. */
|
|
168
|
+
export type ListImagesResponseImagesList = Array<Image>;
|
|
169
|
+
export interface ListImagesResponse {
|
|
170
|
+
/** Paginated list of images that match the selected filters. */
|
|
171
|
+
images: ListImagesResponseImagesList;
|
|
172
|
+
/** Total number of images that match the selected filters. */
|
|
173
|
+
total_count?: number | undefined;
|
|
174
|
+
}
|
|
175
|
+
export type ListNamespacesRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
176
|
+
export type ListNamespacesRequestOrderBy = "created_at_asc" | "created_at_desc" | "description_asc" | "description_desc" | "name_asc" | "name_desc";
|
|
177
|
+
export interface ListNamespacesRequest {
|
|
178
|
+
/** The region you want to target */
|
|
179
|
+
region?: ListNamespacesRequestRegion | (string & {}) | undefined;
|
|
180
|
+
/** A positive integer to choose the page to display. */
|
|
181
|
+
page?: number | undefined;
|
|
182
|
+
/** A positive integer lower or equal to 100 to select the number of items to display. */
|
|
183
|
+
page_size?: number | undefined;
|
|
184
|
+
/** Criteria to use when ordering namespace listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`. */
|
|
185
|
+
order_by?: ListNamespacesRequestOrderBy | (string & {}) | undefined;
|
|
186
|
+
/** Filter by Organization ID. */
|
|
187
|
+
organization_id?: string | undefined;
|
|
188
|
+
/** Filter by Project ID. */
|
|
189
|
+
project_id?: string | undefined;
|
|
190
|
+
/** Filter by the namespace name (exact match). */
|
|
191
|
+
name?: string | undefined;
|
|
192
|
+
}
|
|
193
|
+
/** Paginated list of namespaces that match the selected filters. */
|
|
194
|
+
export type ListNamespacesResponseNamespacesList = Array<Namespace>;
|
|
195
|
+
export interface ListNamespacesResponse {
|
|
196
|
+
/** Paginated list of namespaces that match the selected filters. */
|
|
197
|
+
namespaces: ListNamespacesResponseNamespacesList;
|
|
198
|
+
/** Total number of namespaces that match the selected filters. */
|
|
199
|
+
total_count?: number | undefined;
|
|
200
|
+
}
|
|
201
|
+
export type ListTagsRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
202
|
+
export type ListTagsRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc";
|
|
203
|
+
export interface ListTagsRequest {
|
|
204
|
+
/** The region you want to target */
|
|
205
|
+
region?: ListTagsRequestRegion | (string & {}) | undefined;
|
|
206
|
+
/** UUID of the image. */
|
|
207
|
+
image_id: string;
|
|
208
|
+
/** A positive integer to choose the page to display. */
|
|
209
|
+
page?: number | undefined;
|
|
210
|
+
/** A positive integer lower or equal to 100 to select the number of items to display. */
|
|
211
|
+
page_size?: number | undefined;
|
|
212
|
+
/** Criteria to use when ordering tag listings. Possible values are `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `region`, `status_asc` and `status_desc`. The default value is `created_at_asc`. */
|
|
213
|
+
order_by?: ListTagsRequestOrderBy | (string & {}) | undefined;
|
|
214
|
+
/** Filter by the tag name (exact match). */
|
|
215
|
+
name?: string | undefined;
|
|
216
|
+
}
|
|
217
|
+
/** Paginated list of tags that match the selected filters. */
|
|
218
|
+
export type ListTagsResponseTagsList = Array<Tag>;
|
|
219
|
+
export interface ListTagsResponse {
|
|
220
|
+
/** Paginated list of tags that match the selected filters. */
|
|
221
|
+
tags: ListTagsResponseTagsList;
|
|
222
|
+
/** Total number of tags that match the selected filters. */
|
|
223
|
+
total_count?: number | undefined;
|
|
224
|
+
}
|
|
225
|
+
export type UpdateImageRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
226
|
+
export interface UpdateImageRequest {
|
|
227
|
+
/** The region you want to target */
|
|
228
|
+
region?: UpdateImageRequestRegion | (string & {}) | undefined;
|
|
229
|
+
/** ID of the image to update. */
|
|
230
|
+
image_id: string;
|
|
231
|
+
/** Set to `public` to allow the image to be pulled without authentication. Else, set to `private`. Set to `inherit` to keep the same visibility configuration as the namespace. */
|
|
232
|
+
visibility?: ImageVisibility | (string & {}) | undefined;
|
|
233
|
+
}
|
|
234
|
+
export type UpdateNamespaceRequestRegion = "fr-par" | "nl-ams" | "pl-waw" | "it-mil";
|
|
235
|
+
export interface UpdateNamespaceRequest {
|
|
236
|
+
/** The region you want to target */
|
|
237
|
+
region?: UpdateNamespaceRequestRegion | (string & {}) | undefined;
|
|
238
|
+
/** ID of the namespace to update. */
|
|
239
|
+
namespace_id: string;
|
|
240
|
+
/** Namespace description. */
|
|
241
|
+
description?: string | null | undefined;
|
|
242
|
+
/** Defines whether or not the namespace is public. */
|
|
243
|
+
is_public?: boolean | null | undefined;
|
|
244
|
+
}
|
|
245
|
+
export type CreateNamespaceError = ScalewayOpError;
|
|
246
|
+
/** Create a namespace Create a new Container Registry namespace. You must specify the namespace name and region in which you want it to be created. Optionally, you can specify the `project_id` and `is_public` in the request payload. */
|
|
247
|
+
export declare const createNamespace: API.OperationMethod<CreateNamespaceRequest, Namespace, CreateNamespaceError, ScalewayOpContext>;
|
|
248
|
+
export type DeleteImageError = ScalewayOpError;
|
|
249
|
+
/** Delete an image Delete a given image. You must specify, in the endpoint, the `region` and `image_id` parameters of the image you want to delete. */
|
|
250
|
+
export declare const deleteImage: API.OperationMethod<DeleteImageRequest, Image, DeleteImageError, ScalewayOpContext>;
|
|
251
|
+
export type DeleteNamespaceError = ScalewayOpError;
|
|
252
|
+
/** Delete a namespace Delete a given namespace. You must specify, in the endpoint, the `region` and `namespace_id` parameters of the namespace you want to delete. */
|
|
253
|
+
export declare const deleteNamespace: API.OperationMethod<DeleteNamespaceRequest, Namespace, DeleteNamespaceError, ScalewayOpContext>;
|
|
254
|
+
export type DeleteTagError = ScalewayOpError;
|
|
255
|
+
/** Delete a tag Delete a given image tag. You must specify, in the endpoint, the `region` and `tag_id` parameters of the tag you want to delete. */
|
|
256
|
+
export declare const deleteTag: API.OperationMethod<DeleteTagRequest, Tag, DeleteTagError, ScalewayOpContext>;
|
|
257
|
+
export type GetImageError = ScalewayOpError;
|
|
258
|
+
/** Get an image Retrieve information about a given container image, specified by its `image_id` and region. Full details about the image, such as `name`, `namespace_id`, `status`, `visibility`, and `size` are returned in the response. */
|
|
259
|
+
export declare const getImage: API.OperationMethod<GetImageRequest, Image, GetImageError, ScalewayOpContext>;
|
|
260
|
+
export type GetNamespaceError = ScalewayOpError;
|
|
261
|
+
/** Get a namespace Retrieve information about a given namespace, specified by its `namespace_id` and region. Full details about the namespace, such as `description`, `project_id`, `status`, `endpoint`, `is_public`, `size`, and `image_count` are returned in the response. */
|
|
262
|
+
export declare const getNamespace: API.OperationMethod<GetNamespaceRequest, Namespace, GetNamespaceError, ScalewayOpContext>;
|
|
263
|
+
export type GetTagError = ScalewayOpError;
|
|
264
|
+
/** Get a tag Retrieve information about a given image tag, specified by its `tag_id` and region. Full details about the tag, such as `name`, `image_id`, `status`, and `digest` are returned in the response. */
|
|
265
|
+
export declare const getTag: API.OperationMethod<GetTagRequest, Tag, GetTagError, ScalewayOpContext>;
|
|
266
|
+
export type ListImagesError = ScalewayOpError;
|
|
267
|
+
/** List images List all images in a specified region. By default, the images listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `namespace_id` and `project_id` parameters. */
|
|
268
|
+
export declare const listImages: API.PaginatedOperationMethod<ListImagesRequest, ListImagesResponse, ListImagesError, ScalewayOpContext, Image>;
|
|
269
|
+
export type ListNamespacesError = ScalewayOpError;
|
|
270
|
+
/** List namespaces List all namespaces in a specified region. By default, the namespaces listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `instance_id` and `project_id` parameters. */
|
|
271
|
+
export declare const listNamespaces: API.PaginatedOperationMethod<ListNamespacesRequest, ListNamespacesResponse, ListNamespacesError, ScalewayOpContext, Namespace>;
|
|
272
|
+
export type ListTagsError = ScalewayOpError;
|
|
273
|
+
/** List tags List all tags for a given image, specified by region. By default, the tags listed are ordered by creation date in ascending order. This can be modified via the order_by field. You can also define additional parameters for your query, such as the `name`. */
|
|
274
|
+
export declare const listTags: API.PaginatedOperationMethod<ListTagsRequest, ListTagsResponse, ListTagsError, ScalewayOpContext, Tag>;
|
|
275
|
+
export type UpdateImageError = ScalewayOpError;
|
|
276
|
+
/** Update an image Update the parameters of a given image, specified by its `image_id` and `region`. You can update the `visibility` parameter. */
|
|
277
|
+
export declare const updateImage: API.OperationMethod<UpdateImageRequest, Image, UpdateImageError, ScalewayOpContext>;
|
|
278
|
+
export type UpdateNamespaceError = ScalewayOpError;
|
|
279
|
+
/** Update a namespace Update the parameters of a given namespace, specified by its `namespace_id` and `region`. You can update the `description` and `is_public` parameters. */
|
|
280
|
+
export declare const updateNamespace: API.OperationMethod<UpdateNamespaceRequest, Namespace, UpdateNamespaceError, ScalewayOpContext>;
|
|
281
|
+
//# sourceMappingURL=registry_v1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry_v1.d.ts","sources":["../../src/services/registry_v1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAMjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,4BAA4B,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACrF,MAAM,WAAW,sBAAsB;IACrC,oCAAoC;IACpC,MAAM,CAAC,EAAE,4BAA4B,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;IAClE,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,oCAAoC;IACpC,WAAW,CAAC,EAAE,MAA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AAM,cAAc,EAAE,GAAG,CAAC,wBAAwB,CACvD,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,CAoBH,CAAC;AAET,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC;AAC5C,8QAA8Q;AAC9Q,eAAO,MAAM,QAAQ,EAAE,GAAG,CAAC,wBAAwB,CACjD,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,GAAG,CAoBG,CAAC;AAET,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAC/C,mJAAmJ;AACnJ,eAAO,MAAM,WAAW,EAAE,GAAG,CAAC,eAAe,CAC3C,kBAAkB,EAClB,KAAK,EACL,gBAAgB,EAChB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC;AACnD,gLAAgL;AAChL,eAAO,MAAM,eAAe,EAAE,GAAG,CAAC,eAAe,CAC/C,sBAAsB,EACtB,SAAS,EACT,oBAAoB,EACpB,iBAAiB,CAUhB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
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,n as u,nd as d,o as f,pagination$paginateByTotalCount as p,protocol$ScalewayProtocol as m,retry$Retry as h,sd as g,td as _,traits$Http as v,traits$Label as y,traits$Query as b}from"../_bundle/sdk.js";const x={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:`RegistryV1`,labels:`scaleway`,propagate:`w3c`};const S=/*@__PURE__*/ u(e=>e===n?l(`CreateNamespace`,`{input:#1,output:#9:0,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({region:$4($3.pipe($2())),name:$3,description:$4($3),organization_id:$4($5($3)),project_id:$4($5($3)),is_public:$4($6)}).pipe($1({method:"POST",uri:"/registry/v1/regions/{region}/namespaces",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,i,t,c,_,__d0,o,m,h,x]):r(S,e));const C=/*@__PURE__*/ u(e=>e===n?l(`DeleteImage`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),image_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/registry/v1/regions/{region}/images/{image_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d1,o,m,h,x]):r(C,e));const w=/*@__PURE__*/ u(e=>e===n?l(`DeleteNamespace`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),namespace_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/registry/v1/regions/{region}/namespaces/{namespace_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d0,o,m,h,x]):r(w,e));const T=/*@__PURE__*/ u(e=>e===n?l(`DeleteTag`,`{input:#1,output:#9:0,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({region:$4($3.pipe($2())),tag_id:$3.pipe($2()),force:$6.pipe($5())}).pipe($1({method:"DELETE",uri:"/registry/v1/regions/{region}/tags/{tag_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,b,t,c,_,__d2,o,m,h,x]):r(T,e));const E=/*@__PURE__*/ u(e=>e===n?l(`GetImage`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),image_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/registry/v1/regions/{region}/images/{image_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d1,o,m,h,x]):r(E,e));const D=/*@__PURE__*/ u(e=>e===n?l(`GetNamespace`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),namespace_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/registry/v1/regions/{region}/namespaces/{namespace_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d0,o,m,h,x]):r(D,e));const O=/*@__PURE__*/ u(e=>e===n?[`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"GetTag"};$6(>2)@"GetTagRequest";$5({region:$4($3.pipe($2())),tag_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/registry/v1/regions/{region}/tags/{tag_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d2,o,m,h,x]]:r(O,e));const k=/*@__PURE__*/ f(t=>t===n?l(`ListImages`,`{input:#1,output:#3,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"images",pageSize:"page_size"},strategy:$15};$8(>4)@"%Request";$10(#9:1);$8(>5)@"%Response";$7({region:$4($3.pipe($2())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),order_by:$4($3.pipe($5())),namespace_id:$4($3.pipe($5())),name:$4($3.pipe($5())),organization_id:$4($3.pipe($5())),project_id:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/registry/v1/regions/{region}/images",code:200,baseUrl:"https://api.scaleway.com"}));$7({images:#2,total_count:$4($6)})`,[d,v,y,s,g,b,a,c,_,__d1,e,o,m,h,x,p]):r(k,t));const A=/*@__PURE__*/ f(t=>t===n?l(`ListNamespaces`,`{input:#1,output:#3,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"namespaces",pageSize:"page_size"},strategy:$15};$8(>4)@"%Request";$10(#9:0);$8(>5)@"%Response";$7({region:$4($3.pipe($2())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),order_by:$4($3.pipe($5())),organization_id:$4($3.pipe($5())),project_id:$4($3.pipe($5())),name:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/registry/v1/regions/{region}/namespaces",code:200,baseUrl:"https://api.scaleway.com"}));$7({namespaces:#2,total_count:$4($6)})`,[d,v,y,s,g,b,a,c,_,__d0,e,o,m,h,x,p]):r(A,t));const j=/*@__PURE__*/ f(t=>t===n?l(`ListTags`,`{input:#1,output:#3,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"tags",pageSize:"page_size"},strategy:$15};$8(>4)@"%Request";$10(#9:0);$8(>5)@"%Response";$7({region:$4($3.pipe($2())),image_id:$3.pipe($2()),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),order_by:$4($3.pipe($5())),name:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/registry/v1/regions/{region}/images/{image_id}/tags",code:200,baseUrl:"https://api.scaleway.com"}));$7({tags:#2,total_count:$4($6)})`,[d,v,y,s,g,b,a,c,_,__d2,e,o,m,h,x,p]):r(j,t));const M=/*@__PURE__*/ u(e=>e===n?l(`UpdateImage`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),image_id:$3.pipe($2()),visibility:$4($3)}).pipe($1({method:"PATCH",uri:"/registry/v1/regions/{region}/images/{image_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d1,o,m,h,x]):r(M,e));const N=/*@__PURE__*/ u(e=>e===n?l(`UpdateNamespace`,`{input:#1,output:#9:0,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({region:$4($3.pipe($2())),namespace_id:$3.pipe($2()),description:$4($5($3)),is_public:$4($5($6))}).pipe($1({method:"PATCH",uri:"/registry/v1/regions/{region}/namespaces/{namespace_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,i,t,c,_,__d0,o,m,h,x]):r(N,e));function __d0(){return[`$7(>1)@"Namespace";$6({srn:$2($1),id:$2($1),name:$2($1),description:$2($1),organization_id:$2($1),project_id:$2($1),status:$2($1),status_message:$2($1),endpoint:$2($1),is_public:$2($3),size:$2($4),created_at:$2($5($1)),updated_at:$2($5($1)),image_count:$2($4),region:$2($1)})`,[d,s,g,t,a,i,c,_]]}function __d1(){return[`$2($1);$7(>2)@"Image";$6({srn:$3($1),region:$3($1),id:$3($1),name:$3($1),namespace_id:$3($1),status:$3($1),status_message:$3($4($1)),visibility:$3($1),size:$3($5),created_at:$3($4($1)),updated_at:$3($4($1)),tags:$3(#0)})`,[d,s,e,g,i,a,c,_]]}function __d2(){return[`$5(>1)@"Tag";$4({srn:$2($1),region:$2($1),id:$2($1),name:$2($1),image_id:$2($1),status:$2($1),digest:$2($1),created_at:$2($3($1)),updated_at:$2($3($1))})`,[d,s,g,i,c,_]]}export{S as createNamespace,C as deleteImage,w as deleteNamespace,T as deleteTag,E as getImage,D as getNamespace,O as getTag,k as listImages,A as listNamespaces,j as listTags,M as updateImage,N as updateNamespace};
|
|
2
|
+
//# sourceMappingURL=registry_v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry_v1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","S.NullOr","S.Boolean","S.Struct","S.suspend","Retry.Retry","API.call","T.Query","S.Number","S.Array","Array","Boolean","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","TELEMETRY","createNamespace","i","named","deleteImage","deleteNamespace","deleteTag","getImage","getNamespace","getTag","listImages","listNamespaces","listTags","updateImage","updateNamespace"],"sources":["../../src/services/registry_v1.ts"],"mappings":"iTAaA,MAAMoC,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,aACT,OAAQ,WACR,UAAW,KACb,EAmQA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMtC,EAAQC,EAAU,kBAAmB,sWAAuW,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAWC,EAAUC,EAAW,KAAMY,EAAuBO,EAAkBlB,EAAayB,CAAS,CAAC,EAAIxB,EAASyB,EAAiBC,CAAC,CAAC,EAI5nB,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMtC,EAAQC,EAAU,cAAe,uSAAwS,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYG,EAAUC,EAAW,KAAMY,EAAuBO,EAAkBlB,EAAayB,CAAS,CAAC,EAAIxB,EAAS4B,EAAaF,CAAC,CAAC,EAIhiB,MAAaG,EAKK,gBAAQ,GAAgBH,IAAMtC,EAAQC,EAAU,kBAAmB,mTAAoT,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYG,EAAUC,EAAW,KAAMY,EAAuBO,EAAkBlB,EAAayB,CAAS,CAAC,EAAIxB,EAAS6B,EAAiBH,CAAC,CAAC,EAIpjB,MAAaI,EAKK,gBAAQ,GAAgBJ,IAAMtC,EAAQC,EAAU,YAAa,uTAAwT,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYO,EAASL,EAAWC,EAAUC,EAAW,KAAMY,EAAuBO,EAAkBlB,EAAayB,CAAS,CAAC,EAAIxB,EAAS8B,EAAWJ,CAAC,CAAC,EAIhkB,MAAaK,EAKK,gBAAQ,G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EAAkBlB,EAAayB,EAAWR,CAAoB,CAAC,EAAIhB,EAASoC,EAAUV,CAAC,CAAC,EAI92B,MAAaW,EAKK,gBAAQ,GAAgBX,IAAMtC,EAAQC,EAAU,cAAe,wTAAyT,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYG,EAAUC,EAAW,KAAMY,EAAuBO,EAAkBlB,EAAayB,CAAS,CAAC,EAAIxB,EAASqC,EAAaX,CAAC,CAAC,EAIjjB,MAAaY,EAKK,gBAAQ,GAAgBZ,IAAMtC,EAAQC,EAAU,kBAAmB,gWAAiW,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAWC,EAAUC,EAAW,KAAMY,EAAuBO,EAAkBlB,EAAayB,CAAS,CAAC,EAAIxB,EAASsC,EAAiBZ,CAAC,CAAC,EAMtnB,SAAS,MAAY,CACnB,MAAO,CAAC,sRAAuR,CAACpC,EAAQG,EAAUC,EAAYE,EAAWM,EAAUP,EAAUE,EAAUC,CAAS,CAAC,CACnX,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,+NAAgO,CAACR,EAAQG,EAAUU,EAAST,EAAYC,EAAUO,EAAUL,EAAUC,CAAS,CAAC,CAC1T,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,4JAA6J,CAACR,EAAQG,EAAUC,EAAYC,EAAUE,EAAUC,CAAS,CAAC,CACpO"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
3
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
4
|
+
export interface ListConsumptionsRequest {
|
|
5
|
+
page?: number | undefined;
|
|
6
|
+
page_size?: number | undefined;
|
|
7
|
+
/** Only list consumption of this organization. */
|
|
8
|
+
organization_id?: string | undefined;
|
|
9
|
+
/** Only list consumption of organization attached to this customer_id. */
|
|
10
|
+
customer_id?: string | undefined;
|
|
11
|
+
/** Number corresponding to the month of consumption (between 1 and 12). */
|
|
12
|
+
month: number;
|
|
13
|
+
/** Year of the consumption. */
|
|
14
|
+
year: number;
|
|
15
|
+
}
|
|
16
|
+
export type ConsumptionStatus = "unknown_status" | "pending" | "completed";
|
|
17
|
+
export interface GoogleTypeMoney {
|
|
18
|
+
currency_code?: string | undefined;
|
|
19
|
+
units?: number | undefined;
|
|
20
|
+
nanos?: number | undefined;
|
|
21
|
+
}
|
|
22
|
+
export type ConsumptionUnit = "unknown_unit" | "year" | "hour" | "messages" | "minute" | "eur" | "month" | "query" | "request" | "currency" | "device_hour" | "gigabyte" | "gigabyte_hour" | "gigabyte_month" | "gigabyte_minute" | "iops_gigabyte" | "iops_gigabyte_hour" | "object_hour" | "ip" | "ip_minute" | "ip_hour" | "ip_day" | "ip_month" | "node" | "node_hour" | "node_month" | "node_minute" | "plan" | "session" | "domain" | "zone" | "mb_s" | "gb_s" | "vcpu_s" | "mvcpu_s" | "core" | "email" | "email_month" | "version" | "version_hour" | "version_minute" | "sample" | "sample_day" | "gigabyte_day" | "day" | "token" | "second" | "mvcpu_minute";
|
|
23
|
+
export interface ConsumptionLine {
|
|
24
|
+
/** Unique product identifier. */
|
|
25
|
+
sku?: string | undefined;
|
|
26
|
+
/** Product code. */
|
|
27
|
+
product_name?: string | undefined;
|
|
28
|
+
/** Quantity. */
|
|
29
|
+
quantity?: number | undefined;
|
|
30
|
+
/** Start date of the consumption for the given SKU. (RFC 3339 format) */
|
|
31
|
+
start_date?: string | null | undefined;
|
|
32
|
+
/** End date of the consumption for the given SKU. (RFC 3339 format) */
|
|
33
|
+
end_date?: string | null | undefined;
|
|
34
|
+
/** Unit price (excl. taxes). */
|
|
35
|
+
unit_price?: GoogleTypeMoney | undefined;
|
|
36
|
+
/** Total price (excl. taxes). */
|
|
37
|
+
total_price?: GoogleTypeMoney | undefined;
|
|
38
|
+
/** The unit used for the given SKU. */
|
|
39
|
+
unit?: ConsumptionUnit | undefined;
|
|
40
|
+
/** The project ID. */
|
|
41
|
+
project_id?: string | undefined;
|
|
42
|
+
}
|
|
43
|
+
/** Detailed lines for this consumption. */
|
|
44
|
+
export type ConsumptionLinesList = Array<ConsumptionLine>;
|
|
45
|
+
export interface GoogleTypeDecimal {
|
|
46
|
+
value?: string | undefined;
|
|
47
|
+
}
|
|
48
|
+
export interface Consumption {
|
|
49
|
+
/** Unique Consumption ID. */
|
|
50
|
+
id?: string | undefined;
|
|
51
|
+
/** Status of this consumption. */
|
|
52
|
+
status?: ConsumptionStatus | undefined;
|
|
53
|
+
/** Start date for the consumption (usually the first of the month). (RFC 3339 format) */
|
|
54
|
+
start_date?: string | null | undefined;
|
|
55
|
+
/** End date for the consumption (usually the end of the month). (RFC 3339 format) */
|
|
56
|
+
stop_date?: string | null | undefined;
|
|
57
|
+
/** The organization ID. */
|
|
58
|
+
organization_id?: string | undefined;
|
|
59
|
+
/** The customer ID associated to the organization. */
|
|
60
|
+
customer_id?: string | undefined;
|
|
61
|
+
/** Last update date for this consumption. (RFC 3339 format) */
|
|
62
|
+
updated_at?: string | null | undefined;
|
|
63
|
+
/** Total price (Exc Taxes). */
|
|
64
|
+
total_price?: GoogleTypeMoney | undefined;
|
|
65
|
+
/** Detailed lines for this consumption. */
|
|
66
|
+
lines?: ConsumptionLinesList | undefined;
|
|
67
|
+
/** Discount rate decimal value (e.g., returns '20' for a 20% discount rate). */
|
|
68
|
+
discount_rate?: GoogleTypeDecimal | undefined;
|
|
69
|
+
}
|
|
70
|
+
/** List of consumptions. */
|
|
71
|
+
export type ListConsumptionsResponseConsumptionsList = Array<Consumption>;
|
|
72
|
+
export interface ListConsumptionsResponse {
|
|
73
|
+
/** Total number of results. */
|
|
74
|
+
total_count?: number | undefined;
|
|
75
|
+
/** List of consumptions. */
|
|
76
|
+
consumptions: ListConsumptionsResponseConsumptionsList;
|
|
77
|
+
}
|
|
78
|
+
export type ListConsumptionsError = ScalewayOpError;
|
|
79
|
+
/** List the consumptions List the consumption of organizations attached to your reseller account. You can get the consumption for a specific month. */
|
|
80
|
+
export declare const listConsumptions: API.PaginatedOperationMethod<ListConsumptionsRequest, ListConsumptionsResponse, ListConsumptionsError, ScalewayOpContext, Consumption>;
|
|
81
|
+
//# sourceMappingURL=reseller_v1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reseller_v1.d.ts","sources":["../../src/services/reseller_v1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAMjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAcnD,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,kDAAkD;IAClD,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;CACd;AACD,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,GAAG,SAAS,GAAG,WAAW,CAAC;AAC3E,MAAM,WAAW,eAAe;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;AACD,MAAM,MAAM,eAAe,GACvB,cAAc,GACd,MAAM,GACN,MAAM,GACN,UAAU,GACV,QAAQ,GACR,KAAK,GACL,OAAO,GACP,OAAO,GACP,SAAS,GACT,UAAU,GACV,aAAa,GACb,UAAU,GACV,eAAe,GACf,gBAAgB,GAChB,iBAAiB,GACjB,e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,SAAS,CAAC;IACxB,kCAAkC;IAClC,MAAM,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACvC,yFAAyF;IACzF,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,2BAA2B;IAC3B,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,+DAA+D;IAC/D,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,+BAA+B;IAC/B,WAAW,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC1C,2CAA2C;IAC3C,KAAK,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACzC,gFAAgF;IAChF,aAAa,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC/C;AACD,4BAA4B;AAC5B,MAAM,MAAM,wCAAwC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;AAC1E,MAAM,WAAW,wBAAwB;IACvC,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,4BAA4B;IAC5B,YAAY,EAAE,wCAAwC,CAAC;CACxD;AACD,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC;AACpD,uJAAuJ;AACvJ,eAAO,MAAM,gBAAgB,EAAE,GAAG,CAAC,wBAAwB,CACzD,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,CAoBL,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Tc as e,a as t,b as n,bd as r,cd as i,errors$ScalewayServiceErrors as a,fd as o,gd as s,l as c,nd as l,o as u,pagination$paginateByTotalCount as d,protocol$ScalewayProtocol as f,retry$Retry as p,sd as m,td as h,traits$Http as g,traits$Query as _}from"../_bundle/sdk.js";const v={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:`ResellerV1`,propagate:`w3c`};const y=/*@__PURE__*/ u(u=>u===t?c(`Consumption`,`{input:#1,output:#8,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"List%s",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"consumptions",pageSize:"page_size"},strategy:$14};$7(>9)@"List%sRequest";$7(>10)@"GoogleTypeMoney";$7(>11)@"%Line";$9(#3);$7(>12)@"GoogleTypeDecimal";$7(>13)@"%";$9(#6);$7(>14)@"List%sResponse";$6({page:$4($3.pipe($2())),page_size:$4($3.pipe($2())),organization_id:$4($5.pipe($2())),customer_id:$4($5.pipe($2())),month:$3.pipe($2()),year:$3.pipe($2())}).pipe($1({method:"GET",uri:"/reseller/v1/consumptions",code:200,baseUrl:"https://api.scaleway.com"}));$6({currency_code:$4($5),units:$4($3),nanos:$4($3)});$6({sku:$4($5),product_name:$4($5),quantity:$4($3),start_date:$4($8($5)),end_date:$4($8($5)),unit_price:$4(#2),total_price:$4(#2),unit:$4($5),project_id:$4($5)});$6({value:$4($5)});$6({id:$4($5),status:$4($5),start_date:$4($8($5)),stop_date:$4($8($5)),organization_id:$4($5),customer_id:$4($5),updated_at:$4($8($5)),total_price:$4(#2),lines:$4(#4),discount_rate:$4(#5)});$6({total_count:$4($3),consumptions:#7})`,[l,g,_,i,m,o,s,h,r,e,a,f,p,v,d]):n(y,u));export{y as listConsumptions};
|
|
2
|
+
//# sourceMappingURL=reseller_v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reseller_v1.js","names":["API.D","API.named","__L.at","T.Http","T.Query","S.Number","S.optional","S.String","S.Struct","S.suspend","S.NullOr","S.Array","Retry.Retry","API.call","Array","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","named","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Query","TELEMETRY","listConsumptions","i"],"sources":["../../src/services/reseller_v1.ts"],"mappings":"qRAaA,MAAMgC,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,aACT,UAAW,KACb,EA8HA,MAAaC,EAMK,gBAAiB,GAAgBC,IAAMlC,EAAQC,EAAU,cAAe,wkCAAykC,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAUC,EAAWC,EAAUC,EAASQ,EAAuBO,EAAkBd,EAAaoB,EAAWP,CAAoB,CAAC,EAAIZ,EAASoB,EAAkBC,CAAC,CAAC"}
|