@ovh-api/ssl-gateway
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -401,2 +401,3 @@ import { OvhWrapper, OvhRequestable } from '@ovh-api/common'; | ||
serviceName: string; | ||
body: SslGatewaySslGateway; | ||
}): Promise<void>; | ||
@@ -410,2 +411,3 @@ /** | ||
id: number; | ||
body: SslGatewayServer; | ||
}): Promise<void>; | ||
@@ -418,2 +420,3 @@ /** | ||
serviceName: string; | ||
body: ServicesService; | ||
}): Promise<void>; | ||
@@ -426,2 +429,5 @@ /** | ||
serviceName: string; | ||
contactAdmin?: string; | ||
contactBilling?: string; | ||
contactTech?: string; | ||
}): Promise<number[]>; | ||
@@ -434,2 +440,6 @@ /** | ||
serviceName: string; | ||
commentary?: string; | ||
futureUse?: ServiceTerminationFutureUseEnum; | ||
reason?: ServiceTerminationReasonEnum; | ||
token: string; | ||
}): Promise<string>; | ||
@@ -442,2 +452,3 @@ /** | ||
serviceName: string; | ||
domain: string; | ||
}): Promise<SslGatewayDomain>; | ||
@@ -450,2 +461,3 @@ /** | ||
serviceName: string; | ||
domain?: string; | ||
}): Promise<string[]>; | ||
@@ -458,2 +470,4 @@ /** | ||
serviceName: string; | ||
address: string; | ||
port: number; | ||
}): Promise<SslGatewayServer>; | ||
@@ -460,0 +474,0 @@ /** |
16
index.ts
@@ -410,3 +410,3 @@ import { OvhWrapper, OvhRequestable, OvhParamType } from '@ovh-api/common'; | ||
**/ | ||
public put(path: '/sslGateway/{serviceName}', params: {serviceName: string}): Promise<void>; | ||
public put(path: '/sslGateway/{serviceName}', params: {serviceName: string, body: SslGatewaySslGateway}): Promise<void>; | ||
/** | ||
@@ -416,3 +416,3 @@ Server attached to an SSL Gateway | ||
**/ | ||
public put(path: '/sslGateway/{serviceName}/server/{id}', params: {serviceName: string, id: number}): Promise<void>; | ||
public put(path: '/sslGateway/{serviceName}/server/{id}', params: {serviceName: string, id: number, body: SslGatewayServer}): Promise<void>; | ||
/** | ||
@@ -422,3 +422,3 @@ Details about a Service | ||
**/ | ||
public put(path: '/sslGateway/{serviceName}/serviceInfos', params: {serviceName: string}): Promise<void>; | ||
public put(path: '/sslGateway/{serviceName}/serviceInfos', params: {serviceName: string, body: ServicesService}): Promise<void>; | ||
public put(path: PathsSslGatewayPUT, params?: OvhParamType) : Promise<any> { | ||
@@ -431,3 +431,3 @@ return super.put(path, params | ||
**/ | ||
public post(path: '/sslGateway/{serviceName}/changeContact', params: {serviceName: string}): Promise<number[]>; | ||
public post(path: '/sslGateway/{serviceName}/changeContact', params: {serviceName: string, contactAdmin?: string, contactBilling?: string, contactTech?: string}): Promise<number[]>; | ||
/** | ||
@@ -437,3 +437,3 @@ Confirm termination of your service | ||
**/ | ||
public post(path: '/sslGateway/{serviceName}/confirmTermination', params: {serviceName: string}): Promise<string>; | ||
public post(path: '/sslGateway/{serviceName}/confirmTermination', params: {serviceName: string, commentary?: string, futureUse?: ServiceTerminationFutureUseEnum, reason?: ServiceTerminationReasonEnum, token: string}): Promise<string>; | ||
/** | ||
@@ -443,3 +443,3 @@ List the sslGateway.Domain objects | ||
**/ | ||
public post(path: '/sslGateway/{serviceName}/domain', params: {serviceName: string}): Promise<SslGatewayDomain>; | ||
public post(path: '/sslGateway/{serviceName}/domain', params: {serviceName: string, domain: string}): Promise<SslGatewayDomain>; | ||
/** | ||
@@ -449,3 +449,3 @@ renewCertificate operations | ||
**/ | ||
public post(path: '/sslGateway/{serviceName}/renewCertificate', params: {serviceName: string}): Promise<string[]>; | ||
public post(path: '/sslGateway/{serviceName}/renewCertificate', params: {serviceName: string, domain?: string}): Promise<string[]>; | ||
/** | ||
@@ -455,3 +455,3 @@ List the sslGateway.Server objects | ||
**/ | ||
public post(path: '/sslGateway/{serviceName}/server', params: {serviceName: string}): Promise<SslGatewayServer>; | ||
public post(path: '/sslGateway/{serviceName}/server', params: {serviceName: string, address: string, port: number}): Promise<SslGatewayServer>; | ||
/** | ||
@@ -458,0 +458,0 @@ Terminate your service |
{ | ||
"name": "@ovh-api/ssl-gateway", | ||
"description": "Add typing to to ovh api ssl-gateway", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"main": "dist/index.js", | ||
@@ -10,3 +10,3 @@ "typings": "dist/index.d.ts", | ||
"dependencies": { | ||
"@ovh-api/common": "^1.2.0" | ||
"@ovh-api/common": "^1.2.2" | ||
}, | ||
@@ -26,3 +26,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "25ee0536d4a8228185f08abc0a4831dfdd2a9326" | ||
"gitHead": "d6e7312a3fc20c97045846526ba3d9979c2b2b59" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29030
985
Updated@ovh-api/common@^1.2.2