@distilled.cloud/scaleway 0.0.0 → 1.0.0-rc.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +171 -4
- package/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +44 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +285 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +48 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/pagination.d.ts +10 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +1 -0
- package/lib/protocol.d.ts +48 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +1 -0
- package/lib/retry.d.ts +31 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +1 -0
- package/lib/services/account_contract_v3.d.ts +124 -0
- package/lib/services/account_contract_v3.d.ts.map +1 -0
- package/lib/services/account_contract_v3.js +2 -0
- package/lib/services/account_contract_v3.js.map +1 -0
- package/lib/services/account_iso_code_v3.d.ts +44 -0
- package/lib/services/account_iso_code_v3.d.ts.map +1 -0
- package/lib/services/account_iso_code_v3.js +2 -0
- package/lib/services/account_iso_code_v3.js.map +1 -0
- package/lib/services/account_organization_v3.d.ts +290 -0
- package/lib/services/account_organization_v3.d.ts.map +1 -0
- package/lib/services/account_organization_v3.js +2 -0
- package/lib/services/account_organization_v3.js.map +1 -0
- package/lib/services/account_project_v3.d.ts +173 -0
- package/lib/services/account_project_v3.d.ts.map +1 -0
- package/lib/services/account_project_v3.js +2 -0
- package/lib/services/account_project_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts +479 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.js +35 -0
- package/lib/services/account_unauthenticated_user_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_v3.d.ts +18 -0
- package/lib/services/account_unauthenticated_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_v3.js +2 -0
- package/lib/services/account_unauthenticated_v3.js.map +1 -0
- package/lib/services/account_user_v3.d.ts +522 -0
- package/lib/services/account_user_v3.d.ts.map +1 -0
- package/lib/services/account_user_v3.js +39 -0
- package/lib/services/account_user_v3.js.map +1 -0
- package/lib/services/annotations_v1.d.ts +260 -0
- package/lib/services/annotations_v1.d.ts.map +1 -0
- package/lib/services/annotations_v1.js +2 -0
- package/lib/services/annotations_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v1.d.ts +95 -0
- package/lib/services/baremetal_private_network_v1.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v1.js +2 -0
- package/lib/services/baremetal_private_network_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v3.d.ts +110 -0
- package/lib/services/baremetal_private_network_v3.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v3.js +2 -0
- package/lib/services/baremetal_private_network_v3.js.map +1 -0
- package/lib/services/baremetal_v1.d.ts +1089 -0
- package/lib/services/baremetal_v1.d.ts.map +1 -0
- package/lib/services/baremetal_v1.js +52 -0
- package/lib/services/baremetal_v1.js.map +1 -0
- package/lib/services/billing_electronic_billing_v2.d.ts +86 -0
- package/lib/services/billing_electronic_billing_v2.d.ts.map +1 -0
- package/lib/services/billing_electronic_billing_v2.js +2 -0
- package/lib/services/billing_electronic_billing_v2.js.map +1 -0
- package/lib/services/billing_v2.d.ts +187 -0
- package/lib/services/billing_v2.d.ts.map +1 -0
- package/lib/services/billing_v2.js +2 -0
- package/lib/services/billing_v2.js.map +1 -0
- package/lib/services/block_v1.d.ts +401 -0
- package/lib/services/block_v1.d.ts.map +1 -0
- package/lib/services/block_v1.js +27 -0
- package/lib/services/block_v1.js.map +1 -0
- package/lib/services/cockpit_global_v1.d.ts +75 -0
- package/lib/services/cockpit_global_v1.d.ts.map +1 -0
- package/lib/services/cockpit_global_v1.js +2 -0
- package/lib/services/cockpit_global_v1.js.map +1 -0
- package/lib/services/cockpit_regional_v1.d.ts +739 -0
- package/lib/services/cockpit_regional_v1.d.ts.map +1 -0
- package/lib/services/cockpit_regional_v1.js +47 -0
- package/lib/services/cockpit_regional_v1.js.map +1 -0
- package/lib/services/containers_v1.d.ts +822 -0
- package/lib/services/containers_v1.d.ts.map +1 -0
- package/lib/services/containers_v1.js +39 -0
- package/lib/services/containers_v1.js.map +1 -0
- package/lib/services/dedibox_billing_v1.d.ts +151 -0
- package/lib/services/dedibox_billing_v1.d.ts.map +1 -0
- package/lib/services/dedibox_billing_v1.js +2 -0
- package/lib/services/dedibox_billing_v1.js.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts +119 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.js +2 -0
- package/lib/services/dedibox_ipv6_block_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts +486 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.js +2 -0
- package/lib/services/dedibox_rpn_san_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1.d.ts +68 -0
- package/lib/services/dedibox_rpn_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1.js +2 -0
- package/lib/services/dedibox_rpn_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts +687 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.js +30 -0
- package/lib/services/dedibox_rpn_v1_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts +646 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.js +27 -0
- package/lib/services/dedibox_rpn_v2_v1.js.map +1 -0
- package/lib/services/dedibox_v1.d.ts +1351 -0
- package/lib/services/dedibox_v1.d.ts.map +1 -0
- package/lib/services/dedibox_v1.js +70 -0
- package/lib/services/dedibox_v1.js.map +1 -0
- package/lib/services/generative_apis_openai_v1.d.ts +772 -0
- package/lib/services/generative_apis_openai_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_openai_v1.js +24 -0
- package/lib/services/generative_apis_openai_v1.js.map +1 -0
- package/lib/services/generative_apis_v1.d.ts +82 -0
- package/lib/services/generative_apis_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_v1.js +2 -0
- package/lib/services/generative_apis_v1.js.map +1 -0
- package/lib/services/index.d.ts +57 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +56 -0
- package/lib/services/inference_v1.d.ts +460 -0
- package/lib/services/inference_v1.d.ts.map +1 -0
- package/lib/services/inference_v1.js +33 -0
- package/lib/services/inference_v1.js.map +1 -0
- package/lib/services/instance_v1.d.ts +2183 -0
- package/lib/services/instance_v1.d.ts.map +1 -0
- package/lib/services/instance_v1.js +112 -0
- package/lib/services/instance_v1.js.map +1 -0
- package/lib/services/iot_v1.d.ts +837 -0
- package/lib/services/iot_v1.d.ts.map +1 -0
- package/lib/services/iot_v1.js +50 -0
- package/lib/services/iot_v1.js.map +1 -0
- package/lib/services/ipam_v1.d.ts +244 -0
- package/lib/services/ipam_v1.d.ts.map +1 -0
- package/lib/services/ipam_v1.js +2 -0
- package/lib/services/ipam_v1.js.map +1 -0
- package/lib/services/k8s_v1.d.ts +1223 -0
- package/lib/services/k8s_v1.d.ts.map +1 -0
- package/lib/services/k8s_v1.js +61 -0
- package/lib/services/k8s_v1.js.map +1 -0
- package/lib/services/lb_zoned_v1.d.ts +1517 -0
- package/lib/services/lb_zoned_v1.d.ts.map +1 -0
- package/lib/services/lb_zoned_v1.js +75 -0
- package/lib/services/lb_zoned_v1.js.map +1 -0
- package/lib/services/marketplace_console_v2.d.ts +72 -0
- package/lib/services/marketplace_console_v2.d.ts.map +1 -0
- package/lib/services/marketplace_console_v2.js +2 -0
- package/lib/services/marketplace_console_v2.js.map +1 -0
- package/lib/services/marketplace_v2.d.ts +169 -0
- package/lib/services/marketplace_v2.d.ts.map +1 -0
- package/lib/services/marketplace_v2.js +2 -0
- package/lib/services/marketplace_v2.js.map +1 -0
- package/lib/services/mongodb_v1.d.ts +698 -0
- package/lib/services/mongodb_v1.d.ts.map +1 -0
- package/lib/services/mongodb_v1.js +43 -0
- package/lib/services/mongodb_v1.js.map +1 -0
- package/lib/services/partner_v1.d.ts +142 -0
- package/lib/services/partner_v1.d.ts.map +1 -0
- package/lib/services/partner_v1.js +2 -0
- package/lib/services/partner_v1.js.map +1 -0
- package/lib/services/rdb_encryption_v1.d.ts +17 -0
- package/lib/services/rdb_encryption_v1.d.ts.map +1 -0
- package/lib/services/rdb_encryption_v1.js +2 -0
- package/lib/services/rdb_encryption_v1.js.map +1 -0
- package/lib/services/rdb_v1.d.ts +1422 -0
- package/lib/services/rdb_v1.d.ts.map +1 -0
- package/lib/services/rdb_v1.js +87 -0
- package/lib/services/rdb_v1.js.map +1 -0
- package/lib/services/redis_v1.d.ts +602 -0
- package/lib/services/redis_v1.d.ts.map +1 -0
- package/lib/services/redis_v1.js +42 -0
- package/lib/services/redis_v1.js.map +1 -0
- package/lib/services/registry_v1.d.ts +281 -0
- package/lib/services/registry_v1.d.ts.map +1 -0
- package/lib/services/registry_v1.js +2 -0
- package/lib/services/registry_v1.js.map +1 -0
- package/lib/services/reseller_v1.d.ts +81 -0
- package/lib/services/reseller_v1.d.ts.map +1 -0
- package/lib/services/reseller_v1.js +2 -0
- package/lib/services/reseller_v1.js.map +1 -0
- package/lib/services/vpc_gw_v2.d.ts +635 -0
- package/lib/services/vpc_gw_v2.d.ts.map +1 -0
- package/lib/services/vpc_gw_v2.js +46 -0
- package/lib/services/vpc_gw_v2.js.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts +114 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.js +2 -0
- package/lib/services/vpc_private_network_with_nics_v2.js.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts +87 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js +2 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js.map +1 -0
- package/lib/services/vpc_v2.d.ts +875 -0
- package/lib/services/vpc_v2.d.ts.map +1 -0
- package/lib/services/vpc_v2.js +54 -0
- package/lib/services/vpc_v2.js.map +1 -0
- package/lib/services/webhosting_backup_v1.d.ts +182 -0
- package/lib/services/webhosting_backup_v1.d.ts.map +1 -0
- package/lib/services/webhosting_backup_v1.js +2 -0
- package/lib/services/webhosting_backup_v1.js.map +1 -0
- package/lib/services/webhosting_control_panel_v1.d.ts +37 -0
- package/lib/services/webhosting_control_panel_v1.d.ts.map +1 -0
- package/lib/services/webhosting_control_panel_v1.js +2 -0
- package/lib/services/webhosting_control_panel_v1.js.map +1 -0
- package/lib/services/webhosting_database_v1.d.ts +195 -0
- package/lib/services/webhosting_database_v1.d.ts.map +1 -0
- package/lib/services/webhosting_database_v1.js +2 -0
- package/lib/services/webhosting_database_v1.js.map +1 -0
- package/lib/services/webhosting_dedibox_v1.d.ts +232 -0
- package/lib/services/webhosting_dedibox_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dedibox_v1.js +2 -0
- package/lib/services/webhosting_dedibox_v1.js.map +1 -0
- package/lib/services/webhosting_dns_v1.d.ts +177 -0
- package/lib/services/webhosting_dns_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dns_v1.js +2 -0
- package/lib/services/webhosting_dns_v1.js.map +1 -0
- package/lib/services/webhosting_free_domain_v1.d.ts +51 -0
- package/lib/services/webhosting_free_domain_v1.d.ts.map +1 -0
- package/lib/services/webhosting_free_domain_v1.js +2 -0
- package/lib/services/webhosting_free_domain_v1.js.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts +79 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.js +2 -0
- package/lib/services/webhosting_ftp_account_v1.js.map +1 -0
- package/lib/services/webhosting_hosting_v1.d.ts +502 -0
- package/lib/services/webhosting_hosting_v1.d.ts.map +1 -0
- package/lib/services/webhosting_hosting_v1.js +27 -0
- package/lib/services/webhosting_hosting_v1.js.map +1 -0
- package/lib/services/webhosting_mail_account_v1.d.ts +84 -0
- package/lib/services/webhosting_mail_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_mail_account_v1.js +2 -0
- package/lib/services/webhosting_mail_account_v1.js.map +1 -0
- package/lib/services/webhosting_offer_v1.d.ts +122 -0
- package/lib/services/webhosting_offer_v1.d.ts.map +1 -0
- package/lib/services/webhosting_offer_v1.js +2 -0
- package/lib/services/webhosting_offer_v1.js.map +1 -0
- package/lib/services/webhosting_website_v1.d.ts +75 -0
- package/lib/services/webhosting_website_v1.d.ts.map +1 -0
- package/lib/services/webhosting_website_v1.js +2 -0
- package/lib/services/webhosting_website_v1.js.map +1 -0
- package/lib/services.lazy/account_contract_v3.js +1 -0
- package/lib/services.lazy/account_iso_code_v3.js +1 -0
- package/lib/services.lazy/account_organization_v3.js +1 -0
- package/lib/services.lazy/account_project_v3.js +1 -0
- package/lib/services.lazy/account_unauthenticated_user_v3.js +3 -0
- package/lib/services.lazy/account_unauthenticated_v3.js +1 -0
- package/lib/services.lazy/account_user_v3.js +3 -0
- package/lib/services.lazy/annotations_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v3.js +1 -0
- package/lib/services.lazy/baremetal_v1.js +3 -0
- package/lib/services.lazy/billing_electronic_billing_v2.js +1 -0
- package/lib/services.lazy/billing_v2.js +1 -0
- package/lib/services.lazy/block_v1.js +3 -0
- package/lib/services.lazy/cockpit_global_v1.js +1 -0
- package/lib/services.lazy/cockpit_regional_v1.js +3 -0
- package/lib/services.lazy/containers_v1.js +3 -0
- package/lib/services.lazy/dedibox_billing_v1.js +1 -0
- package/lib/services.lazy/dedibox_ipv6_block_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_san_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1_v1.js +3 -0
- package/lib/services.lazy/dedibox_rpn_v2_v1.js +3 -0
- package/lib/services.lazy/dedibox_v1.js +3 -0
- package/lib/services.lazy/generative_apis_openai_v1.js +3 -0
- package/lib/services.lazy/generative_apis_v1.js +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/inference_v1.js +3 -0
- package/lib/services.lazy/instance_v1.js +3 -0
- package/lib/services.lazy/iot_v1.js +3 -0
- package/lib/services.lazy/ipam_v1.js +1 -0
- package/lib/services.lazy/k8s_v1.js +3 -0
- package/lib/services.lazy/lb_zoned_v1.js +3 -0
- package/lib/services.lazy/marketplace_console_v2.js +1 -0
- package/lib/services.lazy/marketplace_v2.js +1 -0
- package/lib/services.lazy/mongodb_v1.js +3 -0
- package/lib/services.lazy/partner_v1.js +1 -0
- package/lib/services.lazy/rdb_encryption_v1.js +1 -0
- package/lib/services.lazy/rdb_v1.js +3 -0
- package/lib/services.lazy/redis_v1.js +3 -0
- package/lib/services.lazy/registry_v1.js +1 -0
- package/lib/services.lazy/reseller_v1.js +1 -0
- package/lib/services.lazy/vpc_gw_v2.js +3 -0
- package/lib/services.lazy/vpc_private_network_with_nics_v2.js +1 -0
- package/lib/services.lazy/vpc_routes_with_nexthop_v2.js +1 -0
- package/lib/services.lazy/vpc_v2.js +3 -0
- package/lib/services.lazy/webhosting_backup_v1.js +1 -0
- package/lib/services.lazy/webhosting_control_panel_v1.js +1 -0
- package/lib/services.lazy/webhosting_database_v1.js +1 -0
- package/lib/services.lazy/webhosting_dedibox_v1.js +1 -0
- package/lib/services.lazy/webhosting_dns_v1.js +1 -0
- package/lib/services.lazy/webhosting_free_domain_v1.js +1 -0
- package/lib/services.lazy/webhosting_ftp_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_hosting_v1.js +3 -0
- package/lib/services.lazy/webhosting_mail_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_offer_v1.js +1 -0
- package/lib/services.lazy/webhosting_website_v1.js +1 -0
- package/lib/traits.d.ts +25 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts +119 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js +2 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts +569 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js +38 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts +1082 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js +47 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts +368 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js +2 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts +78 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js +2 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js.map +1 -0
- package/lib/unstable-services/billing_v2beta1.d.ts +411 -0
- package/lib/unstable-services/billing_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_v2beta1.js +25 -0
- package/lib/unstable-services/billing_v2beta1.js.map +1 -0
- package/lib/unstable-services/block_v1alpha1.d.ts +372 -0
- package/lib/unstable-services/block_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/block_v1alpha1.js +27 -0
- package/lib/unstable-services/block_v1alpha1.js.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts +440 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js +27 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts +322 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.js +2 -0
- package/lib/unstable-services/datalab_v1beta1.js.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts +456 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.js +34 -0
- package/lib/unstable-services/dataviz_v1alpha1.js.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts +492 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js +34 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts +1087 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js +50 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts +19 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js +2 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_v2beta1.d.ts +520 -0
- package/lib/unstable-services/domain_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_v2beta1.js +44 -0
- package/lib/unstable-services/domain_v2beta1.js.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts +1153 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.js +81 -0
- package/lib/unstable-services/edge_services_v1beta1.js.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts +149 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js +2 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js.map +1 -0
- package/lib/unstable-services/file_v1alpha1.d.ts +350 -0
- package/lib/unstable-services/file_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/file_v1alpha1.js +24 -0
- package/lib/unstable-services/file_v1alpha1.js.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts +241 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js +2 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js.map +1 -0
- package/lib/unstable-services/functions_v1beta1.d.ts +852 -0
- package/lib/unstable-services/functions_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/functions_v1beta1.js +49 -0
- package/lib/unstable-services/functions_v1beta1.js.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts +257 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js +2 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts +1506 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.js +105 -0
- package/lib/unstable-services/iam_v1alpha1.js.map +1 -0
- package/lib/unstable-services/index.d.ts +44 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +43 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts +1745 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_v2alpha1.js +81 -0
- package/lib/unstable-services/instance_v2alpha1.js.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts +333 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js +26 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts +636 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.js +39 -0
- package/lib/unstable-services/interlink_v1beta1.js.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts +451 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.js +27 -0
- package/lib/unstable-services/kafka_v1alpha1.js.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts +515 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.js +36 -0
- package/lib/unstable-services/key_manager_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts +438 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.js +39 -0
- package/lib/unstable-services/mailbox_v1alpha1.js.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts +420 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.js +29 -0
- package/lib/unstable-services/messageq_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts +32 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_console_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts +177 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts +604 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.js +37 -0
- package/lib/unstable-services/mongodb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts +477 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js +2 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts +764 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.js +51 -0
- package/lib/unstable-services/qaas_v1alpha1.js.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts +794 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js +45 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js.map +1 -0
- package/lib/unstable-services/search_v1alpha1.d.ts +120 -0
- package/lib/unstable-services/search_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/search_v1alpha1.js +2 -0
- package/lib/unstable-services/search_v1alpha1.js.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts +424 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.js +29 -0
- package/lib/unstable-services/searchdb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts +407 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.js +32 -0
- package/lib/unstable-services/secret_manager_v1beta1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts +331 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js +28 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts +546 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js +35 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts +239 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js +2 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts +936 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js +46 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js.map +1 -0
- package/lib/unstable-services.lazy/apple_silicon_private_network_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/apple_silicon_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/audit_trail_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/autoscaling_v1alpha2.js +1 -0
- package/lib/unstable-services.lazy/billing_fin_ops_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/billing_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/block_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/data_orchestrator_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/datalab_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/dataviz_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/datawarehouse_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_registrar_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_suggestion_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/domain_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/edge_services_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/environmental_footprint_user_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/file_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/flexible_ip_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/functions_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/iam_unauthenticated_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/iam_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/unstable-services.lazy/instance_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/instance_volume_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/interlink_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/kafka_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/key_manager_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mailbox_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/messageq_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mnq_console_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_nats_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sns_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sqs_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mongodb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/product_catalog_public_catalog_v2alpha1.js +1 -0
- package/lib/unstable-services.lazy/qaas_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/s2s_vpn_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/search_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/searchdb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/secret_manager_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/serverless_sqldb_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/transactional_email_v1alpha1.js +3 -0
- package/package.json +89 -2
- package/src/credentials.ts +104 -0
- package/src/errors.ts +307 -0
- package/src/index.ts +52 -0
- package/src/pagination.ts +65 -0
- package/src/protocol.ts +496 -0
- package/src/retry.ts +47 -0
- package/src/services/account_contract_v3.ts +441 -0
- package/src/services/account_iso_code_v3.ts +165 -0
- package/src/services/account_organization_v3.ts +946 -0
- package/src/services/account_project_v3.ts +530 -0
- package/src/services/account_unauthenticated_user_v3.ts +1445 -0
- package/src/services/account_unauthenticated_v3.ts +92 -0
- package/src/services/account_user_v3.ts +1657 -0
- package/src/services/annotations_v1.ts +897 -0
- package/src/services/baremetal_private_network_v1.ts +327 -0
- package/src/services/baremetal_private_network_v3.ts +376 -0
- package/src/services/baremetal_v1.ts +3072 -0
- package/src/services/billing_electronic_billing_v2.ts +323 -0
- package/src/services/billing_v2.ts +662 -0
- package/src/services/block_v1.ts +1282 -0
- package/src/services/cockpit_global_v1.ts +282 -0
- package/src/services/cockpit_regional_v1.ts +2177 -0
- package/src/services/containers_v1.ts +2110 -0
- package/src/services/dedibox_billing_v1.ts +621 -0
- package/src/services/dedibox_ipv6_block_v1.ts +468 -0
- package/src/services/dedibox_rpn_san_v1.ts +1185 -0
- package/src/services/dedibox_rpn_v1.ts +207 -0
- package/src/services/dedibox_rpn_v1_v1.ts +1763 -0
- package/src/services/dedibox_rpn_v2_v1.ts +1654 -0
- package/src/services/dedibox_v1.ts +3765 -0
- package/src/services/generative_apis_openai_v1.ts +1692 -0
- package/src/services/generative_apis_v1.ts +251 -0
- package/src/services/index.ts +57 -0
- package/src/services/inference_v1.ts +1353 -0
- package/src/services/instance_v1.ts +6611 -0
- package/src/services/iot_v1.ts +2419 -0
- package/src/services/ipam_v1.ts +716 -0
- package/src/services/k8s_v1.ts +3108 -0
- package/src/services/lb_zoned_v1.ts +4533 -0
- package/src/services/marketplace_console_v2.ts +198 -0
- package/src/services/marketplace_v2.ts +625 -0
- package/src/services/mongodb_v1.ts +2104 -0
- package/src/services/partner_v1.ts +462 -0
- package/src/services/rdb_encryption_v1.ts +83 -0
- package/src/services/rdb_v1.ts +4211 -0
- package/src/services/redis_v1.ts +1918 -0
- package/src/services/registry_v1.ts +863 -0
- package/src/services/reseller_v1.ts +258 -0
- package/src/services/vpc_gw_v2.ts +2130 -0
- package/src/services/vpc_private_network_with_nics_v2.ts +311 -0
- package/src/services/vpc_routes_with_nexthop_v2.ts +226 -0
- package/src/services/vpc_v2.ts +2533 -0
- package/src/services/webhosting_backup_v1.ts +578 -0
- package/src/services/webhosting_control_panel_v1.ts +130 -0
- package/src/services/webhosting_database_v1.ts +682 -0
- package/src/services/webhosting_dedibox_v1.ts +480 -0
- package/src/services/webhosting_dns_v1.ts +471 -0
- package/src/services/webhosting_free_domain_v1.ts +190 -0
- package/src/services/webhosting_ftp_account_v1.ts +280 -0
- package/src/services/webhosting_hosting_v1.ts +1309 -0
- package/src/services/webhosting_mail_account_v1.ts +291 -0
- package/src/services/webhosting_offer_v1.ts +289 -0
- package/src/services/webhosting_website_v1.ts +274 -0
- package/src/traits.ts +63 -0
- package/src/unstable-services/apple_silicon_private_network_v1alpha1.ts +395 -0
- package/src/unstable-services/apple_silicon_v1alpha1.ts +1685 -0
- package/src/unstable-services/audit_trail_v1alpha1.ts +3220 -0
- package/src/unstable-services/autoscaling_v1alpha2.ts +1103 -0
- package/src/unstable-services/billing_fin_ops_v2beta1.ts +195 -0
- package/src/unstable-services/billing_v2beta1.ts +1203 -0
- package/src/unstable-services/block_v1alpha1.ts +1239 -0
- package/src/unstable-services/data_orchestrator_v1alpha2.ts +1230 -0
- package/src/unstable-services/datalab_v1beta1.ts +852 -0
- package/src/unstable-services/dataviz_v1alpha1.ts +1478 -0
- package/src/unstable-services/datawarehouse_v1beta1.ts +1504 -0
- package/src/unstable-services/domain_registrar_v2beta1.ts +2979 -0
- package/src/unstable-services/domain_suggestion_v2beta1.ts +86 -0
- package/src/unstable-services/domain_v2beta1.ts +1794 -0
- package/src/unstable-services/edge_services_v1beta1.ts +3724 -0
- package/src/unstable-services/environmental_footprint_user_v1alpha1.ts +429 -0
- package/src/unstable-services/file_v1alpha1.ts +1016 -0
- package/src/unstable-services/flexible_ip_v1alpha1.ts +804 -0
- package/src/unstable-services/functions_v1beta1.ts +2410 -0
- package/src/unstable-services/iam_unauthenticated_v1alpha1.ts +863 -0
- package/src/unstable-services/iam_v1alpha1.ts +4919 -0
- package/src/unstable-services/index.ts +44 -0
- package/src/unstable-services/instance_v2alpha1.ts +5377 -0
- package/src/unstable-services/instance_volume_v2alpha1.ts +1111 -0
- package/src/unstable-services/interlink_v1beta1.ts +1791 -0
- package/src/unstable-services/kafka_v1alpha1.ts +1275 -0
- package/src/unstable-services/key_manager_v1alpha1.ts +1618 -0
- package/src/unstable-services/mailbox_v1alpha1.ts +1561 -0
- package/src/unstable-services/messageq_v1alpha1.ts +1266 -0
- package/src/unstable-services/mnq_console_v1beta1.ts +111 -0
- package/src/unstable-services/mnq_nats_v1beta1.ts +608 -0
- package/src/unstable-services/mnq_sns_v1beta1.ts +523 -0
- package/src/unstable-services/mnq_sqs_v1beta1.ts +523 -0
- package/src/unstable-services/mongodb_v1alpha1.ts +1789 -0
- package/src/unstable-services/product_catalog_public_catalog_v2alpha1.ts +1109 -0
- package/src/unstable-services/qaas_v1alpha1.ts +2404 -0
- package/src/unstable-services/s2s_vpn_v1alpha1.ts +2173 -0
- package/src/unstable-services/search_v1alpha1.ts +349 -0
- package/src/unstable-services/searchdb_v1alpha1.ts +1273 -0
- package/src/unstable-services/secret_manager_v1beta1.ts +1255 -0
- package/src/unstable-services/serverless_jobs_v1alpha1.ts +1017 -0
- package/src/unstable-services/serverless_jobs_v1alpha2.ts +1516 -0
- package/src/unstable-services/serverless_sqldb_v1alpha1.ts +747 -0
- package/src/unstable-services/transactional_email_v1alpha1.ts +2495 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import type * as Redacted from "effect/Redacted";
|
|
3
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
4
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
5
|
+
export type CreateNatsAccountRequestRegion = "fr-par" | "nl-ams";
|
|
6
|
+
export interface CreateNatsAccountRequest {
|
|
7
|
+
/** The region you want to target */
|
|
8
|
+
region?: CreateNatsAccountRequestRegion | (string & {}) | undefined;
|
|
9
|
+
/** NATS account name. */
|
|
10
|
+
name?: string | undefined;
|
|
11
|
+
/** Project containing the NATS account. */
|
|
12
|
+
project_id?: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface NatsAccount {
|
|
15
|
+
/** NATS account ID. */
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
/** NATS account name. */
|
|
18
|
+
name?: string | undefined;
|
|
19
|
+
/** Endpoint of the NATS service for this account. */
|
|
20
|
+
endpoint?: string | undefined;
|
|
21
|
+
/** Project ID of the Project containing the NATS account. */
|
|
22
|
+
project_id?: string | undefined;
|
|
23
|
+
/** Region where the NATS account is deployed. */
|
|
24
|
+
region?: string | undefined;
|
|
25
|
+
/** NATS account creation date. (RFC 3339 format) */
|
|
26
|
+
created_at?: string | null | undefined;
|
|
27
|
+
/** NATS account last modification date. (RFC 3339 format) */
|
|
28
|
+
updated_at?: string | null | undefined;
|
|
29
|
+
}
|
|
30
|
+
export type CreateNatsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
31
|
+
export interface CreateNatsCredentialsRequest {
|
|
32
|
+
/** The region you want to target */
|
|
33
|
+
region?: CreateNatsCredentialsRequestRegion | (string & {}) | undefined;
|
|
34
|
+
/** NATS account containing the credentials. */
|
|
35
|
+
nats_account_id: string;
|
|
36
|
+
/** Name of the credentials. */
|
|
37
|
+
name?: string | undefined;
|
|
38
|
+
}
|
|
39
|
+
export interface File {
|
|
40
|
+
/** File name. */
|
|
41
|
+
name?: string | undefined;
|
|
42
|
+
/** File content. */
|
|
43
|
+
content?: string | Redacted.Redacted<string> | undefined;
|
|
44
|
+
}
|
|
45
|
+
export interface NatsCredentials {
|
|
46
|
+
/** ID of the credentials. */
|
|
47
|
+
id?: string | undefined;
|
|
48
|
+
/** Name of the credentials. */
|
|
49
|
+
name?: string | undefined;
|
|
50
|
+
/** NATS account containing the credentials. */
|
|
51
|
+
nats_account_id?: string | undefined;
|
|
52
|
+
/** Region where the NATS account is deployed. */
|
|
53
|
+
region?: string | undefined;
|
|
54
|
+
/** NATS credentials creation date. (RFC 3339 format) */
|
|
55
|
+
created_at?: string | null | undefined;
|
|
56
|
+
/** NATS credentials last modification date. (RFC 3339 format) */
|
|
57
|
+
updated_at?: string | null | undefined;
|
|
58
|
+
/** Object containing the credentials file (Only returned by **Create Nats Credentials** call). */
|
|
59
|
+
credentials?: File | undefined;
|
|
60
|
+
/** Checksum of the credentials file. */
|
|
61
|
+
checksum?: string | undefined;
|
|
62
|
+
}
|
|
63
|
+
export type DeleteNatsAccountRequestRegion = "fr-par" | "nl-ams";
|
|
64
|
+
export interface DeleteNatsAccountRequest {
|
|
65
|
+
/** The region you want to target */
|
|
66
|
+
region?: DeleteNatsAccountRequestRegion | (string & {}) | undefined;
|
|
67
|
+
/** ID of the NATS account to delete. */
|
|
68
|
+
nats_account_id: string;
|
|
69
|
+
}
|
|
70
|
+
export interface DeleteNatsAccountResponse {
|
|
71
|
+
}
|
|
72
|
+
export type DeleteNatsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
73
|
+
export interface DeleteNatsCredentialsRequest {
|
|
74
|
+
/** The region you want to target */
|
|
75
|
+
region?: DeleteNatsCredentialsRequestRegion | (string & {}) | undefined;
|
|
76
|
+
/** ID of the credentials to delete. */
|
|
77
|
+
nats_credentials_id: string;
|
|
78
|
+
}
|
|
79
|
+
export interface DeleteNatsCredentialsResponse {
|
|
80
|
+
}
|
|
81
|
+
export type GetNatsAccountRequestRegion = "fr-par" | "nl-ams";
|
|
82
|
+
export interface GetNatsAccountRequest {
|
|
83
|
+
/** The region you want to target */
|
|
84
|
+
region?: GetNatsAccountRequestRegion | (string & {}) | undefined;
|
|
85
|
+
/** ID of the NATS account to get. */
|
|
86
|
+
nats_account_id: string;
|
|
87
|
+
}
|
|
88
|
+
export type GetNatsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
89
|
+
export interface GetNatsCredentialsRequest {
|
|
90
|
+
/** The region you want to target */
|
|
91
|
+
region?: GetNatsCredentialsRequestRegion | (string & {}) | undefined;
|
|
92
|
+
/** ID of the credentials to get. */
|
|
93
|
+
nats_credentials_id: string;
|
|
94
|
+
}
|
|
95
|
+
export type ListNatsAccountsRequestRegion = "fr-par" | "nl-ams";
|
|
96
|
+
export type ListNatsAccountsRequestOrderBy = "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc" | "name_asc" | "name_desc";
|
|
97
|
+
export interface ListNatsAccountsRequest {
|
|
98
|
+
/** The region you want to target */
|
|
99
|
+
region?: ListNatsAccountsRequestRegion | (string & {}) | undefined;
|
|
100
|
+
/** Include only NATS accounts in this Project. */
|
|
101
|
+
project_id?: string | undefined;
|
|
102
|
+
/** Page number to return. */
|
|
103
|
+
page?: number | undefined;
|
|
104
|
+
/** Maximum number of NATS accounts to return per page. */
|
|
105
|
+
page_size?: number | undefined;
|
|
106
|
+
/** Order in which to return results. */
|
|
107
|
+
order_by?: ListNatsAccountsRequestOrderBy | (string & {}) | undefined;
|
|
108
|
+
}
|
|
109
|
+
/** NATS accounts on this page. */
|
|
110
|
+
export type ListNatsAccountsResponseNatsAccountsList = Array<NatsAccount>;
|
|
111
|
+
export interface ListNatsAccountsResponse {
|
|
112
|
+
/** Total count of existing NATS accounts (matching any filters specified). */
|
|
113
|
+
total_count?: number | undefined;
|
|
114
|
+
/** NATS accounts on this page. */
|
|
115
|
+
nats_accounts: ListNatsAccountsResponseNatsAccountsList;
|
|
116
|
+
}
|
|
117
|
+
export type ListNatsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
118
|
+
export type ListNatsCredentialsRequestOrderBy = "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc" | "name_asc" | "name_desc";
|
|
119
|
+
export interface ListNatsCredentialsRequest {
|
|
120
|
+
/** The region you want to target */
|
|
121
|
+
region?: ListNatsCredentialsRequestRegion | (string & {}) | undefined;
|
|
122
|
+
/** Include only NATS accounts in this Project. */
|
|
123
|
+
project_id?: string | undefined;
|
|
124
|
+
/** Include only credentials for this NATS account. */
|
|
125
|
+
nats_account_id?: string | undefined;
|
|
126
|
+
/** Page number to return. */
|
|
127
|
+
page?: number | undefined;
|
|
128
|
+
/** Maximum number of credentials to return per page. */
|
|
129
|
+
page_size?: number | undefined;
|
|
130
|
+
/** Order in which to return results. */
|
|
131
|
+
order_by?: ListNatsCredentialsRequestOrderBy | (string & {}) | undefined;
|
|
132
|
+
}
|
|
133
|
+
/** Credentials on this page. */
|
|
134
|
+
export type ListNatsCredentialsResponseNatsCredentialsList = Array<NatsCredentials>;
|
|
135
|
+
export interface ListNatsCredentialsResponse {
|
|
136
|
+
/** Total count of existing credentials (matching any filters specified). */
|
|
137
|
+
total_count?: number | undefined;
|
|
138
|
+
/** Credentials on this page. */
|
|
139
|
+
nats_credentials: ListNatsCredentialsResponseNatsCredentialsList;
|
|
140
|
+
}
|
|
141
|
+
export type UpdateNatsAccountRequestRegion = "fr-par" | "nl-ams";
|
|
142
|
+
export interface UpdateNatsAccountRequest {
|
|
143
|
+
/** The region you want to target */
|
|
144
|
+
region?: UpdateNatsAccountRequestRegion | (string & {}) | undefined;
|
|
145
|
+
/** ID of the NATS account to update. */
|
|
146
|
+
nats_account_id: string;
|
|
147
|
+
/** NATS account name. */
|
|
148
|
+
name?: string | null | undefined;
|
|
149
|
+
}
|
|
150
|
+
export type CreateNatsAccountError = ScalewayOpError;
|
|
151
|
+
/** Create a NATS account Create a NATS account associated with a Project. */
|
|
152
|
+
export declare const createNatsAccount: API.OperationMethod<CreateNatsAccountRequest, NatsAccount, CreateNatsAccountError, ScalewayOpContext>;
|
|
153
|
+
export type CreateNatsCredentialsError = ScalewayOpError;
|
|
154
|
+
/** Create NATS credentials Create a set of credentials for a NATS account, specified by its NATS account ID. */
|
|
155
|
+
export declare const createNatsCredentials: API.OperationMethod<CreateNatsCredentialsRequest, NatsCredentials, CreateNatsCredentialsError, ScalewayOpContext>;
|
|
156
|
+
export type DeleteNatsAccountError = ScalewayOpError;
|
|
157
|
+
/** Delete a NATS account Delete a NATS account, specified by its NATS account ID. Note that deleting a NATS account is irreversible, and any credentials, streams, consumer and stored messages belonging to this NATS account will also be deleted. */
|
|
158
|
+
export declare const deleteNatsAccount: API.OperationMethod<DeleteNatsAccountRequest, DeleteNatsAccountResponse, DeleteNatsAccountError, ScalewayOpContext>;
|
|
159
|
+
export type DeleteNatsCredentialsError = ScalewayOpError;
|
|
160
|
+
/** Delete NATS credentials Delete a set of credentials, specified by their credentials ID. Deleting credentials is irreversible and cannot be undone. The credentials can no longer be used to access the NATS account, and active connections using this credentials will be closed. */
|
|
161
|
+
export declare const deleteNatsCredentials: API.OperationMethod<DeleteNatsCredentialsRequest, DeleteNatsCredentialsResponse, DeleteNatsCredentialsError, ScalewayOpContext>;
|
|
162
|
+
export type GetNatsAccountError = ScalewayOpError;
|
|
163
|
+
/** Get a NATS account Retrieve information about an existing NATS account identified by its NATS account ID. Its full details, including name and endpoint, are returned in the response. */
|
|
164
|
+
export declare const getNatsAccount: API.OperationMethod<GetNatsAccountRequest, NatsAccount, GetNatsAccountError, ScalewayOpContext>;
|
|
165
|
+
export type GetNatsCredentialsError = ScalewayOpError;
|
|
166
|
+
/** Get NATS credentials Retrieve an existing set of credentials, identified by the `nats_credentials_id`. The credentials themselves are NOT returned, only their metadata (NATS account ID, credentials name, etc), are returned in the response. */
|
|
167
|
+
export declare const getNatsCredentials: API.OperationMethod<GetNatsCredentialsRequest, NatsCredentials, GetNatsCredentialsError, ScalewayOpContext>;
|
|
168
|
+
export type ListNatsAccountsError = ScalewayOpError;
|
|
169
|
+
/** List NATS accounts List all NATS accounts in the specified region, for a Scaleway Organization or Project. By default, the NATS accounts returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field. */
|
|
170
|
+
export declare const listNatsAccounts: API.PaginatedOperationMethod<ListNatsAccountsRequest, ListNatsAccountsResponse, ListNatsAccountsError, ScalewayOpContext, NatsAccount>;
|
|
171
|
+
export type ListNatsCredentialsError = ScalewayOpError;
|
|
172
|
+
/** List NATS credentials List existing credentials in the specified NATS account. The response contains only the metadata for the credentials, not the credentials themselves, which are only returned after a **Create Credentials** call. */
|
|
173
|
+
export declare const listNatsCredentials: API.PaginatedOperationMethod<ListNatsCredentialsRequest, ListNatsCredentialsResponse, ListNatsCredentialsError, ScalewayOpContext, NatsCredentials>;
|
|
174
|
+
export type UpdateNatsAccountError = ScalewayOpError;
|
|
175
|
+
/** Update the name of a NATS account Update the name of a NATS account, specified by its NATS account ID. */
|
|
176
|
+
export declare const updateNatsAccount: API.OperationMethod<UpdateNatsAccountRequest, NatsAccount, UpdateNatsAccountError, ScalewayOpContext>;
|
|
177
|
+
//# sourceMappingURL=mnq_nats_v1beta1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnq_nats_v1beta1.d.ts","sources":["../../src/unstable-services/mnq_nats_v1beta1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAIjD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAGjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,8BAA8B,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACjE,MAAM,WAAW,wBAAwB;IACvC,oCAAoC;IACpC,MAAM,CAAC,EAAE,8BAA8B,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;IACpE,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC;AACD,MAAM,WAAW,WAAW;IAC1B,uBAAuB;IACvB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,qDAAqD;IACrD,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,G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B,CAAC;AAEJ,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC;AAClD,6LAA6L;AAC7L,eAAO,MAAM,cAAc,EAAE,GAAG,CAAC,eAAe,CAC9C,qBAAqB,EACrB,WAAW,EACX,mBAAmB,EACnB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC;AACtD,sPAAsP;AACtP,eAAO,MAAM,kBAAkB,EAAE,GAAG,CAAC,eAAe,CAClD,yBAAyB,EACzB,eAAe,EACf,uBAAuB,EACvB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC;AACpD,2QAA2Q;AAC3Q,eAAO,MAAM,gBAAgB,EAAE,GAAG,CAAC,wBAAwB,CACzD,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,CAoBL,CAAC;AAET,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC;AACvD,+OAA+O;AAC/O,eAAO,MAAM,mBAAmB,EAAE,GAAG,CAAC,wBAAwB,CAC5D,0BAA0B,EAC1B,2BAA2B,EAC3B,wBAAwB,EACxB,iBAAiB,EACjB,eAAe,CAoBT,CAAC;AAET,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAAC;AACrD,6GAA6G;AAC7G,eAAO,MAAM,iBAAiB,EAAE,GAAG,CAAC,eAAe,CACjD,wBAAwB,EACxB,WAAW,EACX,sBAAsB,EACtB,iBAAiB,CAUhB,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,n as l,nd as u,o as d,pagination$paginateByTotalCount as f,protocol$ScalewayProtocol as p,retry$Retry as m,sd as h,td as g,traits$Http as _,traits$Label as v,traits$Query as y,traits$SensitiveValue 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:`MnqNatsV1beta1`,labels:`scaleway`,propagate:`w3c`};const S=/*@__PURE__*/ l(e=>e===t?c(`CreateNatsAccount`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),name:$4($3),project_id:$4($3)}).pipe($1({method:"POST",uri:"/mnq/v1beta1/regions/{region}/nats-accounts",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,h,s,g,__d0,a,p,m,x]):n(S,e));const C=/*@__PURE__*/ l(e=>e===t?c(`CreateNatsCredentials`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),nats_account_id:$3,name:$4($3)}).pipe($1({method:"POST",uri:"/mnq/v1beta1/regions/{region}/nats-credentials",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,h,s,g,__d1,a,p,m,x]):n(C,e));const w=/*@__PURE__*/ l(e=>e===t?c(`DeleteNatsAccount`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),nats_account_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/mnq/v1beta1/regions/{region}/nats-accounts/{nats_account_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,h,s,g,__d2,a,p,m,x]):n(w,e));const T=/*@__PURE__*/ l(e=>e===t?c(`DeleteNatsCredentials`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),nats_credentials_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/mnq/v1beta1/regions/{region}/nats-credentials/{nats_credentials_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,h,s,g,__d2,a,p,m,x]):n(T,e));const E=/*@__PURE__*/ l(e=>e===t?c(`GetNatsAccount`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),nats_account_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/mnq/v1beta1/regions/{region}/nats-accounts/{nats_account_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,h,s,g,__d0,a,p,m,x]):n(E,e));const D=/*@__PURE__*/ l(e=>e===t?c(`GetNatsCredentials`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),nats_credentials_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/mnq/v1beta1/regions/{region}/nats-credentials/{nats_credentials_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,h,s,g,__d1,a,p,m,x]):n(D,e));const O=/*@__PURE__*/ d(r=>r===t?c(`ListNatsAccounts`,`{input:#1,output:#3,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"nats_accounts",pageSize:"page_size"},strategy:$15};$8(>4)@"%Request";$10(#9:0);$8(>5)@"%Response";$7({region:$4($3.pipe($2())),project_id:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),order_by:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/mnq/v1beta1/regions/{region}/nats-accounts",code:200,baseUrl:"https://api.scaleway.com"}));$7({total_count:$4($6),nats_accounts:#2})`,[u,_,v,o,h,y,i,s,g,__d0,e,a,p,m,x,f]):n(O,r));const k=/*@__PURE__*/ d(r=>r===t?c(`ListNatsCredentials`,`{input:#1,output:#3,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"nats_credentials",pageSize:"page_size"},strategy:$15};$8(>4)@"%Request";$10(#9:1);$8(>5)@"%Response";$7({region:$4($3.pipe($2())),project_id:$4($3.pipe($5())),nats_account_id:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),order_by:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/mnq/v1beta1/regions/{region}/nats-credentials",code:200,baseUrl:"https://api.scaleway.com"}));$7({total_count:$4($6),nats_credentials:#2})`,[u,_,v,o,h,y,i,s,g,__d1,e,a,p,m,x,f]):n(k,r));const A=/*@__PURE__*/ l(e=>e===t?c(`UpdateNatsAccount`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$4($3.pipe($2())),nats_account_id:$3.pipe($2()),name:$4($5($3))}).pipe($1({method:"PATCH",uri:"/mnq/v1beta1/regions/{region}/nats-accounts/{nats_account_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,h,r,s,g,__d0,a,p,m,x]):n(A,e));function __d0(){return[`$5(>1)@"NatsAccount";$4({id:$2($1),name:$2($1),endpoint:$2($1),project_id:$2($1),region:$2($1),created_at:$2($3($1)),updated_at:$2($3($1))})`,[u,o,h,r,s,g]]}function __d1(){return[`$5(>2)@"File";$5(>3)@"NatsCredentials";$4({name:$2($1),content:$2($1.pipe($3({})))});$4({id:$2($1),name:$2($1),nats_account_id:$2($1),region:$2($1),created_at:$2($6($1)),updated_at:$2($6($1)),credentials:$2(#0),checksum:$2($1)})`,[u,o,h,b,s,g,r]]}function __d2(){return[`$2(>1)@"DeleteNatsAccountResponse";$1({})`,[u,s,g]]}export{S as createNatsAccount,C as createNatsCredentials,w as deleteNatsAccount,T as deleteNatsCredentials,E as getNatsAccount,D as getNatsCredentials,O as listNatsAccounts,k as listNatsCredentials,A as updateNatsAccount};
|
|
2
|
+
//# sourceMappingURL=mnq_nats_v1beta1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnq_nats_v1beta1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","T.Query","S.Number","S.Array","S.NullOr","T.SensitiveValue","Array","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","named","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","SensitiveValue","TELEMETRY","createNatsAccount","i","createNatsCredentials","deleteNatsAccount","deleteNatsCredentials","getNatsAccount","getNatsCredentials","listNatsAccounts","listNatsCredentials","updateNatsAccount"],"sources":["../../src/unstable-services/mnq_nats_v1beta1.ts"],"mappings":"yUAcA,MAAMqC,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,iBACT,OAAQ,WACR,UAAW,KACb,EA+JA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMvC,EAAQC,EAAU,oBAAqB,wSAAyS,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAW,KAAMa,EAAuBQ,EAAkBpB,EAAa4B,CAAS,CAAC,EAAI3B,EAAS4B,EAAmBC,CAAC,CAAC,EAI7iB,MAAaC,EAKK,gBAAQ,GAAgBD,IAAMvC,EAAQC,EAAU,wBAAyB,4SAA6S,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAW,KAAMa,EAAuBQ,EAAkBpB,EAAa4B,CAAS,CAAC,EAAI3B,EAAS8B,EAAuBD,CAAC,CAAC,EAIzjB,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMvC,EAAQC,EAAU,oBAAqB,4TAA6T,CAACC,EAAQC,EA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oC,EAAqBP,CAAC,CAAC,EAIv6B,MAAaQ,EAKK,gBAAQ,GAAgBR,IAAMvC,EAAQC,EAAU,oBAAqB,4UAA6U,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYQ,EAAUP,EAAUC,EAAW,KAAMa,EAAuBQ,EAAkBpB,EAAa4B,CAAS,CAAC,EAAI3B,EAASqC,EAAmBR,CAAC,CAAC,EAM3lB,SAAS,MAAY,CACnB,MAAO,CAAC,+IAAgJ,CAACrC,EAAQG,EAAUC,EAAYQ,EAAUP,EAAUC,CAAS,CAAC,CACvN,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,uOAAwO,CAACN,EAAQG,EAAUC,EAAYS,EAAkBR,EAAUC,EAAWM,CAAQ,CAAC,CACjU,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,4CAA6C,CAACZ,EAAQK,EAAUC,CAAS,CAAC,CACpF"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import type * as Redacted from "effect/Redacted";
|
|
3
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
4
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
5
|
+
export type ActivateSnsRequestRegion = "fr-par" | "nl-ams";
|
|
6
|
+
export interface ActivateSnsRequest {
|
|
7
|
+
/** The region you want to target */
|
|
8
|
+
region?: ActivateSnsRequestRegion | (string & {}) | undefined;
|
|
9
|
+
/** Project on which to activate the Topics and Events service. */
|
|
10
|
+
project_id?: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
export type SnsInfoStatus = "unknown_status" | "enabled" | "disabled";
|
|
13
|
+
export interface SnsInfo {
|
|
14
|
+
/** Project ID of the Project containing the service. */
|
|
15
|
+
project_id?: string | undefined;
|
|
16
|
+
/** Region of the service. */
|
|
17
|
+
region?: string | undefined;
|
|
18
|
+
/** Topics and Events creation date. (RFC 3339 format) */
|
|
19
|
+
created_at?: string | null | undefined;
|
|
20
|
+
/** Topics and Events last modification date. (RFC 3339 format) */
|
|
21
|
+
updated_at?: string | null | undefined;
|
|
22
|
+
/** Topics and Events activation status. */
|
|
23
|
+
status?: SnsInfoStatus | undefined;
|
|
24
|
+
/** Endpoint of the Topics and Events service for this region and project. */
|
|
25
|
+
sns_endpoint_url?: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
export type CreateSnsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
28
|
+
export interface SnsPermissions {
|
|
29
|
+
/** Defines whether the credentials bearer can publish messages to the service (publish to Topics and Events topics). */
|
|
30
|
+
can_publish?: boolean | null | undefined;
|
|
31
|
+
/** Defines whether the credentials bearer can receive messages from the service (configure subscriptions). */
|
|
32
|
+
can_receive?: boolean | null | undefined;
|
|
33
|
+
/** Defines whether the credentials bearer can manage the associated Topics and Events topics or subscriptions. */
|
|
34
|
+
can_manage?: boolean | null | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface CreateSnsCredentialsRequest {
|
|
37
|
+
/** The region you want to target */
|
|
38
|
+
region?: CreateSnsCredentialsRequestRegion | (string & {}) | undefined;
|
|
39
|
+
/** Project containing the Topics and Events credentials. */
|
|
40
|
+
project_id: string;
|
|
41
|
+
/** Name of the credentials. */
|
|
42
|
+
name?: string | undefined;
|
|
43
|
+
/** Permissions associated with these credentials. */
|
|
44
|
+
permissions?: SnsPermissions | undefined;
|
|
45
|
+
}
|
|
46
|
+
export interface SnsCredentials {
|
|
47
|
+
/** ID of the credentials. */
|
|
48
|
+
id?: string | undefined;
|
|
49
|
+
/** Name of the credentials. */
|
|
50
|
+
name?: string | undefined;
|
|
51
|
+
/** Project ID of the Project containing the credentials. */
|
|
52
|
+
project_id?: string | undefined;
|
|
53
|
+
/** Region where the credentials exists. */
|
|
54
|
+
region?: string | undefined;
|
|
55
|
+
/** Credentials creation date. (RFC 3339 format) */
|
|
56
|
+
created_at?: string | null | undefined;
|
|
57
|
+
/** Credentials last modification date. (RFC 3339 format) */
|
|
58
|
+
updated_at?: string | null | undefined;
|
|
59
|
+
/** Access key ID. */
|
|
60
|
+
access_key?: string | undefined;
|
|
61
|
+
/** Secret key ID (Only returned by **Create Topics and Events Credentials** call). */
|
|
62
|
+
secret_key?: string | Redacted.Redacted<string> | undefined;
|
|
63
|
+
/** Checksum of the Secret key. */
|
|
64
|
+
secret_checksum?: string | undefined;
|
|
65
|
+
/** Permissions associated with these credentials. */
|
|
66
|
+
permissions?: SnsPermissions | undefined;
|
|
67
|
+
}
|
|
68
|
+
export type DeactivateSnsRequestRegion = "fr-par" | "nl-ams";
|
|
69
|
+
export interface DeactivateSnsRequest {
|
|
70
|
+
/** The region you want to target */
|
|
71
|
+
region?: DeactivateSnsRequestRegion | (string & {}) | undefined;
|
|
72
|
+
/** Project on which to deactivate the Topics and Events service. */
|
|
73
|
+
project_id?: string | undefined;
|
|
74
|
+
}
|
|
75
|
+
export type DeleteSnsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
76
|
+
export interface DeleteSnsCredentialsRequest {
|
|
77
|
+
/** The region you want to target */
|
|
78
|
+
region?: DeleteSnsCredentialsRequestRegion | (string & {}) | undefined;
|
|
79
|
+
/** ID of the credentials to delete. */
|
|
80
|
+
sns_credentials_id: string;
|
|
81
|
+
}
|
|
82
|
+
export interface DeleteSnsCredentialsResponse {
|
|
83
|
+
}
|
|
84
|
+
export type GetSnsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
85
|
+
export interface GetSnsCredentialsRequest {
|
|
86
|
+
/** The region you want to target */
|
|
87
|
+
region?: GetSnsCredentialsRequestRegion | (string & {}) | undefined;
|
|
88
|
+
/** ID of the Topics and Events credentials to get. */
|
|
89
|
+
sns_credentials_id: string;
|
|
90
|
+
}
|
|
91
|
+
export type GetSnsInfoRequestRegion = "fr-par" | "nl-ams";
|
|
92
|
+
export interface GetSnsInfoRequest {
|
|
93
|
+
/** The region you want to target */
|
|
94
|
+
region?: GetSnsInfoRequestRegion | (string & {}) | undefined;
|
|
95
|
+
/** Project to retrieve Topics and Events info from. */
|
|
96
|
+
project_id: string;
|
|
97
|
+
}
|
|
98
|
+
export type ListSnsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
99
|
+
export type ListSnsCredentialsRequestOrderBy = "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc" | "name_asc" | "name_desc";
|
|
100
|
+
export interface ListSnsCredentialsRequest {
|
|
101
|
+
/** The region you want to target */
|
|
102
|
+
region?: ListSnsCredentialsRequestRegion | (string & {}) | undefined;
|
|
103
|
+
/** Include only Topics and Events credentials in this Project. */
|
|
104
|
+
project_id?: string | undefined;
|
|
105
|
+
/** Page number to return. */
|
|
106
|
+
page?: number | undefined;
|
|
107
|
+
/** Maximum number of credentials to return per page. */
|
|
108
|
+
page_size?: number | undefined;
|
|
109
|
+
/** Order in which to return results. */
|
|
110
|
+
order_by?: ListSnsCredentialsRequestOrderBy | (string & {}) | undefined;
|
|
111
|
+
}
|
|
112
|
+
/** Topics and Events credentials on this page. */
|
|
113
|
+
export type ListSnsCredentialsResponseSnsCredentialsList = Array<SnsCredentials>;
|
|
114
|
+
export interface ListSnsCredentialsResponse {
|
|
115
|
+
/** Total count of existing credentials (matching any filters specified). */
|
|
116
|
+
total_count?: number | undefined;
|
|
117
|
+
/** Topics and Events credentials on this page. */
|
|
118
|
+
sns_credentials: ListSnsCredentialsResponseSnsCredentialsList;
|
|
119
|
+
}
|
|
120
|
+
export type UpdateSnsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
121
|
+
export interface UpdateSnsCredentialsRequest {
|
|
122
|
+
/** The region you want to target */
|
|
123
|
+
region?: UpdateSnsCredentialsRequestRegion | (string & {}) | undefined;
|
|
124
|
+
/** ID of the Topics and Events credentials to update. */
|
|
125
|
+
sns_credentials_id: string;
|
|
126
|
+
/** Name of the credentials. */
|
|
127
|
+
name?: string | null | undefined;
|
|
128
|
+
/** Permissions associated with these credentials. */
|
|
129
|
+
permissions?: SnsPermissions | undefined;
|
|
130
|
+
}
|
|
131
|
+
export type ActivateSnsError = ScalewayOpError;
|
|
132
|
+
/** Activate Topics and Events Activate Topics and Events for the specified Project ID. Topics and Events must be activated before any usage. Activating Topics and Events does not trigger any billing, and you can deactivate at any time. */
|
|
133
|
+
export declare const activateSns: API.OperationMethod<ActivateSnsRequest, SnsInfo, ActivateSnsError, ScalewayOpContext>;
|
|
134
|
+
export type CreateSnsCredentialsError = ScalewayOpError;
|
|
135
|
+
/** Create Topics and Events credentials Create a set of credentials for Topics and Events, specified by a Project ID. Credentials give the bearer access to topics, and the level of permissions can be defined granularly. */
|
|
136
|
+
export declare const createSnsCredentials: API.OperationMethod<CreateSnsCredentialsRequest, SnsCredentials, CreateSnsCredentialsError, ScalewayOpContext>;
|
|
137
|
+
export type DeactivateSnsError = ScalewayOpError;
|
|
138
|
+
/** Deactivate Topics and Events Deactivate Topics and Events for the specified Project ID. You must delete all topics and credentials before this call or you need to set the force_delete parameter. */
|
|
139
|
+
export declare const deactivateSns: API.OperationMethod<DeactivateSnsRequest, SnsInfo, DeactivateSnsError, ScalewayOpContext>;
|
|
140
|
+
export type DeleteSnsCredentialsError = ScalewayOpError;
|
|
141
|
+
/** Delete Topics and Events credentials Delete a set of Topics and Events credentials, specified by their credentials ID. Deleting credentials is irreversible and cannot be undone. The credentials can then no longer be used to access Topics and Events. */
|
|
142
|
+
export declare const deleteSnsCredentials: API.OperationMethod<DeleteSnsCredentialsRequest, DeleteSnsCredentialsResponse, DeleteSnsCredentialsError, ScalewayOpContext>;
|
|
143
|
+
export type GetSnsCredentialsError = ScalewayOpError;
|
|
144
|
+
/** Get Topics and Events credentials Retrieve an existing set of credentials, identified by the `credentials_id`. The credentials themselves, as well as their metadata (name, project ID etc), are returned in the response. */
|
|
145
|
+
export declare const getSnsCredentials: API.OperationMethod<GetSnsCredentialsRequest, SnsCredentials, GetSnsCredentialsError, ScalewayOpContext>;
|
|
146
|
+
export type GetSnsInfoError = ScalewayOpError;
|
|
147
|
+
/** Get Topics and Events info Retrieve the Topics and Events information of the specified Project ID. information include the activation status and the Topics and Events API endpoint URL. */
|
|
148
|
+
export declare const getSnsInfo: API.OperationMethod<GetSnsInfoRequest, SnsInfo, GetSnsInfoError, ScalewayOpContext>;
|
|
149
|
+
export type ListSnsCredentialsError = ScalewayOpError;
|
|
150
|
+
/** List Topics and Events credentials List existing Topics and Events credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves. */
|
|
151
|
+
export declare const listSnsCredentials: API.PaginatedOperationMethod<ListSnsCredentialsRequest, ListSnsCredentialsResponse, ListSnsCredentialsError, ScalewayOpContext, SnsCredentials>;
|
|
152
|
+
export type UpdateSnsCredentialsError = ScalewayOpError;
|
|
153
|
+
/** Update Topics and Events credentials Update a set of Topics and Events credentials. You can update the credentials' name, or their permissions. */
|
|
154
|
+
export declare const updateSnsCredentials: API.OperationMethod<UpdateSnsCredentialsRequest, SnsCredentials, UpdateSnsCredentialsError, ScalewayOpContext>;
|
|
155
|
+
//# sourceMappingURL=mnq_sns_v1beta1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnq_sns_v1beta1.d.ts","sources":["../../src/unstable-services/mnq_sns_v1beta1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAIjD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAGjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC3D,MAAM,WAAW,kBAAkB;IACjC,oCAAoC;IACpC,MAAM,CAAC,EAAE,wBAAwB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;IAC9D,kEAAkE;IAClE,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,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,cAAc,EACd,sBAAsB,EACtB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC;AAC9C,+LAA+L;AAC/L,eAAO,MAAM,UAAU,EAAE,GAAG,CAAC,eAAe,CAC1C,iBAAiB,EACjB,OAAO,EACP,eAAe,EACf,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC;AACtD,2MAA2M;AAC3M,eAAO,MAAM,kBAAkB,EAAE,GAAG,CAAC,wBAAwB,CAC3D,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,EACvB,iBAAiB,EACjB,cAAc,CAoBR,CAAC;AAET,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC;AACxD,sJAAsJ;AACtJ,eAAO,MAAM,oBAAoB,EAAE,GAAG,CAAC,eAAe,CACpD,2BAA2B,EAC3B,cAAc,EACd,yBAAyB,EACzB,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,traits$SensitiveValue as x}from"../_bundle/sdk.js";const S={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:`MnqSnsV1beta1`,labels:`scaleway`,propagate:`w3c`};const C=/*@__PURE__*/ u(e=>e===n?l(`ActivateSns`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),project_id:$4($3)}).pipe($1({method:"POST",uri:"/mnq/v1beta1/regions/{region}/activate-sns",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d0,o,m,h,S]):r(C,e));const w=/*@__PURE__*/ u(e=>e===n?l(`CreateSnsCredentials`,`{input:#1,output:#5:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$7(>2)@"%Request";$6({region:$4($3.pipe($2())),project_id:$3,name:$4($3),permissions:$4(#5:0)}).pipe($1({method:"POST",uri:"/mnq/v1beta1/regions/{region}/sns-credentials",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,__d1,c,_,o,m,h,S]):r(w,e));const T=/*@__PURE__*/ u(e=>e===n?l(`DeactivateSns`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),project_id:$4($3)}).pipe($1({method:"POST",uri:"/mnq/v1beta1/regions/{region}/deactivate-sns",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d0,o,m,h,S]):r(T,e));const E=/*@__PURE__*/ u(e=>e===n?l(`DeleteSnsCredentials`,`{input:#1,output:#2,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({region:$4($3.pipe($2())),sns_credentials_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/mnq/v1beta1/regions/{region}/sns-credentials/{sns_credentials_id}",code:200,baseUrl:"https://api.scaleway.com"}));$5({})`,[d,v,y,s,g,c,_,o,m,h,S]):r(E,e));const D=/*@__PURE__*/ u(e=>e===n?l(`GetSnsCredentials`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),sns_credentials_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/mnq/v1beta1/regions/{region}/sns-credentials/{sns_credentials_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d1,o,m,h,S]):r(D,e));const O=/*@__PURE__*/ u(e=>e===n?l(`GetSnsInfo`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$4($3.pipe($2())),project_id:$3.pipe($5())}).pipe($1({method:"GET",uri:"/mnq/v1beta1/regions/{region}/sns-info",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,b,c,_,__d0,o,m,h,S]):r(O,e));const k=/*@__PURE__*/ f(t=>t===n?l(`ListSnsCredentials`,`{input:#1,output:#3,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"sns_credentials",pageSize:"page_size"},strategy:$15};$8(>4)@"%Request";$10(#9:1);$8(>5)@"%Response";$7({region:$4($3.pipe($2())),project_id:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),order_by:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/mnq/v1beta1/regions/{region}/sns-credentials",code:200,baseUrl:"https://api.scaleway.com"}));$7({total_count:$4($6),sns_credentials:#2})`,[d,v,y,s,g,b,a,c,_,__d1,e,o,m,h,S,p]):r(k,t));const A=/*@__PURE__*/ u(e=>e===n?l(`UpdateSnsCredentials`,`{input:#1,output:#6:1,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$8(>2)@"%Request";$7({region:$4($3.pipe($2())),sns_credentials_id:$3.pipe($2()),name:$4($5($3)),permissions:$4(#6:0)}).pipe($1({method:"PATCH",uri:"/mnq/v1beta1/regions/{region}/sns-credentials/{sns_credentials_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,i,__d1,c,_,o,m,h,S]):r(A,e));function __d0(){return[`$5(>1)@"SnsInfo";$4({project_id:$2($1),region:$2($1),created_at:$2($3($1)),updated_at:$2($3($1)),status:$2($1),sns_endpoint_url:$2($1)})`,[d,s,g,i,c,_]]}function __d1(){return[`$5(>2)@"SnsPermissions";$5(>3)@"SnsCredentials";$4({can_publish:$3($2($1)),can_receive:$3($2($1)),can_manage:$3($2($1))});$4({id:$3($6),name:$3($6),project_id:$3($6),region:$3($6),created_at:$3($2($6)),updated_at:$3($2($6)),access_key:$3($6),secret_key:$3($6.pipe($7({}))),secret_checksum:$3($6),permissions:$3(#0)})`,[d,t,i,g,c,_,s,x]]}export{C as activateSns,w as createSnsCredentials,T as deactivateSns,E as deleteSnsCredentials,D as getSnsCredentials,O as getSnsInfo,k as listSnsCredentials,A as updateSnsCredentials};
|
|
2
|
+
//# sourceMappingURL=mnq_sns_v1beta1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnq_sns_v1beta1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","T.Query","S.Number","S.Array","S.NullOr","S.Boolean","T.SensitiveValue","Array","Boolean","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","SensitiveValue","TELEMETRY","activateSns","i","named","createSnsCredentials","deactivateSns","deleteSnsCredentials","getSnsCredentials","getSnsInfo","listSnsCredentials","updateSnsCredentials"],"sources":["../../src/unstable-services/mnq_sns_v1beta1.ts"],"mappings":"4UAcA,MAAMsC,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,gBACT,OAAQ,WACR,UAAW,KACb,EAuIA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMxC,EAAQC,EAAU,cAAe,2RAA4R,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAW,KAAMe,EAAuB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C,EAAUC,EAAYK,EAASC,EAAUL,EAAUC,EAAW,KAAMK,EAASU,EAAuBO,EAAkBrB,EAAa6B,EAAWT,CAAoB,CAAC,EAAInB,EAASqC,EAAoBP,CAAC,CAAC,EAIh4B,MAAaQ,EAKK,gBAAQ,GAAgBR,IAAMxC,EAAQC,EAAU,uBAAwB,yWAA0W,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYQ,EAAU,KAAMP,EAAUC,EAAWe,EAAuBO,EAAkBrB,EAAa6B,CAAS,CAAC,EAAI5B,EAASsC,EAAsBR,CAAC,CAAC,EAM9nB,SAAS,MAAY,CACnB,MAAO,CAAC,2IAA4I,CAACtC,EAAQG,EAAUC,EAAYQ,EAAUP,EAAUC,CAAS,CAAC,CACnN,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,+TAAgU,CAACN,EAAQa,EAAWD,EAAUR,EAAYC,EAAUC,EAAWH,EAAUW,CAAgB,CAAC,CACpa"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import type * as Redacted from "effect/Redacted";
|
|
3
|
+
import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
4
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
5
|
+
export type ActivateSqsRequestRegion = "fr-par" | "nl-ams";
|
|
6
|
+
export interface ActivateSqsRequest {
|
|
7
|
+
/** The region you want to target */
|
|
8
|
+
region?: ActivateSqsRequestRegion | (string & {}) | undefined;
|
|
9
|
+
/** Project on which to activate the Queues service. */
|
|
10
|
+
project_id?: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
export type SqsInfoStatus = "unknown_status" | "enabled" | "disabled";
|
|
13
|
+
export interface SqsInfo {
|
|
14
|
+
/** Project ID of the Project containing the service. */
|
|
15
|
+
project_id?: string | undefined;
|
|
16
|
+
/** Region of the service. */
|
|
17
|
+
region?: string | undefined;
|
|
18
|
+
/** Queues creation date. (RFC 3339 format) */
|
|
19
|
+
created_at?: string | null | undefined;
|
|
20
|
+
/** Queues last modification date. (RFC 3339 format) */
|
|
21
|
+
updated_at?: string | null | undefined;
|
|
22
|
+
/** Queues activation status. */
|
|
23
|
+
status?: SqsInfoStatus | undefined;
|
|
24
|
+
/** Endpoint of the Queues service for this region and project. */
|
|
25
|
+
sqs_endpoint_url?: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
export type CreateSqsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
28
|
+
export interface SqsPermissions {
|
|
29
|
+
/** Defines whether the credentials bearer can publish messages to the service (send messages to Queues queues). */
|
|
30
|
+
can_publish?: boolean | null | undefined;
|
|
31
|
+
/** Defines whether the credentials bearer can receive messages from Queues queues. */
|
|
32
|
+
can_receive?: boolean | null | undefined;
|
|
33
|
+
/** Defines whether the credentials bearer can manage the associated Queues queues. */
|
|
34
|
+
can_manage?: boolean | null | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface CreateSqsCredentialsRequest {
|
|
37
|
+
/** The region you want to target */
|
|
38
|
+
region?: CreateSqsCredentialsRequestRegion | (string & {}) | undefined;
|
|
39
|
+
/** Project containing the Queues credentials. */
|
|
40
|
+
project_id: string;
|
|
41
|
+
/** Name of the credentials. */
|
|
42
|
+
name?: string | undefined;
|
|
43
|
+
/** Permissions associated with these credentials. */
|
|
44
|
+
permissions?: SqsPermissions | undefined;
|
|
45
|
+
}
|
|
46
|
+
export interface SqsCredentials {
|
|
47
|
+
/** ID of the credentials. */
|
|
48
|
+
id?: string | undefined;
|
|
49
|
+
/** Name of the credentials. */
|
|
50
|
+
name?: string | undefined;
|
|
51
|
+
/** Project ID of the Project containing the credentials. */
|
|
52
|
+
project_id?: string | undefined;
|
|
53
|
+
/** Region where the credentials exists. */
|
|
54
|
+
region?: string | undefined;
|
|
55
|
+
/** Credentials creation date. (RFC 3339 format) */
|
|
56
|
+
created_at?: string | null | undefined;
|
|
57
|
+
/** Credentials last modification date. (RFC 3339 format) */
|
|
58
|
+
updated_at?: string | null | undefined;
|
|
59
|
+
/** Access key ID. */
|
|
60
|
+
access_key?: string | undefined;
|
|
61
|
+
/** Secret key ID (Only returned by **Create Queues Credentials** call). */
|
|
62
|
+
secret_key?: string | Redacted.Redacted<string> | undefined;
|
|
63
|
+
/** Checksum of the Secret key. */
|
|
64
|
+
secret_checksum?: string | undefined;
|
|
65
|
+
/** Permissions associated with these credentials. */
|
|
66
|
+
permissions?: SqsPermissions | undefined;
|
|
67
|
+
}
|
|
68
|
+
export type DeactivateSqsRequestRegion = "fr-par" | "nl-ams";
|
|
69
|
+
export interface DeactivateSqsRequest {
|
|
70
|
+
/** The region you want to target */
|
|
71
|
+
region?: DeactivateSqsRequestRegion | (string & {}) | undefined;
|
|
72
|
+
/** Project on which to deactivate the Queues service. */
|
|
73
|
+
project_id?: string | undefined;
|
|
74
|
+
}
|
|
75
|
+
export type DeleteSqsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
76
|
+
export interface DeleteSqsCredentialsRequest {
|
|
77
|
+
/** The region you want to target */
|
|
78
|
+
region?: DeleteSqsCredentialsRequestRegion | (string & {}) | undefined;
|
|
79
|
+
/** ID of the credentials to delete. */
|
|
80
|
+
sqs_credentials_id: string;
|
|
81
|
+
}
|
|
82
|
+
export interface DeleteSqsCredentialsResponse {
|
|
83
|
+
}
|
|
84
|
+
export type GetSqsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
85
|
+
export interface GetSqsCredentialsRequest {
|
|
86
|
+
/** The region you want to target */
|
|
87
|
+
region?: GetSqsCredentialsRequestRegion | (string & {}) | undefined;
|
|
88
|
+
/** ID of the Queues credentials to get. */
|
|
89
|
+
sqs_credentials_id: string;
|
|
90
|
+
}
|
|
91
|
+
export type GetSqsInfoRequestRegion = "fr-par" | "nl-ams";
|
|
92
|
+
export interface GetSqsInfoRequest {
|
|
93
|
+
/** The region you want to target */
|
|
94
|
+
region?: GetSqsInfoRequestRegion | (string & {}) | undefined;
|
|
95
|
+
/** Project to retrieve Queues info from. */
|
|
96
|
+
project_id: string;
|
|
97
|
+
}
|
|
98
|
+
export type ListSqsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
99
|
+
export type ListSqsCredentialsRequestOrderBy = "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc" | "name_asc" | "name_desc";
|
|
100
|
+
export interface ListSqsCredentialsRequest {
|
|
101
|
+
/** The region you want to target */
|
|
102
|
+
region?: ListSqsCredentialsRequestRegion | (string & {}) | undefined;
|
|
103
|
+
/** Include only Queues credentials in this Project. */
|
|
104
|
+
project_id?: string | undefined;
|
|
105
|
+
/** Page number to return. */
|
|
106
|
+
page?: number | undefined;
|
|
107
|
+
/** Maximum number of credentials to return per page. */
|
|
108
|
+
page_size?: number | undefined;
|
|
109
|
+
/** Order in which to return results. */
|
|
110
|
+
order_by?: ListSqsCredentialsRequestOrderBy | (string & {}) | undefined;
|
|
111
|
+
}
|
|
112
|
+
/** Queues credentials on this page. */
|
|
113
|
+
export type ListSqsCredentialsResponseSqsCredentialsList = Array<SqsCredentials>;
|
|
114
|
+
export interface ListSqsCredentialsResponse {
|
|
115
|
+
/** Total count of existing credentials (matching any filters specified). */
|
|
116
|
+
total_count?: number | undefined;
|
|
117
|
+
/** Queues credentials on this page. */
|
|
118
|
+
sqs_credentials: ListSqsCredentialsResponseSqsCredentialsList;
|
|
119
|
+
}
|
|
120
|
+
export type UpdateSqsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
121
|
+
export interface UpdateSqsCredentialsRequest {
|
|
122
|
+
/** The region you want to target */
|
|
123
|
+
region?: UpdateSqsCredentialsRequestRegion | (string & {}) | undefined;
|
|
124
|
+
/** ID of the Queues credentials to update. */
|
|
125
|
+
sqs_credentials_id: string;
|
|
126
|
+
/** Name of the credentials. */
|
|
127
|
+
name?: string | null | undefined;
|
|
128
|
+
/** Permissions associated with these credentials. */
|
|
129
|
+
permissions?: SqsPermissions | undefined;
|
|
130
|
+
}
|
|
131
|
+
export type ActivateSqsError = ScalewayOpError;
|
|
132
|
+
/** Activate Queues Activate Queues for the specified Project ID. Queues must be activated before any usage such as creating credentials and queues. Activating Queues does not trigger any billing, and you can deactivate at any time. */
|
|
133
|
+
export declare const activateSqs: API.OperationMethod<ActivateSqsRequest, SqsInfo, ActivateSqsError, ScalewayOpContext>;
|
|
134
|
+
export type CreateSqsCredentialsError = ScalewayOpError;
|
|
135
|
+
/** Create Queues credentials Create a set of credentials for Queues, specified by a Project ID. Credentials give the bearer access to queues, and the level of permissions can be defined granularly. */
|
|
136
|
+
export declare const createSqsCredentials: API.OperationMethod<CreateSqsCredentialsRequest, SqsCredentials, CreateSqsCredentialsError, ScalewayOpContext>;
|
|
137
|
+
export type DeactivateSqsError = ScalewayOpError;
|
|
138
|
+
/** Deactivate Queues Deactivate Queues for the specified Project ID. You must delete all queues and credentials before this call or you need to set the force_delete parameter. */
|
|
139
|
+
export declare const deactivateSqs: API.OperationMethod<DeactivateSqsRequest, SqsInfo, DeactivateSqsError, ScalewayOpContext>;
|
|
140
|
+
export type DeleteSqsCredentialsError = ScalewayOpError;
|
|
141
|
+
/** Delete Queues credentials Delete a set of Queues credentials, specified by their credentials ID. Deleting credentials is irreversible and cannot be undone. The credentials can then no longer be used to access Queues. */
|
|
142
|
+
export declare const deleteSqsCredentials: API.OperationMethod<DeleteSqsCredentialsRequest, DeleteSqsCredentialsResponse, DeleteSqsCredentialsError, ScalewayOpContext>;
|
|
143
|
+
export type GetSqsCredentialsError = ScalewayOpError;
|
|
144
|
+
/** Get Queues credentials Retrieve an existing set of credentials, identified by the `credentials_id`. The credentials themselves, as well as their metadata (name, project ID etc), are returned in the response. */
|
|
145
|
+
export declare const getSqsCredentials: API.OperationMethod<GetSqsCredentialsRequest, SqsCredentials, GetSqsCredentialsError, ScalewayOpContext>;
|
|
146
|
+
export type GetSqsInfoError = ScalewayOpError;
|
|
147
|
+
/** Get Queues info Retrieve the Queues information of the specified Project ID. information include the activation status and the Queues API endpoint URL. */
|
|
148
|
+
export declare const getSqsInfo: API.OperationMethod<GetSqsInfoRequest, SqsInfo, GetSqsInfoError, ScalewayOpContext>;
|
|
149
|
+
export type ListSqsCredentialsError = ScalewayOpError;
|
|
150
|
+
/** List Queues credentials List existing Queues credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves. */
|
|
151
|
+
export declare const listSqsCredentials: API.PaginatedOperationMethod<ListSqsCredentialsRequest, ListSqsCredentialsResponse, ListSqsCredentialsError, ScalewayOpContext, SqsCredentials>;
|
|
152
|
+
export type UpdateSqsCredentialsError = ScalewayOpError;
|
|
153
|
+
/** Update Queues credentials Update a set of Queues credentials. You can update the credentials' name, or their permissions. */
|
|
154
|
+
export declare const updateSqsCredentials: API.OperationMethod<UpdateSqsCredentialsRequest, SqsCredentials, UpdateSqsCredentialsError, ScalewayOpContext>;
|
|
155
|
+
//# sourceMappingURL=mnq_sqs_v1beta1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnq_sqs_v1beta1.d.ts","sources":["../../src/unstable-services/mnq_sqs_v1beta1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAIjD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAGjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC3D,MAAM,WAAW,kBAAkB;IACjC,oCAAoC;IACpC,MAAM,CAAC,EAAE,wBAAwB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;IAC9D,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC;AACD,MAAM,MAAM,aAAa,GAAG,gBAAgB,GAAG,SAAS,GAAG,UAAU,CAAC;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AAe,CAAC;AAC9C,8JAA8J;AAC9J,eAAO,MAAM,UAAU,EAAE,GAAG,CAAC,eAAe,CAC1C,iBAAiB,EACjB,OAAO,EACP,eAAe,EACf,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC;AACtD,qLAAqL;AACrL,eAAO,MAAM,kBAAkB,EAAE,GAAG,CAAC,wBAAwB,CAC3D,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,EACvB,iBAAiB,EACjB,cAAc,CAoBR,CAAC;AAET,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC;AACxD,gIAAgI;AAChI,eAAO,MAAM,oBAAoB,EAAE,GAAG,CAAC,eAAe,CACpD,2BAA2B,EAC3B,cAAc,EACd,yBAAyB,EACzB,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,traits$SensitiveValue as x}from"../_bundle/sdk.js";const S={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:`MnqSqsV1beta1`,labels:`scaleway`,propagate:`w3c`};const C=/*@__PURE__*/ u(e=>e===n?l(`ActivateSqs`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),project_id:$4($3)}).pipe($1({method:"POST",uri:"/mnq/v1beta1/regions/{region}/activate-sqs",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d0,o,m,h,S]):r(C,e));const w=/*@__PURE__*/ u(e=>e===n?l(`CreateSqsCredentials`,`{input:#1,output:#5:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$7(>2)@"%Request";$6({region:$4($3.pipe($2())),project_id:$3,name:$4($3),permissions:$4(#5:0)}).pipe($1({method:"POST",uri:"/mnq/v1beta1/regions/{region}/sqs-credentials",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,__d1,c,_,o,m,h,S]):r(w,e));const T=/*@__PURE__*/ u(e=>e===n?l(`DeactivateSqs`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),project_id:$4($3)}).pipe($1({method:"POST",uri:"/mnq/v1beta1/regions/{region}/deactivate-sqs",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d0,o,m,h,S]):r(T,e));const E=/*@__PURE__*/ u(e=>e===n?l(`DeleteSqsCredentials`,`{input:#1,output:#2,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({region:$4($3.pipe($2())),sqs_credentials_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/mnq/v1beta1/regions/{region}/sqs-credentials/{sqs_credentials_id}",code:200,baseUrl:"https://api.scaleway.com"}));$5({})`,[d,v,y,s,g,c,_,o,m,h,S]):r(E,e));const D=/*@__PURE__*/ u(e=>e===n?l(`GetSqsCredentials`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),sqs_credentials_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/mnq/v1beta1/regions/{region}/sqs-credentials/{sqs_credentials_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,c,_,__d1,o,m,h,S]):r(D,e));const O=/*@__PURE__*/ u(e=>e===n?l(`GetSqsInfo`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$4($3.pipe($2())),project_id:$3.pipe($5())}).pipe($1({method:"GET",uri:"/mnq/v1beta1/regions/{region}/sqs-info",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,b,c,_,__d0,o,m,h,S]):r(O,e));const k=/*@__PURE__*/ f(t=>t===n?l(`ListSqsCredentials`,`{input:#1,output:#3,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"sqs_credentials",pageSize:"page_size"},strategy:$15};$8(>4)@"%Request";$10(#9:1);$8(>5)@"%Response";$7({region:$4($3.pipe($2())),project_id:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),order_by:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/mnq/v1beta1/regions/{region}/sqs-credentials",code:200,baseUrl:"https://api.scaleway.com"}));$7({total_count:$4($6),sqs_credentials:#2})`,[d,v,y,s,g,b,a,c,_,__d1,e,o,m,h,S,p]):r(k,t));const A=/*@__PURE__*/ u(e=>e===n?l(`UpdateSqsCredentials`,`{input:#1,output:#6:1,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$8(>2)@"%Request";$7({region:$4($3.pipe($2())),sqs_credentials_id:$3.pipe($2()),name:$4($5($3)),permissions:$4(#6:0)}).pipe($1({method:"PATCH",uri:"/mnq/v1beta1/regions/{region}/sqs-credentials/{sqs_credentials_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,s,g,i,__d1,c,_,o,m,h,S]):r(A,e));function __d0(){return[`$5(>1)@"SqsInfo";$4({project_id:$2($1),region:$2($1),created_at:$2($3($1)),updated_at:$2($3($1)),status:$2($1),sqs_endpoint_url:$2($1)})`,[d,s,g,i,c,_]]}function __d1(){return[`$5(>2)@"SqsPermissions";$5(>3)@"SqsCredentials";$4({can_publish:$3($2($1)),can_receive:$3($2($1)),can_manage:$3($2($1))});$4({id:$3($6),name:$3($6),project_id:$3($6),region:$3($6),created_at:$3($2($6)),updated_at:$3($2($6)),access_key:$3($6),secret_key:$3($6.pipe($7({}))),secret_checksum:$3($6),permissions:$3(#0)})`,[d,t,i,g,c,_,s,x]]}export{C as activateSqs,w as createSqsCredentials,T as deactivateSqs,E as deleteSqsCredentials,D as getSqsCredentials,O as getSqsInfo,k as listSqsCredentials,A as updateSqsCredentials};
|
|
2
|
+
//# sourceMappingURL=mnq_sqs_v1beta1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mnq_sqs_v1beta1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","T.Query","S.Number","S.Array","S.NullOr","S.Boolean","T.SensitiveValue","Array","Boolean","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","SensitiveValue","TELEMETRY","activateSqs","i","named","createSqsCredentials","deactivateSqs","deleteSqsCredentials","getSqsCredentials","getSqsInfo","listSqsCredentials","updateSqsCredentials"],"sources":["../../src/unstable-services/mnq_sqs_v1beta1.ts"],"mappings":"4UAcA,MAAMsC,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,gBACT,OAAQ,WACR,UAAW,KACb,EAuIA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMxC,EAAQC,EAAU,cAAe,2RAA4R,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAW,KAAMe,EAAuBO,EAAkBrB,EAAa6B,CAAS,CAAC,EAAI5B,EAAS6B,EAA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