@ovh-api/ssl-gateway
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -16,3 +16,3 @@ import { OvhRequestable } from '@ovh-api/common'; | ||
type TerminationFutureUseEnum = "NOT_REPLACING_SERVICE" | "OTHER" | "SUBSCRIBE_AN_OTHER_SERVICE" | "SUBSCRIBE_OTHER_KIND_OF_SERVICE_WITH_COMPETITOR" | "SUBSCRIBE_SIMILAR_SERVICE_WITH_COMPETITOR"; | ||
type TerminationReasonEnum = "FEATURES_DONT_SUIT_ME" | "LACK_OF_PERFORMANCES" | "MIGRATED_TO_ANOTHER_OVH_PRODUCT" | "MIGRATED_TO_COMPETITOR" | "NOT_NEEDED_ANYMORE" | "NOT_RELIABLE" | "NO_ANSWER" | "OTHER" | "TOO_EXPENSIVE" | "TOO_HARD_TO_USE" | "UNSATIFIED_BY_CUSTOMER_SUPPORT"; | ||
type TerminationReasonEnum = "FEATURES_DONT_SUIT_ME" | "LACK_OF_PERFORMANCES" | "MIGRATED_TO_ANOTHER_OVH_PRODUCT" | "MIGRATED_TO_COMPETITOR" | "NOT_ENOUGH_RECOGNITION" | "NOT_NEEDED_ANYMORE" | "NOT_RELIABLE" | "NO_ANSWER" | "OTHER" | "PRODUCT_DIMENSION_DONT_SUIT_ME" | "PRODUCT_TOOLS_DONT_SUIT_ME" | "TOO_EXPENSIVE" | "TOO_HARD_TO_USE" | "UNSATIFIED_BY_CUSTOMER_SUPPORT"; | ||
} | ||
@@ -30,6 +30,6 @@ export declare namespace services { | ||
possibleRenewPeriod?: number[]; | ||
renew?: serviceRenewType; | ||
renewalType: serviceRenewalTypeEnum; | ||
renew?: service.RenewType; | ||
renewalType: service.RenewalTypeEnum; | ||
serviceId: number; | ||
status: serviceStateEnum; | ||
status: service.StateEnum; | ||
} | ||
@@ -41,3 +41,3 @@ } | ||
id: number; | ||
state: sslGatewayDomainStateEnum; | ||
state: sslGateway.DomainStateEnum; | ||
} | ||
@@ -60,3 +60,3 @@ type DomainStateEnum = "creating" | "deleted" | "deleting" | "http-only" | "internal" | "ok"; | ||
port: number; | ||
state: sslGatewayServerStateEnum; | ||
state: sslGateway.ServerStateEnum; | ||
} | ||
@@ -73,8 +73,8 @@ type ServerStateEnum = "creating" | "deleted" | "deleting" | "internal" | "ok" | "updating"; | ||
metricsToken?: string; | ||
offer: sslGatewayOfferEnum; | ||
offer: sslGateway.OfferEnum; | ||
reverse?: string; | ||
serverHttps: boolean; | ||
serviceName: string; | ||
sslConfiguration?: sslGatewaySslConfigurationEnum; | ||
state: sslGatewayStateEnum; | ||
sslConfiguration?: sslGateway.SslConfigurationEnum; | ||
state: sslGateway.StateEnum; | ||
zones: string[]; | ||
@@ -84,7 +84,7 @@ } | ||
interface Task { | ||
action: sslGatewayTaskActionEnum; | ||
action: sslGateway.TaskActionEnum; | ||
creationDate: string; | ||
id: number; | ||
progress: number; | ||
status: sslGatewayTaskStatusEnum; | ||
status: sslGateway.TaskStatusEnum; | ||
} | ||
@@ -121,8 +121,8 @@ type TaskActionEnum = "addDomain" | "addPaidCertificate" | "addServer" | "createService" | "deleteDomain" | "deleteServer" | "deleteService" | "internalTask" | "updateServer" | "updateService" | "upgrade"; | ||
metricsToken?: string; | ||
offer?: sslGatewayOfferEnum; | ||
offer?: sslGateway.OfferEnum; | ||
reverse?: string; | ||
serverHttps?: boolean; | ||
serviceName?: string; | ||
sslConfiguration?: sslGatewaySslConfigurationEnum; | ||
state?: sslGatewayStateEnum; | ||
sslConfiguration?: sslGateway.SslConfigurationEnum; | ||
state?: sslGateway.StateEnum; | ||
zones?: string[]; | ||
@@ -176,3 +176,3 @@ }): Promise<void>; | ||
port?: number; | ||
state?: sslGatewayServerStateEnum; | ||
state?: sslGateway.ServerStateEnum; | ||
}): Promise<void>; | ||
@@ -193,6 +193,6 @@ }; | ||
possibleRenewPeriod?: number[]; | ||
renew?: serviceRenewType; | ||
renewalType?: serviceRenewalTypeEnum; | ||
renew?: service.RenewType; | ||
renewalType?: service.RenewalTypeEnum; | ||
serviceId?: number; | ||
status?: serviceStateEnum; | ||
status?: service.StateEnum; | ||
}): Promise<void>; | ||
@@ -306,7 +306,7 @@ }; | ||
metricsToken?: string; | ||
offer?: sslGatewayOfferEnum; | ||
offer?: sslGateway.OfferEnum; | ||
reverse?: string; | ||
serverHttps?: boolean; | ||
sslConfiguration?: sslGatewaySslConfigurationEnum; | ||
state?: sslGatewayStateEnum; | ||
sslConfiguration?: sslGateway.SslConfigurationEnum; | ||
state?: sslGateway.StateEnum; | ||
zones?: string[]; | ||
@@ -323,3 +323,3 @@ }) => Promise<void>; | ||
port?: number; | ||
state?: sslGatewayServerStateEnum; | ||
state?: sslGateway.ServerStateEnum; | ||
}) => Promise<void>; | ||
@@ -341,6 +341,6 @@ /** | ||
possibleRenewPeriod?: number[]; | ||
renew?: serviceRenewType; | ||
renewalType?: serviceRenewalTypeEnum; | ||
renew?: service.RenewType; | ||
renewalType?: service.RenewalTypeEnum; | ||
serviceId?: number; | ||
status?: serviceStateEnum; | ||
status?: service.StateEnum; | ||
}) => Promise<void>; | ||
@@ -417,14 +417,1 @@ /** | ||
} | ||
/** | ||
* Extra Alias to bypass relativer namespace colitions | ||
*/ | ||
declare type serviceRenewType = service.RenewType; | ||
declare type serviceRenewalTypeEnum = service.RenewalTypeEnum; | ||
declare type serviceStateEnum = service.StateEnum; | ||
declare type sslGatewayDomainStateEnum = sslGateway.DomainStateEnum; | ||
declare type sslGatewayServerStateEnum = sslGateway.ServerStateEnum; | ||
declare type sslGatewayOfferEnum = sslGateway.OfferEnum; | ||
declare type sslGatewaySslConfigurationEnum = sslGateway.SslConfigurationEnum; | ||
declare type sslGatewayStateEnum = sslGateway.StateEnum; | ||
declare type sslGatewayTaskActionEnum = sslGateway.TaskActionEnum; | ||
declare type sslGatewayTaskStatusEnum = sslGateway.TaskStatusEnum; |
47
index.ts
@@ -22,3 +22,3 @@ import { OvhRequestable, buildOvhProxy } from '@ovh-api/common'; | ||
// type fullname: service.TerminationReasonEnum | ||
export type TerminationReasonEnum = "FEATURES_DONT_SUIT_ME" | "LACK_OF_PERFORMANCES" | "MIGRATED_TO_ANOTHER_OVH_PRODUCT" | "MIGRATED_TO_COMPETITOR" | "NOT_NEEDED_ANYMORE" | "NOT_RELIABLE" | "NO_ANSWER" | "OTHER" | "TOO_EXPENSIVE" | "TOO_HARD_TO_USE" | "UNSATIFIED_BY_CUSTOMER_SUPPORT" | ||
export type TerminationReasonEnum = "FEATURES_DONT_SUIT_ME" | "LACK_OF_PERFORMANCES" | "MIGRATED_TO_ANOTHER_OVH_PRODUCT" | "MIGRATED_TO_COMPETITOR" | "NOT_ENOUGH_RECOGNITION" | "NOT_NEEDED_ANYMORE" | "NOT_RELIABLE" | "NO_ANSWER" | "OTHER" | "PRODUCT_DIMENSION_DONT_SUIT_ME" | "PRODUCT_TOOLS_DONT_SUIT_ME" | "TOO_EXPENSIVE" | "TOO_HARD_TO_USE" | "UNSATIFIED_BY_CUSTOMER_SUPPORT" | ||
} | ||
@@ -37,6 +37,6 @@ export namespace services { | ||
possibleRenewPeriod?: number[]; | ||
renew?: serviceRenewType; | ||
renewalType: serviceRenewalTypeEnum; | ||
renew?: service.RenewType; | ||
renewalType: service.RenewalTypeEnum; | ||
serviceId: number; | ||
status: serviceStateEnum; | ||
status: service.StateEnum; | ||
} | ||
@@ -49,3 +49,3 @@ } | ||
id: number; | ||
state: sslGatewayDomainStateEnum; | ||
state: sslGateway.DomainStateEnum; | ||
} | ||
@@ -73,3 +73,3 @@ // type fullname: sslGateway.DomainStateEnum | ||
port: number; | ||
state: sslGatewayServerStateEnum; | ||
state: sslGateway.ServerStateEnum; | ||
} | ||
@@ -89,8 +89,8 @@ // type fullname: sslGateway.ServerStateEnum | ||
metricsToken?: string; | ||
offer: sslGatewayOfferEnum; | ||
offer: sslGateway.OfferEnum; | ||
reverse?: string; | ||
serverHttps: boolean; | ||
serviceName: string; | ||
sslConfiguration?: sslGatewaySslConfigurationEnum; | ||
state: sslGatewayStateEnum; | ||
sslConfiguration?: sslGateway.SslConfigurationEnum; | ||
state: sslGateway.StateEnum; | ||
zones: string[]; | ||
@@ -102,7 +102,7 @@ } | ||
export interface Task { | ||
action: sslGatewayTaskActionEnum; | ||
action: sslGateway.TaskActionEnum; | ||
creationDate: string; | ||
id: number; | ||
progress: number; | ||
status: sslGatewayTaskStatusEnum; | ||
status: sslGateway.TaskStatusEnum; | ||
} | ||
@@ -141,3 +141,3 @@ // type fullname: sslGateway.TaskActionEnum | ||
// PUT /sslGateway/{serviceName} | ||
$put(params?: {allowedSource?: string[], displayName?: string, hsts?: boolean, httpsRedirect?: boolean, ipv4?: string, ipv6?: string, metricsToken?: string, offer?: sslGatewayOfferEnum, reverse?: string, serverHttps?: boolean, serviceName?: string, sslConfiguration?: sslGatewaySslConfigurationEnum, state?: sslGatewayStateEnum, zones?: string[]}): Promise<void>; | ||
$put(params?: {allowedSource?: string[], displayName?: string, hsts?: boolean, httpsRedirect?: boolean, ipv4?: string, ipv6?: string, metricsToken?: string, offer?: sslGateway.OfferEnum, reverse?: string, serverHttps?: boolean, serviceName?: string, sslConfiguration?: sslGateway.SslConfigurationEnum, state?: sslGateway.StateEnum, zones?: string[]}): Promise<void>; | ||
changeContact: { | ||
@@ -182,3 +182,3 @@ // POST /sslGateway/{serviceName}/changeContact | ||
// PUT /sslGateway/{serviceName}/server/{id} | ||
$put(params?: {address?: string, id?: number, port?: number, state?: sslGatewayServerStateEnum}): Promise<void>; | ||
$put(params?: {address?: string, id?: number, port?: number, state?: sslGateway.ServerStateEnum}): Promise<void>; | ||
}; | ||
@@ -190,3 +190,3 @@ } | ||
// PUT /sslGateway/{serviceName}/serviceInfos | ||
$put(params?: {canDeleteAtExpiration?: boolean, contactAdmin?: string, contactBilling?: string, contactTech?: string, creation?: string, domain?: string, engagedUpTo?: string, expiration?: string, possibleRenewPeriod?: number[], renew?: serviceRenewType, renewalType?: serviceRenewalTypeEnum, serviceId?: number, status?: serviceStateEnum}): Promise<void>; | ||
$put(params?: {canDeleteAtExpiration?: boolean, contactAdmin?: string, contactBilling?: string, contactTech?: string, creation?: string, domain?: string, engagedUpTo?: string, expiration?: string, possibleRenewPeriod?: number[], renew?: service.RenewType, renewalType?: service.RenewalTypeEnum, serviceId?: number, status?: service.StateEnum}): Promise<void>; | ||
} | ||
@@ -271,3 +271,3 @@ task: { | ||
*/ | ||
put(path: '/sslGateway/{serviceName}'): (params: {serviceName: string, allowedSource?: string[], displayName?: string, hsts?: boolean, httpsRedirect?: boolean, ipv4?: string, ipv6?: string, metricsToken?: string, offer?: sslGatewayOfferEnum, reverse?: string, serverHttps?: boolean, sslConfiguration?: sslGatewaySslConfigurationEnum, state?: sslGatewayStateEnum, zones?: string[]}) => Promise<void>; | ||
put(path: '/sslGateway/{serviceName}'): (params: {serviceName: string, allowedSource?: string[], displayName?: string, hsts?: boolean, httpsRedirect?: boolean, ipv4?: string, ipv6?: string, metricsToken?: string, offer?: sslGateway.OfferEnum, reverse?: string, serverHttps?: boolean, sslConfiguration?: sslGateway.SslConfigurationEnum, state?: sslGateway.StateEnum, zones?: string[]}) => Promise<void>; | ||
/** | ||
@@ -277,3 +277,3 @@ * Server attached to an SSL Gateway | ||
*/ | ||
put(path: '/sslGateway/{serviceName}/server/{id}'): (params: {id: number, serviceName: string, address?: string, port?: number, state?: sslGatewayServerStateEnum}) => Promise<void>; | ||
put(path: '/sslGateway/{serviceName}/server/{id}'): (params: {id: number, serviceName: string, address?: string, port?: number, state?: sslGateway.ServerStateEnum}) => Promise<void>; | ||
/** | ||
@@ -283,3 +283,3 @@ * Details about a Service | ||
*/ | ||
put(path: '/sslGateway/{serviceName}/serviceInfos'): (params: {serviceName: string, canDeleteAtExpiration?: boolean, contactAdmin?: string, contactBilling?: string, contactTech?: string, creation?: string, domain?: string, engagedUpTo?: string, expiration?: string, possibleRenewPeriod?: number[], renew?: serviceRenewType, renewalType?: serviceRenewalTypeEnum, serviceId?: number, status?: serviceStateEnum}) => Promise<void>; | ||
put(path: '/sslGateway/{serviceName}/serviceInfos'): (params: {serviceName: string, canDeleteAtExpiration?: boolean, contactAdmin?: string, contactBilling?: string, contactTech?: string, creation?: string, domain?: string, engagedUpTo?: string, expiration?: string, possibleRenewPeriod?: number[], renew?: service.RenewType, renewalType?: service.RenewalTypeEnum, serviceId?: number, status?: service.StateEnum}) => Promise<void>; | ||
/** | ||
@@ -326,14 +326,1 @@ * Change the contacts of this service | ||
} | ||
/** | ||
* Extra Alias to bypass relativer namespace colitions | ||
*/ | ||
type serviceRenewType = service.RenewType; | ||
type serviceRenewalTypeEnum = service.RenewalTypeEnum; | ||
type serviceStateEnum = service.StateEnum; | ||
type sslGatewayDomainStateEnum = sslGateway.DomainStateEnum; | ||
type sslGatewayServerStateEnum = sslGateway.ServerStateEnum; | ||
type sslGatewayOfferEnum = sslGateway.OfferEnum; | ||
type sslGatewaySslConfigurationEnum = sslGateway.SslConfigurationEnum; | ||
type sslGatewayStateEnum = sslGateway.StateEnum; | ||
type sslGatewayTaskActionEnum = sslGateway.TaskActionEnum; | ||
type sslGatewayTaskStatusEnum = sslGateway.TaskStatusEnum; |
{ | ||
"name": "@ovh-api/ssl-gateway", | ||
"description": "Add typing to to ovh api ssl-gateway", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"typings": "index.d.ts", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "4499e5a48ca369d602104b97d3ebd22339aa61b3" | ||
"gitHead": "ba9db97a5f0eeb7c30a9a65e9ec5f05b8e7c2ffe" | ||
} |
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
30791
742