@distilled.cloud/scaleway 0.0.0 → 1.0.0-rc.22
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 +640 -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 +1755 -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 +479 -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 +947 -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 +2137 -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 +5395 -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 +1113 -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,1654 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-scaleway). Do not edit.
|
|
3
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
4
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import { ScalewayServiceErrors } from "../errors.ts";
|
|
6
|
+
import { paginateByTotalCount } from "../pagination.ts";
|
|
7
|
+
import { ScalewayProtocol, type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
8
|
+
import * as Retry from "../retry.ts";
|
|
9
|
+
import * as T from "../traits.ts";
|
|
10
|
+
// Schema table, filled on first reach (see __S at the end).
|
|
11
|
+
const __s: any[] = [];
|
|
12
|
+
|
|
13
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
14
|
+
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "scaleway-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "Scaleway",
|
|
23
|
+
service: "DediboxRpnV2V1",
|
|
24
|
+
labels: "scaleway",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
/** A collection of server IDs. */
|
|
29
|
+
export type AddRpnV2MembersRequestServersList = Array<number>;
|
|
30
|
+
export interface AddRpnV2MembersRequest {
|
|
31
|
+
/** RPN V2 group ID. */
|
|
32
|
+
group_id: number;
|
|
33
|
+
/** A collection of server IDs. */
|
|
34
|
+
servers: AddRpnV2MembersRequestServersList;
|
|
35
|
+
}
|
|
36
|
+
export interface AddRpnV2MembersResponse {}
|
|
37
|
+
export type RpnV2GroupType = "unknown_type" | "standard" | "qinq";
|
|
38
|
+
/** A collection of server IDs. */
|
|
39
|
+
export type CreateRpnV2GroupRequestServersList = Array<number>;
|
|
40
|
+
export interface CreateRpnV2GroupRequest {
|
|
41
|
+
/** Project ID of the RPN V2 group. */
|
|
42
|
+
project_id?: string | undefined;
|
|
43
|
+
/** RPN V2 group type (qing / standard). */
|
|
44
|
+
type?: RpnV2GroupType | (string & {}) | undefined;
|
|
45
|
+
/** RPN V2 group name. */
|
|
46
|
+
name: string;
|
|
47
|
+
/** A collection of server IDs. */
|
|
48
|
+
servers: CreateRpnV2GroupRequestServersList;
|
|
49
|
+
}
|
|
50
|
+
export type RpnV2GroupStatus =
|
|
51
|
+
| "unknown_group_status"
|
|
52
|
+
| "creating"
|
|
53
|
+
| "active"
|
|
54
|
+
| "updating"
|
|
55
|
+
| "deleting";
|
|
56
|
+
export interface RpnV2GroupSubnet {
|
|
57
|
+
address?: string | undefined;
|
|
58
|
+
cidr?: number | undefined;
|
|
59
|
+
}
|
|
60
|
+
export type RpnGroupType = "unknown" | "local" | "shared";
|
|
61
|
+
export interface RpnGroup {
|
|
62
|
+
/** Rpn group member ID. */
|
|
63
|
+
id?: number | undefined;
|
|
64
|
+
/** Rpn group name. */
|
|
65
|
+
name?: string | undefined;
|
|
66
|
+
/** Rpn group type (local or shared). */
|
|
67
|
+
type?: RpnGroupType | undefined;
|
|
68
|
+
/** Whether the group is active or not. */
|
|
69
|
+
active?: boolean | undefined;
|
|
70
|
+
/** Rpn group creation date. */
|
|
71
|
+
created_at?: string | undefined;
|
|
72
|
+
/** RPN group owner. */
|
|
73
|
+
owner?: string | undefined;
|
|
74
|
+
/** Total number of members. */
|
|
75
|
+
members_count?: number | undefined;
|
|
76
|
+
/** Rpn group organization ID. */
|
|
77
|
+
organization_id?: string | undefined;
|
|
78
|
+
/** Rpn group project ID. */
|
|
79
|
+
project_id?: string | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface RpnV2Group {
|
|
82
|
+
/** RPN V2 group ID. */
|
|
83
|
+
id?: number | undefined;
|
|
84
|
+
/** RPN V2 group name. */
|
|
85
|
+
name?: string | undefined;
|
|
86
|
+
/** Whether or not the RPN V1 compatibility was enabled. */
|
|
87
|
+
compatible_rpnv1?: boolean | undefined;
|
|
88
|
+
/** Organization ID of the RPN V2 group. */
|
|
89
|
+
organization_id?: string | undefined;
|
|
90
|
+
/** Project ID of the RPN V2 group. */
|
|
91
|
+
project_id?: string | undefined;
|
|
92
|
+
/** RPN V2 group type (qing / standard). */
|
|
93
|
+
type?: RpnV2GroupType | undefined;
|
|
94
|
+
/** RPN V2 group status. */
|
|
95
|
+
status?: RpnV2GroupStatus | undefined;
|
|
96
|
+
/** RPN V2 group owner. */
|
|
97
|
+
owner?: string | undefined;
|
|
98
|
+
/** Total number of members. */
|
|
99
|
+
members_count?: number | undefined;
|
|
100
|
+
/** RPN V2 subnet. */
|
|
101
|
+
subnet?: RpnV2GroupSubnet | undefined;
|
|
102
|
+
/** RPN V2 gateway. */
|
|
103
|
+
gateway?: string | undefined;
|
|
104
|
+
/** The RPNv1 group (if the compatibility was enabled). */
|
|
105
|
+
rpnv1_group?: RpnGroup | undefined;
|
|
106
|
+
}
|
|
107
|
+
export interface DeleteRpnV2GroupRequest {
|
|
108
|
+
/** RPN V2 group ID. */
|
|
109
|
+
group_id: number;
|
|
110
|
+
}
|
|
111
|
+
export interface DeleteRpnV2GroupResponse {}
|
|
112
|
+
/** A collection of member IDs. */
|
|
113
|
+
export type DeleteRpnV2MembersRequestMemberIdsList = Array<number>;
|
|
114
|
+
export interface DeleteRpnV2MembersRequest {
|
|
115
|
+
/** RPN V2 group ID. */
|
|
116
|
+
group_id: number;
|
|
117
|
+
/** A collection of member IDs. */
|
|
118
|
+
member_ids: DeleteRpnV2MembersRequestMemberIdsList;
|
|
119
|
+
}
|
|
120
|
+
export interface DeleteRpnV2MembersResponse {}
|
|
121
|
+
export interface DisableRpnV2GroupCompatibilityRequest {
|
|
122
|
+
/** RPN V2 group ID. */
|
|
123
|
+
group_id: number;
|
|
124
|
+
}
|
|
125
|
+
export interface DisableRpnV2GroupCompatibilityResponse {}
|
|
126
|
+
export interface EnableRpnV2GroupCompatibilityRequest {
|
|
127
|
+
/** RPN V2 group ID. */
|
|
128
|
+
group_id: number;
|
|
129
|
+
/** RPN V1 group ID. */
|
|
130
|
+
rpnv1_group_id: number;
|
|
131
|
+
}
|
|
132
|
+
export interface EnableRpnV2GroupCompatibilityResponse {}
|
|
133
|
+
export interface GetRpnV2GroupRequest {
|
|
134
|
+
/** RPN V2 group ID. */
|
|
135
|
+
group_id: number;
|
|
136
|
+
}
|
|
137
|
+
export type ListRpnV2CapableResourcesRequestOrderBy = "created_at_asc" | "created_at_desc";
|
|
138
|
+
export interface ListRpnV2CapableResourcesRequest {
|
|
139
|
+
/** Order of the rpn v2 capable resources. */
|
|
140
|
+
order_by?: ListRpnV2CapableResourcesRequestOrderBy | (string & {}) | undefined;
|
|
141
|
+
/** Page number. */
|
|
142
|
+
page?: number | undefined;
|
|
143
|
+
/** Number of rpn v2 capable resources per page. */
|
|
144
|
+
page_size?: number | undefined;
|
|
145
|
+
/** Filter rpn v2 capable resources by project ID. */
|
|
146
|
+
project_id?: string | undefined;
|
|
147
|
+
}
|
|
148
|
+
export type OfferCatalog =
|
|
149
|
+
| "all"
|
|
150
|
+
| "default"
|
|
151
|
+
| "beta"
|
|
152
|
+
| "reseller"
|
|
153
|
+
| "premium"
|
|
154
|
+
| "volume"
|
|
155
|
+
| "admin"
|
|
156
|
+
| "inactive";
|
|
157
|
+
export type OfferPaymentFrequency = "monthly" | "oneshot";
|
|
158
|
+
export interface GoogleTypeMoney {
|
|
159
|
+
currency_code?: string | undefined;
|
|
160
|
+
units?: number | undefined;
|
|
161
|
+
nanos?: number | undefined;
|
|
162
|
+
}
|
|
163
|
+
export type OfferServerInfoStock = "empty" | "low" | "available";
|
|
164
|
+
export type ServerDiskType = "sata" | "ssd" | "sas" | "sshd" | "usb" | "nvme";
|
|
165
|
+
export interface Disk {
|
|
166
|
+
/** Capacity of the disk. */
|
|
167
|
+
capacity?: number | undefined;
|
|
168
|
+
/** Type of the disk. */
|
|
169
|
+
type?: ServerDiskType | undefined;
|
|
170
|
+
}
|
|
171
|
+
export type OfferServerInfoDisksList = Array<Disk>;
|
|
172
|
+
export interface CPU {
|
|
173
|
+
/** Name of CPU. */
|
|
174
|
+
name?: string | undefined;
|
|
175
|
+
/** Number of cores of the CPU. */
|
|
176
|
+
core_count?: number | undefined;
|
|
177
|
+
/** Number of threads of the CPU. */
|
|
178
|
+
thread_count?: number | undefined;
|
|
179
|
+
/** Frequency of the CPU. */
|
|
180
|
+
frequency?: number | undefined;
|
|
181
|
+
/** Bench of the CPU. */
|
|
182
|
+
bench?: number | undefined;
|
|
183
|
+
}
|
|
184
|
+
export type OfferServerInfoCpusList = Array<CPU>;
|
|
185
|
+
export type MemoryType = "ddr2" | "ddr3" | "ddr4" | "ddr5";
|
|
186
|
+
export interface Memory {
|
|
187
|
+
/** Capacity of the memory. */
|
|
188
|
+
capacity?: number | undefined;
|
|
189
|
+
/** Type of the memory. */
|
|
190
|
+
type?: MemoryType | undefined;
|
|
191
|
+
/** Frequency of the memory. */
|
|
192
|
+
frequency?: number | undefined;
|
|
193
|
+
/** True if the memory is an error-correcting code memory. */
|
|
194
|
+
is_ecc?: boolean | undefined;
|
|
195
|
+
}
|
|
196
|
+
export type OfferServerInfoMemoriesList = Array<Memory>;
|
|
197
|
+
export interface PersistentMemory {
|
|
198
|
+
/** Capacity of the persistent memory. */
|
|
199
|
+
capacity?: number | undefined;
|
|
200
|
+
/** Frequency of the persistent memory. */
|
|
201
|
+
frequency?: number | undefined;
|
|
202
|
+
/** Model of the persistent memory. */
|
|
203
|
+
model?: string | undefined;
|
|
204
|
+
}
|
|
205
|
+
export type OfferServerInfoPersistentMemoriesList = Array<PersistentMemory>;
|
|
206
|
+
/** RAID level of the RAID controller. */
|
|
207
|
+
export type RaidControllerRaidLevelList = Array<string>;
|
|
208
|
+
export interface RaidController {
|
|
209
|
+
/** Model of the RAID controller. */
|
|
210
|
+
model?: string | undefined;
|
|
211
|
+
/** RAID level of the RAID controller. */
|
|
212
|
+
raid_level?: RaidControllerRaidLevelList | undefined;
|
|
213
|
+
}
|
|
214
|
+
export type OfferServerInfoRaidControllersList = Array<RaidController>;
|
|
215
|
+
export type OfferServerInfoAvailableOptionsList = Array<Offer>;
|
|
216
|
+
export type OfferServerInfoStockByDatacenterMap = {
|
|
217
|
+
[key: string]: OfferServerInfoStock | undefined;
|
|
218
|
+
};
|
|
219
|
+
export interface OfferServerInfoAvailability {
|
|
220
|
+
stock?: OfferServerInfoStock | undefined;
|
|
221
|
+
quantity?: number | undefined;
|
|
222
|
+
}
|
|
223
|
+
export type OfferServerInfoAvailabilityByDatacenterMap = {
|
|
224
|
+
[key: string]: OfferServerInfoAvailability | undefined;
|
|
225
|
+
};
|
|
226
|
+
export interface OfferServerInfo {
|
|
227
|
+
bandwidth?: number | undefined;
|
|
228
|
+
stock?: OfferServerInfoStock | undefined;
|
|
229
|
+
commercial_range?: string | undefined;
|
|
230
|
+
disks?: OfferServerInfoDisksList | undefined;
|
|
231
|
+
cpus?: OfferServerInfoCpusList | undefined;
|
|
232
|
+
memories?: OfferServerInfoMemoriesList | undefined;
|
|
233
|
+
persistent_memories?: OfferServerInfoPersistentMemoriesList | undefined;
|
|
234
|
+
raid_controllers?: OfferServerInfoRaidControllersList | undefined;
|
|
235
|
+
available_options?: OfferServerInfoAvailableOptionsList | undefined;
|
|
236
|
+
rpn_version?: number | undefined;
|
|
237
|
+
connectivity?: number | undefined;
|
|
238
|
+
onetime_fees?: Offer | undefined;
|
|
239
|
+
stock_by_datacenter?: OfferServerInfoStockByDatacenterMap | undefined;
|
|
240
|
+
availability_by_datacenter?: OfferServerInfoAvailabilityByDatacenterMap | undefined;
|
|
241
|
+
rpn_speed?: number | undefined;
|
|
242
|
+
}
|
|
243
|
+
export type OfferServiceLevelInfoAvailableOptionsList = Array<Offer>;
|
|
244
|
+
export interface OfferServiceLevelInfo {
|
|
245
|
+
support_ticket?: boolean | undefined;
|
|
246
|
+
support_phone?: boolean | undefined;
|
|
247
|
+
sales_support?: boolean | undefined;
|
|
248
|
+
git?: string | undefined;
|
|
249
|
+
sla?: number | undefined;
|
|
250
|
+
priority_support?: boolean | undefined;
|
|
251
|
+
high_rpn_bandwidth?: boolean | undefined;
|
|
252
|
+
customization?: boolean | undefined;
|
|
253
|
+
antidos?: boolean | undefined;
|
|
254
|
+
extra_failover_quota?: number | undefined;
|
|
255
|
+
available_options?: OfferServiceLevelInfoAvailableOptionsList | undefined;
|
|
256
|
+
}
|
|
257
|
+
export interface OfferRPNInfo {
|
|
258
|
+
speed?: number | undefined;
|
|
259
|
+
}
|
|
260
|
+
export type OfferSANInfoType = "hdd" | "ssd";
|
|
261
|
+
export interface OfferSANInfo {
|
|
262
|
+
/** SAN size (in bytes). */
|
|
263
|
+
size?: number | undefined;
|
|
264
|
+
/** High availability offer. */
|
|
265
|
+
ha?: boolean | undefined;
|
|
266
|
+
/** Type of SAN device (hdd / ssd). */
|
|
267
|
+
device_type?: OfferSANInfoType | undefined;
|
|
268
|
+
}
|
|
269
|
+
export type OfferAntiDosInfoType = "minimal" | "preventive" | "curative";
|
|
270
|
+
export interface OfferAntiDosInfo {
|
|
271
|
+
type?: OfferAntiDosInfoType | undefined;
|
|
272
|
+
}
|
|
273
|
+
export interface OfferBackupInfo {
|
|
274
|
+
size?: number | undefined;
|
|
275
|
+
}
|
|
276
|
+
export interface OfferStorageInfo {
|
|
277
|
+
max_quota?: number | undefined;
|
|
278
|
+
size?: number | undefined;
|
|
279
|
+
}
|
|
280
|
+
export interface OfferLicenseInfo {
|
|
281
|
+
bound_to_ip?: boolean | undefined;
|
|
282
|
+
}
|
|
283
|
+
export interface OfferFailoverIpInfo {
|
|
284
|
+
onetime_fees?: Offer | undefined;
|
|
285
|
+
}
|
|
286
|
+
export type OfferFailoverBlockInfo = OfferFailoverIpInfo;
|
|
287
|
+
export type OfferBandwidthInfo = OfferRPNInfo;
|
|
288
|
+
export interface OfferCommitment {
|
|
289
|
+
/** Unit used for discount. */
|
|
290
|
+
unit?: string | undefined;
|
|
291
|
+
/** Value of the discount. */
|
|
292
|
+
value?: number | undefined;
|
|
293
|
+
/** Is it free setup fees. */
|
|
294
|
+
free_setup_fees?: boolean | undefined;
|
|
295
|
+
/** Commitment's required duration. */
|
|
296
|
+
duration?: string | undefined;
|
|
297
|
+
/** Discounted price of the commitment. */
|
|
298
|
+
discounted_price?: GoogleTypeMoney | undefined;
|
|
299
|
+
}
|
|
300
|
+
/** Commitment info if it is a commitment offer. */
|
|
301
|
+
export type OfferCommitmentsList = Array<OfferCommitment>;
|
|
302
|
+
export type OSType =
|
|
303
|
+
| "unknown_type"
|
|
304
|
+
| "server"
|
|
305
|
+
| "virtu"
|
|
306
|
+
| "panel"
|
|
307
|
+
| "desktop"
|
|
308
|
+
| "custom"
|
|
309
|
+
| "rescue";
|
|
310
|
+
export type OSArch = "unknown_arch" | "amd64" | "x86" | "arm" | "arm64";
|
|
311
|
+
export type PartitionFileSystem =
|
|
312
|
+
| "unknown"
|
|
313
|
+
| "efi"
|
|
314
|
+
| "swap"
|
|
315
|
+
| "ext4"
|
|
316
|
+
| "ext3"
|
|
317
|
+
| "ext2"
|
|
318
|
+
| "xfs"
|
|
319
|
+
| "ntfs"
|
|
320
|
+
| "fat32"
|
|
321
|
+
| "ufs";
|
|
322
|
+
/** True if the OS allow file systems. */
|
|
323
|
+
export type OSAllowedFilesystemsList = Array<PartitionFileSystem>;
|
|
324
|
+
/** License offers available with the OS. */
|
|
325
|
+
export type OSLicenseOffersList = Array<Offer>;
|
|
326
|
+
export interface OS {
|
|
327
|
+
/** ID of the OS. */
|
|
328
|
+
id?: number | undefined;
|
|
329
|
+
/** Name of the OS. */
|
|
330
|
+
name?: string | undefined;
|
|
331
|
+
/** Type of the OS. */
|
|
332
|
+
type?: OSType | undefined;
|
|
333
|
+
/** Version of the OS. */
|
|
334
|
+
version?: string | undefined;
|
|
335
|
+
/** Architecture of the OS. */
|
|
336
|
+
arch?: OSArch | undefined;
|
|
337
|
+
/** True if the OS allow custom partitioning. */
|
|
338
|
+
allow_custom_partitioning?: boolean | undefined;
|
|
339
|
+
/** True if the OS allow SSH Keys. */
|
|
340
|
+
allow_ssh_keys?: boolean | undefined;
|
|
341
|
+
/** True if the OS requires user. */
|
|
342
|
+
requires_user?: boolean | undefined;
|
|
343
|
+
/** True if the OS requires admin password. */
|
|
344
|
+
requires_admin_password?: boolean | undefined;
|
|
345
|
+
/** True if the OS requires panel password. */
|
|
346
|
+
requires_panel_password?: boolean | undefined;
|
|
347
|
+
/** True if the OS allow file systems. */
|
|
348
|
+
allowed_filesystems?: OSAllowedFilesystemsList | undefined;
|
|
349
|
+
/** True if the OS requires license. */
|
|
350
|
+
requires_license?: boolean | undefined;
|
|
351
|
+
/** License offers available with the OS. */
|
|
352
|
+
license_offers?: OSLicenseOffersList | undefined;
|
|
353
|
+
/** Maximum number of partitions which can be created. */
|
|
354
|
+
max_partitions?: number | undefined;
|
|
355
|
+
/** Display name of the OS. */
|
|
356
|
+
display_name?: string | undefined;
|
|
357
|
+
/** Regex used to validate the installation passwords. */
|
|
358
|
+
password_regex?: string | undefined;
|
|
359
|
+
/** Regex used to validate the panel installation password. */
|
|
360
|
+
panel_password_regex?: string | undefined;
|
|
361
|
+
/** If both requires_valid_hostname & hostname_regex are set, it means that at least one of the criteria must be valid. */
|
|
362
|
+
requires_valid_hostname?: boolean | undefined;
|
|
363
|
+
/** If both requires_valid_hostname & hostname_regex are set, it means that at least one of the criteria must be valid. */
|
|
364
|
+
hostname_regex?: string | undefined;
|
|
365
|
+
/** Hostname max length. */
|
|
366
|
+
hostname_max_length?: number | undefined;
|
|
367
|
+
/** OS release date. */
|
|
368
|
+
released_at?: string | undefined;
|
|
369
|
+
/** Is it a beta OS. */
|
|
370
|
+
beta?: string | undefined;
|
|
371
|
+
/** Description of the OS. */
|
|
372
|
+
description?: string | undefined;
|
|
373
|
+
/** URL to OS official website. */
|
|
374
|
+
official_website?: string | undefined;
|
|
375
|
+
}
|
|
376
|
+
/** Available OS info if it is a available OS offer. */
|
|
377
|
+
export type OfferAvailableOsList = Array<OS>;
|
|
378
|
+
export interface Offer {
|
|
379
|
+
/** ID of the offer (aka product.id). */
|
|
380
|
+
id?: number | undefined;
|
|
381
|
+
/** Name of the offer. */
|
|
382
|
+
name?: string | undefined;
|
|
383
|
+
/** Catalog of the offer. */
|
|
384
|
+
catalog?: OfferCatalog | undefined;
|
|
385
|
+
/** Payment frequency of the offer. */
|
|
386
|
+
payment_frequency?: OfferPaymentFrequency | undefined;
|
|
387
|
+
/** Price of the offer. */
|
|
388
|
+
pricing?: GoogleTypeMoney | undefined;
|
|
389
|
+
/** Original Dedibox ID of the offer. */
|
|
390
|
+
offer_id?: number | undefined;
|
|
391
|
+
/** Server info if it is a server offer. One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set. */
|
|
392
|
+
server_info?: OfferServerInfo | undefined;
|
|
393
|
+
/** Service level info if it is a service level offer. One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set. */
|
|
394
|
+
service_level_info?: OfferServiceLevelInfo | undefined;
|
|
395
|
+
/** RPN info if it is a RPN offer. One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set. */
|
|
396
|
+
rpn_info?: OfferRPNInfo | undefined;
|
|
397
|
+
/** SAN info if it is a SAN offer. One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set. */
|
|
398
|
+
san_info?: OfferSANInfo | undefined;
|
|
399
|
+
/** AntiDOS info if it is a antiDOS offer. One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set. */
|
|
400
|
+
antidos_info?: OfferAntiDosInfo | undefined;
|
|
401
|
+
/** Backup info if it is a backup offer. One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set. */
|
|
402
|
+
backup_info?: OfferBackupInfo | undefined;
|
|
403
|
+
/** USB storage info if it is a USB storage offer. One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set. */
|
|
404
|
+
usb_storage_info?: OfferStorageInfo | undefined;
|
|
405
|
+
/** Storage info if it is a storage offer. One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set. */
|
|
406
|
+
storage_info?: OfferStorageInfo | undefined;
|
|
407
|
+
/** License info if it is a license offer. One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set. */
|
|
408
|
+
license_info?: OfferLicenseInfo | undefined;
|
|
409
|
+
/** Failover IP info if it is a failover IP offer. One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set. */
|
|
410
|
+
failover_ip_info?: OfferFailoverIpInfo | undefined;
|
|
411
|
+
/** Failover block info if it is a failover block offer. One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set. */
|
|
412
|
+
failover_block_info?: OfferFailoverIpInfo | undefined;
|
|
413
|
+
/** Bandwidth info if it is a bandwidth offer. One-of ('offerInfo'): at most one of 'serverInfo', 'serviceLevelInfo', 'rpnInfo', 'sanInfo', 'antidosInfo', 'backupInfo', 'usbStorageInfo', 'storageInfo', 'licenseInfo', 'failoverIpInfo', 'failoverBlockInfo', 'bandwidthInfo' could be set. */
|
|
414
|
+
bandwidth_info?: OfferRPNInfo | undefined;
|
|
415
|
+
/** Commitment info if it is a commitment offer. */
|
|
416
|
+
commitments?: OfferCommitmentsList | undefined;
|
|
417
|
+
/** Available OS info if it is a available OS offer. */
|
|
418
|
+
available_os?: OfferAvailableOsList | undefined;
|
|
419
|
+
}
|
|
420
|
+
export type ServerStatus =
|
|
421
|
+
| "unknown"
|
|
422
|
+
| "delivering"
|
|
423
|
+
| "installing"
|
|
424
|
+
| "ready"
|
|
425
|
+
| "stopped"
|
|
426
|
+
| "error"
|
|
427
|
+
| "locked"
|
|
428
|
+
| "rescue"
|
|
429
|
+
| "busy";
|
|
430
|
+
export interface ServerLocation {
|
|
431
|
+
rack?: string | undefined;
|
|
432
|
+
room?: string | undefined;
|
|
433
|
+
datacenter_name?: string | undefined;
|
|
434
|
+
}
|
|
435
|
+
export type NetworkInterfaceInterfaceType = "unknown" | "normal" | "ipmi" | "virtual";
|
|
436
|
+
export type IPVersion = "ipv4" | "ipv6";
|
|
437
|
+
export type IPSemantic =
|
|
438
|
+
| "unknown"
|
|
439
|
+
| "proxad"
|
|
440
|
+
| "ext"
|
|
441
|
+
| "public"
|
|
442
|
+
| "private"
|
|
443
|
+
| "ipmi"
|
|
444
|
+
| "adm"
|
|
445
|
+
| "redirect"
|
|
446
|
+
| "migration";
|
|
447
|
+
export type IPStatus = "unknown_status" | "ready" | "busy" | "locked";
|
|
448
|
+
export interface IP {
|
|
449
|
+
/** ID of the IP. */
|
|
450
|
+
ip_id?: number | undefined;
|
|
451
|
+
/** Address of the IP. */
|
|
452
|
+
address?: string | undefined;
|
|
453
|
+
/** Reverse IP value. */
|
|
454
|
+
reverse?: string | undefined;
|
|
455
|
+
/** Version of IP (v4 or v6). */
|
|
456
|
+
version?: IPVersion | undefined;
|
|
457
|
+
/** Classless InterDomain Routing notation of the IP. */
|
|
458
|
+
cidr?: number | undefined;
|
|
459
|
+
/** Network mask of IP. */
|
|
460
|
+
netmask?: string | undefined;
|
|
461
|
+
/** Semantic of IP. */
|
|
462
|
+
semantic?: IPSemantic | undefined;
|
|
463
|
+
/** Gateway of IP. */
|
|
464
|
+
gateway?: string | undefined;
|
|
465
|
+
/** Status of the IP. */
|
|
466
|
+
status?: IPStatus | undefined;
|
|
467
|
+
}
|
|
468
|
+
/** IPs of the network interface. */
|
|
469
|
+
export type NetworkInterfaceIpsList = Array<IP>;
|
|
470
|
+
export interface NetworkInterface {
|
|
471
|
+
/** Card ID of the network interface. */
|
|
472
|
+
card_id?: number | undefined;
|
|
473
|
+
/** Device ID of the network interface. */
|
|
474
|
+
device_id?: number | undefined;
|
|
475
|
+
/** MAC address of the network interface. */
|
|
476
|
+
mac?: string | undefined;
|
|
477
|
+
/** Network interface type. */
|
|
478
|
+
type?: NetworkInterfaceInterfaceType | undefined;
|
|
479
|
+
/** IPs of the network interface. */
|
|
480
|
+
ips?: NetworkInterfaceIpsList | undefined;
|
|
481
|
+
}
|
|
482
|
+
/** Network interfaces of the server. */
|
|
483
|
+
export type ServerInterfacesList = Array<NetworkInterface>;
|
|
484
|
+
export type ServerOptionOptionsList = Array<ServerOption>;
|
|
485
|
+
export interface ServerOption {
|
|
486
|
+
offer?: Offer | undefined;
|
|
487
|
+
created_at?: string | undefined;
|
|
488
|
+
updated_at?: string | undefined;
|
|
489
|
+
expired_at?: string | undefined;
|
|
490
|
+
options?: ServerOptionOptionsList | undefined;
|
|
491
|
+
}
|
|
492
|
+
/** Options subscribe on the server. */
|
|
493
|
+
export type ServerOptionsList = Array<ServerOption>;
|
|
494
|
+
export type ServiceLevelLevel = "unknown" | "basic" | "business";
|
|
495
|
+
export interface ServiceLevel {
|
|
496
|
+
/** Offer ID of service level. */
|
|
497
|
+
offer_id?: number | undefined;
|
|
498
|
+
/** Level type of service level. */
|
|
499
|
+
level?: ServiceLevelLevel | undefined;
|
|
500
|
+
}
|
|
501
|
+
/** Array of customs tags attached to the server. */
|
|
502
|
+
export type ServerTagsList = Array<string>;
|
|
503
|
+
export interface Server {
|
|
504
|
+
/** ID of the server. */
|
|
505
|
+
id?: number | undefined;
|
|
506
|
+
/** Organization ID the server is attached to. */
|
|
507
|
+
organization_id?: string | undefined;
|
|
508
|
+
/** Project ID the server is attached to. */
|
|
509
|
+
project_id?: string | undefined;
|
|
510
|
+
/** Hostname of the server. */
|
|
511
|
+
hostname?: string | undefined;
|
|
512
|
+
/** Date of last reboot of the server. */
|
|
513
|
+
rebooted_at?: string | undefined;
|
|
514
|
+
/** Date of creation of the server. */
|
|
515
|
+
created_at?: string | undefined;
|
|
516
|
+
/** Date of last modification of the server. */
|
|
517
|
+
updated_at?: string | undefined;
|
|
518
|
+
/** Date of release of the server. */
|
|
519
|
+
expired_at?: string | undefined;
|
|
520
|
+
/** Offer of the server. */
|
|
521
|
+
offer?: Offer | undefined;
|
|
522
|
+
/** Status of the server. */
|
|
523
|
+
status?: ServerStatus | undefined;
|
|
524
|
+
/** Location of the server. */
|
|
525
|
+
location?: ServerLocation | undefined;
|
|
526
|
+
/** Abuse contact of the server. */
|
|
527
|
+
abuse_contact?: string | undefined;
|
|
528
|
+
/** OS installed on the server. */
|
|
529
|
+
os?: OS | undefined;
|
|
530
|
+
/** Network interfaces of the server. */
|
|
531
|
+
interfaces?: ServerInterfacesList | undefined;
|
|
532
|
+
/** The zone in which is the server. */
|
|
533
|
+
zone?: string | undefined;
|
|
534
|
+
/** Options subscribe on the server. */
|
|
535
|
+
options?: ServerOptionsList | undefined;
|
|
536
|
+
/** Service level of the server. */
|
|
537
|
+
level?: ServiceLevel | undefined;
|
|
538
|
+
/** Boolean if the server has a BMC. */
|
|
539
|
+
has_bmc?: boolean | undefined;
|
|
540
|
+
/** Rescue OS of the server. */
|
|
541
|
+
rescue_os?: OS | undefined;
|
|
542
|
+
/** Array of customs tags attached to the server. */
|
|
543
|
+
tags?: ServerTagsList | undefined;
|
|
544
|
+
/** Whether the server is outsourced or not. */
|
|
545
|
+
is_outsourced?: boolean | undefined;
|
|
546
|
+
/** Whether or not you can enable/disable the IPv6. */
|
|
547
|
+
ipv6_slaac?: boolean | undefined;
|
|
548
|
+
/** Whether the server is compatible with QinQ. */
|
|
549
|
+
qinq?: boolean | undefined;
|
|
550
|
+
/** Whether or not the server is already part of an rpnv2 group. */
|
|
551
|
+
is_rpnv2_member?: boolean | undefined;
|
|
552
|
+
/** Whether or not the server is HDS. */
|
|
553
|
+
is_hds?: boolean | undefined;
|
|
554
|
+
}
|
|
555
|
+
/** List of rpn v2 capable resources that match filters. */
|
|
556
|
+
export type ListRpnV2CapableResourcesResponseServersList = Array<Server>;
|
|
557
|
+
export interface ListRpnV2CapableResourcesResponse {
|
|
558
|
+
/** Total count of matching rpn v2 capable resources. */
|
|
559
|
+
total_count?: number | undefined;
|
|
560
|
+
/** List of rpn v2 capable resources that match filters. */
|
|
561
|
+
servers: ListRpnV2CapableResourcesResponseServersList;
|
|
562
|
+
}
|
|
563
|
+
export type ListRpnV2GroupLogsRequestOrderBy = "created_at_asc" | "created_at_desc";
|
|
564
|
+
export interface ListRpnV2GroupLogsRequest {
|
|
565
|
+
/** RPN V2 group ID. */
|
|
566
|
+
group_id: number;
|
|
567
|
+
/** Order of the rpn v2 group logs. */
|
|
568
|
+
order_by?: ListRpnV2GroupLogsRequestOrderBy | (string & {}) | undefined;
|
|
569
|
+
/** Page number. */
|
|
570
|
+
page?: number | undefined;
|
|
571
|
+
/** Number of rpn v2 group logs per page. */
|
|
572
|
+
page_size?: number | undefined;
|
|
573
|
+
}
|
|
574
|
+
export type RpnV2MemberStatus =
|
|
575
|
+
| "unknown_member_status"
|
|
576
|
+
| "creating"
|
|
577
|
+
| "active"
|
|
578
|
+
| "updating"
|
|
579
|
+
| "deleting";
|
|
580
|
+
export interface RpnV2Member {
|
|
581
|
+
/** RPN V2 member ID. */
|
|
582
|
+
id?: number | undefined;
|
|
583
|
+
/** RPN V2 member status. */
|
|
584
|
+
status?: RpnV2MemberStatus | undefined;
|
|
585
|
+
/** RPN V2 member VLAN. */
|
|
586
|
+
vlan?: string | undefined;
|
|
587
|
+
/** Server behind the member (may be empty). One-of ('resource'): at most one of 'server', 'rpnv1Group' could be set. */
|
|
588
|
+
server?: Server | undefined;
|
|
589
|
+
/** RPN V1 group member. One-of ('resource'): at most one of 'server', 'rpnv1Group' could be set. */
|
|
590
|
+
rpnv1_group?: RpnGroup | undefined;
|
|
591
|
+
/** RPN speed. */
|
|
592
|
+
speed?: number | undefined;
|
|
593
|
+
}
|
|
594
|
+
export type LogAction =
|
|
595
|
+
| "unknown_log_action"
|
|
596
|
+
| "group_created"
|
|
597
|
+
| "group_deleted"
|
|
598
|
+
| "members_added"
|
|
599
|
+
| "members_deleted"
|
|
600
|
+
| "description_updated"
|
|
601
|
+
| "rpnv1_members_added"
|
|
602
|
+
| "rpnv1_members_deleted"
|
|
603
|
+
| "vlan_updated"
|
|
604
|
+
| "vlan_updated_on_all_servers";
|
|
605
|
+
export type LogStatus = "unknown_log_status" | "success" | "in_progress" | "error";
|
|
606
|
+
export interface Log {
|
|
607
|
+
/** RPN V2 log ID. */
|
|
608
|
+
id?: number | undefined;
|
|
609
|
+
/** RPN V2 group. */
|
|
610
|
+
group?: RpnV2Group | undefined;
|
|
611
|
+
/** RPN V2 member (if applicable). */
|
|
612
|
+
member?: RpnV2Member | undefined;
|
|
613
|
+
/** Which action was performed. */
|
|
614
|
+
action?: LogAction | undefined;
|
|
615
|
+
/** Action status. */
|
|
616
|
+
status?: LogStatus | undefined;
|
|
617
|
+
/** Creation date. */
|
|
618
|
+
created_at?: string | undefined;
|
|
619
|
+
/** Completion date. */
|
|
620
|
+
finished_at?: string | undefined;
|
|
621
|
+
}
|
|
622
|
+
/** List of rpn v2 logs that match filters. */
|
|
623
|
+
export type ListRpnV2GroupLogsResponseLogsList = Array<Log>;
|
|
624
|
+
export interface ListRpnV2GroupLogsResponse {
|
|
625
|
+
/** Total count of matching rpn v2 logs. */
|
|
626
|
+
total_count?: number | undefined;
|
|
627
|
+
/** List of rpn v2 logs that match filters. */
|
|
628
|
+
logs: ListRpnV2GroupLogsResponseLogsList;
|
|
629
|
+
}
|
|
630
|
+
export type ListRpnV2GroupsRequestOrderBy = "created_at_asc" | "created_at_desc";
|
|
631
|
+
export interface ListRpnV2GroupsRequest {
|
|
632
|
+
/** Order of the rpn v2 groups. */
|
|
633
|
+
order_by?: ListRpnV2GroupsRequestOrderBy | (string & {}) | undefined;
|
|
634
|
+
/** Page number. */
|
|
635
|
+
page?: number | undefined;
|
|
636
|
+
/** Number of rpn v2 groups per page. */
|
|
637
|
+
page_size?: number | undefined;
|
|
638
|
+
/** Filter rpn v2 groups by project ID. */
|
|
639
|
+
project_id?: string | undefined;
|
|
640
|
+
}
|
|
641
|
+
/** List of rpn v2 groups that match filters. */
|
|
642
|
+
export type ListRpnV2GroupsResponseRpnGroupsList = Array<RpnV2Group>;
|
|
643
|
+
export interface ListRpnV2GroupsResponse {
|
|
644
|
+
/** Total count of matching rpn v2 groups. */
|
|
645
|
+
total_count?: number | undefined;
|
|
646
|
+
/** List of rpn v2 groups that match filters. */
|
|
647
|
+
rpn_groups: ListRpnV2GroupsResponseRpnGroupsList;
|
|
648
|
+
}
|
|
649
|
+
export type ListRpnV2MembersRequestOrderBy = "created_at_asc" | "created_at_desc";
|
|
650
|
+
export type ListRpnV2MembersRequestType = "unknown_type" | "rpnv1_group" | "server";
|
|
651
|
+
export interface ListRpnV2MembersRequest {
|
|
652
|
+
/** RPN V2 group ID. */
|
|
653
|
+
group_id: number;
|
|
654
|
+
/** Order of the rpn v2 group members. */
|
|
655
|
+
order_by?: ListRpnV2MembersRequestOrderBy | (string & {}) | undefined;
|
|
656
|
+
/** Page number. */
|
|
657
|
+
page?: number | undefined;
|
|
658
|
+
/** Number of rpn v2 group members per page. */
|
|
659
|
+
page_size?: number | undefined;
|
|
660
|
+
/** Filter members by type. */
|
|
661
|
+
type?: ListRpnV2MembersRequestType | (string & {}) | undefined;
|
|
662
|
+
}
|
|
663
|
+
/** List of rpn v2 group members that match filters. */
|
|
664
|
+
export type ListRpnV2MembersResponseMembersList = Array<RpnV2Member>;
|
|
665
|
+
export interface ListRpnV2MembersResponse {
|
|
666
|
+
/** Total count of matching rpn v2 group members. */
|
|
667
|
+
total_count?: number | undefined;
|
|
668
|
+
/** List of rpn v2 group members that match filters. */
|
|
669
|
+
members: ListRpnV2MembersResponseMembersList;
|
|
670
|
+
}
|
|
671
|
+
export interface UpdateRpnV2GroupNameRequest {
|
|
672
|
+
/** RPN V2 group ID. */
|
|
673
|
+
group_id: number;
|
|
674
|
+
/** RPN V2 group name. */
|
|
675
|
+
name?: string | undefined;
|
|
676
|
+
}
|
|
677
|
+
/** RPN V2 member IDs. */
|
|
678
|
+
export type UpdateRpnV2VlanForMembersRequestMemberIdsList = Array<number>;
|
|
679
|
+
export interface UpdateRpnV2VlanForMembersRequest {
|
|
680
|
+
/** RPN V2 group ID. */
|
|
681
|
+
group_id: number;
|
|
682
|
+
/** RPN V2 member IDs. */
|
|
683
|
+
member_ids: UpdateRpnV2VlanForMembersRequestMemberIdsList;
|
|
684
|
+
/** Min: 0. Max: 3967. */
|
|
685
|
+
vlan?: number | undefined;
|
|
686
|
+
}
|
|
687
|
+
export interface UpdateRpnV2VlanForMembersResponse {}
|
|
688
|
+
export type AddRpnV2MembersError = ScalewayOpError;
|
|
689
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.addRpnV2Members`): Scaleway publishes no OpenAPI document for this route. */
|
|
690
|
+
export const addRpnV2Members: API.OperationMethod<
|
|
691
|
+
AddRpnV2MembersRequest,
|
|
692
|
+
AddRpnV2MembersResponse,
|
|
693
|
+
AddRpnV2MembersError,
|
|
694
|
+
ScalewayOpContext
|
|
695
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
696
|
+
input: __S(0, __c0, 0) as any as S.Schema<AddRpnV2MembersRequest>,
|
|
697
|
+
output: __S(64, __c2, 0) as any as S.Schema<AddRpnV2MembersResponse>,
|
|
698
|
+
errors: [],
|
|
699
|
+
serviceErrors: ScalewayServiceErrors,
|
|
700
|
+
protocol: ScalewayProtocol,
|
|
701
|
+
retry: Retry.Retry,
|
|
702
|
+
telemetry: TELEMETRY,
|
|
703
|
+
span: "AddRpnV2Members",
|
|
704
|
+
}));
|
|
705
|
+
|
|
706
|
+
export type CreateRpnV2GroupError = ScalewayOpError;
|
|
707
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.createRpnV2Group`): Scaleway publishes no OpenAPI document for this route. */
|
|
708
|
+
export const createRpnV2Group: API.OperationMethod<
|
|
709
|
+
CreateRpnV2GroupRequest,
|
|
710
|
+
RpnV2Group,
|
|
711
|
+
CreateRpnV2GroupError,
|
|
712
|
+
ScalewayOpContext
|
|
713
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
714
|
+
input: __S(96, __c3, 0) as any as S.Schema<CreateRpnV2GroupRequest>,
|
|
715
|
+
output: __S(161, __c5, 1) as any as S.Schema<RpnV2Group>,
|
|
716
|
+
errors: [],
|
|
717
|
+
serviceErrors: ScalewayServiceErrors,
|
|
718
|
+
protocol: ScalewayProtocol,
|
|
719
|
+
retry: Retry.Retry,
|
|
720
|
+
telemetry: TELEMETRY,
|
|
721
|
+
span: "CreateRpnV2Group",
|
|
722
|
+
}));
|
|
723
|
+
|
|
724
|
+
export type DeleteRpnV2GroupError = ScalewayOpError;
|
|
725
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.deleteRpnV2Group`): Scaleway publishes no OpenAPI document for this route. */
|
|
726
|
+
export const deleteRpnV2Group: API.OperationMethod<
|
|
727
|
+
DeleteRpnV2GroupRequest,
|
|
728
|
+
DeleteRpnV2GroupResponse,
|
|
729
|
+
DeleteRpnV2GroupError,
|
|
730
|
+
ScalewayOpContext
|
|
731
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
732
|
+
input: __S(288, __c9, 0) as any as S.Schema<DeleteRpnV2GroupRequest>,
|
|
733
|
+
output: __S(64, __c2, 0) as any as S.Schema<DeleteRpnV2GroupResponse>,
|
|
734
|
+
errors: [],
|
|
735
|
+
serviceErrors: ScalewayServiceErrors,
|
|
736
|
+
protocol: ScalewayProtocol,
|
|
737
|
+
retry: Retry.Retry,
|
|
738
|
+
telemetry: TELEMETRY,
|
|
739
|
+
span: "DeleteRpnV2Group",
|
|
740
|
+
}));
|
|
741
|
+
|
|
742
|
+
export type DeleteRpnV2MembersError = ScalewayOpError;
|
|
743
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.deleteRpnV2Members`): Scaleway publishes no OpenAPI document for this route. */
|
|
744
|
+
export const deleteRpnV2Members: API.OperationMethod<
|
|
745
|
+
DeleteRpnV2MembersRequest,
|
|
746
|
+
DeleteRpnV2MembersResponse,
|
|
747
|
+
DeleteRpnV2MembersError,
|
|
748
|
+
ScalewayOpContext
|
|
749
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
750
|
+
input: __S(320, __c10, 0) as any as S.Schema<DeleteRpnV2MembersRequest>,
|
|
751
|
+
output: __S(64, __c2, 0) as any as S.Schema<DeleteRpnV2MembersResponse>,
|
|
752
|
+
errors: [],
|
|
753
|
+
serviceErrors: ScalewayServiceErrors,
|
|
754
|
+
protocol: ScalewayProtocol,
|
|
755
|
+
retry: Retry.Retry,
|
|
756
|
+
telemetry: TELEMETRY,
|
|
757
|
+
span: "DeleteRpnV2Members",
|
|
758
|
+
}));
|
|
759
|
+
|
|
760
|
+
export type DisableRpnV2GroupCompatibilityError = ScalewayOpError;
|
|
761
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.disableRpnV2GroupCompatibility`): Scaleway publishes no OpenAPI document for this route. */
|
|
762
|
+
export const disableRpnV2GroupCompatibility: API.OperationMethod<
|
|
763
|
+
DisableRpnV2GroupCompatibilityRequest,
|
|
764
|
+
DisableRpnV2GroupCompatibilityResponse,
|
|
765
|
+
DisableRpnV2GroupCompatibilityError,
|
|
766
|
+
ScalewayOpContext
|
|
767
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
768
|
+
input: __S(352, __c11, 0) as any as S.Schema<DisableRpnV2GroupCompatibilityRequest>,
|
|
769
|
+
output: __S(64, __c2, 0) as any as S.Schema<DisableRpnV2GroupCompatibilityResponse>,
|
|
770
|
+
errors: [],
|
|
771
|
+
serviceErrors: ScalewayServiceErrors,
|
|
772
|
+
protocol: ScalewayProtocol,
|
|
773
|
+
retry: Retry.Retry,
|
|
774
|
+
telemetry: TELEMETRY,
|
|
775
|
+
span: "DisableRpnV2GroupCompatibility",
|
|
776
|
+
}));
|
|
777
|
+
|
|
778
|
+
export type EnableRpnV2GroupCompatibilityError = ScalewayOpError;
|
|
779
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.enableRpnV2GroupCompatibility`): Scaleway publishes no OpenAPI document for this route. */
|
|
780
|
+
export const enableRpnV2GroupCompatibility: API.OperationMethod<
|
|
781
|
+
EnableRpnV2GroupCompatibilityRequest,
|
|
782
|
+
EnableRpnV2GroupCompatibilityResponse,
|
|
783
|
+
EnableRpnV2GroupCompatibilityError,
|
|
784
|
+
ScalewayOpContext
|
|
785
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
786
|
+
input: __S(384, __c12, 0) as any as S.Schema<EnableRpnV2GroupCompatibilityRequest>,
|
|
787
|
+
output: __S(64, __c2, 0) as any as S.Schema<EnableRpnV2GroupCompatibilityResponse>,
|
|
788
|
+
errors: [],
|
|
789
|
+
serviceErrors: ScalewayServiceErrors,
|
|
790
|
+
protocol: ScalewayProtocol,
|
|
791
|
+
retry: Retry.Retry,
|
|
792
|
+
telemetry: TELEMETRY,
|
|
793
|
+
span: "EnableRpnV2GroupCompatibility",
|
|
794
|
+
}));
|
|
795
|
+
|
|
796
|
+
export type GetRpnV2GroupError = ScalewayOpError;
|
|
797
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.getRpnV2Group`): Scaleway publishes no OpenAPI document for this route. */
|
|
798
|
+
export const getRpnV2Group: API.OperationMethod<
|
|
799
|
+
GetRpnV2GroupRequest,
|
|
800
|
+
RpnV2Group,
|
|
801
|
+
GetRpnV2GroupError,
|
|
802
|
+
ScalewayOpContext
|
|
803
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
804
|
+
input: __S(416, __c13, 0) as any as S.Schema<GetRpnV2GroupRequest>,
|
|
805
|
+
output: __S(161, __c5, 1) as any as S.Schema<RpnV2Group>,
|
|
806
|
+
errors: [],
|
|
807
|
+
serviceErrors: ScalewayServiceErrors,
|
|
808
|
+
protocol: ScalewayProtocol,
|
|
809
|
+
retry: Retry.Retry,
|
|
810
|
+
telemetry: TELEMETRY,
|
|
811
|
+
span: "GetRpnV2Group",
|
|
812
|
+
}));
|
|
813
|
+
|
|
814
|
+
export type ListRpnV2CapableResourcesError = ScalewayOpError;
|
|
815
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.listRpnV2CapableResources`): Scaleway publishes no OpenAPI document for this route. */
|
|
816
|
+
export const listRpnV2CapableResources: API.PaginatedOperationMethod<
|
|
817
|
+
ListRpnV2CapableResourcesRequest,
|
|
818
|
+
ListRpnV2CapableResourcesResponse,
|
|
819
|
+
ListRpnV2CapableResourcesError,
|
|
820
|
+
ScalewayOpContext,
|
|
821
|
+
Server
|
|
822
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
823
|
+
() => ({
|
|
824
|
+
input: __S(448, __c14, 0) as any as S.Schema<ListRpnV2CapableResourcesRequest>,
|
|
825
|
+
output: __S(450, __c14, 2) as any as S.Schema<ListRpnV2CapableResourcesResponse>,
|
|
826
|
+
errors: [],
|
|
827
|
+
serviceErrors: ScalewayServiceErrors,
|
|
828
|
+
protocol: ScalewayProtocol,
|
|
829
|
+
retry: Retry.Retry,
|
|
830
|
+
telemetry: TELEMETRY,
|
|
831
|
+
span: "ListRpnV2CapableResources",
|
|
832
|
+
pagination: {
|
|
833
|
+
mode: "page",
|
|
834
|
+
inputToken: "page",
|
|
835
|
+
outputToken: "total_count",
|
|
836
|
+
items: "servers",
|
|
837
|
+
pageSize: "page_size",
|
|
838
|
+
} as const,
|
|
839
|
+
}),
|
|
840
|
+
paginateByTotalCount,
|
|
841
|
+
) as any;
|
|
842
|
+
|
|
843
|
+
export type ListRpnV2GroupLogsError = ScalewayOpError;
|
|
844
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.listRpnV2GroupLogs`): Scaleway publishes no OpenAPI document for this route. */
|
|
845
|
+
export const listRpnV2GroupLogs: API.PaginatedOperationMethod<
|
|
846
|
+
ListRpnV2GroupLogsRequest,
|
|
847
|
+
ListRpnV2GroupLogsResponse,
|
|
848
|
+
ListRpnV2GroupLogsError,
|
|
849
|
+
ScalewayOpContext,
|
|
850
|
+
Log
|
|
851
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
852
|
+
() => ({
|
|
853
|
+
input: __S(544, __c17, 0) as any as S.Schema<ListRpnV2GroupLogsRequest>,
|
|
854
|
+
output: __S(547, __c17, 3) as any as S.Schema<ListRpnV2GroupLogsResponse>,
|
|
855
|
+
errors: [],
|
|
856
|
+
serviceErrors: ScalewayServiceErrors,
|
|
857
|
+
protocol: ScalewayProtocol,
|
|
858
|
+
retry: Retry.Retry,
|
|
859
|
+
telemetry: TELEMETRY,
|
|
860
|
+
span: "ListRpnV2GroupLogs",
|
|
861
|
+
pagination: {
|
|
862
|
+
mode: "page",
|
|
863
|
+
inputToken: "page",
|
|
864
|
+
outputToken: "total_count",
|
|
865
|
+
items: "logs",
|
|
866
|
+
pageSize: "page_size",
|
|
867
|
+
} as const,
|
|
868
|
+
}),
|
|
869
|
+
paginateByTotalCount,
|
|
870
|
+
) as any;
|
|
871
|
+
|
|
872
|
+
export type ListRpnV2GroupsError = ScalewayOpError;
|
|
873
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.listRpnV2Groups`): Scaleway publishes no OpenAPI document for this route. */
|
|
874
|
+
export const listRpnV2Groups: API.PaginatedOperationMethod<
|
|
875
|
+
ListRpnV2GroupsRequest,
|
|
876
|
+
ListRpnV2GroupsResponse,
|
|
877
|
+
ListRpnV2GroupsError,
|
|
878
|
+
ScalewayOpContext,
|
|
879
|
+
RpnV2Group
|
|
880
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
881
|
+
() => ({
|
|
882
|
+
input: __S(608, __c19, 0) as any as S.Schema<ListRpnV2GroupsRequest>,
|
|
883
|
+
output: __S(610, __c19, 2) as any as S.Schema<ListRpnV2GroupsResponse>,
|
|
884
|
+
errors: [],
|
|
885
|
+
serviceErrors: ScalewayServiceErrors,
|
|
886
|
+
protocol: ScalewayProtocol,
|
|
887
|
+
retry: Retry.Retry,
|
|
888
|
+
telemetry: TELEMETRY,
|
|
889
|
+
span: "ListRpnV2Groups",
|
|
890
|
+
pagination: {
|
|
891
|
+
mode: "page",
|
|
892
|
+
inputToken: "page",
|
|
893
|
+
outputToken: "total_count",
|
|
894
|
+
items: "rpn_groups",
|
|
895
|
+
pageSize: "page_size",
|
|
896
|
+
} as const,
|
|
897
|
+
}),
|
|
898
|
+
paginateByTotalCount,
|
|
899
|
+
) as any;
|
|
900
|
+
|
|
901
|
+
export type ListRpnV2MembersError = ScalewayOpError;
|
|
902
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.listRpnV2Members`): Scaleway publishes no OpenAPI document for this route. */
|
|
903
|
+
export const listRpnV2Members: API.PaginatedOperationMethod<
|
|
904
|
+
ListRpnV2MembersRequest,
|
|
905
|
+
ListRpnV2MembersResponse,
|
|
906
|
+
ListRpnV2MembersError,
|
|
907
|
+
ScalewayOpContext,
|
|
908
|
+
RpnV2Member
|
|
909
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
910
|
+
() => ({
|
|
911
|
+
input: __S(192, __c6, 0) as any as S.Schema<ListRpnV2MembersRequest>,
|
|
912
|
+
output: __S(194, __c6, 2) as any as S.Schema<ListRpnV2MembersResponse>,
|
|
913
|
+
errors: [],
|
|
914
|
+
serviceErrors: ScalewayServiceErrors,
|
|
915
|
+
protocol: ScalewayProtocol,
|
|
916
|
+
retry: Retry.Retry,
|
|
917
|
+
telemetry: TELEMETRY,
|
|
918
|
+
span: "ListRpnV2Members",
|
|
919
|
+
pagination: {
|
|
920
|
+
mode: "page",
|
|
921
|
+
inputToken: "page",
|
|
922
|
+
outputToken: "total_count",
|
|
923
|
+
items: "members",
|
|
924
|
+
pageSize: "page_size",
|
|
925
|
+
} as const,
|
|
926
|
+
}),
|
|
927
|
+
paginateByTotalCount,
|
|
928
|
+
) as any;
|
|
929
|
+
|
|
930
|
+
export type UpdateRpnV2GroupNameError = ScalewayOpError;
|
|
931
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.updateRpnV2GroupName`): Scaleway publishes no OpenAPI document for this route. */
|
|
932
|
+
export const updateRpnV2GroupName: API.OperationMethod<
|
|
933
|
+
UpdateRpnV2GroupNameRequest,
|
|
934
|
+
RpnV2Group,
|
|
935
|
+
UpdateRpnV2GroupNameError,
|
|
936
|
+
ScalewayOpContext
|
|
937
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
938
|
+
input: __S(224, __c7, 0) as any as S.Schema<UpdateRpnV2GroupNameRequest>,
|
|
939
|
+
output: __S(161, __c5, 1) as any as S.Schema<RpnV2Group>,
|
|
940
|
+
errors: [],
|
|
941
|
+
serviceErrors: ScalewayServiceErrors,
|
|
942
|
+
protocol: ScalewayProtocol,
|
|
943
|
+
retry: Retry.Retry,
|
|
944
|
+
telemetry: TELEMETRY,
|
|
945
|
+
span: "UpdateRpnV2GroupName",
|
|
946
|
+
}));
|
|
947
|
+
|
|
948
|
+
export type UpdateRpnV2VlanForMembersError = ScalewayOpError;
|
|
949
|
+
/** Derived from scaleway-sdk-js (`RpnV2API.updateRpnV2VlanForMembers`): Scaleway publishes no OpenAPI document for this route. */
|
|
950
|
+
export const updateRpnV2VlanForMembers: API.OperationMethod<
|
|
951
|
+
UpdateRpnV2VlanForMembersRequest,
|
|
952
|
+
UpdateRpnV2VlanForMembersResponse,
|
|
953
|
+
UpdateRpnV2VlanForMembersError,
|
|
954
|
+
ScalewayOpContext
|
|
955
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
956
|
+
input: __S(256, __c8, 0) as any as S.Schema<UpdateRpnV2VlanForMembersRequest>,
|
|
957
|
+
output: __S(64, __c2, 0) as any as S.Schema<UpdateRpnV2VlanForMembersResponse>,
|
|
958
|
+
errors: [],
|
|
959
|
+
serviceErrors: ScalewayServiceErrors,
|
|
960
|
+
protocol: ScalewayProtocol,
|
|
961
|
+
retry: Retry.Retry,
|
|
962
|
+
telemetry: TELEMETRY,
|
|
963
|
+
span: "UpdateRpnV2VlanForMembers",
|
|
964
|
+
}));
|
|
965
|
+
|
|
966
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
967
|
+
function __c0(j: number): any {
|
|
968
|
+
switch (j) {
|
|
969
|
+
case 0:
|
|
970
|
+
return S.suspend(() =>
|
|
971
|
+
S.Struct({
|
|
972
|
+
group_id: S.Number.pipe(T.Label()),
|
|
973
|
+
servers: __S(32, __c1, 0),
|
|
974
|
+
}).pipe(
|
|
975
|
+
T.Http({
|
|
976
|
+
method: "POST",
|
|
977
|
+
uri: "/dedibox/v1/rpnv2/groups/{group_id}/members",
|
|
978
|
+
code: 200,
|
|
979
|
+
baseUrl: "https://api.scaleway.com",
|
|
980
|
+
}),
|
|
981
|
+
),
|
|
982
|
+
).annotate({ identifier: "AddRpnV2MembersRequest" });
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
function __c1(j: number): any {
|
|
986
|
+
switch (j) {
|
|
987
|
+
case 0:
|
|
988
|
+
return S.Array(S.Number);
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
function __c2(j: number): any {
|
|
992
|
+
switch (j) {
|
|
993
|
+
case 0:
|
|
994
|
+
return S.suspend(() => S.Struct({})).annotate({ identifier: "AddRpnV2MembersResponse" });
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
function __c3(j: number): any {
|
|
998
|
+
switch (j) {
|
|
999
|
+
case 0:
|
|
1000
|
+
return S.suspend(() =>
|
|
1001
|
+
S.Struct({
|
|
1002
|
+
project_id: S.optional(S.String),
|
|
1003
|
+
type: S.optional(S.String),
|
|
1004
|
+
name: S.String,
|
|
1005
|
+
servers: __S(32, __c1, 0),
|
|
1006
|
+
}).pipe(
|
|
1007
|
+
T.Http({
|
|
1008
|
+
method: "POST",
|
|
1009
|
+
uri: "/dedibox/v1/rpnv2/groups",
|
|
1010
|
+
code: 200,
|
|
1011
|
+
baseUrl: "https://api.scaleway.com",
|
|
1012
|
+
}),
|
|
1013
|
+
),
|
|
1014
|
+
).annotate({ identifier: "CreateRpnV2GroupRequest" });
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
function __c4(j: number): any {
|
|
1018
|
+
switch (j) {
|
|
1019
|
+
case 0:
|
|
1020
|
+
return S.suspend(() =>
|
|
1021
|
+
S.Struct({
|
|
1022
|
+
id: S.optional(S.Number),
|
|
1023
|
+
name: S.optional(S.String),
|
|
1024
|
+
type: S.optional(S.String),
|
|
1025
|
+
active: S.optional(S.Boolean),
|
|
1026
|
+
created_at: S.optional(S.String),
|
|
1027
|
+
owner: S.optional(S.String),
|
|
1028
|
+
members_count: S.optional(S.Number),
|
|
1029
|
+
organization_id: S.optional(S.String),
|
|
1030
|
+
project_id: S.optional(S.String),
|
|
1031
|
+
}),
|
|
1032
|
+
).annotate({ identifier: "RpnGroup" });
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
function __c5(j: number): any {
|
|
1036
|
+
switch (j) {
|
|
1037
|
+
case 0:
|
|
1038
|
+
return S.suspend(() =>
|
|
1039
|
+
S.Struct({
|
|
1040
|
+
address: S.optional(S.String),
|
|
1041
|
+
cidr: S.optional(S.Number),
|
|
1042
|
+
}),
|
|
1043
|
+
).annotate({ identifier: "RpnV2GroupSubnet" });
|
|
1044
|
+
case 1:
|
|
1045
|
+
return S.suspend(() =>
|
|
1046
|
+
S.Struct({
|
|
1047
|
+
id: S.optional(S.Number),
|
|
1048
|
+
name: S.optional(S.String),
|
|
1049
|
+
compatible_rpnv1: S.optional(S.Boolean),
|
|
1050
|
+
organization_id: S.optional(S.String),
|
|
1051
|
+
project_id: S.optional(S.String),
|
|
1052
|
+
type: S.optional(S.String),
|
|
1053
|
+
status: S.optional(S.String),
|
|
1054
|
+
owner: S.optional(S.String),
|
|
1055
|
+
members_count: S.optional(S.Number),
|
|
1056
|
+
subnet: S.optional(__S(160, __c5, 0)),
|
|
1057
|
+
gateway: S.optional(S.String),
|
|
1058
|
+
rpnv1_group: S.optional(__S(128, __c4, 0)),
|
|
1059
|
+
}),
|
|
1060
|
+
).annotate({ identifier: "RpnV2Group" });
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
function __c6(j: number): any {
|
|
1064
|
+
switch (j) {
|
|
1065
|
+
case 0:
|
|
1066
|
+
return S.suspend(() =>
|
|
1067
|
+
S.Struct({
|
|
1068
|
+
group_id: S.Number.pipe(T.Label()),
|
|
1069
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
1070
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1071
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1072
|
+
type: S.optional(S.String.pipe(T.Query())),
|
|
1073
|
+
}).pipe(
|
|
1074
|
+
T.Http({
|
|
1075
|
+
method: "GET",
|
|
1076
|
+
uri: "/dedibox/v1/rpnv2/groups/{group_id}/members",
|
|
1077
|
+
code: 200,
|
|
1078
|
+
baseUrl: "https://api.scaleway.com",
|
|
1079
|
+
}),
|
|
1080
|
+
),
|
|
1081
|
+
).annotate({ identifier: "ListRpnV2MembersRequest" });
|
|
1082
|
+
case 1:
|
|
1083
|
+
return S.Array(__S(576, __c18, 0));
|
|
1084
|
+
case 2:
|
|
1085
|
+
return S.suspend(() =>
|
|
1086
|
+
S.Struct({
|
|
1087
|
+
total_count: S.optional(S.Number),
|
|
1088
|
+
members: __S(193, __c6, 1),
|
|
1089
|
+
}),
|
|
1090
|
+
).annotate({ identifier: "ListRpnV2MembersResponse" });
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
function __c7(j: number): any {
|
|
1094
|
+
switch (j) {
|
|
1095
|
+
case 0:
|
|
1096
|
+
return S.suspend(() =>
|
|
1097
|
+
S.Struct({
|
|
1098
|
+
group_id: S.Number.pipe(T.Label()),
|
|
1099
|
+
name: S.optional(S.String),
|
|
1100
|
+
}).pipe(
|
|
1101
|
+
T.Http({
|
|
1102
|
+
method: "PATCH",
|
|
1103
|
+
uri: "/dedibox/v1/rpnv2/groups/{group_id}",
|
|
1104
|
+
code: 200,
|
|
1105
|
+
baseUrl: "https://api.scaleway.com",
|
|
1106
|
+
}),
|
|
1107
|
+
),
|
|
1108
|
+
).annotate({ identifier: "UpdateRpnV2GroupNameRequest" });
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
function __c8(j: number): any {
|
|
1112
|
+
switch (j) {
|
|
1113
|
+
case 0:
|
|
1114
|
+
return S.suspend(() =>
|
|
1115
|
+
S.Struct({
|
|
1116
|
+
group_id: S.Number.pipe(T.Label()),
|
|
1117
|
+
member_ids: __S(32, __c1, 0),
|
|
1118
|
+
vlan: S.optional(S.Number),
|
|
1119
|
+
}).pipe(
|
|
1120
|
+
T.Http({
|
|
1121
|
+
method: "PATCH",
|
|
1122
|
+
uri: "/dedibox/v1/rpnv2/groups/{group_id}/vlan",
|
|
1123
|
+
code: 200,
|
|
1124
|
+
baseUrl: "https://api.scaleway.com",
|
|
1125
|
+
}),
|
|
1126
|
+
),
|
|
1127
|
+
).annotate({ identifier: "UpdateRpnV2VlanForMembersRequest" });
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
function __c9(j: number): any {
|
|
1131
|
+
switch (j) {
|
|
1132
|
+
case 0:
|
|
1133
|
+
return S.suspend(() =>
|
|
1134
|
+
S.Struct({
|
|
1135
|
+
group_id: S.Number.pipe(T.Label()),
|
|
1136
|
+
}).pipe(
|
|
1137
|
+
T.Http({
|
|
1138
|
+
method: "DELETE",
|
|
1139
|
+
uri: "/dedibox/v1/rpnv2/groups/{group_id}",
|
|
1140
|
+
code: 200,
|
|
1141
|
+
baseUrl: "https://api.scaleway.com",
|
|
1142
|
+
}),
|
|
1143
|
+
),
|
|
1144
|
+
).annotate({ identifier: "DeleteRpnV2GroupRequest" });
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
function __c10(j: number): any {
|
|
1148
|
+
switch (j) {
|
|
1149
|
+
case 0:
|
|
1150
|
+
return S.suspend(() =>
|
|
1151
|
+
S.Struct({
|
|
1152
|
+
group_id: S.Number.pipe(T.Label()),
|
|
1153
|
+
member_ids: __S(32, __c1, 0),
|
|
1154
|
+
}).pipe(
|
|
1155
|
+
T.Http({
|
|
1156
|
+
method: "DELETE",
|
|
1157
|
+
uri: "/dedibox/v1/rpnv2/groups/{group_id}/members",
|
|
1158
|
+
code: 200,
|
|
1159
|
+
baseUrl: "https://api.scaleway.com",
|
|
1160
|
+
}),
|
|
1161
|
+
),
|
|
1162
|
+
).annotate({ identifier: "DeleteRpnV2MembersRequest" });
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
function __c11(j: number): any {
|
|
1166
|
+
switch (j) {
|
|
1167
|
+
case 0:
|
|
1168
|
+
return S.suspend(() =>
|
|
1169
|
+
S.Struct({
|
|
1170
|
+
group_id: S.Number.pipe(T.Label()),
|
|
1171
|
+
}).pipe(
|
|
1172
|
+
T.Http({
|
|
1173
|
+
method: "POST",
|
|
1174
|
+
uri: "/dedibox/v1/rpnv2/groups/{group_id}/disable-compatibility",
|
|
1175
|
+
code: 200,
|
|
1176
|
+
baseUrl: "https://api.scaleway.com",
|
|
1177
|
+
}),
|
|
1178
|
+
),
|
|
1179
|
+
).annotate({ identifier: "DisableRpnV2GroupCompatibilityRequest" });
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
function __c12(j: number): any {
|
|
1183
|
+
switch (j) {
|
|
1184
|
+
case 0:
|
|
1185
|
+
return S.suspend(() =>
|
|
1186
|
+
S.Struct({
|
|
1187
|
+
group_id: S.Number.pipe(T.Label()),
|
|
1188
|
+
rpnv1_group_id: S.Number,
|
|
1189
|
+
}).pipe(
|
|
1190
|
+
T.Http({
|
|
1191
|
+
method: "POST",
|
|
1192
|
+
uri: "/dedibox/v1/rpnv2/groups/{group_id}/enable-compatibility",
|
|
1193
|
+
code: 200,
|
|
1194
|
+
baseUrl: "https://api.scaleway.com",
|
|
1195
|
+
}),
|
|
1196
|
+
),
|
|
1197
|
+
).annotate({ identifier: "EnableRpnV2GroupCompatibilityRequest" });
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
function __c13(j: number): any {
|
|
1201
|
+
switch (j) {
|
|
1202
|
+
case 0:
|
|
1203
|
+
return S.suspend(() =>
|
|
1204
|
+
S.Struct({
|
|
1205
|
+
group_id: S.Number.pipe(T.Label()),
|
|
1206
|
+
}).pipe(
|
|
1207
|
+
T.Http({
|
|
1208
|
+
method: "GET",
|
|
1209
|
+
uri: "/dedibox/v1/rpnv2/groups/{group_id}",
|
|
1210
|
+
code: 200,
|
|
1211
|
+
baseUrl: "https://api.scaleway.com",
|
|
1212
|
+
}),
|
|
1213
|
+
),
|
|
1214
|
+
).annotate({ identifier: "GetRpnV2GroupRequest" });
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
function __c14(j: number): any {
|
|
1218
|
+
switch (j) {
|
|
1219
|
+
case 0:
|
|
1220
|
+
return S.suspend(() =>
|
|
1221
|
+
S.Struct({
|
|
1222
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
1223
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1224
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1225
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
1226
|
+
}).pipe(
|
|
1227
|
+
T.Http({
|
|
1228
|
+
method: "GET",
|
|
1229
|
+
uri: "/dedibox/v1/rpnv2/groups/capable",
|
|
1230
|
+
code: 200,
|
|
1231
|
+
baseUrl: "https://api.scaleway.com",
|
|
1232
|
+
}),
|
|
1233
|
+
),
|
|
1234
|
+
).annotate({ identifier: "ListRpnV2CapableResourcesRequest" });
|
|
1235
|
+
case 1:
|
|
1236
|
+
return S.Array(__S(520, __c16, 8));
|
|
1237
|
+
case 2:
|
|
1238
|
+
return S.suspend(() =>
|
|
1239
|
+
S.Struct({
|
|
1240
|
+
total_count: S.optional(S.Number),
|
|
1241
|
+
servers: __S(449, __c14, 1),
|
|
1242
|
+
}),
|
|
1243
|
+
).annotate({ identifier: "ListRpnV2CapableResourcesResponse" });
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
function __c15(j: number): any {
|
|
1247
|
+
switch (j) {
|
|
1248
|
+
case 0:
|
|
1249
|
+
return S.suspend(() =>
|
|
1250
|
+
S.Struct({
|
|
1251
|
+
currency_code: S.optional(S.String),
|
|
1252
|
+
units: S.optional(S.Number),
|
|
1253
|
+
nanos: S.optional(S.Number),
|
|
1254
|
+
}),
|
|
1255
|
+
).annotate({ identifier: "GoogleTypeMoney" });
|
|
1256
|
+
case 1:
|
|
1257
|
+
return S.suspend(() =>
|
|
1258
|
+
S.Struct({
|
|
1259
|
+
capacity: S.optional(S.Number),
|
|
1260
|
+
type: S.optional(S.String),
|
|
1261
|
+
}),
|
|
1262
|
+
).annotate({ identifier: "Disk" });
|
|
1263
|
+
case 2:
|
|
1264
|
+
return S.Array(__S(481, __c15, 1));
|
|
1265
|
+
case 3:
|
|
1266
|
+
return S.suspend(() =>
|
|
1267
|
+
S.Struct({
|
|
1268
|
+
name: S.optional(S.String),
|
|
1269
|
+
core_count: S.optional(S.Number),
|
|
1270
|
+
thread_count: S.optional(S.Number),
|
|
1271
|
+
frequency: S.optional(S.Number),
|
|
1272
|
+
bench: S.optional(S.Number),
|
|
1273
|
+
}),
|
|
1274
|
+
).annotate({ identifier: "CPU" });
|
|
1275
|
+
case 4:
|
|
1276
|
+
return S.Array(__S(483, __c15, 3));
|
|
1277
|
+
case 5:
|
|
1278
|
+
return S.suspend(() =>
|
|
1279
|
+
S.Struct({
|
|
1280
|
+
capacity: S.optional(S.Number),
|
|
1281
|
+
type: S.optional(S.String),
|
|
1282
|
+
frequency: S.optional(S.Number),
|
|
1283
|
+
is_ecc: S.optional(S.Boolean),
|
|
1284
|
+
}),
|
|
1285
|
+
).annotate({ identifier: "Memory" });
|
|
1286
|
+
case 6:
|
|
1287
|
+
return S.Array(__S(485, __c15, 5));
|
|
1288
|
+
case 7:
|
|
1289
|
+
return S.suspend(() =>
|
|
1290
|
+
S.Struct({
|
|
1291
|
+
capacity: S.optional(S.Number),
|
|
1292
|
+
frequency: S.optional(S.Number),
|
|
1293
|
+
model: S.optional(S.String),
|
|
1294
|
+
}),
|
|
1295
|
+
).annotate({ identifier: "PersistentMemory" });
|
|
1296
|
+
case 8:
|
|
1297
|
+
return S.Array(__S(487, __c15, 7));
|
|
1298
|
+
case 9:
|
|
1299
|
+
return S.Array(S.String);
|
|
1300
|
+
case 10:
|
|
1301
|
+
return S.suspend(() =>
|
|
1302
|
+
S.Struct({
|
|
1303
|
+
model: S.optional(S.String),
|
|
1304
|
+
raid_level: S.optional(__S(489, __c15, 9)),
|
|
1305
|
+
}),
|
|
1306
|
+
).annotate({ identifier: "RaidController" });
|
|
1307
|
+
case 11:
|
|
1308
|
+
return S.Array(__S(490, __c15, 10));
|
|
1309
|
+
case 12:
|
|
1310
|
+
return S.Array(/*@__PURE__*/ S.suspend(() => __S(510, __c15, 30)));
|
|
1311
|
+
case 13:
|
|
1312
|
+
return S.Record(S.String, S.String);
|
|
1313
|
+
case 14:
|
|
1314
|
+
return S.suspend(() =>
|
|
1315
|
+
S.Struct({
|
|
1316
|
+
stock: S.optional(S.String),
|
|
1317
|
+
quantity: S.optional(S.Number),
|
|
1318
|
+
}),
|
|
1319
|
+
).annotate({ identifier: "OfferServerInfoAvailability" });
|
|
1320
|
+
case 15:
|
|
1321
|
+
return S.Record(S.String, __S(494, __c15, 14));
|
|
1322
|
+
case 16:
|
|
1323
|
+
return S.suspend(() =>
|
|
1324
|
+
S.Struct({
|
|
1325
|
+
bandwidth: S.optional(S.Number),
|
|
1326
|
+
stock: S.optional(S.String),
|
|
1327
|
+
commercial_range: S.optional(S.String),
|
|
1328
|
+
disks: S.optional(__S(482, __c15, 2)),
|
|
1329
|
+
cpus: S.optional(__S(484, __c15, 4)),
|
|
1330
|
+
memories: S.optional(__S(486, __c15, 6)),
|
|
1331
|
+
persistent_memories: S.optional(__S(488, __c15, 8)),
|
|
1332
|
+
raid_controllers: S.optional(__S(491, __c15, 11)),
|
|
1333
|
+
available_options: S.optional(__S(492, __c15, 12)),
|
|
1334
|
+
rpn_version: S.optional(S.Number),
|
|
1335
|
+
connectivity: S.optional(S.Number),
|
|
1336
|
+
onetime_fees: S.optional(S.suspend(() => __S(510, __c15, 30))),
|
|
1337
|
+
stock_by_datacenter: S.optional(__S(493, __c15, 13)),
|
|
1338
|
+
availability_by_datacenter: S.optional(__S(495, __c15, 15)),
|
|
1339
|
+
rpn_speed: S.optional(S.Number),
|
|
1340
|
+
}),
|
|
1341
|
+
).annotate({ identifier: "OfferServerInfo" });
|
|
1342
|
+
case 17:
|
|
1343
|
+
return S.suspend(() =>
|
|
1344
|
+
S.Struct({
|
|
1345
|
+
support_ticket: S.optional(S.Boolean),
|
|
1346
|
+
support_phone: S.optional(S.Boolean),
|
|
1347
|
+
sales_support: S.optional(S.Boolean),
|
|
1348
|
+
git: S.optional(S.String),
|
|
1349
|
+
sla: S.optional(S.Number),
|
|
1350
|
+
priority_support: S.optional(S.Boolean),
|
|
1351
|
+
high_rpn_bandwidth: S.optional(S.Boolean),
|
|
1352
|
+
customization: S.optional(S.Boolean),
|
|
1353
|
+
antidos: S.optional(S.Boolean),
|
|
1354
|
+
extra_failover_quota: S.optional(S.Number),
|
|
1355
|
+
available_options: S.optional(__S(492, __c15, 12)),
|
|
1356
|
+
}),
|
|
1357
|
+
).annotate({ identifier: "OfferServiceLevelInfo" });
|
|
1358
|
+
case 18:
|
|
1359
|
+
return S.suspend(() =>
|
|
1360
|
+
S.Struct({
|
|
1361
|
+
speed: S.optional(S.Number),
|
|
1362
|
+
}),
|
|
1363
|
+
).annotate({ identifier: "OfferRPNInfo" });
|
|
1364
|
+
case 19:
|
|
1365
|
+
return S.suspend(() =>
|
|
1366
|
+
S.Struct({
|
|
1367
|
+
size: S.optional(S.Number),
|
|
1368
|
+
ha: S.optional(S.Boolean),
|
|
1369
|
+
device_type: S.optional(S.String),
|
|
1370
|
+
}),
|
|
1371
|
+
).annotate({ identifier: "OfferSANInfo" });
|
|
1372
|
+
case 20:
|
|
1373
|
+
return S.suspend(() =>
|
|
1374
|
+
S.Struct({
|
|
1375
|
+
type: S.optional(S.String),
|
|
1376
|
+
}),
|
|
1377
|
+
).annotate({ identifier: "OfferAntiDosInfo" });
|
|
1378
|
+
case 21:
|
|
1379
|
+
return S.suspend(() =>
|
|
1380
|
+
S.Struct({
|
|
1381
|
+
size: S.optional(S.Number),
|
|
1382
|
+
}),
|
|
1383
|
+
).annotate({ identifier: "OfferBackupInfo" });
|
|
1384
|
+
case 22:
|
|
1385
|
+
return S.suspend(() =>
|
|
1386
|
+
S.Struct({
|
|
1387
|
+
max_quota: S.optional(S.Number),
|
|
1388
|
+
size: S.optional(S.Number),
|
|
1389
|
+
}),
|
|
1390
|
+
).annotate({ identifier: "OfferStorageInfo" });
|
|
1391
|
+
case 23:
|
|
1392
|
+
return S.suspend(() =>
|
|
1393
|
+
S.Struct({
|
|
1394
|
+
bound_to_ip: S.optional(S.Boolean),
|
|
1395
|
+
}),
|
|
1396
|
+
).annotate({ identifier: "OfferLicenseInfo" });
|
|
1397
|
+
case 24:
|
|
1398
|
+
return S.suspend(() =>
|
|
1399
|
+
S.Struct({
|
|
1400
|
+
onetime_fees: S.optional(S.suspend(() => __S(510, __c15, 30))),
|
|
1401
|
+
}),
|
|
1402
|
+
).annotate({ identifier: "OfferFailoverIpInfo" });
|
|
1403
|
+
case 25:
|
|
1404
|
+
return S.suspend(() =>
|
|
1405
|
+
S.Struct({
|
|
1406
|
+
unit: S.optional(S.String),
|
|
1407
|
+
value: S.optional(S.Number),
|
|
1408
|
+
free_setup_fees: S.optional(S.Boolean),
|
|
1409
|
+
duration: S.optional(S.String),
|
|
1410
|
+
discounted_price: S.optional(__S(480, __c15, 0)),
|
|
1411
|
+
}),
|
|
1412
|
+
).annotate({ identifier: "OfferCommitment" });
|
|
1413
|
+
case 26:
|
|
1414
|
+
return S.Array(__S(505, __c15, 25));
|
|
1415
|
+
case 27:
|
|
1416
|
+
return S.Array(S.String);
|
|
1417
|
+
case 28:
|
|
1418
|
+
return S.suspend(() =>
|
|
1419
|
+
S.Struct({
|
|
1420
|
+
id: S.optional(S.Number),
|
|
1421
|
+
name: S.optional(S.String),
|
|
1422
|
+
type: S.optional(S.String),
|
|
1423
|
+
version: S.optional(S.String),
|
|
1424
|
+
arch: S.optional(S.String),
|
|
1425
|
+
allow_custom_partitioning: S.optional(S.Boolean),
|
|
1426
|
+
allow_ssh_keys: S.optional(S.Boolean),
|
|
1427
|
+
requires_user: S.optional(S.Boolean),
|
|
1428
|
+
requires_admin_password: S.optional(S.Boolean),
|
|
1429
|
+
requires_panel_password: S.optional(S.Boolean),
|
|
1430
|
+
allowed_filesystems: S.optional(__S(507, __c15, 27)),
|
|
1431
|
+
requires_license: S.optional(S.Boolean),
|
|
1432
|
+
license_offers: S.optional(__S(492, __c15, 12)),
|
|
1433
|
+
max_partitions: S.optional(S.Number),
|
|
1434
|
+
display_name: S.optional(S.String),
|
|
1435
|
+
password_regex: S.optional(S.String),
|
|
1436
|
+
panel_password_regex: S.optional(S.String),
|
|
1437
|
+
requires_valid_hostname: S.optional(S.Boolean),
|
|
1438
|
+
hostname_regex: S.optional(S.String),
|
|
1439
|
+
hostname_max_length: S.optional(S.Number),
|
|
1440
|
+
released_at: S.optional(S.String),
|
|
1441
|
+
beta: S.optional(S.String),
|
|
1442
|
+
description: S.optional(S.String),
|
|
1443
|
+
official_website: S.optional(S.String),
|
|
1444
|
+
}),
|
|
1445
|
+
).annotate({ identifier: "OS" });
|
|
1446
|
+
case 29:
|
|
1447
|
+
return S.Array(__S(508, __c15, 28));
|
|
1448
|
+
case 30:
|
|
1449
|
+
return S.suspend(() =>
|
|
1450
|
+
S.Struct({
|
|
1451
|
+
id: S.optional(S.Number),
|
|
1452
|
+
name: S.optional(S.String),
|
|
1453
|
+
catalog: S.optional(S.String),
|
|
1454
|
+
payment_frequency: S.optional(S.String),
|
|
1455
|
+
pricing: S.optional(__S(480, __c15, 0)),
|
|
1456
|
+
offer_id: S.optional(S.Number),
|
|
1457
|
+
server_info: S.optional(__S(496, __c15, 16)),
|
|
1458
|
+
service_level_info: S.optional(__S(497, __c15, 17)),
|
|
1459
|
+
rpn_info: S.optional(__S(498, __c15, 18)),
|
|
1460
|
+
san_info: S.optional(__S(499, __c15, 19)),
|
|
1461
|
+
antidos_info: S.optional(__S(500, __c15, 20)),
|
|
1462
|
+
backup_info: S.optional(__S(501, __c15, 21)),
|
|
1463
|
+
usb_storage_info: S.optional(__S(502, __c15, 22)),
|
|
1464
|
+
storage_info: S.optional(__S(502, __c15, 22)),
|
|
1465
|
+
license_info: S.optional(__S(503, __c15, 23)),
|
|
1466
|
+
failover_ip_info: S.optional(__S(504, __c15, 24)),
|
|
1467
|
+
failover_block_info: S.optional(__S(504, __c15, 24)),
|
|
1468
|
+
bandwidth_info: S.optional(__S(498, __c15, 18)),
|
|
1469
|
+
commitments: S.optional(__S(506, __c15, 26)),
|
|
1470
|
+
available_os: S.optional(__S(509, __c15, 29)),
|
|
1471
|
+
}),
|
|
1472
|
+
).annotate({ identifier: "Offer" });
|
|
1473
|
+
case 31:
|
|
1474
|
+
return S.suspend(() =>
|
|
1475
|
+
S.Struct({
|
|
1476
|
+
rack: S.optional(S.String),
|
|
1477
|
+
room: S.optional(S.String),
|
|
1478
|
+
datacenter_name: S.optional(S.String),
|
|
1479
|
+
}),
|
|
1480
|
+
).annotate({ identifier: "ServerLocation" });
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
function __c16(j: number): any {
|
|
1484
|
+
switch (j) {
|
|
1485
|
+
case 0:
|
|
1486
|
+
return S.suspend(() =>
|
|
1487
|
+
S.Struct({
|
|
1488
|
+
ip_id: S.optional(S.Number),
|
|
1489
|
+
address: S.optional(S.String),
|
|
1490
|
+
reverse: S.optional(S.String),
|
|
1491
|
+
version: S.optional(S.String),
|
|
1492
|
+
cidr: S.optional(S.Number),
|
|
1493
|
+
netmask: S.optional(S.String),
|
|
1494
|
+
semantic: S.optional(S.String),
|
|
1495
|
+
gateway: S.optional(S.String),
|
|
1496
|
+
status: S.optional(S.String),
|
|
1497
|
+
}),
|
|
1498
|
+
).annotate({ identifier: "IP" });
|
|
1499
|
+
case 1:
|
|
1500
|
+
return S.Array(__S(512, __c16, 0));
|
|
1501
|
+
case 2:
|
|
1502
|
+
return S.suspend(() =>
|
|
1503
|
+
S.Struct({
|
|
1504
|
+
card_id: S.optional(S.Number),
|
|
1505
|
+
device_id: S.optional(S.Number),
|
|
1506
|
+
mac: S.optional(S.String),
|
|
1507
|
+
type: S.optional(S.String),
|
|
1508
|
+
ips: S.optional(__S(513, __c16, 1)),
|
|
1509
|
+
}),
|
|
1510
|
+
).annotate({ identifier: "NetworkInterface" });
|
|
1511
|
+
case 3:
|
|
1512
|
+
return S.Array(__S(514, __c16, 2));
|
|
1513
|
+
case 4:
|
|
1514
|
+
return S.Array(/*@__PURE__*/ S.suspend(() => __S(517, __c16, 5)));
|
|
1515
|
+
case 5:
|
|
1516
|
+
return S.suspend(() =>
|
|
1517
|
+
S.Struct({
|
|
1518
|
+
offer: S.optional(__S(510, __c15, 30)),
|
|
1519
|
+
created_at: S.optional(S.String),
|
|
1520
|
+
updated_at: S.optional(S.String),
|
|
1521
|
+
expired_at: S.optional(S.String),
|
|
1522
|
+
options: S.optional(__S(516, __c16, 4)),
|
|
1523
|
+
}),
|
|
1524
|
+
).annotate({ identifier: "ServerOption" });
|
|
1525
|
+
case 6:
|
|
1526
|
+
return S.Array(__S(517, __c16, 5));
|
|
1527
|
+
case 7:
|
|
1528
|
+
return S.suspend(() =>
|
|
1529
|
+
S.Struct({
|
|
1530
|
+
offer_id: S.optional(S.Number),
|
|
1531
|
+
level: S.optional(S.String),
|
|
1532
|
+
}),
|
|
1533
|
+
).annotate({ identifier: "ServiceLevel" });
|
|
1534
|
+
case 8:
|
|
1535
|
+
return S.suspend(() =>
|
|
1536
|
+
S.Struct({
|
|
1537
|
+
id: S.optional(S.Number),
|
|
1538
|
+
organization_id: S.optional(S.String),
|
|
1539
|
+
project_id: S.optional(S.String),
|
|
1540
|
+
hostname: S.optional(S.String),
|
|
1541
|
+
rebooted_at: S.optional(S.String),
|
|
1542
|
+
created_at: S.optional(S.String),
|
|
1543
|
+
updated_at: S.optional(S.String),
|
|
1544
|
+
expired_at: S.optional(S.String),
|
|
1545
|
+
offer: S.optional(__S(510, __c15, 30)),
|
|
1546
|
+
status: S.optional(S.String),
|
|
1547
|
+
location: S.optional(__S(511, __c15, 31)),
|
|
1548
|
+
abuse_contact: S.optional(S.String),
|
|
1549
|
+
os: S.optional(__S(508, __c15, 28)),
|
|
1550
|
+
interfaces: S.optional(__S(515, __c16, 3)),
|
|
1551
|
+
zone: S.optional(S.String),
|
|
1552
|
+
options: S.optional(__S(518, __c16, 6)),
|
|
1553
|
+
level: S.optional(__S(519, __c16, 7)),
|
|
1554
|
+
has_bmc: S.optional(S.Boolean),
|
|
1555
|
+
rescue_os: S.optional(__S(508, __c15, 28)),
|
|
1556
|
+
tags: S.optional(__S(489, __c15, 9)),
|
|
1557
|
+
is_outsourced: S.optional(S.Boolean),
|
|
1558
|
+
ipv6_slaac: S.optional(S.Boolean),
|
|
1559
|
+
qinq: S.optional(S.Boolean),
|
|
1560
|
+
is_rpnv2_member: S.optional(S.Boolean),
|
|
1561
|
+
is_hds: S.optional(S.Boolean),
|
|
1562
|
+
}),
|
|
1563
|
+
).annotate({ identifier: "Server" });
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
function __c17(j: number): any {
|
|
1567
|
+
switch (j) {
|
|
1568
|
+
case 0:
|
|
1569
|
+
return S.suspend(() =>
|
|
1570
|
+
S.Struct({
|
|
1571
|
+
group_id: S.Number.pipe(T.Label()),
|
|
1572
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
1573
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1574
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1575
|
+
}).pipe(
|
|
1576
|
+
T.Http({
|
|
1577
|
+
method: "GET",
|
|
1578
|
+
uri: "/dedibox/v1/rpnv2/groups/{group_id}/logs",
|
|
1579
|
+
code: 200,
|
|
1580
|
+
baseUrl: "https://api.scaleway.com",
|
|
1581
|
+
}),
|
|
1582
|
+
),
|
|
1583
|
+
).annotate({ identifier: "ListRpnV2GroupLogsRequest" });
|
|
1584
|
+
case 1:
|
|
1585
|
+
return S.suspend(() =>
|
|
1586
|
+
S.Struct({
|
|
1587
|
+
id: S.optional(S.Number),
|
|
1588
|
+
group: S.optional(__S(161, __c5, 1)),
|
|
1589
|
+
member: S.optional(__S(576, __c18, 0)),
|
|
1590
|
+
action: S.optional(S.String),
|
|
1591
|
+
status: S.optional(S.String),
|
|
1592
|
+
created_at: S.optional(S.String),
|
|
1593
|
+
finished_at: S.optional(S.String),
|
|
1594
|
+
}),
|
|
1595
|
+
).annotate({ identifier: "Log" });
|
|
1596
|
+
case 2:
|
|
1597
|
+
return S.Array(__S(545, __c17, 1));
|
|
1598
|
+
case 3:
|
|
1599
|
+
return S.suspend(() =>
|
|
1600
|
+
S.Struct({
|
|
1601
|
+
total_count: S.optional(S.Number),
|
|
1602
|
+
logs: __S(546, __c17, 2),
|
|
1603
|
+
}),
|
|
1604
|
+
).annotate({ identifier: "ListRpnV2GroupLogsResponse" });
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
function __c18(j: number): any {
|
|
1608
|
+
switch (j) {
|
|
1609
|
+
case 0:
|
|
1610
|
+
return S.suspend(() =>
|
|
1611
|
+
S.Struct({
|
|
1612
|
+
id: S.optional(S.Number),
|
|
1613
|
+
status: S.optional(S.String),
|
|
1614
|
+
vlan: S.optional(S.String),
|
|
1615
|
+
server: S.optional(__S(520, __c16, 8)),
|
|
1616
|
+
rpnv1_group: S.optional(__S(128, __c4, 0)),
|
|
1617
|
+
speed: S.optional(S.Number),
|
|
1618
|
+
}),
|
|
1619
|
+
).annotate({ identifier: "RpnV2Member" });
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
function __c19(j: number): any {
|
|
1623
|
+
switch (j) {
|
|
1624
|
+
case 0:
|
|
1625
|
+
return S.suspend(() =>
|
|
1626
|
+
S.Struct({
|
|
1627
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
1628
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1629
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1630
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
1631
|
+
}).pipe(
|
|
1632
|
+
T.Http({
|
|
1633
|
+
method: "GET",
|
|
1634
|
+
uri: "/dedibox/v1/rpnv2/groups",
|
|
1635
|
+
code: 200,
|
|
1636
|
+
baseUrl: "https://api.scaleway.com",
|
|
1637
|
+
}),
|
|
1638
|
+
),
|
|
1639
|
+
).annotate({ identifier: "ListRpnV2GroupsRequest" });
|
|
1640
|
+
case 1:
|
|
1641
|
+
return S.Array(__S(161, __c5, 1));
|
|
1642
|
+
case 2:
|
|
1643
|
+
return S.suspend(() =>
|
|
1644
|
+
S.Struct({
|
|
1645
|
+
total_count: S.optional(S.Number),
|
|
1646
|
+
rpn_groups: __S(609, __c19, 1),
|
|
1647
|
+
}),
|
|
1648
|
+
).annotate({ identifier: "ListRpnV2GroupsResponse" });
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
1652
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
1653
|
+
return (__s[i] ??= __L.at(f, j));
|
|
1654
|
+
}
|