Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clever-client

Package Overview
Dependencies
Maintainers
3
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clever-client - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

package-lock.json

4

dist/clever-client.min.js

@@ -1,2 +0,2 @@

var methods={swagger:"2.0",schemes:["http"],host:"api.clever-cloud.com",basePath:"/v2",paths:{"/application/{appId}/environment":{get:{responses:{default:{description:"getEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"token",required:!1,in:"query",type:"string"}]},put:{responses:{default:{description:"updateEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"token",required:!1,in:"query",type:"string"}]}},"/authorize":{post:{responses:{default:{description:"authorize"}}}},"/cleverapps/{name}":{get:{responses:{default:{description:"checkDomainAvailability"}},parameters:[{name:"name",required:!0,in:"path",type:"string"}]}},"/coldstart":{get:{responses:{default:{description:"coldStart"}}}},"/github":{get:{responses:{default:{description:"startGithub"}}}},"/github/applications":{get:{responses:{default:{description:"getGithubApplications"}}}},"/github/callback":{get:{responses:{default:{description:"githubCallback"}},parameters:[{name:"Cookie",required:!1,in:"header",type:"string"},{name:"code",required:!1,in:"query",type:"string"},{name:"state",required:!1,in:"query",type:"string"},{name:"error",required:!1,in:"query",type:"string"},{name:"error_description",required:!1,in:"query",type:"string"},{name:"error_uri",required:!1,in:"query",type:"string"}]}},"/github/emails":{get:{responses:{default:{description:"getGithubEmails"}}}},"/github/keys":{get:{responses:{default:{description:"getGithubKeys"}}}},"/github/link":{delete:{responses:{default:{description:"unlinkGithub"}}},get:{responses:{default:{description:"linkGithub"}},parameters:[{name:"transactionId",required:!1,in:"query",type:"string"},{name:"redirectUrl",required:!1,in:"query",type:"string"}]}},"/github/login":{get:{responses:{default:{description:"githubLogin"}},parameters:[{name:"redirectUrl",required:!1,in:"query",type:"string"},{name:"fromAuthorize",required:!1,in:"query",type:"string"},{name:"invitationKey",required:!1,in:"query",type:"string"}]}},"/github/redeploy":{post:{responses:{default:{description:"redeployApp"}},parameters:[{name:"User-Agent",required:!1,in:"header",type:"string"},{name:"X-Github-Event",required:!1,in:"header",type:"string"},{name:"X-Hub-Signature",required:!1,in:"header",type:"string"}]}},"/github/signup":{get:{responses:{default:{description:"githubSignup"}},parameters:[{name:"redirectUrl",required:!1,in:"query",type:"string"},{name:"fromAuthorize",required:!1,in:"query",type:"string"},{name:"invitationKey",required:!1,in:"query",type:"string"}]},post:{responses:{default:{description:"finsihGithubSignup"}},parameters:[{name:"transactionId",required:!1,in:"query",type:"string"},{name:"name",required:!1,in:"query",type:"string"},{name:"otherId",required:!1,in:"query",type:"string"},{name:"otherEmail",required:!1,in:"query",type:"string"},{name:"password",required:!1,in:"query",type:"string"},{name:"autoLink",required:!1,in:"query",type:"string"},{name:"terms",required:!1,in:"query",type:"string"},{name:"invitationKey",required:!1,in:"query",type:"string"}]}},"/github/username":{get:{responses:{default:{description:"getGithubUsername"}}}},"/invoice/external/paypal/{bid}":{delete:{responses:{default:{description:"cancelPaypalTransaction"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"authorizePaypalTransaction"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]}},"/invoice/external/{bid}":{post:{responses:{default:{description:"updateInvoice"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]}},"/newsfeeds/blog":{get:{responses:{default:{description:"getBlogFeed"}}}},"/newsfeeds/engineering":{get:{responses:{default:{description:"getEngineeringFeed"}}}},"/oauth/access_token":{post:{responses:{default:{description:"postAccessTokenRequest"}},parameters:[{name:"oauth_consumer_key",required:!1,in:"query",type:"string"},{name:"oauth_token",required:!1,in:"query",type:"string"},{name:"oauth_signature_method",required:!1,in:"query",type:"string"},{name:"oauth_signature",required:!1,in:"query",type:"string"},{name:"oauth_timestamp",required:!1,in:"query",type:"string"},{name:"oauth_nonce",required:!1,in:"query",type:"string"},{name:"oauth_version",required:!1,in:"query",type:"string"},{name:"oauth_verifier",required:!1,in:"query",type:"string"},{name:"oauth_callback",required:!1,in:"query",type:"string"},{name:"oauth_token_secret",required:!1,in:"query",type:"string"},{name:"oauth_callback_confirmed",required:!1,in:"query",type:"string"}]}},"/oauth/access_token_query":{post:{responses:{default:{description:"postAccessTokenRequestQuery"}},parameters:[{name:"oauth_consumer_key",required:!1,in:"query",type:"string"},{name:"oauth_token",required:!1,in:"query",type:"string"},{name:"oauth_signature_method",required:!1,in:"query",type:"string"},{name:"oauth_signature",required:!1,in:"query",type:"string"},{name:"oauth_timestamp",required:!1,in:"query",type:"string"},{name:"oauth_nonce",required:!1,in:"query",type:"string"},{name:"oauth_version",required:!1,in:"query",type:"string"},{name:"oauth_verifier",required:!1,in:"query",type:"string"},{name:"oauth_callback",required:!1,in:"query",type:"string"},{name:"oauth_token_secret",required:!1,in:"query",type:"string"},{name:"oauth_callback_confirmed",required:!1,in:"query",type:"string"}]}},"/oauth/authorize":{get:{responses:{default:{description:"authorizeForm"}},parameters:[{name:"Cookie",required:!1,in:"header",type:"string"},{name:"oauth_token",required:!1,in:"query",type:"string"}]},post:{responses:{default:{description:"authorizeToken"}},parameters:[{name:"Cookie",required:!1,in:"header",type:"string"},{name:"almighty",required:!1,in:"query",type:"string"},{name:"access_organisations",required:!1,in:"query",type:"string"},{name:"manage_organisations",required:!1,in:"query",type:"string"},{name:"manage_organisations_services",required:!1,in:"query",type:"string"},{name:"manage_organisations_applications",required:!1,in:"query",type:"string"},{name:"manage_organisations_members",required:!1,in:"query",type:"string"},{name:"access_organisations_bills",required:!1,in:"query",type:"string"},{name:"access_organisations_credit_count",required:!1,in:"query",type:"string"},{name:"access_organisations_consumption_statistics",required:!1,in:"query",type:"string"},{name:"access_personal_information",required:!1,in:"query",type:"string"},{name:"manage_personal_information",required:!1,in:"query",type:"string"},{name:"manage_ssh_keys",required:!1,in:"query",type:"string"}]}},"/oauth/request_token":{post:{responses:{default:{description:"postReqTokenRequest"}},parameters:[{name:"oauth_consumer_key",required:!1,in:"query",type:"string"},{name:"oauth_token",required:!1,in:"query",type:"string"},{name:"oauth_signature_method",required:!1,in:"query",type:"string"},{name:"oauth_signature",required:!1,in:"query",type:"string"},{name:"oauth_timestamp",required:!1,in:"query",type:"string"},{name:"oauth_nonce",required:!1,in:"query",type:"string"},{name:"oauth_version",required:!1,in:"query",type:"string"},{name:"oauth_verifier",required:!1,in:"query",type:"string"},{name:"oauth_callback",required:!1,in:"query",type:"string"},{name:"oauth_token_secret",required:!1,in:"query",type:"string"},{name:"oauth_callback_confirmed",required:!1,in:"query",type:"string"}]}},"/oauth/request_token_query":{post:{responses:{default:{description:"postReqTokenRequestQueryString"}},parameters:[{name:"oauth_consumer_key",required:!1,in:"query",type:"string"},{name:"oauth_token",required:!1,in:"query",type:"string"},{name:"oauth_signature_method",required:!1,in:"query",type:"string"},{name:"oauth_signature",required:!1,in:"query",type:"string"},{name:"oauth_timestamp",required:!1,in:"query",type:"string"},{name:"oauth_nonce",required:!1,in:"query",type:"string"},{name:"oauth_version",required:!1,in:"query",type:"string"},{name:"oauth_verifier",required:!1,in:"query",type:"string"},{name:"oauth_callback",required:!1,in:"query",type:"string"},{name:"oauth_token_secret",required:!1,in:"query",type:"string"},{name:"oauth_callback_confirmed",required:!1,in:"query",type:"string"}]}},"/oauth/rights":{get:{responses:{default:{description:"getAvailableRights"}}}},"/organisations":{get:{responses:{default:{description:"getUserOrganisationss"}},parameters:[{name:"user",required:!1,in:"query",type:"string"}]},post:{responses:{default:{description:"createOrganisation"}}}},"/organisations/{id}":{delete:{responses:{default:{description:"deleteOrganisation"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getOrganisation"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editOrganisation"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders":{get:{responses:{default:{description:"getProvidersInfo"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"createProvider"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}":{get:{responses:{default:{description:"getProviderInfo"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"updateProviderInfos"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/features":{get:{responses:{default:{description:"getProviderFeatures"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"addProviderFeature"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/features/{featureId}":{delete:{responses:{default:{description:"deleteProviderFeature"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"},{name:"featureId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/plans":{get:{responses:{default:{description:"getProviderPlans"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"addProviderPlan"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/plans/{planId}":{delete:{responses:{default:{description:"deleteProviderPlan"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"planId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getProviderPlan"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"planId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editProviderPlan"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"planId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/plans/{planId}/features/{featureName}":{delete:{responses:{default:{description:"deleteProviderPlanFeature"}},parameters:[{name:"featureName",required:!0,in:"path",type:"string"},{name:"providerId",required:!0,in:"path",type:"string"},{name:"planId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editProviderPlanFeature"}},parameters:[{name:"featureName",required:!0,in:"path",type:"string"},{name:"providerId",required:!0,in:"path",type:"string"},{name:"planId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/sso":{get:{responses:{default:{description:"getSSOData"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/tags":{get:{responses:{default:{description:"getProviderTags"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/testers":{post:{responses:{default:{description:"addBetaTester"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons":{get:{responses:{default:{description:"getAddons"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"provisionAddon"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/preorders":{post:{responses:{default:{description:"preorderAddon"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}":{delete:{responses:{default:{description:"deprovisionAddon"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getAddon"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"updateAddonInfo"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/applications":{get:{responses:{default:{description:"getApplicationsLinkedToAddon"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/env":{get:{responses:{default:{description:"getAddonEnv"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/plan":{put:{responses:{default:{description:"changePlan"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/sso":{get:{responses:{default:{description:"getSSOData"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/tags":{get:{responses:{default:{description:"getAddonTags"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/tags/{tag}":{delete:{responses:{default:{description:"deleteAddonTag"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"tag",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addAddonTag"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"tag",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications":{get:{responses:{default:{description:"getAllApplications"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"addApplication"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}":{delete:{responses:{default:{description:"deleteApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/addons":{get:{responses:{default:{description:"getAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"linkAddonToApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/addons/env":{get:{responses:{default:{description:"getEnvOfAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/addons/{addonId}":{delete:{responses:{default:{description:"unlinkAddonFromApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/branch":{put:{responses:{default:{description:"setApplicationBranch"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/branches":{get:{responses:{default:{description:"getApplicationBranches"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/dependencies":{get:{responses:{default:{description:"getApplicationDependencies"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/dependencies/{dependencyId}":{delete:{responses:{default:{description:"deleteApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/dependents":{get:{responses:{default:{description:"getApplicationDependents"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/deployments":{get:{responses:{default:{description:"getApplicationDeploymentsForOrga"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"},{name:"limit",required:!1,in:"query",type:"string"},{name:"offset",required:!1,in:"query",type:"string"},{name:"action",required:!1,in:"query",type:"string"}]}},"/organisations/{id}/applications/{appId}/deployments/{deploymentId}/instances":{delete:{responses:{default:{description:"getApplicationDeploymentsForOrga"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"deploymentId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/env":{get:{responses:{default:{description:"getApplicationEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplicationEnvironment"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/env/{envName}":{delete:{responses:{default:{description:"removeApplicationEnv"}},parameters:[{name:"envName",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplicationEnv"}},parameters:[{name:"envName",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/exposed_env":{get:{responses:{default:{description:"getExposedEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"updateExposedEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/instances":{delete:{responses:{default:{description:"undeployApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getApplicationInstances"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"redeployApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"},{name:"commit",required:!1,in:"query",type:"string"},{name:"useCache",required:!1,in:"query",type:"string"}]}},"/organisations/{id}/applications/{appId}/instances/{instanceId}":{get:{responses:{default:{description:"getApplicationInstance"}},parameters:[{name:"instanceId",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/tags":{get:{responses:{default:{description:"getApplicationTags"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/tags/{tag}":{delete:{responses:{default:{description:"deleteApplicationTag"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"},{name:"tag",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addApplicationTag"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"},{name:"tag",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/vhosts":{get:{responses:{default:{description:"getVhosts"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/vhosts/favourite":{delete:{responses:{default:{description:"unmarkFavouriteVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getFavouriteVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"markFavouriteVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/vhosts/{domain}":{delete:{responses:{default:{description:"removeVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"domain",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"domain",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/avatar":{put:{responses:{default:{description:"setOrgaAvatar\nsetOrgaAvatarFromSource"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/consumers":{get:{responses:{default:{description:"getConsumers"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"createConsumer"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/consumers/{key}":{delete:{responses:{default:{description:"deleteConsumer"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"key",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getConsumer"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"key",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"updateConsumer"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"key",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/consumers/{key}/secret":{get:{responses:{default:{description:"getConsumerSecret"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"key",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/consumptions":{get:{responses:{default:{description:"getAmount"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"appId",required:!1,in:"query",type:"string"},{name:"from",required:!1,in:"query",type:"string"},{name:"to",required:!1,in:"query",type:"string"},{name:"for",required:!1,in:"query",type:"string"}]}},"/organisations/{id}/credits":{get:{responses:{default:{description:"getAmount"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/instances":{get:{responses:{default:{description:"getInstancesForAllApps"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/members":{get:{responses:{default:{description:"getOrganisationMembers"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"addOrganisationMember"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"invitationKey",required:!1,in:"query",type:"string"}]}},"/organisations/{id}/members/{userId}":{delete:{responses:{default:{description:"removeOrganisationMember"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"userId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editOrganisationMember"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"userId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payment-info":{get:{responses:{default:{description:"getPaymentInfo"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/billings":{get:{responses:{default:{description:"getInvoices"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"buyDrops"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/billings/{bid}":{delete:{responses:{default:{description:"deletePurchaseOrder"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"bid",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getInvoice"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"bid",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"choosePaymentProvider"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"bid",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/billings/{bid}.pdf":{get:{responses:{default:{description:"getPdfInvoice"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"bid",required:!0,in:"path",type:"string"},{name:"token",required:!1,in:"query",type:"string"}]}},"/organisations/{id}/payments/fullprice/{price}":{get:{responses:{default:{description:"priceWithTax"}},parameters:[{name:"price",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/methods":{get:{responses:{default:{description:"getPaymentMethods"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"addPaymentMethod"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/methods/default":{get:{responses:{default:{description:"getDefaultMethod"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"setDefaultMethod"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/methods/{mId}":{delete:{responses:{default:{description:"deletePaymentMethod"}},parameters:[{name:"mId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/monthlyinvoice":{get:{responses:{default:{description:"getMonthlyInvoice"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/monthlyinvoice/maxcredit":{put:{responses:{default:{description:"setMaxCreditsPerMonth"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/recurring":{delete:{responses:{default:{description:"deleteRecurrentPayment"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getRecurrentPayment"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/password_forgotten":{get:{responses:{default:{description:"getPasswordForgottenForm"}}},post:{responses:{default:{description:"askForPasswordResetViaForm"}},parameters:[{name:"login",required:!1,in:"query",type:"string"},{name:"drop_tokens",required:!1,in:"query",type:"string"}]}},"/password_forgotten/{key}":{get:{responses:{default:{description:"confirmPasswordResetRequest"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"resetPasswordForgotten"}},parameters:[{name:"key",required:!0,in:"path",type:"string"},{name:"pass",required:!1,in:"query",type:"string"},{name:"pass2",required:!1,in:"query",type:"string"}]}},"/payments/coupons/{name}":{get:{responses:{default:{description:"getCoupon"}},parameters:[{name:"name",required:!0,in:"path",type:"string"}]}},"/payments/providers":{get:{responses:{default:{description:"getAvailablePaymentProviders"}}}},"/payments/tokens/stripe":{get:{responses:{default:{description:"getStripeToken"}}}},"/payments/{bid}/end/stripe":{post:{responses:{default:{description:"endPaymentWithStripe"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]}},"/ping":{get:{responses:{default:{description:"ping"}}}},"/ping/stats":{get:{responses:{default:{description:"stats"}}}},"/products/addonproviders":{get:{responses:{default:{description:"getAddonProviders"}}}},"/products/addonproviders/{provider_id}":{get:{responses:{default:{description:"getAddonProvider"}},parameters:[{name:"provider_id",required:!0,in:"path",type:"string"}]}},"/products/countries":{get:{responses:{default:{description:"getCountries"}}}},"/products/countrycodes":{get:{responses:{default:{description:"getCountryCodes"}}}},"/products/instances":{get:{responses:{default:{description:"getAvailableInstances"}},parameters:[{name:"for",required:!1,in:"query",type:"string"}]}},"/products/instances/{type: [^-]+}-{version}":{get:{responses:{default:{description:"getInstance"}},parameters:[{name:"type",required:!0,in:"path",type:"string"},{name:"version",required:!0,in:"path",type:"string"},{name:"for",required:!1,in:"query",type:"string"},{name:"app",required:!1,in:"query",type:"string"}]}},"/products/mfa_kinds":{get:{responses:{default:{description:"getMFAKinds"}}}},"/products/packages":{get:{responses:{default:{description:"getAvailablePackages"}},parameters:[{name:"coupon",required:!1,in:"query",type:"string"},{name:"orgaId",required:!1,in:"query",type:"string"},{name:"currency",required:!1,in:"query",type:"string"}]}},"/products/prices":{get:{responses:{default:{description:"getExcahngeRates"}}}},"/products/zones":{get:{responses:{default:{description:"getZones"}}}},"/self":{delete:{responses:{default:{description:"deleteUser"}}},get:{responses:{default:{description:"getUser"}}},put:{responses:{default:{
description:"editUser"}}}},"/self/addons":{get:{responses:{default:{description:"getAddons"}}},post:{responses:{default:{description:"provisionAddon"}}}},"/self/addons/preorders":{post:{responses:{default:{description:"preorderAddon"}}}},"/self/addons/{addonId}":{delete:{responses:{default:{description:"deprovisionAddon"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getAddon"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"renameAddon"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/addons/{addonId}/applications":{get:{responses:{default:{description:"getApplicationsLinkedToAddon"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/addons/{addonId}/env":{get:{responses:{default:{description:"getAddonEnv"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/addons/{addonId}/plan":{put:{responses:{default:{description:"changePlan"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/addons/{addonId}/sso":{get:{responses:{default:{description:"getSSOData"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/addons/{addonId}/tags":{get:{responses:{default:{description:"getAddonTags"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/addons/{addonId}/tags/{tag}":{delete:{responses:{default:{description:"deleteAddonTag"}},parameters:[{name:"tag",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addAddonTag"}},parameters:[{name:"tag",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/applications":{get:{responses:{default:{description:"getApplications"}}},post:{responses:{default:{description:"addApplication"}}}},"/self/applications/{appId}":{delete:{responses:{default:{description:"deleteApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/addons":{get:{responses:{default:{description:"getAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"linkAddonToApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/addons/env":{get:{responses:{default:{description:"getEnvOfAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/addons/{addonId}":{delete:{responses:{default:{description:"unlinkAddonFromApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/branch":{put:{responses:{default:{description:"setApplicationBranch"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/branches":{get:{responses:{default:{description:"getApplicationBranches"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/dependencies":{get:{responses:{default:{description:"getApplicationDependencies"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/dependencies/{dependencyId}":{delete:{responses:{default:{description:"deleteApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/dependents":{get:{responses:{default:{description:"getApplicationDependents"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/deployments":{get:{responses:{default:{description:"getApplicationDeployments"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"limit",required:!1,in:"query",type:"string"},{name:"offset",required:!1,in:"query",type:"string"},{name:"action",required:!1,in:"query",type:"string"}]}},"/self/applications/{appId}/deployments/{deploymentId}/instances":{delete:{responses:{default:{description:"cancelDeploy"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"deploymentId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/env":{get:{responses:{default:{description:"editApplicationEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplicationEnvironment"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/env/{envName}":{delete:{responses:{default:{description:"removeApplicationEnv"}},parameters:[{name:"envName",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplicationEnv"}},parameters:[{name:"envName",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/exposed_env":{get:{responses:{default:{description:"getExposedEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"updateExposedEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/instances":{delete:{responses:{default:{description:"undeployApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getApplicationInstances"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"redeployApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"commit",required:!1,in:"query",type:"string"},{name:"useCache",required:!1,in:"query",type:"string"}]}},"/self/applications/{appId}/instances/{instanceId}":{get:{responses:{default:{description:"getApplicationInstance"}},parameters:[{name:"instanceId",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/tags":{get:{responses:{default:{description:"getApplicationTags"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/tags/{tag}":{delete:{responses:{default:{description:"deleteApplicationTag"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"tag",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addApplicationTag"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"tag",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/vhosts":{get:{responses:{default:{description:"getVhosts"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/vhosts/favourite":{delete:{responses:{default:{description:"unmarkFavouriteVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getFavouriteVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"markFavouriteVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/vhosts/{domain}":{delete:{responses:{default:{description:"removeVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"domain",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"domain",required:!0,in:"path",type:"string"}]}},"/self/avatar":{put:{responses:{default:{description:"setUserAvatar\nsetUserAvatarFromSource"}}}},"/self/change_password":{put:{responses:{default:{description:"changeUserPassword"}}}},"/self/confirmation_email":{get:{responses:{default:{description:"getConfirmationEmail"}}}},"/self/consumers":{get:{responses:{default:{description:"getConsumers"}}},post:{responses:{default:{description:"createConsumer"}}}},"/self/consumers/{key}":{delete:{responses:{default:{description:"deleteConsumer"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getConsumer"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"updateConsumer"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]}},"/self/consumers/{key}/secret":{get:{responses:{default:{description:"getConsumerSecret"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]}},"/self/consumptions":{get:{responses:{default:{description:"getConsumptions"}},parameters:[{name:"appId",required:!1,in:"query",type:"string"},{name:"from",required:!1,in:"query",type:"string"},{name:"to",required:!1,in:"query",type:"string"},{name:"for",required:!1,in:"query",type:"string"}]}},"/self/credits":{get:{responses:{default:{description:"getAmount"}}}},"/self/emails":{get:{responses:{default:{description:"getEmailAddresses"}}}},"/self/emails/{email}":{delete:{responses:{default:{description:"removeEmailAddress"}},parameters:[{name:"email",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addEmailAddress"}},parameters:[{name:"email",required:!0,in:"path",type:"string"}]}},"/self/id":{get:{responses:{default:{description:"getId"}}}},"/self/instances":{get:{responses:{default:{description:"getInstancesForAllApps"}}}},"/self/keys":{get:{responses:{default:{description:"getSshKeys"}}}},"/self/keys/{key}":{delete:{responses:{default:{description:"removeSshKey"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addSshKey"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]}},"/self/mfa/{kind}":{delete:{responses:{default:{description:"deleteMFA"}},parameters:[{name:"kind",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"createMFA"}},parameters:[{name:"kind",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"favMFA"}},parameters:[{name:"kind",required:!0,in:"path",type:"string"}]}},"/self/mfa/{kind}/backupcodes":{get:{responses:{default:{description:"getBackupCodes"}},parameters:[{name:"kind",required:!0,in:"path",type:"string"}]}},"/self/mfa/{kind}/confirmation":{post:{responses:{default:{description:"validateMFA"}},parameters:[{name:"kind",required:!0,in:"path",type:"string"}]}},"/self/payment-info":{get:{responses:{default:{description:"getPaymentInfo"}}}},"/self/payments/billings":{get:{responses:{default:{description:"getInvoices"}}},post:{responses:{default:{description:"buyDrops"}}}},"/self/payments/billings/{bid}":{delete:{responses:{default:{description:"deletePurchaseOrder"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getInvoice"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"choosePaymentProvider"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]}},"/self/payments/billings/{bid}.pdf":{get:{responses:{default:{description:"getPdfInvoice"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"},{name:"token",required:!1,in:"query",type:"string"}]}},"/self/payments/fullprice/{price}":{get:{responses:{default:{description:"priceWithTax"}},parameters:[{name:"price",required:!0,in:"path",type:"string"}]}},"/self/payments/methods":{get:{responses:{default:{description:"getUserPaymentMethods"}}},post:{responses:{default:{description:"addPaymentMethod"}}}},"/self/payments/methods/default":{get:{responses:{default:{description:"getDefaultMethod"}}},put:{responses:{default:{description:"setDefaultMethod"}}}},"/self/payments/methods/{mId}":{delete:{responses:{default:{description:"deleteUserCard"}},parameters:[{name:"mId",required:!0,in:"path",type:"string"}]}},"/self/payments/monthlyinvoice":{get:{responses:{default:{description:"getMonthlyInvoice"}}}},"/self/payments/monthlyinvoice/maxcredit":{put:{responses:{default:{description:"setMaxCreditsPerMonth"}}}},"/self/payments/recurring":{delete:{responses:{default:{description:"deleteRecurrentPayment"}}},get:{responses:{default:{description:"getRecurrentPayment"}}}},"/self/payments/tokens/stripe":{get:{responses:{default:{description:"getStripeToken"}}}},"/self/tokens":{delete:{responses:{default:{description:"revokeAllTokens"}}},get:{responses:{default:{description:"getSelfTokens"}}}},"/self/tokens/{token}":{delete:{responses:{default:{description:"revokeToken"}},parameters:[{name:"token",required:!0,in:"path",type:"string"}]}},"/self/validate_email":{get:{responses:{default:{description:"validateEmail"}},parameters:[{name:"validationKey",required:!1,in:"query",type:"string"}]}},"/session/login":{get:{responses:{default:{description:"getLoginForm"}},parameters:[{name:"secondaryEmailKey",required:!1,in:"query",type:"string"},{name:"deletionKey",required:!1,in:"query",type:"string"},{name:"fromAuthorize",required:!1,in:"query",type:"string"}]},post:{responses:{default:{description:"login"}},parameters:[{name:"email",required:!1,in:"query",type:"string"},{name:"pass",required:!1,in:"query",type:"string"},{name:"from_authorize",required:!1,in:"query",type:"string"}]}},"/session/mfa_login":{post:{responses:{default:{description:"mfaLogin"}},parameters:[{name:"mfa_kind",required:!1,in:"query",type:"string"},{name:"mfa_attempt",required:!1,in:"query",type:"string"},{name:"email",required:!1,in:"query",type:"string"},{name:"auth_id",required:!1,in:"query",type:"string"},{name:"from_authorize",required:!1,in:"query",type:"string"}]}},"/session/signup":{get:{responses:{default:{description:"getSignupForm"}},parameters:[{name:"invitationKey",required:!1,in:"query",type:"string"},{name:"url_next",required:!1,in:"query",type:"string"}]}},"/summary":{get:{responses:{default:{description:"getSummary"}}}},"/users":{post:{responses:{default:{description:"createUser\ncreateUserFromForm"}},parameters:[{name:"invitationKey",required:!1,in:"query",type:"string"},{name:"addonBetaInvitationKey",required:!1,in:"query",type:"string"},{name:"email",required:!1,in:"query",type:"string"},{name:"pass",required:!1,in:"query",type:"string"},{name:"url_next",required:!1,in:"query",type:"string"},{name:"terms",required:!1,in:"query",type:"string"}]}},"/users/{id}":{get:{responses:{default:{description:"getUser"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/users/{id}/applications":{get:{responses:{default:{description:"getApplications"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/users/{userId}/git-info":{get:{responses:{default:{description:"getGitInfo"}},parameters:[{name:"userId",required:!0,in:"path",type:"string"}]}},"/validation/vat/{key}":{get:{responses:{default:{description:"validate"}},parameters:[{name:"key",required:!0,in:"path",type:"string"},{name:"action",required:!1,in:"query",type:"string"}]}},"/vat_check":{get:{responses:{default:{description:"checkVat"}},parameters:[{name:"country",required:!1,in:"query",type:"string"},{name:"vat",required:!1,in:"query",type:"string"}]}},"/vendor/apps":{get:{responses:{default:{description:"listApps"}},parameters:[{name:"offset",required:!1,in:"query",type:"integer"}]}},"/vendor/apps/{addonId}":{get:{responses:{default:{description:"getApplicationInfo"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplicationConfiguration"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/vendor/apps/{addonId}/consumptions":{post:{responses:{default:{description:"billOwner"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}}},info:{title:"",version:"",description:""}},Owner=function(){return function(a,b){return function(b){return b&&0==b.indexOf("orga_")?a.organisations._:a.self}}}(),Session=function(a,b,c,d){return function(e,f){var g={};return g.getOAuthParams=function(a){return{oauth_consumer_key:f.API_CONSUMER_KEY,oauth_signature_method:"PLAINTEXT",oauth_signature:f.API_CONSUMER_SECRET+"&"+(a||""),oauth_timestamp:Math.floor(Date.now()/1e3),oauth_nonce:Math.floor(1e6*Math.random())}},g.login="undefined"==typeof window?function(){}:function(c){var d=a.extend(g.getOAuthParams(),{oauth_callback:c||window.location.href});e.oauth.request_token.post().withHeaders({"Content-Type":"application/x-www-form-urlencoded",Authorization:""}).send(b.encode(d)).onValue(function(a){var c=b.decode(a);window.localStorage.setItem("consumer_oauth_token",c.oauth_token),window.localStorage.setItem("consumer_oauth_token_secret",c.oauth_token_secret),window.location=f.API_HOST+"/oauth/authorize?oauth_token="+encodeURIComponent(c.oauth_token)})},g.getAccessTokenFromQueryString="undefined"==typeof window?function(){}:function(){var a=b.decode(window.location.search.slice(1));return a.consumer_oauth_token=window.localStorage.getItem("consumer_oauth_token")||"",a.consumer_oauth_token_secret=window.localStorage.getItem("consumer_oauth_token_secret")||"",g.getAccessToken(a)},g.getAccessToken=function(c){var d=a.extend(g.getOAuthParams(c.consumer_oauth_token_secret),{oauth_token:c.oauth_token,oauth_verifier:c.oauth_verifier}),f=e.oauth.access_token.post().withHeaders({"Content-Type":"application/x-www-form-urlencoded"}).send(b.encode(d)),h=f.map(function(a){return b.decode(a)});return h.onValue(function(a){"undefined"!=typeof window&&void 0!==window.localStorage&&(window.localStorage.setItem("user_oauth_token",a.oauth_token),window.localStorage.setItem("user_oauth_token_secret",a.oauth_token_secret))}),h},g.getAuthorization=function(b){if(b.user_oauth_token&&b.user_oauth_token_secret){var c=a.extend(g.getOAuthParams(b.user_oauth_token_secret),{oauth_token:b.user_oauth_token});return['OAuth realm="'+f.API_HOST+'/oauth"','oauth_consumer_key="'+c.oauth_consumer_key+'"','oauth_token="'+c.oauth_token+'"','oauth_signature_method="'+c.oauth_signature_method+'"','oauth_signature="'+c.oauth_signature+'"','oauth_timestamp="'+c.oauth_timestamp+'"','oauth_nonce="'+c.oauth_nonce+'"'].join(", ")}return""},g.getHMACAuthorization=function(b,c,d,e){if(e.user_oauth_token&&e.user_oauth_token_secret){var h=a.extend({},d,g.getOAuthParams(e.user_oauth_token_secret),{oauth_signature_method:"HMAC-SHA512",oauth_token:e.user_oauth_token}),i=g.signHmacSHA512(b,c,a.omit(h,"oauth_signature"),e);return['OAuth realm="'+f.API_HOST+'/oauth"','oauth_consumer_key="'+h.oauth_consumer_key+'"','oauth_token="'+h.oauth_token+'"','oauth_signature_method="'+h.oauth_signature_method+'"','oauth_signature="'+i+'"','oauth_timestamp="'+h.oauth_timestamp+'"','oauth_nonce="'+h.oauth_nonce+'"'].join(", ")}return""},g.signHmacSHA512=function(a,b,e,g){var h=[f.API_CONSUMER_SECRET,g.user_oauth_token_secret].map(c.rfc3986).join("&"),i=c.generateBase(a,b,e);return d.createHmac("sha512",h).update(i).digest("base64")},g.remove=function(){"undefined"!=typeof window&&void 0!==window.localStorage&&(window.localStorage.removeItem("consumer_oauth_token"),window.localStorage.removeItem("consumer_oauth_token_secret"),window.localStorage.removeItem("user_oauth_token"),window.localStorage.removeItem("user_oauth_token_secret"))},g}}("function"==typeof require&&require("lodash")?require("lodash"):_,"function"==typeof require&&require("querystring")?require("querystring"):querystring,"function"==typeof require&&require("oauth-sign")?require("oauth-sign"):oauthSignature,"function"==typeof require&&require("crypto")?require("crypto"):crypto),CleverAPI=function(a,b){var c=function(c){a.defaults(c,{API_HOST:"https://ccapi-preprod.cleverapps.io/v2",hooks:{}});var d=c.API_AUTHORIZATION?{Authorization:c.API_AUTHORIZATION}:{},e=c.API_OAUTH_TOKEN&&c.API_OAUTH_TOKEN_SECRET&&function(b){return a.has(b.headers,"Authorization")||(b.headers.Authorization=f.session.getHMACAuthorization(b.method,b.uri,b.qs,{user_oauth_token:c.API_OAUTH_TOKEN,user_oauth_token_secret:c.API_OAUTH_TOKEN_SECRET})),b},f=b.buildClient(methods,{host:c.API_HOST,headers:a.extend({},d,{"Content-Type":"application/json"}),logger:c.logger,hooks:a.defaults(c.hooks,{beforeSend:e}),parse:!0});return f.owner=Owner(f,c),f.session=Session(f,c),f};return"undefined"!=typeof module&&module.exports&&(module.exports=c),c}("function"==typeof require&&require("lodash")?require("lodash"):_,"function"==typeof require&&require("wadl-client")?require("wadl-client"):WadlClient);
var methods={swagger:"2.0",schemes:["http"],host:"api.clever-cloud.com",basePath:"/v2",paths:{"/application/{appId}/environment":{get:{responses:{default:{description:"getEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"token",required:!1,in:"query",type:"string"}]},put:{responses:{default:{description:"updateEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"token",required:!1,in:"query",type:"string"}]}},"/authorize":{post:{responses:{default:{description:"authorize"}}}},"/cleverapps/{name}":{get:{responses:{default:{description:"checkDomainAvailability"}},parameters:[{name:"name",required:!0,in:"path",type:"string"}]}},"/coldstart":{get:{responses:{default:{description:"coldStart"}}}},"/github":{get:{responses:{default:{description:"startGithub"}}}},"/github/applications":{get:{responses:{default:{description:"getGithubApplications"}}}},"/github/callback":{get:{responses:{default:{description:"githubCallback"}},parameters:[{name:"Cookie",required:!1,in:"header",type:"string"},{name:"code",required:!1,in:"query",type:"string"},{name:"state",required:!1,in:"query",type:"string"},{name:"error",required:!1,in:"query",type:"string"},{name:"error_description",required:!1,in:"query",type:"string"},{name:"error_uri",required:!1,in:"query",type:"string"}]}},"/github/emails":{get:{responses:{default:{description:"getGithubEmails"}}}},"/github/keys":{get:{responses:{default:{description:"getGithubKeys"}}}},"/github/link":{delete:{responses:{default:{description:"unlinkGithub"}}},get:{responses:{default:{description:"linkGithub"}},parameters:[{name:"transactionId",required:!1,in:"query",type:"string"},{name:"redirectUrl",required:!1,in:"query",type:"string"}]}},"/github/login":{get:{responses:{default:{description:"githubLogin"}},parameters:[{name:"redirectUrl",required:!1,in:"query",type:"string"},{name:"fromAuthorize",required:!1,in:"query",type:"string"},{name:"invitationKey",required:!1,in:"query",type:"string"}]}},"/github/redeploy":{post:{responses:{default:{description:"redeployApp"}},parameters:[{name:"User-Agent",required:!1,in:"header",type:"string"},{name:"X-Github-Event",required:!1,in:"header",type:"string"},{name:"X-Hub-Signature",required:!1,in:"header",type:"string"}]}},"/github/signup":{get:{responses:{default:{description:"githubSignup"}},parameters:[{name:"redirectUrl",required:!1,in:"query",type:"string"},{name:"fromAuthorize",required:!1,in:"query",type:"string"},{name:"invitationKey",required:!1,in:"query",type:"string"}]},post:{responses:{default:{description:"finsihGithubSignup"}},parameters:[{name:"transactionId",required:!1,in:"query",type:"string"},{name:"name",required:!1,in:"query",type:"string"},{name:"otherId",required:!1,in:"query",type:"string"},{name:"otherEmail",required:!1,in:"query",type:"string"},{name:"password",required:!1,in:"query",type:"string"},{name:"autoLink",required:!1,in:"query",type:"string"},{name:"terms",required:!1,in:"query",type:"string"},{name:"invitationKey",required:!1,in:"query",type:"string"}]}},"/github/username":{get:{responses:{default:{description:"getGithubUsername"}}}},"/invoice/external/paypal/{bid}":{delete:{responses:{default:{description:"cancelPaypalTransaction"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"authorizePaypalTransaction"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]}},"/invoice/external/{bid}":{post:{responses:{default:{description:"updateInvoice"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]}},"/newsfeeds/blog":{get:{responses:{default:{description:"getBlogFeed"}}}},"/newsfeeds/engineering":{get:{responses:{default:{description:"getEngineeringFeed"}}}},"/oauth/access_token":{post:{responses:{default:{description:"postAccessTokenRequest"}},parameters:[{name:"oauth_consumer_key",required:!1,in:"query",type:"string"},{name:"oauth_token",required:!1,in:"query",type:"string"},{name:"oauth_signature_method",required:!1,in:"query",type:"string"},{name:"oauth_signature",required:!1,in:"query",type:"string"},{name:"oauth_timestamp",required:!1,in:"query",type:"string"},{name:"oauth_nonce",required:!1,in:"query",type:"string"},{name:"oauth_version",required:!1,in:"query",type:"string"},{name:"oauth_verifier",required:!1,in:"query",type:"string"},{name:"oauth_callback",required:!1,in:"query",type:"string"},{name:"oauth_token_secret",required:!1,in:"query",type:"string"},{name:"oauth_callback_confirmed",required:!1,in:"query",type:"string"}]}},"/oauth/access_token_query":{post:{responses:{default:{description:"postAccessTokenRequestQuery"}},parameters:[{name:"oauth_consumer_key",required:!1,in:"query",type:"string"},{name:"oauth_token",required:!1,in:"query",type:"string"},{name:"oauth_signature_method",required:!1,in:"query",type:"string"},{name:"oauth_signature",required:!1,in:"query",type:"string"},{name:"oauth_timestamp",required:!1,in:"query",type:"string"},{name:"oauth_nonce",required:!1,in:"query",type:"string"},{name:"oauth_version",required:!1,in:"query",type:"string"},{name:"oauth_verifier",required:!1,in:"query",type:"string"},{name:"oauth_callback",required:!1,in:"query",type:"string"},{name:"oauth_token_secret",required:!1,in:"query",type:"string"},{name:"oauth_callback_confirmed",required:!1,in:"query",type:"string"}]}},"/oauth/authorize":{get:{responses:{default:{description:"authorizeForm"}},parameters:[{name:"Cookie",required:!1,in:"header",type:"string"},{name:"oauth_token",required:!1,in:"query",type:"string"}]},post:{responses:{default:{description:"authorizeToken"}},parameters:[{name:"Cookie",required:!1,in:"header",type:"string"},{name:"almighty",required:!1,in:"query",type:"string"},{name:"access_organisations",required:!1,in:"query",type:"string"},{name:"manage_organisations",required:!1,in:"query",type:"string"},{name:"manage_organisations_services",required:!1,in:"query",type:"string"},{name:"manage_organisations_applications",required:!1,in:"query",type:"string"},{name:"manage_organisations_members",required:!1,in:"query",type:"string"},{name:"access_organisations_bills",required:!1,in:"query",type:"string"},{name:"access_organisations_credit_count",required:!1,in:"query",type:"string"},{name:"access_organisations_consumption_statistics",required:!1,in:"query",type:"string"},{name:"access_personal_information",required:!1,in:"query",type:"string"},{name:"manage_personal_information",required:!1,in:"query",type:"string"},{name:"manage_ssh_keys",required:!1,in:"query",type:"string"}]}},"/oauth/request_token":{post:{responses:{default:{description:"postReqTokenRequest"}},parameters:[{name:"oauth_consumer_key",required:!1,in:"query",type:"string"},{name:"oauth_token",required:!1,in:"query",type:"string"},{name:"oauth_signature_method",required:!1,in:"query",type:"string"},{name:"oauth_signature",required:!1,in:"query",type:"string"},{name:"oauth_timestamp",required:!1,in:"query",type:"string"},{name:"oauth_nonce",required:!1,in:"query",type:"string"},{name:"oauth_version",required:!1,in:"query",type:"string"},{name:"oauth_verifier",required:!1,in:"query",type:"string"},{name:"oauth_callback",required:!1,in:"query",type:"string"},{name:"oauth_token_secret",required:!1,in:"query",type:"string"},{name:"oauth_callback_confirmed",required:!1,in:"query",type:"string"}]}},"/oauth/request_token_query":{post:{responses:{default:{description:"postReqTokenRequestQueryString"}},parameters:[{name:"oauth_consumer_key",required:!1,in:"query",type:"string"},{name:"oauth_token",required:!1,in:"query",type:"string"},{name:"oauth_signature_method",required:!1,in:"query",type:"string"},{name:"oauth_signature",required:!1,in:"query",type:"string"},{name:"oauth_timestamp",required:!1,in:"query",type:"string"},{name:"oauth_nonce",required:!1,in:"query",type:"string"},{name:"oauth_version",required:!1,in:"query",type:"string"},{name:"oauth_verifier",required:!1,in:"query",type:"string"},{name:"oauth_callback",required:!1,in:"query",type:"string"},{name:"oauth_token_secret",required:!1,in:"query",type:"string"},{name:"oauth_callback_confirmed",required:!1,in:"query",type:"string"}]}},"/oauth/rights":{get:{responses:{default:{description:"getAvailableRights"}}}},"/organisations":{get:{responses:{default:{description:"getUserOrganisationss"}},parameters:[{name:"user",required:!1,in:"query",type:"string"}]},post:{responses:{default:{description:"createOrganisation"}}}},"/organisations/{id}":{delete:{responses:{default:{description:"deleteOrganisation"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getOrganisation"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editOrganisation"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders":{get:{responses:{default:{description:"getProvidersInfo"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"createProvider"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}":{get:{responses:{default:{description:"getProviderInfo"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"updateProviderInfos"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/features":{get:{responses:{default:{description:"getProviderFeatures"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"addProviderFeature"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/features/{featureId}":{delete:{responses:{default:{description:"deleteProviderFeature"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"},{name:"featureId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/plans":{get:{responses:{default:{description:"getProviderPlans"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"addProviderPlan"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/plans/{planId}":{delete:{responses:{default:{description:"deleteProviderPlan"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"planId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getProviderPlan"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"planId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editProviderPlan"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"planId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/plans/{planId}/features/{featureName}":{delete:{responses:{default:{description:"deleteProviderPlanFeature"}},parameters:[{name:"featureName",required:!0,in:"path",type:"string"},{name:"providerId",required:!0,in:"path",type:"string"},{name:"planId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editProviderPlanFeature"}},parameters:[{name:"featureName",required:!0,in:"path",type:"string"},{name:"providerId",required:!0,in:"path",type:"string"},{name:"planId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/sso":{get:{responses:{default:{description:"getSSOData"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/tags":{get:{responses:{default:{description:"getProviderTags"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/testers":{post:{responses:{default:{description:"addBetaTester"}},parameters:[{name:"providerId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons":{get:{responses:{default:{description:"getAddons"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"provisionAddon"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/preorders":{post:{responses:{default:{description:"preorderAddon"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}":{delete:{responses:{default:{description:"deprovisionAddon"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getAddon"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"updateAddonInfo"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/applications":{get:{responses:{default:{description:"getApplicationsLinkedToAddon"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/env":{get:{responses:{default:{description:"getAddonEnv"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/plan":{put:{responses:{default:{description:"changePlan"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/sso":{get:{responses:{default:{description:"getSSOData"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/tags":{get:{responses:{default:{description:"getAddonTags"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/tags/{tag}":{delete:{responses:{default:{description:"deleteAddonTag"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"tag",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addAddonTag"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"tag",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications":{get:{responses:{default:{description:"getAllApplications"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"addApplication"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}":{delete:{responses:{default:{description:"deleteApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/addons":{get:{responses:{default:{description:"getAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"linkAddonToApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/addons/env":{get:{responses:{default:{description:"getEnvOfAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/addons/{addonId}":{delete:{responses:{default:{description:"unlinkAddonFromApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/branch":{put:{responses:{default:{description:"setApplicationBranch"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/branches":{get:{responses:{default:{description:"getApplicationBranches"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/dependencies":{get:{responses:{default:{description:"getApplicationDependencies"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/dependencies/{dependencyId}":{delete:{responses:{default:{description:"deleteApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/dependents":{get:{responses:{default:{description:"getApplicationDependents"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/deployments":{get:{responses:{default:{description:"getApplicationDeploymentsForOrga"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"},{name:"limit",required:!1,in:"query",type:"string"},{name:"offset",required:!1,in:"query",type:"string"},{name:"action",required:!1,in:"query",type:"string"}]}},"/organisations/{id}/applications/{appId}/deployments/{deploymentId}/instances":{delete:{responses:{default:{description:"getApplicationDeploymentsForOrga"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"deploymentId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/env":{get:{responses:{default:{description:"getApplicationEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplicationEnvironment"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/env/{envName}":{delete:{responses:{default:{description:"removeApplicationEnv"}},parameters:[{name:"envName",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplicationEnv"}},parameters:[{name:"envName",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/exposed_env":{get:{responses:{default:{description:"getExposedEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"updateExposedEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/instances":{delete:{responses:{default:{description:"undeployApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getApplicationInstances"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"redeployApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"},{name:"commit",required:!1,in:"query",type:"string"},{name:"useCache",required:!1,in:"query",type:"string"}]}},"/organisations/{id}/applications/{appId}/instances/{instanceId}":{get:{responses:{default:{description:"getApplicationInstance"}},parameters:[{name:"instanceId",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/tags":{get:{responses:{default:{description:"getApplicationTags"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/tags/{tag}":{delete:{responses:{default:{description:"deleteApplicationTag"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"},{name:"tag",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addApplicationTag"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"},{name:"tag",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/vhosts":{get:{responses:{default:{description:"getVhosts"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/vhosts/favourite":{delete:{responses:{default:{description:"unmarkFavouriteVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getFavouriteVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"markFavouriteVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/vhosts/{domain}":{delete:{responses:{default:{description:"removeVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"domain",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"domain",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/avatar":{put:{responses:{default:{description:"setOrgaAvatar\nsetOrgaAvatarFromSource"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/consumers":{get:{responses:{default:{description:"getConsumers"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"createConsumer"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/consumers/{key}":{delete:{responses:{default:{description:"deleteConsumer"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"key",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getConsumer"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"key",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"updateConsumer"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"key",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/consumers/{key}/secret":{get:{responses:{default:{description:"getConsumerSecret"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"key",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/consumptions":{get:{responses:{default:{description:"getAmount"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"appId",required:!1,in:"query",type:"string"},{name:"from",required:!1,in:"query",type:"string"},{name:"to",required:!1,in:"query",type:"string"},{name:"for",required:!1,in:"query",type:"string"}]}},"/organisations/{id}/credits":{get:{responses:{default:{description:"getAmount"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/instances":{get:{responses:{default:{description:"getInstancesForAllApps"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/members":{get:{responses:{default:{description:"getOrganisationMembers"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"addOrganisationMember"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"invitationKey",required:!1,in:"query",type:"string"}]}},"/organisations/{id}/members/{userId}":{delete:{responses:{default:{description:"removeOrganisationMember"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"userId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editOrganisationMember"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"userId",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payment-info":{get:{responses:{default:{description:"getPaymentInfo"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/billings":{get:{responses:{default:{description:"getInvoices"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"buyDrops"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/billings/unpaid":{get:{responses:{default:{description:"getUnpaidInvoices"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/billings/{bid}":{delete:{responses:{default:{description:"deletePurchaseOrder"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"bid",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getInvoice"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"bid",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"choosePaymentProvider"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"bid",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/billings/{bid}.pdf":{get:{responses:{default:{description:"getPdfInvoice"}},parameters:[{name:"id",required:!0,in:"path",type:"string"},{name:"bid",required:!0,in:"path",type:"string"},{name:"token",required:!1,in:"query",type:"string"}]}},"/organisations/{id}/payments/fullprice/{price}":{get:{responses:{default:{description:"priceWithTax"}},parameters:[{name:"price",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/methods":{get:{responses:{default:{description:"getPaymentMethods"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"addPaymentMethod"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/methods/default":{get:{responses:{default:{description:"getDefaultMethod"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"setDefaultMethod"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/methods/{mId}":{delete:{responses:{default:{description:"deletePaymentMethod"}},parameters:[{name:"mId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/monthlyinvoice":{get:{responses:{default:{description:"getMonthlyInvoice"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/monthlyinvoice/maxcredit":{put:{responses:{default:{description:"setMaxCreditsPerMonth"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/organisations/{id}/payments/recurring":{delete:{responses:{default:{description:"deleteRecurrentPayment"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getRecurrentPayment"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/password_forgotten":{get:{responses:{default:{description:"getPasswordForgottenForm"}}},post:{responses:{default:{description:"askForPasswordResetViaForm"}},parameters:[{name:"login",required:!1,in:"query",type:"string"},{name:"drop_tokens",required:!1,in:"query",type:"string"}]}},"/password_forgotten/{key}":{get:{responses:{default:{description:"confirmPasswordResetRequest"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"resetPasswordForgotten"}},parameters:[{name:"key",required:!0,in:"path",type:"string"},{name:"pass",required:!1,in:"query",type:"string"},{name:"pass2",required:!1,in:"query",type:"string"}]}},"/payments/coupons/{name}":{get:{responses:{default:{description:"getCoupon"}},parameters:[{name:"name",required:!0,in:"path",type:"string"}]}},"/payments/providers":{get:{responses:{default:{description:"getAvailablePaymentProviders"}}}},"/payments/tokens/stripe":{get:{responses:{default:{description:"getStripeToken"}}}},"/payments/{bid}/end/stripe":{post:{responses:{default:{description:"endPaymentWithStripe"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]}},"/ping":{get:{responses:{default:{description:"ping"}}}},"/ping/stats":{get:{responses:{default:{description:"stats"}}}},"/products/addonproviders":{get:{responses:{default:{description:"getAddonProviders"}}}},"/products/addonproviders/{provider_id}":{get:{responses:{default:{description:"getAddonProvider"}},parameters:[{name:"provider_id",required:!0,in:"path",type:"string"}]}},"/products/countries":{get:{responses:{default:{description:"getCountries"}}}},"/products/countrycodes":{get:{responses:{default:{description:"getCountryCodes"}}}},"/products/instances":{get:{responses:{default:{description:"getAvailableInstances"}},parameters:[{name:"for",required:!1,in:"query",type:"string"}]}},"/products/instances/{type: [^-]+}-{version}":{get:{responses:{default:{description:"getInstance"}},parameters:[{name:"type",required:!0,in:"path",type:"string"},{name:"version",required:!0,in:"path",type:"string"},{name:"for",required:!1,in:"query",type:"string"},{name:"app",required:!1,in:"query",type:"string"}]}},"/products/mfa_kinds":{get:{responses:{default:{description:"getMFAKinds"}}}},"/products/packages":{get:{responses:{default:{description:"getAvailablePackages"}},parameters:[{name:"coupon",required:!1,in:"query",type:"string"},{name:"orgaId",required:!1,in:"query",type:"string"},{name:"currency",required:!1,in:"query",type:"string"}]}},"/products/prices":{get:{responses:{default:{description:"getExcahngeRates"}}}},"/products/zones":{get:{responses:{default:{
description:"getZones"}}}},"/self":{delete:{responses:{default:{description:"deleteUser"}}},get:{responses:{default:{description:"getUser"}}},put:{responses:{default:{description:"editUser"}}}},"/self/addons":{get:{responses:{default:{description:"getAddons"}}},post:{responses:{default:{description:"provisionAddon"}}}},"/self/addons/preorders":{post:{responses:{default:{description:"preorderAddon"}}}},"/self/addons/{addonId}":{delete:{responses:{default:{description:"deprovisionAddon"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getAddon"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"renameAddon"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/addons/{addonId}/applications":{get:{responses:{default:{description:"getApplicationsLinkedToAddon"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/addons/{addonId}/env":{get:{responses:{default:{description:"getAddonEnv"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/addons/{addonId}/plan":{put:{responses:{default:{description:"changePlan"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/addons/{addonId}/sso":{get:{responses:{default:{description:"getSSOData"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/addons/{addonId}/tags":{get:{responses:{default:{description:"getAddonTags"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/addons/{addonId}/tags/{tag}":{delete:{responses:{default:{description:"deleteAddonTag"}},parameters:[{name:"tag",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addAddonTag"}},parameters:[{name:"tag",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/applications":{get:{responses:{default:{description:"getApplications"}}},post:{responses:{default:{description:"addApplication"}}}},"/self/applications/{appId}":{delete:{responses:{default:{description:"deleteApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/addons":{get:{responses:{default:{description:"getAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"linkAddonToApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/addons/env":{get:{responses:{default:{description:"getEnvOfAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/addons/{addonId}":{delete:{responses:{default:{description:"unlinkAddonFromApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"addonId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/branch":{put:{responses:{default:{description:"setApplicationBranch"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/branches":{get:{responses:{default:{description:"getApplicationBranches"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/dependencies":{get:{responses:{default:{description:"getApplicationDependencies"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/dependencies/{dependencyId}":{delete:{responses:{default:{description:"deleteApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/dependents":{get:{responses:{default:{description:"getApplicationDependents"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/deployments":{get:{responses:{default:{description:"getApplicationDeployments"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"limit",required:!1,in:"query",type:"string"},{name:"offset",required:!1,in:"query",type:"string"},{name:"action",required:!1,in:"query",type:"string"}]}},"/self/applications/{appId}/deployments/{deploymentId}/instances":{delete:{responses:{default:{description:"cancelDeploy"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"deploymentId",required:!0,in:"path",type:"string"},{name:"id",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/env":{get:{responses:{default:{description:"editApplicationEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplicationEnvironment"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/env/{envName}":{delete:{responses:{default:{description:"removeApplicationEnv"}},parameters:[{name:"envName",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplicationEnv"}},parameters:[{name:"envName",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/exposed_env":{get:{responses:{default:{description:"getExposedEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"updateExposedEnv"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/instances":{delete:{responses:{default:{description:"undeployApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getApplicationInstances"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"redeployApplication"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"commit",required:!1,in:"query",type:"string"},{name:"useCache",required:!1,in:"query",type:"string"}]}},"/self/applications/{appId}/instances/{instanceId}":{get:{responses:{default:{description:"getApplicationInstance"}},parameters:[{name:"instanceId",required:!0,in:"path",type:"string"},{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/tags":{get:{responses:{default:{description:"getApplicationTags"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/tags/{tag}":{delete:{responses:{default:{description:"deleteApplicationTag"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"tag",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addApplicationTag"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"tag",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/vhosts":{get:{responses:{default:{description:"getVhosts"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/vhosts/favourite":{delete:{responses:{default:{description:"unmarkFavouriteVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getFavouriteVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"markFavouriteVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"}]}},"/self/applications/{appId}/vhosts/{domain}":{delete:{responses:{default:{description:"removeVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"domain",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addVhost"}},parameters:[{name:"appId",required:!0,in:"path",type:"string"},{name:"domain",required:!0,in:"path",type:"string"}]}},"/self/avatar":{put:{responses:{default:{description:"setUserAvatar\nsetUserAvatarFromSource"}}}},"/self/change_password":{put:{responses:{default:{description:"changeUserPassword"}}}},"/self/confirmation_email":{get:{responses:{default:{description:"getConfirmationEmail"}}}},"/self/consumers":{get:{responses:{default:{description:"getConsumers"}}},post:{responses:{default:{description:"createConsumer"}}}},"/self/consumers/{key}":{delete:{responses:{default:{description:"deleteConsumer"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getConsumer"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"updateConsumer"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]}},"/self/consumers/{key}/secret":{get:{responses:{default:{description:"getConsumerSecret"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]}},"/self/consumptions":{get:{responses:{default:{description:"getConsumptions"}},parameters:[{name:"appId",required:!1,in:"query",type:"string"},{name:"from",required:!1,in:"query",type:"string"},{name:"to",required:!1,in:"query",type:"string"},{name:"for",required:!1,in:"query",type:"string"}]}},"/self/credits":{get:{responses:{default:{description:"getAmount"}}}},"/self/emails":{get:{responses:{default:{description:"getEmailAddresses"}}}},"/self/emails/{email}":{delete:{responses:{default:{description:"removeEmailAddress"}},parameters:[{name:"email",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addEmailAddress"}},parameters:[{name:"email",required:!0,in:"path",type:"string"}]}},"/self/id":{get:{responses:{default:{description:"getId"}}}},"/self/instances":{get:{responses:{default:{description:"getInstancesForAllApps"}}}},"/self/keys":{get:{responses:{default:{description:"getSshKeys"}}}},"/self/keys/{key}":{delete:{responses:{default:{description:"removeSshKey"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"addSshKey"}},parameters:[{name:"key",required:!0,in:"path",type:"string"}]}},"/self/mfa/{kind}":{delete:{responses:{default:{description:"deleteMFA"}},parameters:[{name:"kind",required:!0,in:"path",type:"string"}]},post:{responses:{default:{description:"createMFA"}},parameters:[{name:"kind",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"favMFA"}},parameters:[{name:"kind",required:!0,in:"path",type:"string"}]}},"/self/mfa/{kind}/backupcodes":{get:{responses:{default:{description:"getBackupCodes"}},parameters:[{name:"kind",required:!0,in:"path",type:"string"}]}},"/self/mfa/{kind}/confirmation":{post:{responses:{default:{description:"validateMFA"}},parameters:[{name:"kind",required:!0,in:"path",type:"string"}]}},"/self/payment-info":{get:{responses:{default:{description:"getPaymentInfo"}}}},"/self/payments/billings":{get:{responses:{default:{description:"getInvoices"}}},post:{responses:{default:{description:"buyDrops"}}}},"/self/payments/billings/{bid}":{delete:{responses:{default:{description:"deletePurchaseOrder"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]},get:{responses:{default:{description:"getInvoice"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"choosePaymentProvider"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"}]}},"/self/payments/billings/{bid}.pdf":{get:{responses:{default:{description:"getPdfInvoice"}},parameters:[{name:"bid",required:!0,in:"path",type:"string"},{name:"token",required:!1,in:"query",type:"string"}]}},"/self/payments/fullprice/{price}":{get:{responses:{default:{description:"priceWithTax"}},parameters:[{name:"price",required:!0,in:"path",type:"string"}]}},"/self/payments/methods":{get:{responses:{default:{description:"getUserPaymentMethods"}}},post:{responses:{default:{description:"addPaymentMethod"}}}},"/self/payments/methods/default":{get:{responses:{default:{description:"getDefaultMethod"}}},put:{responses:{default:{description:"setDefaultMethod"}}}},"/self/payments/methods/{mId}":{delete:{responses:{default:{description:"deleteUserCard"}},parameters:[{name:"mId",required:!0,in:"path",type:"string"}]}},"/self/payments/monthlyinvoice":{get:{responses:{default:{description:"getMonthlyInvoice"}}}},"/self/payments/monthlyinvoice/maxcredit":{put:{responses:{default:{description:"setMaxCreditsPerMonth"}}}},"/self/payments/recurring":{delete:{responses:{default:{description:"deleteRecurrentPayment"}}},get:{responses:{default:{description:"getRecurrentPayment"}}}},"/self/payments/tokens/stripe":{get:{responses:{default:{description:"getStripeToken"}}}},"/self/tokens":{delete:{responses:{default:{description:"revokeAllTokens"}}},get:{responses:{default:{description:"getSelfTokens"}}}},"/self/tokens/{token}":{delete:{responses:{default:{description:"revokeToken"}},parameters:[{name:"token",required:!0,in:"path",type:"string"}]}},"/self/validate_email":{get:{responses:{default:{description:"validateEmail"}},parameters:[{name:"validationKey",required:!1,in:"query",type:"string"}]}},"/session/login":{get:{responses:{default:{description:"getLoginForm"}},parameters:[{name:"secondaryEmailKey",required:!1,in:"query",type:"string"},{name:"deletionKey",required:!1,in:"query",type:"string"},{name:"fromAuthorize",required:!1,in:"query",type:"string"}]},post:{responses:{default:{description:"login"}},parameters:[{name:"email",required:!1,in:"query",type:"string"},{name:"pass",required:!1,in:"query",type:"string"},{name:"from_authorize",required:!1,in:"query",type:"string"}]}},"/session/mfa_login":{post:{responses:{default:{description:"mfaLogin"}},parameters:[{name:"mfa_kind",required:!1,in:"query",type:"string"},{name:"mfa_attempt",required:!1,in:"query",type:"string"},{name:"email",required:!1,in:"query",type:"string"},{name:"auth_id",required:!1,in:"query",type:"string"},{name:"from_authorize",required:!1,in:"query",type:"string"}]}},"/session/signup":{get:{responses:{default:{description:"getSignupForm"}},parameters:[{name:"invitationKey",required:!1,in:"query",type:"string"},{name:"url_next",required:!1,in:"query",type:"string"}]}},"/summary":{get:{responses:{default:{description:"getSummary"}}}},"/users":{post:{responses:{default:{description:"createUser\ncreateUserFromForm"}},parameters:[{name:"invitationKey",required:!1,in:"query",type:"string"},{name:"addonBetaInvitationKey",required:!1,in:"query",type:"string"},{name:"email",required:!1,in:"query",type:"string"},{name:"pass",required:!1,in:"query",type:"string"},{name:"url_next",required:!1,in:"query",type:"string"},{name:"terms",required:!1,in:"query",type:"string"}]}},"/users/{id}":{get:{responses:{default:{description:"getUser"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/users/{id}/applications":{get:{responses:{default:{description:"getApplications"}},parameters:[{name:"id",required:!0,in:"path",type:"string"}]}},"/users/{userId}/git-info":{get:{responses:{default:{description:"getGitInfo"}},parameters:[{name:"userId",required:!0,in:"path",type:"string"}]}},"/validation/vat/{key}":{get:{responses:{default:{description:"validate"}},parameters:[{name:"key",required:!0,in:"path",type:"string"},{name:"action",required:!1,in:"query",type:"string"}]}},"/vat_check":{get:{responses:{default:{description:"checkVat"}},parameters:[{name:"country",required:!1,in:"query",type:"string"},{name:"vat",required:!1,in:"query",type:"string"}]}},"/vendor/apps":{get:{responses:{default:{description:"listApps"}},parameters:[{name:"offset",required:!1,in:"query",type:"integer"}]}},"/vendor/apps/{addonId}":{get:{responses:{default:{description:"getApplicationInfo"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]},put:{responses:{default:{description:"editApplicationConfiguration"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}},"/vendor/apps/{addonId}/consumptions":{post:{responses:{default:{description:"billOwner"}},parameters:[{name:"addonId",required:!0,in:"path",type:"string"}]}}},info:{title:"",version:"",description:""}},Owner=function(){return function(a,b){return function(b){return b&&0==b.indexOf("orga_")?a.organisations._:a.self}}}(),Session=function(a,b,c,d){return function(e,f){var g={};return g.getOAuthParams=function(a){return{oauth_consumer_key:f.API_CONSUMER_KEY,oauth_signature_method:"PLAINTEXT",oauth_signature:f.API_CONSUMER_SECRET+"&"+(a||""),oauth_timestamp:Math.floor(Date.now()/1e3),oauth_nonce:Math.floor(1e6*Math.random())}},g.login="undefined"==typeof window?function(){}:function(c){var d=a.extend(g.getOAuthParams(),{oauth_callback:c||window.location.href});e.oauth.request_token.post().withHeaders({"Content-Type":"application/x-www-form-urlencoded",Authorization:""}).send(b.encode(d)).onValue(function(a){var c=b.decode(a);window.localStorage.setItem("consumer_oauth_token",c.oauth_token),window.localStorage.setItem("consumer_oauth_token_secret",c.oauth_token_secret),window.location=f.API_HOST+"/oauth/authorize?oauth_token="+encodeURIComponent(c.oauth_token)})},g.getAccessTokenFromQueryString="undefined"==typeof window?function(){}:function(){var a=b.decode(window.location.search.slice(1));return a.consumer_oauth_token=window.localStorage.getItem("consumer_oauth_token")||"",a.consumer_oauth_token_secret=window.localStorage.getItem("consumer_oauth_token_secret")||"",g.getAccessToken(a)},g.getAccessToken=function(c){var d=a.extend(g.getOAuthParams(c.consumer_oauth_token_secret),{oauth_token:c.oauth_token,oauth_verifier:c.oauth_verifier}),f=e.oauth.access_token.post().withHeaders({"Content-Type":"application/x-www-form-urlencoded"}).send(b.encode(d)),h=f.map(function(a){return b.decode(a)});return h.onValue(function(a){"undefined"!=typeof window&&void 0!==window.localStorage&&(window.localStorage.setItem("user_oauth_token",a.oauth_token),window.localStorage.setItem("user_oauth_token_secret",a.oauth_token_secret))}),h},g.getAuthorization=function(b){if(b.user_oauth_token&&b.user_oauth_token_secret){var c=a.extend(g.getOAuthParams(b.user_oauth_token_secret),{oauth_token:b.user_oauth_token});return['OAuth realm="'+f.API_HOST+'/oauth"','oauth_consumer_key="'+c.oauth_consumer_key+'"','oauth_token="'+c.oauth_token+'"','oauth_signature_method="'+c.oauth_signature_method+'"','oauth_signature="'+c.oauth_signature+'"','oauth_timestamp="'+c.oauth_timestamp+'"','oauth_nonce="'+c.oauth_nonce+'"'].join(", ")}return""},g.getHMACAuthorization=function(b,c,d,e){if(e.user_oauth_token&&e.user_oauth_token_secret){var h=a.extend({},d,g.getOAuthParams(e.user_oauth_token_secret),{oauth_signature_method:"HMAC-SHA512",oauth_token:e.user_oauth_token}),i=g.signHmacSHA512(b,c,a.omit(h,"oauth_signature"),e);return['OAuth realm="'+f.API_HOST+'/oauth"','oauth_consumer_key="'+h.oauth_consumer_key+'"','oauth_token="'+h.oauth_token+'"','oauth_signature_method="'+h.oauth_signature_method+'"','oauth_signature="'+i+'"','oauth_timestamp="'+h.oauth_timestamp+'"','oauth_nonce="'+h.oauth_nonce+'"'].join(", ")}return""},g.signHmacSHA512=function(a,b,e,g){var h=[f.API_CONSUMER_SECRET,g.user_oauth_token_secret].map(c.rfc3986).join("&"),i=c.generateBase(a,b,e);return d.createHmac("sha512",h).update(i).digest("base64")},g.remove=function(){"undefined"!=typeof window&&void 0!==window.localStorage&&(window.localStorage.removeItem("consumer_oauth_token"),window.localStorage.removeItem("consumer_oauth_token_secret"),window.localStorage.removeItem("user_oauth_token"),window.localStorage.removeItem("user_oauth_token_secret"))},g}}("function"==typeof require&&require("lodash")?require("lodash"):_,"function"==typeof require&&require("querystring")?require("querystring"):querystring,"function"==typeof require&&require("oauth-sign")?require("oauth-sign"):oauthSignature,"function"==typeof require&&require("crypto")?require("crypto"):crypto),CleverAPI=function(a,b){var c=function(c){a.defaults(c,{API_HOST:"https://ccapi-preprod.cleverapps.io/v2",hooks:{}});var d=c.API_AUTHORIZATION?{Authorization:c.API_AUTHORIZATION}:{},e=c.API_OAUTH_TOKEN&&c.API_OAUTH_TOKEN_SECRET&&function(b){return a.has(b.headers,"Authorization")||(b.headers.Authorization=f.session.getHMACAuthorization(b.method,b.uri,b.qs,{user_oauth_token:c.API_OAUTH_TOKEN,user_oauth_token_secret:c.API_OAUTH_TOKEN_SECRET})),b},f=b.buildClient(methods,{host:c.API_HOST,headers:a.extend({},d,{"Content-Type":"application/json"}),logger:c.logger,hooks:a.defaults(c.hooks,{beforeSend:e}),parse:!0});return f.owner=Owner(f,c),f.session=Session(f,c),f};return"undefined"!=typeof module&&module.exports&&(module.exports=c),c}("function"==typeof require&&require("lodash")?require("lodash"):_,"function"==typeof require&&require("wadl-client")?require("wadl-client"):WadlClient);
{
"name": "clever-client",
"version": "0.7.2",
"version": "0.7.3",
"description": "Javascript models for Clever-Cloud API",

@@ -5,0 +5,0 @@ "main": "dist/clever-client.js",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc