@distilled.cloud/scaleway 0.0.0 → 1.0.0-rc.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +171 -4
- package/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +44 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +285 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +48 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/pagination.d.ts +10 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +1 -0
- package/lib/protocol.d.ts +48 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +1 -0
- package/lib/retry.d.ts +31 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +1 -0
- package/lib/services/account_contract_v3.d.ts +124 -0
- package/lib/services/account_contract_v3.d.ts.map +1 -0
- package/lib/services/account_contract_v3.js +2 -0
- package/lib/services/account_contract_v3.js.map +1 -0
- package/lib/services/account_iso_code_v3.d.ts +44 -0
- package/lib/services/account_iso_code_v3.d.ts.map +1 -0
- package/lib/services/account_iso_code_v3.js +2 -0
- package/lib/services/account_iso_code_v3.js.map +1 -0
- package/lib/services/account_organization_v3.d.ts +290 -0
- package/lib/services/account_organization_v3.d.ts.map +1 -0
- package/lib/services/account_organization_v3.js +2 -0
- package/lib/services/account_organization_v3.js.map +1 -0
- package/lib/services/account_project_v3.d.ts +173 -0
- package/lib/services/account_project_v3.d.ts.map +1 -0
- package/lib/services/account_project_v3.js +2 -0
- package/lib/services/account_project_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts +479 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.js +35 -0
- package/lib/services/account_unauthenticated_user_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_v3.d.ts +18 -0
- package/lib/services/account_unauthenticated_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_v3.js +2 -0
- package/lib/services/account_unauthenticated_v3.js.map +1 -0
- package/lib/services/account_user_v3.d.ts +522 -0
- package/lib/services/account_user_v3.d.ts.map +1 -0
- package/lib/services/account_user_v3.js +39 -0
- package/lib/services/account_user_v3.js.map +1 -0
- package/lib/services/annotations_v1.d.ts +260 -0
- package/lib/services/annotations_v1.d.ts.map +1 -0
- package/lib/services/annotations_v1.js +2 -0
- package/lib/services/annotations_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v1.d.ts +95 -0
- package/lib/services/baremetal_private_network_v1.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v1.js +2 -0
- package/lib/services/baremetal_private_network_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v3.d.ts +110 -0
- package/lib/services/baremetal_private_network_v3.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v3.js +2 -0
- package/lib/services/baremetal_private_network_v3.js.map +1 -0
- package/lib/services/baremetal_v1.d.ts +1089 -0
- package/lib/services/baremetal_v1.d.ts.map +1 -0
- package/lib/services/baremetal_v1.js +52 -0
- package/lib/services/baremetal_v1.js.map +1 -0
- package/lib/services/billing_electronic_billing_v2.d.ts +86 -0
- package/lib/services/billing_electronic_billing_v2.d.ts.map +1 -0
- package/lib/services/billing_electronic_billing_v2.js +2 -0
- package/lib/services/billing_electronic_billing_v2.js.map +1 -0
- package/lib/services/billing_v2.d.ts +187 -0
- package/lib/services/billing_v2.d.ts.map +1 -0
- package/lib/services/billing_v2.js +2 -0
- package/lib/services/billing_v2.js.map +1 -0
- package/lib/services/block_v1.d.ts +401 -0
- package/lib/services/block_v1.d.ts.map +1 -0
- package/lib/services/block_v1.js +27 -0
- package/lib/services/block_v1.js.map +1 -0
- package/lib/services/cockpit_global_v1.d.ts +75 -0
- package/lib/services/cockpit_global_v1.d.ts.map +1 -0
- package/lib/services/cockpit_global_v1.js +2 -0
- package/lib/services/cockpit_global_v1.js.map +1 -0
- package/lib/services/cockpit_regional_v1.d.ts +739 -0
- package/lib/services/cockpit_regional_v1.d.ts.map +1 -0
- package/lib/services/cockpit_regional_v1.js +47 -0
- package/lib/services/cockpit_regional_v1.js.map +1 -0
- package/lib/services/containers_v1.d.ts +822 -0
- package/lib/services/containers_v1.d.ts.map +1 -0
- package/lib/services/containers_v1.js +39 -0
- package/lib/services/containers_v1.js.map +1 -0
- package/lib/services/dedibox_billing_v1.d.ts +151 -0
- package/lib/services/dedibox_billing_v1.d.ts.map +1 -0
- package/lib/services/dedibox_billing_v1.js +2 -0
- package/lib/services/dedibox_billing_v1.js.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts +119 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.js +2 -0
- package/lib/services/dedibox_ipv6_block_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts +486 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.js +2 -0
- package/lib/services/dedibox_rpn_san_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1.d.ts +68 -0
- package/lib/services/dedibox_rpn_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1.js +2 -0
- package/lib/services/dedibox_rpn_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts +687 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.js +30 -0
- package/lib/services/dedibox_rpn_v1_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts +646 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.js +27 -0
- package/lib/services/dedibox_rpn_v2_v1.js.map +1 -0
- package/lib/services/dedibox_v1.d.ts +1351 -0
- package/lib/services/dedibox_v1.d.ts.map +1 -0
- package/lib/services/dedibox_v1.js +70 -0
- package/lib/services/dedibox_v1.js.map +1 -0
- package/lib/services/generative_apis_openai_v1.d.ts +772 -0
- package/lib/services/generative_apis_openai_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_openai_v1.js +24 -0
- package/lib/services/generative_apis_openai_v1.js.map +1 -0
- package/lib/services/generative_apis_v1.d.ts +82 -0
- package/lib/services/generative_apis_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_v1.js +2 -0
- package/lib/services/generative_apis_v1.js.map +1 -0
- package/lib/services/index.d.ts +57 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +56 -0
- package/lib/services/inference_v1.d.ts +460 -0
- package/lib/services/inference_v1.d.ts.map +1 -0
- package/lib/services/inference_v1.js +33 -0
- package/lib/services/inference_v1.js.map +1 -0
- package/lib/services/instance_v1.d.ts +2183 -0
- package/lib/services/instance_v1.d.ts.map +1 -0
- package/lib/services/instance_v1.js +112 -0
- package/lib/services/instance_v1.js.map +1 -0
- package/lib/services/iot_v1.d.ts +837 -0
- package/lib/services/iot_v1.d.ts.map +1 -0
- package/lib/services/iot_v1.js +50 -0
- package/lib/services/iot_v1.js.map +1 -0
- package/lib/services/ipam_v1.d.ts +244 -0
- package/lib/services/ipam_v1.d.ts.map +1 -0
- package/lib/services/ipam_v1.js +2 -0
- package/lib/services/ipam_v1.js.map +1 -0
- package/lib/services/k8s_v1.d.ts +1223 -0
- package/lib/services/k8s_v1.d.ts.map +1 -0
- package/lib/services/k8s_v1.js +61 -0
- package/lib/services/k8s_v1.js.map +1 -0
- package/lib/services/lb_zoned_v1.d.ts +1517 -0
- package/lib/services/lb_zoned_v1.d.ts.map +1 -0
- package/lib/services/lb_zoned_v1.js +75 -0
- package/lib/services/lb_zoned_v1.js.map +1 -0
- package/lib/services/marketplace_console_v2.d.ts +72 -0
- package/lib/services/marketplace_console_v2.d.ts.map +1 -0
- package/lib/services/marketplace_console_v2.js +2 -0
- package/lib/services/marketplace_console_v2.js.map +1 -0
- package/lib/services/marketplace_v2.d.ts +169 -0
- package/lib/services/marketplace_v2.d.ts.map +1 -0
- package/lib/services/marketplace_v2.js +2 -0
- package/lib/services/marketplace_v2.js.map +1 -0
- package/lib/services/mongodb_v1.d.ts +698 -0
- package/lib/services/mongodb_v1.d.ts.map +1 -0
- package/lib/services/mongodb_v1.js +43 -0
- package/lib/services/mongodb_v1.js.map +1 -0
- package/lib/services/partner_v1.d.ts +142 -0
- package/lib/services/partner_v1.d.ts.map +1 -0
- package/lib/services/partner_v1.js +2 -0
- package/lib/services/partner_v1.js.map +1 -0
- package/lib/services/rdb_encryption_v1.d.ts +17 -0
- package/lib/services/rdb_encryption_v1.d.ts.map +1 -0
- package/lib/services/rdb_encryption_v1.js +2 -0
- package/lib/services/rdb_encryption_v1.js.map +1 -0
- package/lib/services/rdb_v1.d.ts +1422 -0
- package/lib/services/rdb_v1.d.ts.map +1 -0
- package/lib/services/rdb_v1.js +87 -0
- package/lib/services/rdb_v1.js.map +1 -0
- package/lib/services/redis_v1.d.ts +602 -0
- package/lib/services/redis_v1.d.ts.map +1 -0
- package/lib/services/redis_v1.js +42 -0
- package/lib/services/redis_v1.js.map +1 -0
- package/lib/services/registry_v1.d.ts +281 -0
- package/lib/services/registry_v1.d.ts.map +1 -0
- package/lib/services/registry_v1.js +2 -0
- package/lib/services/registry_v1.js.map +1 -0
- package/lib/services/reseller_v1.d.ts +81 -0
- package/lib/services/reseller_v1.d.ts.map +1 -0
- package/lib/services/reseller_v1.js +2 -0
- package/lib/services/reseller_v1.js.map +1 -0
- package/lib/services/vpc_gw_v2.d.ts +635 -0
- package/lib/services/vpc_gw_v2.d.ts.map +1 -0
- package/lib/services/vpc_gw_v2.js +46 -0
- package/lib/services/vpc_gw_v2.js.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts +114 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.js +2 -0
- package/lib/services/vpc_private_network_with_nics_v2.js.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts +87 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js +2 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js.map +1 -0
- package/lib/services/vpc_v2.d.ts +875 -0
- package/lib/services/vpc_v2.d.ts.map +1 -0
- package/lib/services/vpc_v2.js +54 -0
- package/lib/services/vpc_v2.js.map +1 -0
- package/lib/services/webhosting_backup_v1.d.ts +182 -0
- package/lib/services/webhosting_backup_v1.d.ts.map +1 -0
- package/lib/services/webhosting_backup_v1.js +2 -0
- package/lib/services/webhosting_backup_v1.js.map +1 -0
- package/lib/services/webhosting_control_panel_v1.d.ts +37 -0
- package/lib/services/webhosting_control_panel_v1.d.ts.map +1 -0
- package/lib/services/webhosting_control_panel_v1.js +2 -0
- package/lib/services/webhosting_control_panel_v1.js.map +1 -0
- package/lib/services/webhosting_database_v1.d.ts +195 -0
- package/lib/services/webhosting_database_v1.d.ts.map +1 -0
- package/lib/services/webhosting_database_v1.js +2 -0
- package/lib/services/webhosting_database_v1.js.map +1 -0
- package/lib/services/webhosting_dedibox_v1.d.ts +232 -0
- package/lib/services/webhosting_dedibox_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dedibox_v1.js +2 -0
- package/lib/services/webhosting_dedibox_v1.js.map +1 -0
- package/lib/services/webhosting_dns_v1.d.ts +177 -0
- package/lib/services/webhosting_dns_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dns_v1.js +2 -0
- package/lib/services/webhosting_dns_v1.js.map +1 -0
- package/lib/services/webhosting_free_domain_v1.d.ts +51 -0
- package/lib/services/webhosting_free_domain_v1.d.ts.map +1 -0
- package/lib/services/webhosting_free_domain_v1.js +2 -0
- package/lib/services/webhosting_free_domain_v1.js.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts +79 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.js +2 -0
- package/lib/services/webhosting_ftp_account_v1.js.map +1 -0
- package/lib/services/webhosting_hosting_v1.d.ts +502 -0
- package/lib/services/webhosting_hosting_v1.d.ts.map +1 -0
- package/lib/services/webhosting_hosting_v1.js +27 -0
- package/lib/services/webhosting_hosting_v1.js.map +1 -0
- package/lib/services/webhosting_mail_account_v1.d.ts +84 -0
- package/lib/services/webhosting_mail_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_mail_account_v1.js +2 -0
- package/lib/services/webhosting_mail_account_v1.js.map +1 -0
- package/lib/services/webhosting_offer_v1.d.ts +122 -0
- package/lib/services/webhosting_offer_v1.d.ts.map +1 -0
- package/lib/services/webhosting_offer_v1.js +2 -0
- package/lib/services/webhosting_offer_v1.js.map +1 -0
- package/lib/services/webhosting_website_v1.d.ts +75 -0
- package/lib/services/webhosting_website_v1.d.ts.map +1 -0
- package/lib/services/webhosting_website_v1.js +2 -0
- package/lib/services/webhosting_website_v1.js.map +1 -0
- package/lib/services.lazy/account_contract_v3.js +1 -0
- package/lib/services.lazy/account_iso_code_v3.js +1 -0
- package/lib/services.lazy/account_organization_v3.js +1 -0
- package/lib/services.lazy/account_project_v3.js +1 -0
- package/lib/services.lazy/account_unauthenticated_user_v3.js +3 -0
- package/lib/services.lazy/account_unauthenticated_v3.js +1 -0
- package/lib/services.lazy/account_user_v3.js +3 -0
- package/lib/services.lazy/annotations_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v3.js +1 -0
- package/lib/services.lazy/baremetal_v1.js +3 -0
- package/lib/services.lazy/billing_electronic_billing_v2.js +1 -0
- package/lib/services.lazy/billing_v2.js +1 -0
- package/lib/services.lazy/block_v1.js +3 -0
- package/lib/services.lazy/cockpit_global_v1.js +1 -0
- package/lib/services.lazy/cockpit_regional_v1.js +3 -0
- package/lib/services.lazy/containers_v1.js +3 -0
- package/lib/services.lazy/dedibox_billing_v1.js +1 -0
- package/lib/services.lazy/dedibox_ipv6_block_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_san_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1_v1.js +3 -0
- package/lib/services.lazy/dedibox_rpn_v2_v1.js +3 -0
- package/lib/services.lazy/dedibox_v1.js +3 -0
- package/lib/services.lazy/generative_apis_openai_v1.js +3 -0
- package/lib/services.lazy/generative_apis_v1.js +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/inference_v1.js +3 -0
- package/lib/services.lazy/instance_v1.js +3 -0
- package/lib/services.lazy/iot_v1.js +3 -0
- package/lib/services.lazy/ipam_v1.js +1 -0
- package/lib/services.lazy/k8s_v1.js +3 -0
- package/lib/services.lazy/lb_zoned_v1.js +3 -0
- package/lib/services.lazy/marketplace_console_v2.js +1 -0
- package/lib/services.lazy/marketplace_v2.js +1 -0
- package/lib/services.lazy/mongodb_v1.js +3 -0
- package/lib/services.lazy/partner_v1.js +1 -0
- package/lib/services.lazy/rdb_encryption_v1.js +1 -0
- package/lib/services.lazy/rdb_v1.js +3 -0
- package/lib/services.lazy/redis_v1.js +3 -0
- package/lib/services.lazy/registry_v1.js +1 -0
- package/lib/services.lazy/reseller_v1.js +1 -0
- package/lib/services.lazy/vpc_gw_v2.js +3 -0
- package/lib/services.lazy/vpc_private_network_with_nics_v2.js +1 -0
- package/lib/services.lazy/vpc_routes_with_nexthop_v2.js +1 -0
- package/lib/services.lazy/vpc_v2.js +3 -0
- package/lib/services.lazy/webhosting_backup_v1.js +1 -0
- package/lib/services.lazy/webhosting_control_panel_v1.js +1 -0
- package/lib/services.lazy/webhosting_database_v1.js +1 -0
- package/lib/services.lazy/webhosting_dedibox_v1.js +1 -0
- package/lib/services.lazy/webhosting_dns_v1.js +1 -0
- package/lib/services.lazy/webhosting_free_domain_v1.js +1 -0
- package/lib/services.lazy/webhosting_ftp_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_hosting_v1.js +3 -0
- package/lib/services.lazy/webhosting_mail_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_offer_v1.js +1 -0
- package/lib/services.lazy/webhosting_website_v1.js +1 -0
- package/lib/traits.d.ts +25 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts +119 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js +2 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts +569 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js +38 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts +1082 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js +47 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts +368 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js +2 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts +78 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js +2 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js.map +1 -0
- package/lib/unstable-services/billing_v2beta1.d.ts +411 -0
- package/lib/unstable-services/billing_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_v2beta1.js +25 -0
- package/lib/unstable-services/billing_v2beta1.js.map +1 -0
- package/lib/unstable-services/block_v1alpha1.d.ts +372 -0
- package/lib/unstable-services/block_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/block_v1alpha1.js +27 -0
- package/lib/unstable-services/block_v1alpha1.js.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts +440 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js +27 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts +322 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.js +2 -0
- package/lib/unstable-services/datalab_v1beta1.js.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts +456 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.js +34 -0
- package/lib/unstable-services/dataviz_v1alpha1.js.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts +492 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js +34 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts +1087 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js +50 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts +19 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js +2 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_v2beta1.d.ts +520 -0
- package/lib/unstable-services/domain_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_v2beta1.js +44 -0
- package/lib/unstable-services/domain_v2beta1.js.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts +1153 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.js +81 -0
- package/lib/unstable-services/edge_services_v1beta1.js.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts +149 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js +2 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js.map +1 -0
- package/lib/unstable-services/file_v1alpha1.d.ts +350 -0
- package/lib/unstable-services/file_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/file_v1alpha1.js +24 -0
- package/lib/unstable-services/file_v1alpha1.js.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts +241 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js +2 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js.map +1 -0
- package/lib/unstable-services/functions_v1beta1.d.ts +852 -0
- package/lib/unstable-services/functions_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/functions_v1beta1.js +49 -0
- package/lib/unstable-services/functions_v1beta1.js.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts +257 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js +2 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts +1506 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.js +105 -0
- package/lib/unstable-services/iam_v1alpha1.js.map +1 -0
- package/lib/unstable-services/index.d.ts +44 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +43 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts +1745 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_v2alpha1.js +81 -0
- package/lib/unstable-services/instance_v2alpha1.js.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts +333 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js +26 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts +636 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.js +39 -0
- package/lib/unstable-services/interlink_v1beta1.js.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts +451 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.js +27 -0
- package/lib/unstable-services/kafka_v1alpha1.js.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts +515 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.js +36 -0
- package/lib/unstable-services/key_manager_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts +438 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.js +39 -0
- package/lib/unstable-services/mailbox_v1alpha1.js.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts +420 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.js +29 -0
- package/lib/unstable-services/messageq_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts +32 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_console_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts +177 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts +604 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.js +37 -0
- package/lib/unstable-services/mongodb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts +477 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js +2 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts +764 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.js +51 -0
- package/lib/unstable-services/qaas_v1alpha1.js.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts +794 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js +45 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js.map +1 -0
- package/lib/unstable-services/search_v1alpha1.d.ts +120 -0
- package/lib/unstable-services/search_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/search_v1alpha1.js +2 -0
- package/lib/unstable-services/search_v1alpha1.js.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts +424 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.js +29 -0
- package/lib/unstable-services/searchdb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts +407 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.js +32 -0
- package/lib/unstable-services/secret_manager_v1beta1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts +331 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js +28 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts +546 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js +35 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts +239 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js +2 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts +936 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js +46 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js.map +1 -0
- package/lib/unstable-services.lazy/apple_silicon_private_network_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/apple_silicon_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/audit_trail_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/autoscaling_v1alpha2.js +1 -0
- package/lib/unstable-services.lazy/billing_fin_ops_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/billing_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/block_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/data_orchestrator_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/datalab_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/dataviz_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/datawarehouse_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_registrar_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_suggestion_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/domain_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/edge_services_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/environmental_footprint_user_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/file_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/flexible_ip_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/functions_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/iam_unauthenticated_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/iam_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/unstable-services.lazy/instance_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/instance_volume_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/interlink_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/kafka_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/key_manager_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mailbox_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/messageq_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mnq_console_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_nats_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sns_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sqs_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mongodb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/product_catalog_public_catalog_v2alpha1.js +1 -0
- package/lib/unstable-services.lazy/qaas_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/s2s_vpn_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/search_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/searchdb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/secret_manager_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/serverless_sqldb_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/transactional_email_v1alpha1.js +3 -0
- package/package.json +89 -2
- package/src/credentials.ts +104 -0
- package/src/errors.ts +307 -0
- package/src/index.ts +52 -0
- package/src/pagination.ts +65 -0
- package/src/protocol.ts +496 -0
- package/src/retry.ts +47 -0
- package/src/services/account_contract_v3.ts +441 -0
- package/src/services/account_iso_code_v3.ts +165 -0
- package/src/services/account_organization_v3.ts +946 -0
- package/src/services/account_project_v3.ts +530 -0
- package/src/services/account_unauthenticated_user_v3.ts +1445 -0
- package/src/services/account_unauthenticated_v3.ts +92 -0
- package/src/services/account_user_v3.ts +1657 -0
- package/src/services/annotations_v1.ts +897 -0
- package/src/services/baremetal_private_network_v1.ts +327 -0
- package/src/services/baremetal_private_network_v3.ts +376 -0
- package/src/services/baremetal_v1.ts +3072 -0
- package/src/services/billing_electronic_billing_v2.ts +323 -0
- package/src/services/billing_v2.ts +662 -0
- package/src/services/block_v1.ts +1282 -0
- package/src/services/cockpit_global_v1.ts +282 -0
- package/src/services/cockpit_regional_v1.ts +2177 -0
- package/src/services/containers_v1.ts +2110 -0
- package/src/services/dedibox_billing_v1.ts +621 -0
- package/src/services/dedibox_ipv6_block_v1.ts +468 -0
- package/src/services/dedibox_rpn_san_v1.ts +1185 -0
- package/src/services/dedibox_rpn_v1.ts +207 -0
- package/src/services/dedibox_rpn_v1_v1.ts +1763 -0
- package/src/services/dedibox_rpn_v2_v1.ts +1654 -0
- package/src/services/dedibox_v1.ts +3765 -0
- package/src/services/generative_apis_openai_v1.ts +1692 -0
- package/src/services/generative_apis_v1.ts +251 -0
- package/src/services/index.ts +57 -0
- package/src/services/inference_v1.ts +1353 -0
- package/src/services/instance_v1.ts +6611 -0
- package/src/services/iot_v1.ts +2419 -0
- package/src/services/ipam_v1.ts +716 -0
- package/src/services/k8s_v1.ts +3108 -0
- package/src/services/lb_zoned_v1.ts +4533 -0
- package/src/services/marketplace_console_v2.ts +198 -0
- package/src/services/marketplace_v2.ts +625 -0
- package/src/services/mongodb_v1.ts +2104 -0
- package/src/services/partner_v1.ts +462 -0
- package/src/services/rdb_encryption_v1.ts +83 -0
- package/src/services/rdb_v1.ts +4211 -0
- package/src/services/redis_v1.ts +1918 -0
- package/src/services/registry_v1.ts +863 -0
- package/src/services/reseller_v1.ts +258 -0
- package/src/services/vpc_gw_v2.ts +2130 -0
- package/src/services/vpc_private_network_with_nics_v2.ts +311 -0
- package/src/services/vpc_routes_with_nexthop_v2.ts +226 -0
- package/src/services/vpc_v2.ts +2533 -0
- package/src/services/webhosting_backup_v1.ts +578 -0
- package/src/services/webhosting_control_panel_v1.ts +130 -0
- package/src/services/webhosting_database_v1.ts +682 -0
- package/src/services/webhosting_dedibox_v1.ts +480 -0
- package/src/services/webhosting_dns_v1.ts +471 -0
- package/src/services/webhosting_free_domain_v1.ts +190 -0
- package/src/services/webhosting_ftp_account_v1.ts +280 -0
- package/src/services/webhosting_hosting_v1.ts +1309 -0
- package/src/services/webhosting_mail_account_v1.ts +291 -0
- package/src/services/webhosting_offer_v1.ts +289 -0
- package/src/services/webhosting_website_v1.ts +274 -0
- package/src/traits.ts +63 -0
- package/src/unstable-services/apple_silicon_private_network_v1alpha1.ts +395 -0
- package/src/unstable-services/apple_silicon_v1alpha1.ts +1685 -0
- package/src/unstable-services/audit_trail_v1alpha1.ts +3220 -0
- package/src/unstable-services/autoscaling_v1alpha2.ts +1103 -0
- package/src/unstable-services/billing_fin_ops_v2beta1.ts +195 -0
- package/src/unstable-services/billing_v2beta1.ts +1203 -0
- package/src/unstable-services/block_v1alpha1.ts +1239 -0
- package/src/unstable-services/data_orchestrator_v1alpha2.ts +1230 -0
- package/src/unstable-services/datalab_v1beta1.ts +852 -0
- package/src/unstable-services/dataviz_v1alpha1.ts +1478 -0
- package/src/unstable-services/datawarehouse_v1beta1.ts +1504 -0
- package/src/unstable-services/domain_registrar_v2beta1.ts +2979 -0
- package/src/unstable-services/domain_suggestion_v2beta1.ts +86 -0
- package/src/unstable-services/domain_v2beta1.ts +1794 -0
- package/src/unstable-services/edge_services_v1beta1.ts +3724 -0
- package/src/unstable-services/environmental_footprint_user_v1alpha1.ts +429 -0
- package/src/unstable-services/file_v1alpha1.ts +1016 -0
- package/src/unstable-services/flexible_ip_v1alpha1.ts +804 -0
- package/src/unstable-services/functions_v1beta1.ts +2410 -0
- package/src/unstable-services/iam_unauthenticated_v1alpha1.ts +863 -0
- package/src/unstable-services/iam_v1alpha1.ts +4919 -0
- package/src/unstable-services/index.ts +44 -0
- package/src/unstable-services/instance_v2alpha1.ts +5377 -0
- package/src/unstable-services/instance_volume_v2alpha1.ts +1111 -0
- package/src/unstable-services/interlink_v1beta1.ts +1791 -0
- package/src/unstable-services/kafka_v1alpha1.ts +1275 -0
- package/src/unstable-services/key_manager_v1alpha1.ts +1618 -0
- package/src/unstable-services/mailbox_v1alpha1.ts +1561 -0
- package/src/unstable-services/messageq_v1alpha1.ts +1266 -0
- package/src/unstable-services/mnq_console_v1beta1.ts +111 -0
- package/src/unstable-services/mnq_nats_v1beta1.ts +608 -0
- package/src/unstable-services/mnq_sns_v1beta1.ts +523 -0
- package/src/unstable-services/mnq_sqs_v1beta1.ts +523 -0
- package/src/unstable-services/mongodb_v1alpha1.ts +1789 -0
- package/src/unstable-services/product_catalog_public_catalog_v2alpha1.ts +1109 -0
- package/src/unstable-services/qaas_v1alpha1.ts +2404 -0
- package/src/unstable-services/s2s_vpn_v1alpha1.ts +2173 -0
- package/src/unstable-services/search_v1alpha1.ts +349 -0
- package/src/unstable-services/searchdb_v1alpha1.ts +1273 -0
- package/src/unstable-services/secret_manager_v1beta1.ts +1255 -0
- package/src/unstable-services/serverless_jobs_v1alpha1.ts +1017 -0
- package/src/unstable-services/serverless_jobs_v1alpha2.ts +1516 -0
- package/src/unstable-services/serverless_sqldb_v1alpha1.ts +747 -0
- package/src/unstable-services/transactional_email_v1alpha1.ts +2495 -0
|
@@ -0,0 +1,1230 @@
|
|
|
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: "DataOrchestratorV1alpha2",
|
|
24
|
+
labels: "scaleway",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type CreateWorkflowDefinitionRequestRegion = "fr-par";
|
|
29
|
+
/** Environment variables of the workflow. */
|
|
30
|
+
export type CreateWorkflowDefinitionRequestEnvironmentVariablesMap = {
|
|
31
|
+
[key: string]: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
export type ScheduleOverlapPolicy =
|
|
34
|
+
| "unknown_schedule_overlap_policy"
|
|
35
|
+
| "forbid"
|
|
36
|
+
| "buffer_one"
|
|
37
|
+
| "buffer_all"
|
|
38
|
+
| "allow_all";
|
|
39
|
+
export interface CreateWorkflowDefinitionRequestCronScheduleConfig {
|
|
40
|
+
schedule?: string | undefined;
|
|
41
|
+
timezone_identifier?: string | undefined;
|
|
42
|
+
overlap?: ScheduleOverlapPolicy | (string & {}) | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface CreateWorkflowDefinitionRequestWorkflowVersionConfig {
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
description?: string | undefined;
|
|
47
|
+
workflow_dsl?: string | null | undefined;
|
|
48
|
+
}
|
|
49
|
+
export interface CreateWorkflowDefinitionRequest {
|
|
50
|
+
/** The region you want to target */
|
|
51
|
+
region?: CreateWorkflowDefinitionRequestRegion | (string & {}) | undefined;
|
|
52
|
+
/** Name of the workflow definition. */
|
|
53
|
+
name: string;
|
|
54
|
+
/** Description of the workflow. */
|
|
55
|
+
description?: string | undefined;
|
|
56
|
+
/** UUID of the Scaleway Project containing the workflow. */
|
|
57
|
+
project_id: string;
|
|
58
|
+
/** Environment variables of the workflow. */
|
|
59
|
+
environment_variables?: CreateWorkflowDefinitionRequestEnvironmentVariablesMap | undefined;
|
|
60
|
+
/** Timeout of the workflow in seconds. (in seconds) */
|
|
61
|
+
workflow_timeout?: string | null | undefined;
|
|
62
|
+
/** Configure a cron for the workflow. */
|
|
63
|
+
cron_schedule?: CreateWorkflowDefinitionRequestCronScheduleConfig | undefined;
|
|
64
|
+
/** Version of the workflow definition. */
|
|
65
|
+
workflow_version: CreateWorkflowDefinitionRequestWorkflowVersionConfig;
|
|
66
|
+
}
|
|
67
|
+
export interface WorkflowVersion {
|
|
68
|
+
/** Unique identifier. (UUID format) */
|
|
69
|
+
id?: string | undefined;
|
|
70
|
+
/** Name of the workflow version. */
|
|
71
|
+
name?: string | undefined;
|
|
72
|
+
/** Description of the workflow version. */
|
|
73
|
+
description?: string | undefined;
|
|
74
|
+
/** Creation date of the workflow version. (RFC 3339 format) */
|
|
75
|
+
created_at?: string | null | undefined;
|
|
76
|
+
/** Last modification date of the workflow version. (RFC 3339 format) */
|
|
77
|
+
updated_at?: string | null | undefined;
|
|
78
|
+
/** Deleted date of the workflow version. (RFC 3339 format) */
|
|
79
|
+
deleted_at?: string | null | undefined;
|
|
80
|
+
/** DSL of workflow in YAML format based from https://open-workflow-specification.org/schemas/1.0.3/workflow.yaml. */
|
|
81
|
+
workflow_dsl?: string | undefined;
|
|
82
|
+
/** Indicate if the version is the current selected by the workflow to run. */
|
|
83
|
+
is_current?: boolean | undefined;
|
|
84
|
+
}
|
|
85
|
+
/** Versions of workflow. */
|
|
86
|
+
export type WorkflowDefinitionVersionsList = Array<WorkflowVersion>;
|
|
87
|
+
export interface CronSchedule {
|
|
88
|
+
/** UNIX cron schedule to run workflow (e.g., '* * * * *'). */
|
|
89
|
+
schedule: string;
|
|
90
|
+
/** Timezone identifier for the cron schedule, in tz database format (e.g., 'Europe/Paris'). */
|
|
91
|
+
timezone_identifier: string;
|
|
92
|
+
/** Controls what happens when an WorkflowDefinition would be started by a Schedule. */
|
|
93
|
+
overlap: ScheduleOverlapPolicy;
|
|
94
|
+
}
|
|
95
|
+
/** Environment variables of the workflow. */
|
|
96
|
+
export type WorkflowDefinitionEnvironmentVariablesMap = { [key: string]: string | undefined };
|
|
97
|
+
export type RunStatus =
|
|
98
|
+
| "unknown_run_status"
|
|
99
|
+
| "initialized"
|
|
100
|
+
| "validated"
|
|
101
|
+
| "queued"
|
|
102
|
+
| "running"
|
|
103
|
+
| "succeeded"
|
|
104
|
+
| "failed"
|
|
105
|
+
| "interrupting"
|
|
106
|
+
| "interrupted"
|
|
107
|
+
| "pausing"
|
|
108
|
+
| "paused";
|
|
109
|
+
export type WorkflowRunReason =
|
|
110
|
+
| "unknown_workflow_run_reason"
|
|
111
|
+
| "timeout"
|
|
112
|
+
| "cancellation"
|
|
113
|
+
| "technical_error"
|
|
114
|
+
| "functional_error"
|
|
115
|
+
| "not_found";
|
|
116
|
+
export interface WorkflowRunInfo {
|
|
117
|
+
/** Workflow run ID. (UUID format) */
|
|
118
|
+
workflow_run_id?: string | undefined;
|
|
119
|
+
/** Workflow run status. */
|
|
120
|
+
status?: RunStatus | undefined;
|
|
121
|
+
/** Workflow run reason. */
|
|
122
|
+
reason?: WorkflowRunReason | undefined;
|
|
123
|
+
}
|
|
124
|
+
export interface WorkflowDefinition {
|
|
125
|
+
/** Unique identifier. (UUID format) */
|
|
126
|
+
id?: string | undefined;
|
|
127
|
+
/** Name of the workflow definition. */
|
|
128
|
+
name?: string | undefined;
|
|
129
|
+
/** Description of the workflow definition. */
|
|
130
|
+
description?: string | undefined;
|
|
131
|
+
/** Project ID. (UUID format) */
|
|
132
|
+
project_id?: string | undefined;
|
|
133
|
+
/** Creation date of the workflow definition. (RFC 3339 format) */
|
|
134
|
+
created_at?: string | null | undefined;
|
|
135
|
+
/** Last modification date of the workflow definition. (RFC 3339 format) */
|
|
136
|
+
updated_at?: string | null | undefined;
|
|
137
|
+
/** Versions of workflow. */
|
|
138
|
+
versions?: WorkflowDefinitionVersionsList | undefined;
|
|
139
|
+
/** Configure a cron for the workflow. */
|
|
140
|
+
cron_schedule?: CronSchedule | undefined;
|
|
141
|
+
/** Environment variables of the workflow. */
|
|
142
|
+
environment_variables?: WorkflowDefinitionEnvironmentVariablesMap | undefined;
|
|
143
|
+
/** Timeout of the workflow in seconds. (in seconds) */
|
|
144
|
+
workflow_timeout?: string | null | undefined;
|
|
145
|
+
/** Last workflow run information. */
|
|
146
|
+
last_run?: WorkflowRunInfo | undefined;
|
|
147
|
+
/** Region of the workflow. */
|
|
148
|
+
region?: string | undefined;
|
|
149
|
+
/** The SRN of the workflow definition. */
|
|
150
|
+
srn?: string | undefined;
|
|
151
|
+
}
|
|
152
|
+
export type DeleteWorkflowDefinitionRequestRegion = "fr-par";
|
|
153
|
+
export interface DeleteWorkflowDefinitionRequest {
|
|
154
|
+
/** The region you want to target */
|
|
155
|
+
region?: DeleteWorkflowDefinitionRequestRegion | (string & {}) | undefined;
|
|
156
|
+
/** UUID of the workflow definition to delete. */
|
|
157
|
+
workflow_definition_id: string;
|
|
158
|
+
}
|
|
159
|
+
export interface DeleteWorkflowDefinitionResponse {}
|
|
160
|
+
export type DeleteWorkflowRunRequestRegion = "fr-par";
|
|
161
|
+
export interface DeleteWorkflowRunRequest {
|
|
162
|
+
/** The region you want to target */
|
|
163
|
+
region?: DeleteWorkflowRunRequestRegion | (string & {}) | undefined;
|
|
164
|
+
/** UUID of the workflow run to delete. */
|
|
165
|
+
workflow_run_id: string;
|
|
166
|
+
}
|
|
167
|
+
export interface DeleteWorkflowRunResponse {}
|
|
168
|
+
export type GetWorkflowDefinitionRequestRegion = "fr-par";
|
|
169
|
+
export interface GetWorkflowDefinitionRequest {
|
|
170
|
+
/** The region you want to target */
|
|
171
|
+
region?: GetWorkflowDefinitionRequestRegion | (string & {}) | undefined;
|
|
172
|
+
/** UUID of the workflow definition to get. */
|
|
173
|
+
workflow_definition_id: string;
|
|
174
|
+
}
|
|
175
|
+
export type GetWorkflowRunRequestRegion = "fr-par";
|
|
176
|
+
export interface GetWorkflowRunRequest {
|
|
177
|
+
/** The region you want to target */
|
|
178
|
+
region?: GetWorkflowRunRequestRegion | (string & {}) | undefined;
|
|
179
|
+
/** UUID of the workflow run to get. */
|
|
180
|
+
workflow_run_id: string;
|
|
181
|
+
}
|
|
182
|
+
export type TriggerType = "unknown_trigger_type" | "manual" | "scheduled";
|
|
183
|
+
export type ServerlessJobsTaskServerlessJobRunReason =
|
|
184
|
+
| "unknown_serverless_job_run_reason"
|
|
185
|
+
| "invalid_request"
|
|
186
|
+
| "timeout"
|
|
187
|
+
| "cancellation"
|
|
188
|
+
| "technical_error"
|
|
189
|
+
| "image_not_found"
|
|
190
|
+
| "invalid_image"
|
|
191
|
+
| "memory_usage_exceeded"
|
|
192
|
+
| "storage_usage_exceeded"
|
|
193
|
+
| "exited_with_error"
|
|
194
|
+
| "secret_disabled"
|
|
195
|
+
| "secret_not_found"
|
|
196
|
+
| "quota_exceeded";
|
|
197
|
+
export interface ServerlessJobsTask {
|
|
198
|
+
/** Unique identifier of the serverless-job definition. */
|
|
199
|
+
job_definition_id?: string | undefined;
|
|
200
|
+
/** Unique identifier of the serverless-job run. */
|
|
201
|
+
job_run_id?: string | undefined;
|
|
202
|
+
/** Terminated reason of the serverless-job run. */
|
|
203
|
+
reason?: ServerlessJobsTaskServerlessJobRunReason | undefined;
|
|
204
|
+
/** Exit code of the serverless-job run. */
|
|
205
|
+
exit_code?: number | null | undefined;
|
|
206
|
+
/** Error message of the serverless-job run. */
|
|
207
|
+
error_message?: string | null | undefined;
|
|
208
|
+
}
|
|
209
|
+
export type DefaultTaskDefaultRunReason =
|
|
210
|
+
| "unknown_default_run_reason"
|
|
211
|
+
| "timeout"
|
|
212
|
+
| "cancellation"
|
|
213
|
+
| "technical_error"
|
|
214
|
+
| "functional_error";
|
|
215
|
+
export interface DefaultTask {
|
|
216
|
+
/** Current reason of the task run. */
|
|
217
|
+
reason?: DefaultTaskDefaultRunReason | undefined;
|
|
218
|
+
/** Error message of the task run. */
|
|
219
|
+
error_message?: string | null | undefined;
|
|
220
|
+
}
|
|
221
|
+
export type RunServerlessContainersTaskStatus =
|
|
222
|
+
| "unknown_status"
|
|
223
|
+
| "ready"
|
|
224
|
+
| "deleting"
|
|
225
|
+
| "error"
|
|
226
|
+
| "updating"
|
|
227
|
+
| "creating"
|
|
228
|
+
| "locked"
|
|
229
|
+
| "upgrading"
|
|
230
|
+
| "rebalancing"
|
|
231
|
+
| "triggering";
|
|
232
|
+
export type RunServerlessContainersTaskAction = "unknown_action" | "deploy" | "delete" | "get";
|
|
233
|
+
export type RunServerlessContainersTaskReason =
|
|
234
|
+
| "unknown_reason"
|
|
235
|
+
| "timeout"
|
|
236
|
+
| "cancellation"
|
|
237
|
+
| "technical_error"
|
|
238
|
+
| "functional_error";
|
|
239
|
+
export interface RunServerlessContainersTask {
|
|
240
|
+
/** Unique identifier of the serverless-container deployment. */
|
|
241
|
+
container_id?: string | undefined;
|
|
242
|
+
/** Image deployed with the serverless-container. */
|
|
243
|
+
image_url?: string | undefined;
|
|
244
|
+
/** Status of the serverless-container deployment. */
|
|
245
|
+
status?: RunServerlessContainersTaskStatus | undefined;
|
|
246
|
+
/** Action used on the serverless-container deployment. */
|
|
247
|
+
action?: RunServerlessContainersTaskAction | undefined;
|
|
248
|
+
/** Current reason of the task run. */
|
|
249
|
+
reason?: RunServerlessContainersTaskReason | undefined;
|
|
250
|
+
/** Error message of the task run. */
|
|
251
|
+
error_message?: string | null | undefined;
|
|
252
|
+
}
|
|
253
|
+
export type ObjectStorageTaskReason =
|
|
254
|
+
| "unknown_default_run_reason"
|
|
255
|
+
| "timeout"
|
|
256
|
+
| "cancellation"
|
|
257
|
+
| "technical_error"
|
|
258
|
+
| "functional_error";
|
|
259
|
+
export interface ObjectStorageTask {
|
|
260
|
+
action?: string | undefined;
|
|
261
|
+
reason?: ObjectStorageTaskReason | undefined;
|
|
262
|
+
error_message?: string | null | undefined;
|
|
263
|
+
}
|
|
264
|
+
export interface TaskRun {
|
|
265
|
+
/** Unique identifier. (UUID format) */
|
|
266
|
+
id?: string | undefined;
|
|
267
|
+
/** Unique identifier of the task. */
|
|
268
|
+
task_name?: string | undefined;
|
|
269
|
+
/** Creation date of the task run. (RFC 3339 format) */
|
|
270
|
+
created_at?: string | null | undefined;
|
|
271
|
+
/** Last modification date of the task run. (RFC 3339 format) */
|
|
272
|
+
updated_at?: string | null | undefined;
|
|
273
|
+
/** Terminated date of the task run. (RFC 3339 format) */
|
|
274
|
+
terminated_at?: string | null | undefined;
|
|
275
|
+
/** Run duration of the task run. (in seconds) */
|
|
276
|
+
duration?: string | null | undefined;
|
|
277
|
+
/** Status of the task run. */
|
|
278
|
+
status?: RunStatus | undefined;
|
|
279
|
+
/** Output of the task run. */
|
|
280
|
+
output?: string | null | undefined;
|
|
281
|
+
/** Task run details for a serverless-job task. Precisely one of serverless_job_task_run_details, raise_task_run_details, set_task_run_details, call_http_task_run_details, wait_task_run_details, serverless_function_task_run_details, run_serverless_container_task_run_details, call_serverless_container_task_run_details, object_storage_task_run_details, generative_api_task_run_details can be set. */
|
|
282
|
+
serverless_job_task_run_details?: ServerlessJobsTask | null | undefined;
|
|
283
|
+
/** Task run details for a raise task. Precisely one of serverless_job_task_run_details, raise_task_run_details, set_task_run_details, call_http_task_run_details, wait_task_run_details, serverless_function_task_run_details, run_serverless_container_task_run_details, call_serverless_container_task_run_details, object_storage_task_run_details, generative_api_task_run_details can be set. */
|
|
284
|
+
raise_task_run_details?: DefaultTask | null | undefined;
|
|
285
|
+
/** Task run details for a set task. Precisely one of serverless_job_task_run_details, raise_task_run_details, set_task_run_details, call_http_task_run_details, wait_task_run_details, serverless_function_task_run_details, run_serverless_container_task_run_details, call_serverless_container_task_run_details, object_storage_task_run_details, generative_api_task_run_details can be set. */
|
|
286
|
+
set_task_run_details?: DefaultTask | null | undefined;
|
|
287
|
+
/** Task run details for a call http task. Precisely one of serverless_job_task_run_details, raise_task_run_details, set_task_run_details, call_http_task_run_details, wait_task_run_details, serverless_function_task_run_details, run_serverless_container_task_run_details, call_serverless_container_task_run_details, object_storage_task_run_details, generative_api_task_run_details can be set. */
|
|
288
|
+
call_http_task_run_details?: DefaultTask | null | undefined;
|
|
289
|
+
/** Task run details for a wait task. Precisely one of serverless_job_task_run_details, raise_task_run_details, set_task_run_details, call_http_task_run_details, wait_task_run_details, serverless_function_task_run_details, run_serverless_container_task_run_details, call_serverless_container_task_run_details, object_storage_task_run_details, generative_api_task_run_details can be set. */
|
|
290
|
+
wait_task_run_details?: DefaultTask | null | undefined;
|
|
291
|
+
/** Task run details for a serverless-function task. Precisely one of serverless_job_task_run_details, raise_task_run_details, set_task_run_details, call_http_task_run_details, wait_task_run_details, serverless_function_task_run_details, run_serverless_container_task_run_details, call_serverless_container_task_run_details, object_storage_task_run_details, generative_api_task_run_details can be set. */
|
|
292
|
+
serverless_function_task_run_details?: DefaultTask | null | undefined;
|
|
293
|
+
/** Task run details for a run-serverless-container task. Precisely one of serverless_job_task_run_details, raise_task_run_details, set_task_run_details, call_http_task_run_details, wait_task_run_details, serverless_function_task_run_details, run_serverless_container_task_run_details, call_serverless_container_task_run_details, object_storage_task_run_details, generative_api_task_run_details can be set. */
|
|
294
|
+
run_serverless_container_task_run_details?: RunServerlessContainersTask | null | undefined;
|
|
295
|
+
/** Task run details for a call-serverless-container task. Precisely one of serverless_job_task_run_details, raise_task_run_details, set_task_run_details, call_http_task_run_details, wait_task_run_details, serverless_function_task_run_details, run_serverless_container_task_run_details, call_serverless_container_task_run_details, object_storage_task_run_details, generative_api_task_run_details can be set. */
|
|
296
|
+
call_serverless_container_task_run_details?: DefaultTask | null | undefined;
|
|
297
|
+
/** Task run details for a Object Storage task. Precisely one of serverless_job_task_run_details, raise_task_run_details, set_task_run_details, call_http_task_run_details, wait_task_run_details, serverless_function_task_run_details, run_serverless_container_task_run_details, call_serverless_container_task_run_details, object_storage_task_run_details, generative_api_task_run_details can be set. */
|
|
298
|
+
object_storage_task_run_details?: ObjectStorageTask | null | undefined;
|
|
299
|
+
/** Task run details for a generative-api task. Precisely one of serverless_job_task_run_details, raise_task_run_details, set_task_run_details, call_http_task_run_details, wait_task_run_details, serverless_function_task_run_details, run_serverless_container_task_run_details, call_serverless_container_task_run_details, object_storage_task_run_details, generative_api_task_run_details can be set. */
|
|
300
|
+
generative_api_task_run_details?: DefaultTask | null | undefined;
|
|
301
|
+
/** Run iteration of the task (in loop or retry). */
|
|
302
|
+
run_iteration?: number | null | undefined;
|
|
303
|
+
}
|
|
304
|
+
/** Task runs of the workflow run. */
|
|
305
|
+
export type WorkflowRunTaskRunsList = Array<TaskRun>;
|
|
306
|
+
/** Environment variables of the workflow run. */
|
|
307
|
+
export type WorkflowRunEnvironmentVariablesMap = { [key: string]: string | undefined };
|
|
308
|
+
export interface WorkflowRun {
|
|
309
|
+
/** Unique identifier. (UUID format) */
|
|
310
|
+
id?: string | undefined;
|
|
311
|
+
/** Unique identifier of the workflow definition. (UUID format) */
|
|
312
|
+
workflow_definition_id?: string | undefined;
|
|
313
|
+
/** Name of the workflow definition. */
|
|
314
|
+
workflow_definition_name?: string | undefined;
|
|
315
|
+
/** Unique identifier of the workflow version. (UUID format) */
|
|
316
|
+
workflow_version_id?: string | undefined;
|
|
317
|
+
/** Unique identifier of the project. (UUID format) */
|
|
318
|
+
project_id?: string | undefined;
|
|
319
|
+
/** Type of trigger that started the workflow run. */
|
|
320
|
+
trigger_type?: TriggerType | undefined;
|
|
321
|
+
/** Creation date of the workflow run. (RFC 3339 format) */
|
|
322
|
+
created_at?: string | null | undefined;
|
|
323
|
+
/** Last modification date of the workflow run. (RFC 3339 format) */
|
|
324
|
+
updated_at?: string | null | undefined;
|
|
325
|
+
/** Terminated date of the workflow run. (RFC 3339 format) */
|
|
326
|
+
terminated_at?: string | null | undefined;
|
|
327
|
+
/** Run duration of the workflow run. (in seconds) */
|
|
328
|
+
duration?: string | null | undefined;
|
|
329
|
+
/** Current status of the workflow run. */
|
|
330
|
+
status?: RunStatus | undefined;
|
|
331
|
+
/** Current reason of the workflow run. */
|
|
332
|
+
reason?: WorkflowRunReason | undefined;
|
|
333
|
+
/** Task runs of the workflow run. */
|
|
334
|
+
task_runs?: WorkflowRunTaskRunsList | undefined;
|
|
335
|
+
/** Environment variables of the workflow run. */
|
|
336
|
+
environment_variables?: WorkflowRunEnvironmentVariablesMap | undefined;
|
|
337
|
+
/** DSL of workflow in YAML format based from https://open-workflow-specification.org/schemas/1.0.3/workflow.yaml. */
|
|
338
|
+
workflow_dsl?: string | undefined;
|
|
339
|
+
/** Output of the workflow run. */
|
|
340
|
+
output?: string | null | undefined;
|
|
341
|
+
/** Error message of the workflow run. */
|
|
342
|
+
error_message?: string | null | undefined;
|
|
343
|
+
/** Region of the workflow run. */
|
|
344
|
+
region?: string | undefined;
|
|
345
|
+
/** The SRN of the workflow run. */
|
|
346
|
+
srn?: string | undefined;
|
|
347
|
+
}
|
|
348
|
+
export type ListWorkflowDefinitionsRequestRegion = "fr-par";
|
|
349
|
+
export type ListWorkflowDefinitionsRequestOrderBy =
|
|
350
|
+
| "created_at_asc"
|
|
351
|
+
| "created_at_desc"
|
|
352
|
+
| "name_asc"
|
|
353
|
+
| "name_desc"
|
|
354
|
+
| "updated_at_asc"
|
|
355
|
+
| "updated_at_desc";
|
|
356
|
+
export type ListWorkflowDefinitionsRequestStatusesList = Array<RunStatus | (string & {})>;
|
|
357
|
+
export type ListWorkflowDefinitionsRequestTriggerTypesList = Array<TriggerType | (string & {})>;
|
|
358
|
+
export interface ListWorkflowDefinitionsRequest {
|
|
359
|
+
/** The region you want to target */
|
|
360
|
+
region?: ListWorkflowDefinitionsRequestRegion | (string & {}) | undefined;
|
|
361
|
+
page?: number | undefined;
|
|
362
|
+
page_size?: number | undefined;
|
|
363
|
+
order_by?: ListWorkflowDefinitionsRequestOrderBy | (string & {}) | undefined;
|
|
364
|
+
name?: string | undefined;
|
|
365
|
+
statuses?: ListWorkflowDefinitionsRequestStatusesList | undefined;
|
|
366
|
+
/** (RFC 3339 format) */
|
|
367
|
+
created_after?: string | undefined;
|
|
368
|
+
/** (RFC 3339 format) */
|
|
369
|
+
created_before?: string | undefined;
|
|
370
|
+
trigger_types?: ListWorkflowDefinitionsRequestTriggerTypesList | undefined;
|
|
371
|
+
/** (UUID format) Precisely one of project_id, organization_id can be set. */
|
|
372
|
+
project_id?: string | undefined;
|
|
373
|
+
/** (UUID format) Precisely one of project_id, organization_id can be set. */
|
|
374
|
+
organization_id?: string | undefined;
|
|
375
|
+
}
|
|
376
|
+
export type ListWorkflowDefinitionsResponseWorkflowDefinitionsList = Array<WorkflowDefinition>;
|
|
377
|
+
export interface ListWorkflowDefinitionsResponse {
|
|
378
|
+
workflow_definitions: ListWorkflowDefinitionsResponseWorkflowDefinitionsList;
|
|
379
|
+
total_count?: number | undefined;
|
|
380
|
+
}
|
|
381
|
+
export type ListWorkflowRunsRequestRegion = "fr-par";
|
|
382
|
+
export type ListWorkflowRunsRequestOrderBy =
|
|
383
|
+
| "created_at_asc"
|
|
384
|
+
| "created_at_desc"
|
|
385
|
+
| "terminated_at_asc"
|
|
386
|
+
| "terminated_at_desc"
|
|
387
|
+
| "duration_asc"
|
|
388
|
+
| "duration_desc"
|
|
389
|
+
| "workflow_definition_name_asc"
|
|
390
|
+
| "workflow_definition_name_desc";
|
|
391
|
+
export type ListWorkflowRunsRequestStatusesList = Array<RunStatus | (string & {})>;
|
|
392
|
+
export type ListWorkflowRunsRequestTriggerTypesList = Array<TriggerType | (string & {})>;
|
|
393
|
+
export interface ListWorkflowRunsRequest {
|
|
394
|
+
/** The region you want to target */
|
|
395
|
+
region?: ListWorkflowRunsRequestRegion | (string & {}) | undefined;
|
|
396
|
+
page?: number | undefined;
|
|
397
|
+
page_size?: number | undefined;
|
|
398
|
+
order_by?: ListWorkflowRunsRequestOrderBy | (string & {}) | undefined;
|
|
399
|
+
workflow_definition_id?: string | undefined;
|
|
400
|
+
statuses?: ListWorkflowRunsRequestStatusesList | undefined;
|
|
401
|
+
/** (RFC 3339 format) */
|
|
402
|
+
created_after?: string | undefined;
|
|
403
|
+
/** (RFC 3339 format) */
|
|
404
|
+
created_before?: string | undefined;
|
|
405
|
+
trigger_types?: ListWorkflowRunsRequestTriggerTypesList | undefined;
|
|
406
|
+
workflow_definition_name?: string | undefined;
|
|
407
|
+
/** Precisely one of project_id, organization_id can be set. */
|
|
408
|
+
project_id?: string | undefined;
|
|
409
|
+
/** Precisely one of project_id, organization_id can be set. */
|
|
410
|
+
organization_id?: string | undefined;
|
|
411
|
+
}
|
|
412
|
+
/** List workflow runs. */
|
|
413
|
+
export type ListWorkflowRunsResponseWorkflowRunsList = Array<WorkflowRun>;
|
|
414
|
+
export interface ListWorkflowRunsResponse {
|
|
415
|
+
/** List workflow runs. */
|
|
416
|
+
workflow_runs: ListWorkflowRunsResponseWorkflowRunsList;
|
|
417
|
+
/** Total count of workflow runs. */
|
|
418
|
+
total_count?: number | undefined;
|
|
419
|
+
}
|
|
420
|
+
export type PauseWorkflowRunRequestRegion = "fr-par";
|
|
421
|
+
export interface PauseWorkflowRunRequest {
|
|
422
|
+
/** The region you want to target */
|
|
423
|
+
region?: PauseWorkflowRunRequestRegion | (string & {}) | undefined;
|
|
424
|
+
/** UUID of the workflow run to pause. */
|
|
425
|
+
workflow_run_id: string;
|
|
426
|
+
}
|
|
427
|
+
export type ResumeWorkflowRunRequestRegion = "fr-par";
|
|
428
|
+
export interface ResumeWorkflowRunRequest {
|
|
429
|
+
/** The region you want to target */
|
|
430
|
+
region?: ResumeWorkflowRunRequestRegion | (string & {}) | undefined;
|
|
431
|
+
/** UUID of the workflow run to resume. */
|
|
432
|
+
workflow_run_id: string;
|
|
433
|
+
}
|
|
434
|
+
export type StartWorkflowDefinitionRequestRegion = "fr-par";
|
|
435
|
+
/** Contextual environment variables for this specific workflow run. */
|
|
436
|
+
export type StartWorkflowDefinitionRequestEnvironmentVariablesMap = {
|
|
437
|
+
[key: string]: string | undefined;
|
|
438
|
+
};
|
|
439
|
+
export interface StartWorkflowDefinitionRequest {
|
|
440
|
+
/** The region you want to target */
|
|
441
|
+
region?: StartWorkflowDefinitionRequestRegion | (string & {}) | undefined;
|
|
442
|
+
/** UUID of the workflow definition to start. */
|
|
443
|
+
workflow_definition_id: string;
|
|
444
|
+
/** Contextual environment variables for this specific workflow run. */
|
|
445
|
+
environment_variables?: StartWorkflowDefinitionRequestEnvironmentVariablesMap | null | undefined;
|
|
446
|
+
}
|
|
447
|
+
export type TerminateWorkflowRunRequestRegion = "fr-par";
|
|
448
|
+
export interface TerminateWorkflowRunRequest {
|
|
449
|
+
/** The region you want to target */
|
|
450
|
+
region?: TerminateWorkflowRunRequestRegion | (string & {}) | undefined;
|
|
451
|
+
/** UUID of the workflow run to terminate. */
|
|
452
|
+
workflow_run_id: string;
|
|
453
|
+
}
|
|
454
|
+
export type UpdateWorkflowDefinitionRequestRegion = "fr-par";
|
|
455
|
+
/** Environment variables of the workflow. */
|
|
456
|
+
export type UpdateWorkflowDefinitionRequestEnvironmentVariablesMap = {
|
|
457
|
+
[key: string]: string | undefined;
|
|
458
|
+
};
|
|
459
|
+
export interface UpdateWorkflowDefinitionRequestCronScheduleConfig {
|
|
460
|
+
schedule?: string | null | undefined;
|
|
461
|
+
timezone_identifier?: string | null | undefined;
|
|
462
|
+
overlap?: ScheduleOverlapPolicy | (string & {}) | undefined;
|
|
463
|
+
}
|
|
464
|
+
export interface UpdateWorkflowDefinitionRequest {
|
|
465
|
+
/** The region you want to target */
|
|
466
|
+
region?: UpdateWorkflowDefinitionRequestRegion | (string & {}) | undefined;
|
|
467
|
+
/** UUID of the workflow definition to update. */
|
|
468
|
+
workflow_definition_id: string;
|
|
469
|
+
/** Name of the workflow definition. */
|
|
470
|
+
name?: string | null | undefined;
|
|
471
|
+
/** Description of the workflow. */
|
|
472
|
+
description?: string | null | undefined;
|
|
473
|
+
/** Environment variables of the workflow. */
|
|
474
|
+
environment_variables?: UpdateWorkflowDefinitionRequestEnvironmentVariablesMap | null | undefined;
|
|
475
|
+
/** Timeout of the workflow in seconds. (in seconds) */
|
|
476
|
+
workflow_timeout?: string | null | undefined;
|
|
477
|
+
/** Configure a cron for the workflow. */
|
|
478
|
+
cron_schedule?: UpdateWorkflowDefinitionRequestCronScheduleConfig | undefined;
|
|
479
|
+
}
|
|
480
|
+
export type UpdateWorkflowVersionRequestRegion = "fr-par";
|
|
481
|
+
export interface UpdateWorkflowVersionRequest {
|
|
482
|
+
/** The region you want to target */
|
|
483
|
+
region?: UpdateWorkflowVersionRequestRegion | (string & {}) | undefined;
|
|
484
|
+
/** UUID of the workflow version to update. */
|
|
485
|
+
workflow_version_id: string;
|
|
486
|
+
/** Name of the workflow version. */
|
|
487
|
+
name?: string | null | undefined;
|
|
488
|
+
/** Description of the workflow version. */
|
|
489
|
+
description?: string | null | undefined;
|
|
490
|
+
/** DSL of workflow in YAML format based from https://open-workflow-specification.org/schemas/1.0.3/workflow.yaml. */
|
|
491
|
+
workflow_dsl?: string | null | undefined;
|
|
492
|
+
}
|
|
493
|
+
export type CreateWorkflowDefinitionError = ScalewayOpError;
|
|
494
|
+
/** Create a new workflow definition in a specified Project */
|
|
495
|
+
export const createWorkflowDefinition: API.OperationMethod<
|
|
496
|
+
CreateWorkflowDefinitionRequest,
|
|
497
|
+
WorkflowDefinition,
|
|
498
|
+
CreateWorkflowDefinitionError,
|
|
499
|
+
ScalewayOpContext
|
|
500
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
501
|
+
input: __S(2, __c0, 2) as any as S.Schema<CreateWorkflowDefinitionRequest>,
|
|
502
|
+
output: __S(19, __c2, 3) as any as S.Schema<WorkflowDefinition>,
|
|
503
|
+
errors: [],
|
|
504
|
+
serviceErrors: ScalewayServiceErrors,
|
|
505
|
+
protocol: ScalewayProtocol,
|
|
506
|
+
retry: Retry.Retry,
|
|
507
|
+
telemetry: TELEMETRY,
|
|
508
|
+
span: "CreateWorkflowDefinition",
|
|
509
|
+
}));
|
|
510
|
+
|
|
511
|
+
export type DeleteWorkflowDefinitionError = ScalewayOpError;
|
|
512
|
+
/** Delete an existing workflow definition by its unique identifier */
|
|
513
|
+
export const deleteWorkflowDefinition: API.OperationMethod<
|
|
514
|
+
DeleteWorkflowDefinitionRequest,
|
|
515
|
+
DeleteWorkflowDefinitionResponse,
|
|
516
|
+
DeleteWorkflowDefinitionError,
|
|
517
|
+
ScalewayOpContext
|
|
518
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
519
|
+
input: __S(32, __c4, 0) as any as S.Schema<DeleteWorkflowDefinitionRequest>,
|
|
520
|
+
output: __S(40, __c5, 0) as any as S.Schema<DeleteWorkflowDefinitionResponse>,
|
|
521
|
+
errors: [],
|
|
522
|
+
serviceErrors: ScalewayServiceErrors,
|
|
523
|
+
protocol: ScalewayProtocol,
|
|
524
|
+
retry: Retry.Retry,
|
|
525
|
+
telemetry: TELEMETRY,
|
|
526
|
+
span: "DeleteWorkflowDefinition",
|
|
527
|
+
}));
|
|
528
|
+
|
|
529
|
+
export type DeleteWorkflowRunError = ScalewayOpError;
|
|
530
|
+
/** Delete an existing workflow run by its unique identifier */
|
|
531
|
+
export const deleteWorkflowRun: API.OperationMethod<
|
|
532
|
+
DeleteWorkflowRunRequest,
|
|
533
|
+
DeleteWorkflowRunResponse,
|
|
534
|
+
DeleteWorkflowRunError,
|
|
535
|
+
ScalewayOpContext
|
|
536
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
537
|
+
input: __S(72, __c9, 0) as any as S.Schema<DeleteWorkflowRunRequest>,
|
|
538
|
+
output: __S(40, __c5, 0) as any as S.Schema<DeleteWorkflowRunResponse>,
|
|
539
|
+
errors: [],
|
|
540
|
+
serviceErrors: ScalewayServiceErrors,
|
|
541
|
+
protocol: ScalewayProtocol,
|
|
542
|
+
retry: Retry.Retry,
|
|
543
|
+
telemetry: TELEMETRY,
|
|
544
|
+
span: "DeleteWorkflowRun",
|
|
545
|
+
}));
|
|
546
|
+
|
|
547
|
+
export type GetWorkflowDefinitionError = ScalewayOpError;
|
|
548
|
+
/** Get a workflow definition by its unique identifier */
|
|
549
|
+
export const getWorkflowDefinition: API.OperationMethod<
|
|
550
|
+
GetWorkflowDefinitionRequest,
|
|
551
|
+
WorkflowDefinition,
|
|
552
|
+
GetWorkflowDefinitionError,
|
|
553
|
+
ScalewayOpContext
|
|
554
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
555
|
+
input: __S(80, __c10, 0) as any as S.Schema<GetWorkflowDefinitionRequest>,
|
|
556
|
+
output: __S(19, __c2, 3) as any as S.Schema<WorkflowDefinition>,
|
|
557
|
+
errors: [],
|
|
558
|
+
serviceErrors: ScalewayServiceErrors,
|
|
559
|
+
protocol: ScalewayProtocol,
|
|
560
|
+
retry: Retry.Retry,
|
|
561
|
+
telemetry: TELEMETRY,
|
|
562
|
+
span: "GetWorkflowDefinition",
|
|
563
|
+
}));
|
|
564
|
+
|
|
565
|
+
export type GetWorkflowRunError = ScalewayOpError;
|
|
566
|
+
/** Get a workflow run by its unique identifier */
|
|
567
|
+
export const getWorkflowRun: API.OperationMethod<
|
|
568
|
+
GetWorkflowRunRequest,
|
|
569
|
+
WorkflowRun,
|
|
570
|
+
GetWorkflowRunError,
|
|
571
|
+
ScalewayOpContext
|
|
572
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
573
|
+
input: __S(88, __c11, 0) as any as S.Schema<GetWorkflowRunRequest>,
|
|
574
|
+
output: __S(102, __c12, 6) as any as S.Schema<WorkflowRun>,
|
|
575
|
+
errors: [],
|
|
576
|
+
serviceErrors: ScalewayServiceErrors,
|
|
577
|
+
protocol: ScalewayProtocol,
|
|
578
|
+
retry: Retry.Retry,
|
|
579
|
+
telemetry: TELEMETRY,
|
|
580
|
+
span: "GetWorkflowRun",
|
|
581
|
+
}));
|
|
582
|
+
|
|
583
|
+
export type ListWorkflowDefinitionsError = ScalewayOpError;
|
|
584
|
+
/** List all your workflow definitions with filters */
|
|
585
|
+
export const listWorkflowDefinitions: API.PaginatedOperationMethod<
|
|
586
|
+
ListWorkflowDefinitionsRequest,
|
|
587
|
+
ListWorkflowDefinitionsResponse,
|
|
588
|
+
ListWorkflowDefinitionsError,
|
|
589
|
+
ScalewayOpContext,
|
|
590
|
+
WorkflowDefinition
|
|
591
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
592
|
+
() => ({
|
|
593
|
+
input: __S(104, __c13, 0) as any as S.Schema<ListWorkflowDefinitionsRequest>,
|
|
594
|
+
output: __S(106, __c13, 2) as any as S.Schema<ListWorkflowDefinitionsResponse>,
|
|
595
|
+
errors: [],
|
|
596
|
+
serviceErrors: ScalewayServiceErrors,
|
|
597
|
+
protocol: ScalewayProtocol,
|
|
598
|
+
retry: Retry.Retry,
|
|
599
|
+
telemetry: TELEMETRY,
|
|
600
|
+
span: "ListWorkflowDefinitions",
|
|
601
|
+
pagination: {
|
|
602
|
+
mode: "page",
|
|
603
|
+
inputToken: "page",
|
|
604
|
+
outputToken: "total_count",
|
|
605
|
+
items: "workflow_definitions",
|
|
606
|
+
pageSize: "page_size",
|
|
607
|
+
} as const,
|
|
608
|
+
}),
|
|
609
|
+
paginateByTotalCount,
|
|
610
|
+
) as any;
|
|
611
|
+
|
|
612
|
+
export type ListWorkflowRunsError = ScalewayOpError;
|
|
613
|
+
/** List all your workflow runs with filters */
|
|
614
|
+
export const listWorkflowRuns: API.PaginatedOperationMethod<
|
|
615
|
+
ListWorkflowRunsRequest,
|
|
616
|
+
ListWorkflowRunsResponse,
|
|
617
|
+
ListWorkflowRunsError,
|
|
618
|
+
ScalewayOpContext,
|
|
619
|
+
WorkflowRun
|
|
620
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
621
|
+
() => ({
|
|
622
|
+
input: __S(120, __c15, 0) as any as S.Schema<ListWorkflowRunsRequest>,
|
|
623
|
+
output: __S(122, __c15, 2) as any as S.Schema<ListWorkflowRunsResponse>,
|
|
624
|
+
errors: [],
|
|
625
|
+
serviceErrors: ScalewayServiceErrors,
|
|
626
|
+
protocol: ScalewayProtocol,
|
|
627
|
+
retry: Retry.Retry,
|
|
628
|
+
telemetry: TELEMETRY,
|
|
629
|
+
span: "ListWorkflowRuns",
|
|
630
|
+
pagination: {
|
|
631
|
+
mode: "page",
|
|
632
|
+
inputToken: "page",
|
|
633
|
+
outputToken: "total_count",
|
|
634
|
+
items: "workflow_runs",
|
|
635
|
+
pageSize: "page_size",
|
|
636
|
+
} as const,
|
|
637
|
+
}),
|
|
638
|
+
paginateByTotalCount,
|
|
639
|
+
) as any;
|
|
640
|
+
|
|
641
|
+
export type PauseWorkflowRunError = ScalewayOpError;
|
|
642
|
+
/** Pause a workflow run using its unique identifier */
|
|
643
|
+
export const pauseWorkflowRun: API.OperationMethod<
|
|
644
|
+
PauseWorkflowRunRequest,
|
|
645
|
+
WorkflowRun,
|
|
646
|
+
PauseWorkflowRunError,
|
|
647
|
+
ScalewayOpContext
|
|
648
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
649
|
+
input: __S(128, __c16, 0) as any as S.Schema<PauseWorkflowRunRequest>,
|
|
650
|
+
output: __S(102, __c12, 6) as any as S.Schema<WorkflowRun>,
|
|
651
|
+
errors: [],
|
|
652
|
+
serviceErrors: ScalewayServiceErrors,
|
|
653
|
+
protocol: ScalewayProtocol,
|
|
654
|
+
retry: Retry.Retry,
|
|
655
|
+
telemetry: TELEMETRY,
|
|
656
|
+
span: "PauseWorkflowRun",
|
|
657
|
+
}));
|
|
658
|
+
|
|
659
|
+
export type ResumeWorkflowRunError = ScalewayOpError;
|
|
660
|
+
/** Resume a workflow run using its unique identifier */
|
|
661
|
+
export const resumeWorkflowRun: API.OperationMethod<
|
|
662
|
+
ResumeWorkflowRunRequest,
|
|
663
|
+
WorkflowRun,
|
|
664
|
+
ResumeWorkflowRunError,
|
|
665
|
+
ScalewayOpContext
|
|
666
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
667
|
+
input: __S(136, __c17, 0) as any as S.Schema<ResumeWorkflowRunRequest>,
|
|
668
|
+
output: __S(102, __c12, 6) as any as S.Schema<WorkflowRun>,
|
|
669
|
+
errors: [],
|
|
670
|
+
serviceErrors: ScalewayServiceErrors,
|
|
671
|
+
protocol: ScalewayProtocol,
|
|
672
|
+
retry: Retry.Retry,
|
|
673
|
+
telemetry: TELEMETRY,
|
|
674
|
+
span: "ResumeWorkflowRun",
|
|
675
|
+
}));
|
|
676
|
+
|
|
677
|
+
export type StartWorkflowDefinitionError = ScalewayOpError;
|
|
678
|
+
/** Run an existing workflow definition using its unique identifier and create a new workflow run */
|
|
679
|
+
export const startWorkflowDefinition: API.OperationMethod<
|
|
680
|
+
StartWorkflowDefinitionRequest,
|
|
681
|
+
WorkflowRun,
|
|
682
|
+
StartWorkflowDefinitionError,
|
|
683
|
+
ScalewayOpContext
|
|
684
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
685
|
+
input: __S(144, __c18, 0) as any as S.Schema<StartWorkflowDefinitionRequest>,
|
|
686
|
+
output: __S(102, __c12, 6) as any as S.Schema<WorkflowRun>,
|
|
687
|
+
errors: [],
|
|
688
|
+
serviceErrors: ScalewayServiceErrors,
|
|
689
|
+
protocol: ScalewayProtocol,
|
|
690
|
+
retry: Retry.Retry,
|
|
691
|
+
telemetry: TELEMETRY,
|
|
692
|
+
span: "StartWorkflowDefinition",
|
|
693
|
+
}));
|
|
694
|
+
|
|
695
|
+
export type TerminateWorkflowRunError = ScalewayOpError;
|
|
696
|
+
/** Terminate a workflow run using its unique identifier */
|
|
697
|
+
export const terminateWorkflowRun: API.OperationMethod<
|
|
698
|
+
TerminateWorkflowRunRequest,
|
|
699
|
+
WorkflowRun,
|
|
700
|
+
TerminateWorkflowRunError,
|
|
701
|
+
ScalewayOpContext
|
|
702
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
703
|
+
input: __S(48, __c6, 0) as any as S.Schema<TerminateWorkflowRunRequest>,
|
|
704
|
+
output: __S(102, __c12, 6) as any as S.Schema<WorkflowRun>,
|
|
705
|
+
errors: [],
|
|
706
|
+
serviceErrors: ScalewayServiceErrors,
|
|
707
|
+
protocol: ScalewayProtocol,
|
|
708
|
+
retry: Retry.Retry,
|
|
709
|
+
telemetry: TELEMETRY,
|
|
710
|
+
span: "TerminateWorkflowRun",
|
|
711
|
+
}));
|
|
712
|
+
|
|
713
|
+
export type UpdateWorkflowDefinitionError = ScalewayOpError;
|
|
714
|
+
/** Update an existing workflow definition by its unique identifier */
|
|
715
|
+
export const updateWorkflowDefinition: API.OperationMethod<
|
|
716
|
+
UpdateWorkflowDefinitionRequest,
|
|
717
|
+
WorkflowDefinition,
|
|
718
|
+
UpdateWorkflowDefinitionError,
|
|
719
|
+
ScalewayOpContext
|
|
720
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
721
|
+
input: __S(57, __c7, 1) as any as S.Schema<UpdateWorkflowDefinitionRequest>,
|
|
722
|
+
output: __S(19, __c2, 3) as any as S.Schema<WorkflowDefinition>,
|
|
723
|
+
errors: [],
|
|
724
|
+
serviceErrors: ScalewayServiceErrors,
|
|
725
|
+
protocol: ScalewayProtocol,
|
|
726
|
+
retry: Retry.Retry,
|
|
727
|
+
telemetry: TELEMETRY,
|
|
728
|
+
span: "UpdateWorkflowDefinition",
|
|
729
|
+
}));
|
|
730
|
+
|
|
731
|
+
export type UpdateWorkflowVersionError = ScalewayOpError;
|
|
732
|
+
/** Update an existing workflow version by its unique identifier */
|
|
733
|
+
export const updateWorkflowVersion: API.OperationMethod<
|
|
734
|
+
UpdateWorkflowVersionRequest,
|
|
735
|
+
WorkflowVersion,
|
|
736
|
+
UpdateWorkflowVersionError,
|
|
737
|
+
ScalewayOpContext
|
|
738
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
739
|
+
input: __S(64, __c8, 0) as any as S.Schema<UpdateWorkflowVersionRequest>,
|
|
740
|
+
output: __S(24, __c3, 0) as any as S.Schema<WorkflowVersion>,
|
|
741
|
+
errors: [],
|
|
742
|
+
serviceErrors: ScalewayServiceErrors,
|
|
743
|
+
protocol: ScalewayProtocol,
|
|
744
|
+
retry: Retry.Retry,
|
|
745
|
+
telemetry: TELEMETRY,
|
|
746
|
+
span: "UpdateWorkflowVersion",
|
|
747
|
+
}));
|
|
748
|
+
|
|
749
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
750
|
+
function __c0(j: number): any {
|
|
751
|
+
switch (j) {
|
|
752
|
+
case 0:
|
|
753
|
+
return S.suspend(() =>
|
|
754
|
+
S.Struct({
|
|
755
|
+
schedule: S.optional(S.String),
|
|
756
|
+
timezone_identifier: S.optional(S.String),
|
|
757
|
+
overlap: S.optional(S.String),
|
|
758
|
+
}),
|
|
759
|
+
).annotate({ identifier: "CreateWorkflowDefinitionRequestCronScheduleConfig" });
|
|
760
|
+
case 1:
|
|
761
|
+
return S.suspend(() =>
|
|
762
|
+
S.Struct({
|
|
763
|
+
name: S.optional(S.String),
|
|
764
|
+
description: S.optional(S.String),
|
|
765
|
+
workflow_dsl: S.optional(S.NullOr(S.String)),
|
|
766
|
+
}),
|
|
767
|
+
).annotate({ identifier: "CreateWorkflowDefinitionRequestWorkflowVersionConfig" });
|
|
768
|
+
case 2:
|
|
769
|
+
return S.suspend(() =>
|
|
770
|
+
S.Struct({
|
|
771
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
772
|
+
name: S.String,
|
|
773
|
+
description: S.optional(S.String),
|
|
774
|
+
project_id: S.String,
|
|
775
|
+
environment_variables: S.optional(__S(8, __c1, 0)),
|
|
776
|
+
workflow_timeout: S.optional(S.NullOr(S.String)),
|
|
777
|
+
cron_schedule: S.optional(__S(0, __c0, 0)),
|
|
778
|
+
workflow_version: __S(1, __c0, 1),
|
|
779
|
+
}).pipe(
|
|
780
|
+
T.Http({
|
|
781
|
+
method: "POST",
|
|
782
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-definitions",
|
|
783
|
+
code: 200,
|
|
784
|
+
baseUrl: "https://api.scaleway.com",
|
|
785
|
+
}),
|
|
786
|
+
),
|
|
787
|
+
).annotate({ identifier: "CreateWorkflowDefinitionRequest" });
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
function __c1(j: number): any {
|
|
791
|
+
switch (j) {
|
|
792
|
+
case 0:
|
|
793
|
+
return S.Record(S.String, S.String);
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
function __c2(j: number): any {
|
|
797
|
+
switch (j) {
|
|
798
|
+
case 0:
|
|
799
|
+
return S.Array(__S(24, __c3, 0));
|
|
800
|
+
case 1:
|
|
801
|
+
return S.suspend(() =>
|
|
802
|
+
S.Struct({
|
|
803
|
+
schedule: S.String,
|
|
804
|
+
timezone_identifier: S.String,
|
|
805
|
+
overlap: S.String,
|
|
806
|
+
}),
|
|
807
|
+
).annotate({ identifier: "CronSchedule" });
|
|
808
|
+
case 2:
|
|
809
|
+
return S.suspend(() =>
|
|
810
|
+
S.Struct({
|
|
811
|
+
workflow_run_id: S.optional(S.String),
|
|
812
|
+
status: S.optional(S.String),
|
|
813
|
+
reason: S.optional(S.String),
|
|
814
|
+
}),
|
|
815
|
+
).annotate({ identifier: "WorkflowRunInfo" });
|
|
816
|
+
case 3:
|
|
817
|
+
return S.suspend(() =>
|
|
818
|
+
S.Struct({
|
|
819
|
+
id: S.optional(S.String),
|
|
820
|
+
name: S.optional(S.String),
|
|
821
|
+
description: S.optional(S.String),
|
|
822
|
+
project_id: S.optional(S.String),
|
|
823
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
824
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
825
|
+
versions: S.optional(__S(16, __c2, 0)),
|
|
826
|
+
cron_schedule: S.optional(__S(17, __c2, 1)),
|
|
827
|
+
environment_variables: S.optional(__S(8, __c1, 0)),
|
|
828
|
+
workflow_timeout: S.optional(S.NullOr(S.String)),
|
|
829
|
+
last_run: S.optional(__S(18, __c2, 2)),
|
|
830
|
+
region: S.optional(S.String),
|
|
831
|
+
srn: S.optional(S.String),
|
|
832
|
+
}),
|
|
833
|
+
).annotate({ identifier: "WorkflowDefinition" });
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
function __c3(j: number): any {
|
|
837
|
+
switch (j) {
|
|
838
|
+
case 0:
|
|
839
|
+
return S.suspend(() =>
|
|
840
|
+
S.Struct({
|
|
841
|
+
id: S.optional(S.String),
|
|
842
|
+
name: S.optional(S.String),
|
|
843
|
+
description: S.optional(S.String),
|
|
844
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
845
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
846
|
+
deleted_at: S.optional(S.NullOr(S.String)),
|
|
847
|
+
workflow_dsl: S.optional(S.String),
|
|
848
|
+
is_current: S.optional(S.Boolean),
|
|
849
|
+
}),
|
|
850
|
+
).annotate({ identifier: "WorkflowVersion" });
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
function __c4(j: number): any {
|
|
854
|
+
switch (j) {
|
|
855
|
+
case 0:
|
|
856
|
+
return S.suspend(() =>
|
|
857
|
+
S.Struct({
|
|
858
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
859
|
+
workflow_definition_id: S.String.pipe(T.Label()),
|
|
860
|
+
}).pipe(
|
|
861
|
+
T.Http({
|
|
862
|
+
method: "DELETE",
|
|
863
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-definitions/{workflow_definition_id}",
|
|
864
|
+
code: 200,
|
|
865
|
+
baseUrl: "https://api.scaleway.com",
|
|
866
|
+
}),
|
|
867
|
+
),
|
|
868
|
+
).annotate({ identifier: "DeleteWorkflowDefinitionRequest" });
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
function __c5(j: number): any {
|
|
872
|
+
switch (j) {
|
|
873
|
+
case 0:
|
|
874
|
+
return S.suspend(() => S.Struct({})).annotate({
|
|
875
|
+
identifier: "DeleteWorkflowDefinitionResponse",
|
|
876
|
+
});
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
function __c6(j: number): any {
|
|
880
|
+
switch (j) {
|
|
881
|
+
case 0:
|
|
882
|
+
return S.suspend(() =>
|
|
883
|
+
S.Struct({
|
|
884
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
885
|
+
workflow_run_id: S.String.pipe(T.Label()),
|
|
886
|
+
}).pipe(
|
|
887
|
+
T.Http({
|
|
888
|
+
method: "POST",
|
|
889
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-runs/{workflow_run_id}/terminate",
|
|
890
|
+
code: 200,
|
|
891
|
+
baseUrl: "https://api.scaleway.com",
|
|
892
|
+
}),
|
|
893
|
+
),
|
|
894
|
+
).annotate({ identifier: "TerminateWorkflowRunRequest" });
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
function __c7(j: number): any {
|
|
898
|
+
switch (j) {
|
|
899
|
+
case 0:
|
|
900
|
+
return S.suspend(() =>
|
|
901
|
+
S.Struct({
|
|
902
|
+
schedule: S.optional(S.NullOr(S.String)),
|
|
903
|
+
timezone_identifier: S.optional(S.NullOr(S.String)),
|
|
904
|
+
overlap: S.optional(S.String),
|
|
905
|
+
}),
|
|
906
|
+
).annotate({ identifier: "UpdateWorkflowDefinitionRequestCronScheduleConfig" });
|
|
907
|
+
case 1:
|
|
908
|
+
return S.suspend(() =>
|
|
909
|
+
S.Struct({
|
|
910
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
911
|
+
workflow_definition_id: S.String.pipe(T.Label()),
|
|
912
|
+
name: S.optional(S.NullOr(S.String)),
|
|
913
|
+
description: S.optional(S.NullOr(S.String)),
|
|
914
|
+
environment_variables: S.optional(S.NullOr(__S(8, __c1, 0))),
|
|
915
|
+
workflow_timeout: S.optional(S.NullOr(S.String)),
|
|
916
|
+
cron_schedule: S.optional(__S(56, __c7, 0)),
|
|
917
|
+
}).pipe(
|
|
918
|
+
T.Http({
|
|
919
|
+
method: "PATCH",
|
|
920
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-definitions/{workflow_definition_id}",
|
|
921
|
+
code: 200,
|
|
922
|
+
baseUrl: "https://api.scaleway.com",
|
|
923
|
+
}),
|
|
924
|
+
),
|
|
925
|
+
).annotate({ identifier: "UpdateWorkflowDefinitionRequest" });
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
function __c8(j: number): any {
|
|
929
|
+
switch (j) {
|
|
930
|
+
case 0:
|
|
931
|
+
return S.suspend(() =>
|
|
932
|
+
S.Struct({
|
|
933
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
934
|
+
workflow_version_id: S.String.pipe(T.Label()),
|
|
935
|
+
name: S.optional(S.NullOr(S.String)),
|
|
936
|
+
description: S.optional(S.NullOr(S.String)),
|
|
937
|
+
workflow_dsl: S.optional(S.NullOr(S.String)),
|
|
938
|
+
}).pipe(
|
|
939
|
+
T.Http({
|
|
940
|
+
method: "PATCH",
|
|
941
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-versions/{workflow_version_id}",
|
|
942
|
+
code: 200,
|
|
943
|
+
baseUrl: "https://api.scaleway.com",
|
|
944
|
+
}),
|
|
945
|
+
),
|
|
946
|
+
).annotate({ identifier: "UpdateWorkflowVersionRequest" });
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
function __c9(j: number): any {
|
|
950
|
+
switch (j) {
|
|
951
|
+
case 0:
|
|
952
|
+
return S.suspend(() =>
|
|
953
|
+
S.Struct({
|
|
954
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
955
|
+
workflow_run_id: S.String.pipe(T.Label()),
|
|
956
|
+
}).pipe(
|
|
957
|
+
T.Http({
|
|
958
|
+
method: "DELETE",
|
|
959
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-runs/{workflow_run_id}",
|
|
960
|
+
code: 200,
|
|
961
|
+
baseUrl: "https://api.scaleway.com",
|
|
962
|
+
}),
|
|
963
|
+
),
|
|
964
|
+
).annotate({ identifier: "DeleteWorkflowRunRequest" });
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
function __c10(j: number): any {
|
|
968
|
+
switch (j) {
|
|
969
|
+
case 0:
|
|
970
|
+
return S.suspend(() =>
|
|
971
|
+
S.Struct({
|
|
972
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
973
|
+
workflow_definition_id: S.String.pipe(T.Label()),
|
|
974
|
+
}).pipe(
|
|
975
|
+
T.Http({
|
|
976
|
+
method: "GET",
|
|
977
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-definitions/{workflow_definition_id}",
|
|
978
|
+
code: 200,
|
|
979
|
+
baseUrl: "https://api.scaleway.com",
|
|
980
|
+
}),
|
|
981
|
+
),
|
|
982
|
+
).annotate({ identifier: "GetWorkflowDefinitionRequest" });
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
function __c11(j: number): any {
|
|
986
|
+
switch (j) {
|
|
987
|
+
case 0:
|
|
988
|
+
return S.suspend(() =>
|
|
989
|
+
S.Struct({
|
|
990
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
991
|
+
workflow_run_id: S.String.pipe(T.Label()),
|
|
992
|
+
}).pipe(
|
|
993
|
+
T.Http({
|
|
994
|
+
method: "GET",
|
|
995
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-runs/{workflow_run_id}",
|
|
996
|
+
code: 200,
|
|
997
|
+
baseUrl: "https://api.scaleway.com",
|
|
998
|
+
}),
|
|
999
|
+
),
|
|
1000
|
+
).annotate({ identifier: "GetWorkflowRunRequest" });
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
function __c12(j: number): any {
|
|
1004
|
+
switch (j) {
|
|
1005
|
+
case 0:
|
|
1006
|
+
return S.suspend(() =>
|
|
1007
|
+
S.Struct({
|
|
1008
|
+
job_definition_id: S.optional(S.String),
|
|
1009
|
+
job_run_id: S.optional(S.String),
|
|
1010
|
+
reason: S.optional(S.String),
|
|
1011
|
+
exit_code: S.optional(S.NullOr(S.Number)),
|
|
1012
|
+
error_message: S.optional(S.NullOr(S.String)),
|
|
1013
|
+
}),
|
|
1014
|
+
).annotate({ identifier: "ServerlessJobsTask" });
|
|
1015
|
+
case 1:
|
|
1016
|
+
return S.suspend(() =>
|
|
1017
|
+
S.Struct({
|
|
1018
|
+
reason: S.optional(S.String),
|
|
1019
|
+
error_message: S.optional(S.NullOr(S.String)),
|
|
1020
|
+
}),
|
|
1021
|
+
).annotate({ identifier: "DefaultTask" });
|
|
1022
|
+
case 2:
|
|
1023
|
+
return S.suspend(() =>
|
|
1024
|
+
S.Struct({
|
|
1025
|
+
container_id: S.optional(S.String),
|
|
1026
|
+
image_url: S.optional(S.String),
|
|
1027
|
+
status: S.optional(S.String),
|
|
1028
|
+
action: S.optional(S.String),
|
|
1029
|
+
reason: S.optional(S.String),
|
|
1030
|
+
error_message: S.optional(S.NullOr(S.String)),
|
|
1031
|
+
}),
|
|
1032
|
+
).annotate({ identifier: "RunServerlessContainersTask" });
|
|
1033
|
+
case 3:
|
|
1034
|
+
return S.suspend(() =>
|
|
1035
|
+
S.Struct({
|
|
1036
|
+
action: S.optional(S.String),
|
|
1037
|
+
reason: S.optional(S.String),
|
|
1038
|
+
error_message: S.optional(S.NullOr(S.String)),
|
|
1039
|
+
}),
|
|
1040
|
+
).annotate({ identifier: "ObjectStorageTask" });
|
|
1041
|
+
case 4:
|
|
1042
|
+
return S.suspend(() =>
|
|
1043
|
+
S.Struct({
|
|
1044
|
+
id: S.optional(S.String),
|
|
1045
|
+
task_name: S.optional(S.String),
|
|
1046
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
1047
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
1048
|
+
terminated_at: S.optional(S.NullOr(S.String)),
|
|
1049
|
+
duration: S.optional(S.NullOr(S.String)),
|
|
1050
|
+
status: S.optional(S.String),
|
|
1051
|
+
output: S.optional(S.NullOr(S.String)),
|
|
1052
|
+
serverless_job_task_run_details: S.optional(S.NullOr(__S(96, __c12, 0))),
|
|
1053
|
+
raise_task_run_details: S.optional(S.NullOr(__S(97, __c12, 1))),
|
|
1054
|
+
set_task_run_details: S.optional(S.NullOr(__S(97, __c12, 1))),
|
|
1055
|
+
call_http_task_run_details: S.optional(S.NullOr(__S(97, __c12, 1))),
|
|
1056
|
+
wait_task_run_details: S.optional(S.NullOr(__S(97, __c12, 1))),
|
|
1057
|
+
serverless_function_task_run_details: S.optional(S.NullOr(__S(97, __c12, 1))),
|
|
1058
|
+
run_serverless_container_task_run_details: S.optional(S.NullOr(__S(98, __c12, 2))),
|
|
1059
|
+
call_serverless_container_task_run_details: S.optional(S.NullOr(__S(97, __c12, 1))),
|
|
1060
|
+
object_storage_task_run_details: S.optional(S.NullOr(__S(99, __c12, 3))),
|
|
1061
|
+
generative_api_task_run_details: S.optional(S.NullOr(__S(97, __c12, 1))),
|
|
1062
|
+
run_iteration: S.optional(S.NullOr(S.Number)),
|
|
1063
|
+
}),
|
|
1064
|
+
).annotate({ identifier: "TaskRun" });
|
|
1065
|
+
case 5:
|
|
1066
|
+
return S.Array(__S(100, __c12, 4));
|
|
1067
|
+
case 6:
|
|
1068
|
+
return S.suspend(() =>
|
|
1069
|
+
S.Struct({
|
|
1070
|
+
id: S.optional(S.String),
|
|
1071
|
+
workflow_definition_id: S.optional(S.String),
|
|
1072
|
+
workflow_definition_name: S.optional(S.String),
|
|
1073
|
+
workflow_version_id: S.optional(S.String),
|
|
1074
|
+
project_id: S.optional(S.String),
|
|
1075
|
+
trigger_type: S.optional(S.String),
|
|
1076
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
1077
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
1078
|
+
terminated_at: S.optional(S.NullOr(S.String)),
|
|
1079
|
+
duration: S.optional(S.NullOr(S.String)),
|
|
1080
|
+
status: S.optional(S.String),
|
|
1081
|
+
reason: S.optional(S.String),
|
|
1082
|
+
task_runs: S.optional(__S(101, __c12, 5)),
|
|
1083
|
+
environment_variables: S.optional(__S(8, __c1, 0)),
|
|
1084
|
+
workflow_dsl: S.optional(S.String),
|
|
1085
|
+
output: S.optional(S.NullOr(S.String)),
|
|
1086
|
+
error_message: S.optional(S.NullOr(S.String)),
|
|
1087
|
+
region: S.optional(S.String),
|
|
1088
|
+
srn: S.optional(S.String),
|
|
1089
|
+
}),
|
|
1090
|
+
).annotate({ identifier: "WorkflowRun" });
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
function __c13(j: number): any {
|
|
1094
|
+
switch (j) {
|
|
1095
|
+
case 0:
|
|
1096
|
+
return S.suspend(() =>
|
|
1097
|
+
S.Struct({
|
|
1098
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1099
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1100
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1101
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
1102
|
+
name: S.optional(S.String.pipe(T.Query())),
|
|
1103
|
+
statuses: S.optional(__S(112, __c14, 0).pipe(T.Query())),
|
|
1104
|
+
created_after: S.optional(S.String.pipe(T.Query())),
|
|
1105
|
+
created_before: S.optional(S.String.pipe(T.Query())),
|
|
1106
|
+
trigger_types: S.optional(__S(112, __c14, 0).pipe(T.Query())),
|
|
1107
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
1108
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
1109
|
+
}).pipe(
|
|
1110
|
+
T.Http({
|
|
1111
|
+
method: "GET",
|
|
1112
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-definitions",
|
|
1113
|
+
code: 200,
|
|
1114
|
+
baseUrl: "https://api.scaleway.com",
|
|
1115
|
+
}),
|
|
1116
|
+
),
|
|
1117
|
+
).annotate({ identifier: "ListWorkflowDefinitionsRequest" });
|
|
1118
|
+
case 1:
|
|
1119
|
+
return S.Array(__S(19, __c2, 3));
|
|
1120
|
+
case 2:
|
|
1121
|
+
return S.suspend(() =>
|
|
1122
|
+
S.Struct({
|
|
1123
|
+
workflow_definitions: __S(105, __c13, 1),
|
|
1124
|
+
total_count: S.optional(S.Number),
|
|
1125
|
+
}),
|
|
1126
|
+
).annotate({ identifier: "ListWorkflowDefinitionsResponse" });
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
function __c14(j: number): any {
|
|
1130
|
+
switch (j) {
|
|
1131
|
+
case 0:
|
|
1132
|
+
return S.Array(S.String);
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
function __c15(j: number): any {
|
|
1136
|
+
switch (j) {
|
|
1137
|
+
case 0:
|
|
1138
|
+
return S.suspend(() =>
|
|
1139
|
+
S.Struct({
|
|
1140
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1141
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
1142
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
1143
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
1144
|
+
workflow_definition_id: S.optional(S.String.pipe(T.Query())),
|
|
1145
|
+
statuses: S.optional(__S(112, __c14, 0).pipe(T.Query())),
|
|
1146
|
+
created_after: S.optional(S.String.pipe(T.Query())),
|
|
1147
|
+
created_before: S.optional(S.String.pipe(T.Query())),
|
|
1148
|
+
trigger_types: S.optional(__S(112, __c14, 0).pipe(T.Query())),
|
|
1149
|
+
workflow_definition_name: S.optional(S.String.pipe(T.Query())),
|
|
1150
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
1151
|
+
organization_id: S.optional(S.String.pipe(T.Query())),
|
|
1152
|
+
}).pipe(
|
|
1153
|
+
T.Http({
|
|
1154
|
+
method: "GET",
|
|
1155
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-runs",
|
|
1156
|
+
code: 200,
|
|
1157
|
+
baseUrl: "https://api.scaleway.com",
|
|
1158
|
+
}),
|
|
1159
|
+
),
|
|
1160
|
+
).annotate({ identifier: "ListWorkflowRunsRequest" });
|
|
1161
|
+
case 1:
|
|
1162
|
+
return S.Array(__S(102, __c12, 6));
|
|
1163
|
+
case 2:
|
|
1164
|
+
return S.suspend(() =>
|
|
1165
|
+
S.Struct({
|
|
1166
|
+
workflow_runs: __S(121, __c15, 1),
|
|
1167
|
+
total_count: S.optional(S.Number),
|
|
1168
|
+
}),
|
|
1169
|
+
).annotate({ identifier: "ListWorkflowRunsResponse" });
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
function __c16(j: number): any {
|
|
1173
|
+
switch (j) {
|
|
1174
|
+
case 0:
|
|
1175
|
+
return S.suspend(() =>
|
|
1176
|
+
S.Struct({
|
|
1177
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1178
|
+
workflow_run_id: S.String.pipe(T.Label()),
|
|
1179
|
+
}).pipe(
|
|
1180
|
+
T.Http({
|
|
1181
|
+
method: "POST",
|
|
1182
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-runs/{workflow_run_id}/pause",
|
|
1183
|
+
code: 200,
|
|
1184
|
+
baseUrl: "https://api.scaleway.com",
|
|
1185
|
+
}),
|
|
1186
|
+
),
|
|
1187
|
+
).annotate({ identifier: "PauseWorkflowRunRequest" });
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
function __c17(j: number): any {
|
|
1191
|
+
switch (j) {
|
|
1192
|
+
case 0:
|
|
1193
|
+
return S.suspend(() =>
|
|
1194
|
+
S.Struct({
|
|
1195
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1196
|
+
workflow_run_id: S.String.pipe(T.Label()),
|
|
1197
|
+
}).pipe(
|
|
1198
|
+
T.Http({
|
|
1199
|
+
method: "POST",
|
|
1200
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-runs/{workflow_run_id}/resume",
|
|
1201
|
+
code: 200,
|
|
1202
|
+
baseUrl: "https://api.scaleway.com",
|
|
1203
|
+
}),
|
|
1204
|
+
),
|
|
1205
|
+
).annotate({ identifier: "ResumeWorkflowRunRequest" });
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
function __c18(j: number): any {
|
|
1209
|
+
switch (j) {
|
|
1210
|
+
case 0:
|
|
1211
|
+
return S.suspend(() =>
|
|
1212
|
+
S.Struct({
|
|
1213
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
1214
|
+
workflow_definition_id: S.String.pipe(T.Label()),
|
|
1215
|
+
environment_variables: S.optional(S.NullOr(__S(8, __c1, 0))),
|
|
1216
|
+
}).pipe(
|
|
1217
|
+
T.Http({
|
|
1218
|
+
method: "POST",
|
|
1219
|
+
uri: "/data-orchestrator/v1alpha2/regions/{region}/workflow-definitions/{workflow_definition_id}/start",
|
|
1220
|
+
code: 200,
|
|
1221
|
+
baseUrl: "https://api.scaleway.com",
|
|
1222
|
+
}),
|
|
1223
|
+
),
|
|
1224
|
+
).annotate({ identifier: "StartWorkflowDefinitionRequest" });
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
1228
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
1229
|
+
return (__s[i] ??= __L.at(f, j));
|
|
1230
|
+
}
|