midas/sdk/netlify/operations

Functions

pub fn add_member_to_account_request(
  base: Request(a),
  account_slug: String,
  account_add_member_setup: AccountAddMemberSetup,
) -> Request(BitArray)
pub fn add_member_to_account_response(
  response: Response(BitArray),
) -> Result(Result(List(Member), Error), DecodeError)
pub fn cancel_account_request(
  base: Request(a),
  account_id: String,
) -> Request(a)
pub fn cancel_account_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn cancel_site_deploy_request(
  base: Request(a),
  deploy_id: String,
) -> Request(a)
pub fn cancel_site_deploy_response(
  response: Response(BitArray),
) -> Result(Result(Deploy, Error), DecodeError)
pub fn configure_dnsfor_site_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn configure_dnsfor_site_response(
  response: Response(BitArray),
) -> Result(Result(List(DnsZone), Error), DecodeError)
pub fn create_account_request(
  base: Request(a),
  account_setup: AccountSetup,
) -> Request(BitArray)
pub fn create_account_response(
  response: Response(BitArray),
) -> Result(Result(AccountMembership, Error), DecodeError)
pub fn create_deploy_key_request(base: Request(a)) -> Request(a)
pub fn create_deploy_key_response(
  response: Response(BitArray),
) -> Result(Result(DeployKey, Error), DecodeError)
pub fn create_dns_record_request(
  base: Request(a),
  zone_id: String,
  dns_record_create: DnsRecordCreate,
) -> Request(BitArray)
pub fn create_dns_record_response(
  response: Response(BitArray),
) -> Result(Result(DnsRecord, Error), DecodeError)
pub fn create_dns_zone_request(
  base: Request(a),
  dns_zone_setup: DnsZoneSetup,
) -> Request(BitArray)
pub fn create_dns_zone_response(
  response: Response(BitArray),
) -> Result(Result(DnsZone, Error), DecodeError)
pub fn create_env_vars_request(
  base: Request(a),
  account_id: String,
  site_id site_id: Option(String),
) -> Request(a)
pub fn create_env_vars_response(
  response: Response(BitArray),
) -> Result(Result(List(EnvVar), Error), DecodeError)
pub fn create_hook_by_site_id_request(
  base: Request(a),
  hook: Hook,
  site_id site_id: String,
) -> Request(BitArray)
pub fn create_hook_by_site_id_response(
  response: Response(BitArray),
) -> Result(Result(Hook, Error), DecodeError)
pub fn create_service_instance_request(
  base: Request(a),
  site_id: String,
  addon: String,
  data: b,
) -> Request(b)
pub fn create_service_instance_response(
  response: Response(BitArray),
) -> Result(Result(ServiceInstance, Error), DecodeError)
pub fn create_site_asset_request(
  base: Request(a),
  site_id: String,
  name name: String,
  size size: Int,
  content_type content_type: String,
  visibility visibility: Option(String),
) -> Request(a)
pub fn create_site_asset_response(
  response: Response(BitArray),
) -> Result(Result(AssetSignature, Error), DecodeError)
pub fn create_site_build_hook_request(
  base: Request(a),
  site_id: String,
  build_hook_setup: BuildHookSetup,
) -> Request(BitArray)
pub fn create_site_build_hook_response(
  response: Response(BitArray),
) -> Result(Result(BuildHook, Error), DecodeError)
pub fn create_site_build_request(
  base: Request(a),
  site_id: String,
  build_setup: BuildSetup,
) -> Request(BitArray)
pub fn create_site_build_response(
  response: Response(BitArray),
) -> Result(Result(Build, Error), DecodeError)
pub fn create_site_deploy_request(
  base: Request(a),
  site_id: String,
  deploy_files: DeployFiles,
  title title: Option(String),
  deploy_previews deploy_previews: Option(Bool),
  production production: Option(Bool),
  state state: Option(String),
  branch branch: Option(String),
  latest_published latest_published: Option(Bool),
) -> Request(BitArray)
pub fn create_site_deploy_response(
  response: Response(BitArray),
) -> Result(Result(Deploy, Error), DecodeError)
pub fn create_site_dev_server_hook_request(
  base: Request(a),
  site_id: String,
  dev_server_hook_setup: DevServerHookSetup,
) -> Request(BitArray)
pub fn create_site_dev_server_hook_response(
  response: Response(BitArray),
) -> Result(Result(DevServerHook, Error), DecodeError)
pub fn create_site_dev_server_request(
  base: Request(a),
  site_id: String,
  branch branch: Option(String),
) -> Request(a)
pub fn create_site_dev_server_response(
  response: Response(BitArray),
) -> Result(Result(List(DevServer), Error), DecodeError)
pub fn create_site_in_team_request(
  base: Request(a),
  account_slug: String,
  site_setup: SiteSetup,
  configure_dns configure_dns: Option(Bool),
) -> Request(BitArray)
pub fn create_site_in_team_response(
  response: Response(BitArray),
) -> Result(Result(Site, Error), DecodeError)
pub fn create_site_request(
  base: Request(a),
  site_setup: SiteSetup,
  configure_dns configure_dns: Option(Bool),
) -> Request(BitArray)
pub fn create_site_response(
  response: Response(BitArray),
) -> Result(Result(Site, Error), DecodeError)
pub fn create_site_snippet_request(
  base: Request(a),
  site_id: String,
  snippet: Snippet,
) -> Request(BitArray)
pub fn create_site_snippet_response(
  response: Response(BitArray),
) -> Result(Result(Snippet, Error), DecodeError)
pub fn create_split_test_request(
  base: Request(a),
  site_id: String,
  split_test_setup: SplitTestSetup,
) -> Request(BitArray)
pub fn create_split_test_response(
  response: Response(BitArray),
) -> Result(Result(SplitTest, Error), DecodeError)
pub fn create_ticket_request(
  base: Request(a),
  client_id client_id: String,
) -> Request(a)
pub fn create_ticket_response(
  response: Response(BitArray),
) -> Result(Result(Ticket, Error), DecodeError)
pub fn delete_deploy_key_request(
  base: Request(a),
  key_id: String,
) -> Request(a)
pub fn delete_deploy_key_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_deploy_request(
  base: Request(a),
  deploy_id: String,
) -> Request(a)
pub fn delete_deploy_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_dns_record_request(
  base: Request(a),
  zone_id: String,
  dns_record_id: String,
) -> Request(a)
pub fn delete_dns_record_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_dns_zone_request(
  base: Request(a),
  zone_id: String,
) -> Request(a)
pub fn delete_dns_zone_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_env_var_request(
  base: Request(a),
  account_id: String,
  key: String,
  site_id site_id: Option(String),
) -> Request(a)
pub fn delete_env_var_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_env_var_value_request(
  base: Request(a),
  account_id: String,
  key: String,
  id: String,
  site_id site_id: Option(String),
) -> Request(a)
pub fn delete_env_var_value_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_hook_request(
  base: Request(a),
  hook_id: String,
) -> Request(a)
pub fn delete_hook_response(
  response: Response(a),
) -> Result(Result(Nil, String), b)
pub fn delete_service_instance_request(
  base: Request(a),
  site_id: String,
  addon: String,
  instance_id: String,
) -> Request(a)
pub fn delete_service_instance_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_site_asset_request(
  base: Request(a),
  site_id: String,
  asset_id: String,
) -> Request(a)
pub fn delete_site_asset_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_site_build_hook_request(
  base: Request(a),
  site_id: String,
  id: String,
) -> Request(a)
pub fn delete_site_build_hook_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_site_deploy_request(
  base: Request(a),
  site_id: String,
  deploy_id: String,
) -> Request(a)
pub fn delete_site_deploy_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_site_dev_server_hook_request(
  base: Request(a),
  site_id: String,
  id: String,
) -> Request(a)
pub fn delete_site_dev_server_hook_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_site_dev_servers_request(
  base: Request(a),
  site_id: String,
  branch branch: Option(String),
) -> Request(a)
pub fn delete_site_dev_servers_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_site_form_request(
  base: Request(a),
  site_id: String,
  form_id: String,
) -> Request(a)
pub fn delete_site_form_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_site_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn delete_site_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_site_snippet_request(
  base: Request(a),
  site_id: String,
  snippet_id: String,
) -> Request(a)
pub fn delete_site_snippet_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn delete_submission_request(
  base: Request(a),
  submission_id: String,
) -> Request(a)
pub fn delete_submission_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn disable_split_test_request(
  base: Request(a),
  site_id: String,
  split_test_id: String,
) -> Request(a)
pub fn disable_split_test_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn enable_hook_request(
  base: Request(a),
  hook_id: String,
) -> Request(a)
pub fn enable_hook_response(
  response: Response(BitArray),
) -> Result(Result(Hook, Error), DecodeError)
pub fn enable_split_test_request(
  base: Request(a),
  site_id: String,
  split_test_id: String,
) -> Request(a)
pub fn enable_split_test_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn exchange_ticket_request(
  base: Request(a),
  ticket_id: String,
) -> Request(a)
pub fn exchange_ticket_response(
  response: Response(BitArray),
) -> Result(Result(AccessToken, Error), DecodeError)
pub fn get_account_build_status_request(
  base: Request(a),
  account_id: String,
) -> Request(a)
pub fn get_account_build_status_response(
  response: Response(BitArray),
) -> Result(Result(List(BuildStatus), Error), DecodeError)
pub fn get_account_member_request(
  base: Request(a),
  account_slug: String,
  member_id: String,
) -> Request(a)
pub fn get_account_member_response(
  response: Response(BitArray),
) -> Result(Result(Member, Error), DecodeError)
pub fn get_account_request(
  base: Request(a),
  account_id: String,
) -> Request(a)
pub fn get_account_response(
  response: Response(BitArray),
) -> Result(Result(List(AccountMembership), Error), DecodeError)
pub fn get_current_user_request(base: Request(a)) -> Request(a)
pub fn get_current_user_response(
  response: Response(BitArray),
) -> Result(Result(List(User), Error), DecodeError)
pub fn get_deploy_key_request(
  base: Request(a),
  key_id: String,
) -> Request(a)
pub fn get_deploy_key_response(
  response: Response(BitArray),
) -> Result(Result(DeployKey, Error), DecodeError)
pub fn get_deploy_request(
  base: Request(a),
  deploy_id: String,
) -> Request(a)
pub fn get_deploy_response(
  response: Response(BitArray),
) -> Result(Result(Deploy, Error), DecodeError)
pub fn get_dns_records_request(
  base: Request(a),
  zone_id: String,
) -> Request(a)
pub fn get_dns_records_response(
  response: Response(BitArray),
) -> Result(Result(List(DnsRecord), Error), DecodeError)
pub fn get_dns_zone_request(
  base: Request(a),
  zone_id: String,
) -> Request(a)
pub fn get_dns_zone_response(
  response: Response(BitArray),
) -> Result(Result(DnsZone, Error), DecodeError)
pub fn get_dns_zones_request(
  base: Request(a),
  account_slug account_slug: Option(String),
) -> Request(a)
pub fn get_dns_zones_response(
  response: Response(BitArray),
) -> Result(Result(List(DnsZone), Error), DecodeError)
pub fn get_dnsfor_site_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn get_dnsfor_site_response(
  response: Response(BitArray),
) -> Result(Result(List(DnsZone), Error), DecodeError)
pub fn get_env_var_request(
  base: Request(a),
  account_id: String,
  key: String,
  site_id site_id: Option(String),
) -> Request(a)
pub fn get_env_var_response(
  response: Response(BitArray),
) -> Result(Result(EnvVar, Error), DecodeError)
pub fn get_env_vars_request(
  base: Request(a),
  account_id: String,
  context_name context_name: Option(String),
  scope scope: Option(String),
  site_id site_id: Option(String),
) -> Request(a)
pub fn get_env_vars_response(
  response: Response(BitArray),
) -> Result(Result(List(EnvVar), Error), DecodeError)
pub fn get_hook_request(
  base: Request(a),
  hook_id: String,
) -> Request(a)
pub fn get_hook_response(
  response: Response(BitArray),
) -> Result(Result(Hook, Error), DecodeError)
pub fn get_individual_dns_record_request(
  base: Request(a),
  zone_id: String,
  dns_record_id: String,
) -> Request(a)
pub fn get_individual_dns_record_response(
  response: Response(BitArray),
) -> Result(Result(DnsRecord, Error), DecodeError)
pub fn get_services_request(
  base: Request(a),
  search search: Option(String),
) -> Request(a)
pub fn get_services_response(
  response: Response(BitArray),
) -> Result(Result(List(Service), Error), DecodeError)
pub fn get_site_asset_info_request(
  base: Request(a),
  site_id: String,
  asset_id: String,
) -> Request(a)
pub fn get_site_asset_info_response(
  response: Response(BitArray),
) -> Result(Result(Asset, Error), DecodeError)
pub fn get_site_asset_public_signature_request(
  base: Request(a),
  site_id: String,
  asset_id: String,
) -> Request(a)
pub fn get_site_asset_public_signature_response(
  response: Response(BitArray),
) -> Result(Result(AssetPublicSignature, Error), DecodeError)
pub fn get_site_build_hook_request(
  base: Request(a),
  site_id: String,
  id: String,
) -> Request(a)
pub fn get_site_build_hook_response(
  response: Response(BitArray),
) -> Result(Result(BuildHook, Error), DecodeError)
pub fn get_site_build_request(
  base: Request(a),
  build_id: String,
) -> Request(a)
pub fn get_site_build_response(
  response: Response(BitArray),
) -> Result(Result(Build, Error), DecodeError)
pub fn get_site_deploy_request(
  base: Request(a),
  site_id: String,
  deploy_id: String,
) -> Request(a)
pub fn get_site_deploy_response(
  response: Response(BitArray),
) -> Result(Result(Deploy, Error), DecodeError)
pub fn get_site_dev_server_hook_request(
  base: Request(a),
  site_id: String,
  id: String,
) -> Request(a)
pub fn get_site_dev_server_hook_response(
  response: Response(BitArray),
) -> Result(Result(DevServerHook, Error), DecodeError)
pub fn get_site_dev_server_request(
  base: Request(a),
  site_id: String,
  dev_server_id: String,
) -> Request(a)
pub fn get_site_dev_server_response(
  response: Response(BitArray),
) -> Result(Result(DevServer, String), DecodeError)
pub fn get_site_env_vars_request(
  base: Request(a),
  site_id: String,
  context_name context_name: Option(String),
  scope scope: Option(String),
) -> Request(a)
pub fn get_site_env_vars_response(
  response: Response(BitArray),
) -> Result(Result(List(EnvVar), Error), DecodeError)
pub fn get_site_file_by_path_name_request(
  base: Request(a),
  site_id: String,
  file_path: String,
) -> Request(a)
pub fn get_site_file_by_path_name_response(
  response: Response(BitArray),
) -> Result(Result(File, Error), DecodeError)
pub fn get_site_metadata_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn get_site_metadata_response(
  response: Response(BitArray),
) -> Result(Result(Metadata, Error), DecodeError)
pub fn get_site_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn get_site_response(
  response: Response(BitArray),
) -> Result(Result(Site, Error), DecodeError)
pub fn get_site_snippet_request(
  base: Request(a),
  site_id: String,
  snippet_id: String,
) -> Request(a)
pub fn get_site_snippet_response(
  response: Response(BitArray),
) -> Result(Result(Snippet, Error), DecodeError)
pub fn get_split_test_request(
  base: Request(a),
  site_id: String,
  split_test_id: String,
) -> Request(a)
pub fn get_split_test_response(
  response: Response(BitArray),
) -> Result(Result(SplitTest, Error), DecodeError)
pub fn get_split_tests_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn get_split_tests_response(
  response: Response(BitArray),
) -> Result(Result(List(SplitTest), Error), DecodeError)
pub fn list_account_audit_events_request(
  base: Request(a),
  account_id: String,
  query query: Option(String),
  log_type log_type: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Request(a)
pub fn list_account_audit_events_response(
  response: Response(BitArray),
) -> Result(Result(List(AuditLog), Error), DecodeError)
pub fn list_account_types_for_user_request(
  base: Request(a),
) -> Request(a)
pub fn list_account_types_for_user_response(
  response: Response(BitArray),
) -> Result(Result(List(AccountType), Error), DecodeError)
pub fn list_accounts_for_user_request(
  base: Request(a),
) -> Request(a)
pub fn list_accounts_for_user_response(
  response: Response(BitArray),
) -> Result(Result(List(AccountMembership), Error), DecodeError)
pub fn list_deploy_keys_request(base: Request(a)) -> Request(a)
pub fn list_deploy_keys_response(
  response: Response(BitArray),
) -> Result(Result(List(DeployKey), Error), DecodeError)
pub fn list_form_submission_request(
  base: Request(a),
  submission_id: String,
  query query: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Request(a)
pub fn list_form_submission_response(
  response: Response(BitArray),
) -> Result(Result(List(Submission), Error), DecodeError)
pub fn list_form_submissions_request(
  base: Request(a),
  form_id: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Request(a)
pub fn list_form_submissions_response(
  response: Response(BitArray),
) -> Result(Result(List(Submission), Error), DecodeError)
pub fn list_hook_types_request(base: Request(a)) -> Request(a)
pub fn list_hook_types_response(
  response: Response(BitArray),
) -> Result(Result(List(HookType), Error), DecodeError)
pub fn list_hooks_by_site_id_request(
  base: Request(a),
  site_id site_id: String,
) -> Request(a)
pub fn list_hooks_by_site_id_response(
  response: Response(BitArray),
) -> Result(Result(List(Hook), Error), DecodeError)
pub fn list_members_for_account_request(
  base: Request(a),
  account_slug: String,
) -> Request(a)
pub fn list_members_for_account_response(
  response: Response(BitArray),
) -> Result(Result(List(Member), Error), DecodeError)
pub fn list_payment_methods_for_user_request(
  base: Request(a),
) -> Request(a)
pub fn list_payment_methods_for_user_response(
  response: Response(BitArray),
) -> Result(Result(List(PaymentMethod), Error), DecodeError)
pub fn list_service_instances_for_site_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn list_service_instances_for_site_response(
  response: Response(BitArray),
) -> Result(Result(List(ServiceInstance), Error), DecodeError)
pub fn list_site_assets_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn list_site_assets_response(
  response: Response(BitArray),
) -> Result(Result(List(Asset), Error), DecodeError)
pub fn list_site_build_hooks_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn list_site_build_hooks_response(
  response: Response(BitArray),
) -> Result(Result(List(BuildHook), Error), DecodeError)
pub fn list_site_builds_request(
  base: Request(a),
  site_id: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Request(a)
pub fn list_site_builds_response(
  response: Response(BitArray),
) -> Result(Result(List(Build), Error), DecodeError)
pub fn list_site_deployed_branches_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn list_site_deployed_branches_response(
  response: Response(BitArray),
) -> Result(Result(List(DeployedBranch), Error), DecodeError)
pub fn list_site_deploys_request(
  base: Request(a),
  site_id: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
  deploy_previews deploy_previews: Option(Bool),
  production production: Option(Bool),
  state state: Option(String),
  branch branch: Option(String),
  latest_published latest_published: Option(Bool),
) -> Request(a)
pub fn list_site_deploys_response(
  response: Response(BitArray),
) -> Result(Result(List(Deploy), Error), DecodeError)
pub fn list_site_dev_server_hooks_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn list_site_dev_server_hooks_response(
  response: Response(BitArray),
) -> Result(Result(List(DevServerHook), Error), DecodeError)
pub fn list_site_dev_servers_request(
  base: Request(a),
  site_id: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Request(a)
pub fn list_site_dev_servers_response(
  response: Response(BitArray),
) -> Result(Result(List(DevServer), Error), DecodeError)
pub fn list_site_files_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn list_site_files_response(
  response: Response(BitArray),
) -> Result(Result(List(File), Error), DecodeError)
pub fn list_site_forms_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn list_site_forms_response(
  response: Response(BitArray),
) -> Result(Result(List(Form), Error), DecodeError)
pub fn list_site_snippets_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn list_site_snippets_response(
  response: Response(BitArray),
) -> Result(Result(List(Snippet), Error), DecodeError)
pub fn list_site_submissions_request(
  base: Request(a),
  site_id: String,
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Request(a)
pub fn list_site_submissions_response(
  response: Response(BitArray),
) -> Result(Result(List(Submission), Error), DecodeError)
pub fn list_sites_for_account_request(
  base: Request(a),
  account_slug: String,
  name name: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Request(a)
pub fn list_sites_for_account_response(
  response: Response(BitArray),
) -> Result(Result(List(Site), Error), DecodeError)
pub fn list_sites_request(
  base: Request(a),
  name name: Option(String),
  filter filter: Option(String),
  page page: Option(Int),
  per_page per_page: Option(Int),
) -> Request(a)
pub fn list_sites_response(
  response: Response(BitArray),
) -> Result(Result(List(Site), Error), DecodeError)
pub fn lock_deploy_request(
  base: Request(a),
  deploy_id: String,
) -> Request(a)
pub fn lock_deploy_response(
  response: Response(BitArray),
) -> Result(Result(Deploy, Error), DecodeError)
pub fn notify_build_start_request(
  base: Request(a),
  build_id: String,
  buildbot_version buildbot_version: Option(String),
  build_version build_version: Option(String),
) -> Request(a)
pub fn notify_build_start_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn provision_site_tlscertificate_request(
  base: Request(a),
  site_id: String,
  certificate certificate: Option(String),
  key key: Option(String),
  ca_certificates ca_certificates: Option(String),
) -> Request(a)
pub fn provision_site_tlscertificate_response(
  response: Response(BitArray),
) -> Result(Result(SniCertificate, Error), DecodeError)
pub fn purge_cache_request(
  base: Request(a),
  purge: Purge,
) -> Request(BitArray)
pub fn purge_cache_response(
  response: Response(a),
) -> Result(Result(Nil, String), b)
pub fn remove_account_member_request(
  base: Request(a),
  account_slug: String,
  member_id: String,
) -> Request(a)
pub fn remove_account_member_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn restore_site_deploy_request(
  base: Request(a),
  site_id: String,
  deploy_id: String,
) -> Request(a)
pub fn restore_site_deploy_response(
  response: Response(BitArray),
) -> Result(Result(Deploy, Error), DecodeError)
pub fn rollback_site_deploy_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn rollback_site_deploy_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn search_site_functions_request(
  base: Request(a),
  site_id: String,
  filter filter: Option(String),
) -> Request(a)
pub fn search_site_functions_response(
  response: Response(BitArray),
) -> Result(Result(List(SiteFunction), Error), DecodeError)
pub fn set_env_var_value_request(
  base: Request(a),
  account_id: String,
  key: String,
  data: b,
  site_id site_id: Option(String),
) -> Request(b)
pub fn set_env_var_value_response(
  response: Response(BitArray),
) -> Result(Result(EnvVar, Error), DecodeError)
pub fn show_service_instance_request(
  base: Request(a),
  site_id: String,
  addon: String,
  instance_id: String,
) -> Request(a)
pub fn show_service_instance_response(
  response: Response(BitArray),
) -> Result(Result(ServiceInstance, Error), DecodeError)
pub fn show_service_manifest_request(
  base: Request(a),
  addon_name: String,
) -> Request(a)
pub fn show_service_manifest_response(
  response: Response(BitArray),
) -> Result(Result(Dynamic, Error), DecodeError)
pub fn show_service_request(
  base: Request(a),
  addon_name: String,
) -> Request(a)
pub fn show_service_response(
  response: Response(BitArray),
) -> Result(Result(Service, Error), DecodeError)
pub fn show_site_tlscertificate_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn show_site_tlscertificate_response(
  response: Response(BitArray),
) -> Result(Result(SniCertificate, Error), DecodeError)
pub fn show_ticket_request(
  base: Request(a),
  ticket_id: String,
) -> Request(a)
pub fn show_ticket_response(
  response: Response(BitArray),
) -> Result(Result(Ticket, Error), DecodeError)
pub fn transfer_dns_zone_request(
  base: Request(a),
  zone_id: String,
  account_id account_id: String,
  transfer_account_id transfer_account_id: String,
  transfer_user_id transfer_user_id: String,
) -> Request(a)
pub fn transfer_dns_zone_response(
  response: Response(BitArray),
) -> Result(Result(DnsZone, Error), DecodeError)
pub fn unlink_site_repo_request(
  base: Request(a),
  site_id: String,
) -> Request(a)
pub fn unlink_site_repo_response(
  response: Response(BitArray),
) -> Result(Result(Site, String), DecodeError)
pub fn unlock_deploy_request(
  base: Request(a),
  deploy_id: String,
) -> Request(a)
pub fn unlock_deploy_response(
  response: Response(BitArray),
) -> Result(Result(Deploy, Error), DecodeError)
pub fn update_account_member_request(
  base: Request(a),
  account_slug: String,
  member_id: String,
  account_update_member_setup: AccountUpdateMemberSetup,
) -> Request(BitArray)
pub fn update_account_member_response(
  response: Response(BitArray),
) -> Result(Result(Member, Error), DecodeError)
pub fn update_account_request(
  base: Request(a),
  account_id: String,
  account_update_setup: AccountUpdateSetup,
) -> Request(BitArray)
pub fn update_account_response(
  response: Response(BitArray),
) -> Result(Result(AccountMembership, Error), DecodeError)
pub fn update_env_var_request(
  base: Request(a),
  account_id: String,
  key: String,
  data: b,
  site_id site_id: Option(String),
) -> Request(b)
pub fn update_env_var_response(
  response: Response(BitArray),
) -> Result(Result(EnvVar, Error), DecodeError)
pub fn update_hook_request(
  base: Request(a),
  hook_id: String,
  hook: Hook,
) -> Request(BitArray)
pub fn update_hook_response(
  response: Response(BitArray),
) -> Result(Result(Hook, Error), DecodeError)
pub fn update_service_instance_request(
  base: Request(a),
  site_id: String,
  addon: String,
  instance_id: String,
  data: b,
) -> Request(b)
pub fn update_service_instance_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn update_site_asset_request(
  base: Request(a),
  site_id: String,
  asset_id: String,
  state state: String,
) -> Request(a)
pub fn update_site_asset_response(
  response: Response(BitArray),
) -> Result(Result(Asset, Error), DecodeError)
pub fn update_site_build_hook_request(
  base: Request(a),
  site_id: String,
  id: String,
  build_hook_setup: BuildHookSetup,
) -> Request(BitArray)
pub fn update_site_build_hook_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn update_site_build_log_request(
  base: Request(a),
  build_id: String,
) -> Request(a)
pub fn update_site_build_log_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn update_site_deploy_request(
  base: Request(a),
  site_id: String,
  deploy_id: String,
  deploy_files: DeployFiles,
) -> Request(BitArray)
pub fn update_site_deploy_response(
  response: Response(BitArray),
) -> Result(Result(Deploy, Error), DecodeError)
pub fn update_site_dev_server_hook_request(
  base: Request(a),
  site_id: String,
  id: String,
  dev_server_hook_setup: DevServerHookSetup,
) -> Request(BitArray)
pub fn update_site_dev_server_hook_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn update_site_metadata_request(
  base: Request(a),
  site_id: String,
  metadata: Metadata,
) -> Request(BitArray)
pub fn update_site_metadata_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn update_site_request(
  base: Request(a),
  site_id: String,
  site_setup: SiteSetup,
) -> Request(BitArray)
pub fn update_site_response(
  response: Response(BitArray),
) -> Result(Result(Site, Error), DecodeError)
pub fn update_site_snippet_request(
  base: Request(a),
  site_id: String,
  snippet_id: String,
  snippet: Snippet,
) -> Request(BitArray)
pub fn update_site_snippet_response(
  response: Response(BitArray),
) -> Result(Result(Nil, Error), DecodeError)
pub fn update_split_test_request(
  base: Request(a),
  site_id: String,
  split_test_id: String,
  split_test_setup: SplitTestSetup,
) -> Request(BitArray)
pub fn update_split_test_response(
  response: Response(BitArray),
) -> Result(Result(SplitTest, Error), DecodeError)
pub fn upload_deploy_file_request(
  base: Request(a),
  deploy_id: String,
  path: String,
  size size: Option(Int),
) -> Request(a)
pub fn upload_deploy_file_response(
  response: Response(BitArray),
) -> Result(Result(File, Error), DecodeError)
pub fn upload_deploy_function_request(
  base: Request(a),
  deploy_id: String,
  name: String,
  runtime runtime: Option(String),
  invocation_mode invocation_mode: Option(String),
  timeout timeout: Option(Int),
  size size: Option(Int),
) -> Request(a)
pub fn upload_deploy_function_response(
  response: Response(BitArray),
) -> Result(Result(Function, Error), DecodeError)
Search Document