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

@ovh-api/ssl-gateway

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ovh-api/ssl-gateway - npm Package Compare versions

Comparing version 2.0.4 to 2.0.6

62

index.d.ts

@@ -29,6 +29,6 @@ import { OvhRequestable } from '@ovh-api/common';

possibleRenewPeriod?: number[];
renew?: service.RenewType;
renewalType: service.RenewalTypeEnum;
renew?: serviceRenewType;
renewalType: serviceRenewalTypeEnum;
serviceId: number;
status: service.StateEnum;
status: serviceStateEnum;
}

@@ -40,3 +40,3 @@ }

id: number;
state: sslGateway.DomainStateEnum;
state: sslGatewayDomainStateEnum;
}

@@ -59,3 +59,3 @@ type DomainStateEnum = "creating" | "deleted" | "deleting" | "http-only" | "internal" | "ok";

port: number;
state: sslGateway.ServerStateEnum;
state: sslGatewayServerStateEnum;
}

@@ -72,8 +72,8 @@ type ServerStateEnum = "creating" | "deleted" | "deleting" | "internal" | "ok" | "updating";

metricsToken?: string;
offer: sslGateway.OfferEnum;
offer: sslGatewayOfferEnum;
reverse?: string;
serverHttps: boolean;
serviceName: string;
sslConfiguration?: sslGateway.SslConfigurationEnum;
state: sslGateway.StateEnum;
sslConfiguration?: sslGatewaySslConfigurationEnum;
state: sslGatewayStateEnum;
zones: string[];

@@ -83,7 +83,7 @@ }

interface Task {
action: sslGateway.TaskActionEnum;
action: sslGatewayTaskActionEnum;
creationDate: string;
id: number;
progress: number;
status: sslGateway.TaskStatusEnum;
status: sslGatewayTaskStatusEnum;
}

@@ -120,8 +120,8 @@ type TaskActionEnum = "addDomain" | "addPaidCertificate" | "addServer" | "createService" | "deleteDomain" | "deleteServer" | "deleteService" | "internalTask" | "updateServer" | "updateService" | "upgrade";

metricsToken?: string;
offer?: sslGateway.OfferEnum;
offer?: sslGatewayOfferEnum;
reverse?: string;
serverHttps?: boolean;
serviceName?: string;
sslConfiguration?: sslGateway.SslConfigurationEnum;
state?: sslGateway.StateEnum;
sslConfiguration?: sslGatewaySslConfigurationEnum;
state?: sslGatewayStateEnum;
zones?: string[];

@@ -175,3 +175,3 @@ }): Promise<void>;

port?: number;
state?: sslGateway.ServerStateEnum;
state?: sslGatewayServerStateEnum;
}): Promise<void>;

@@ -192,6 +192,6 @@ };

possibleRenewPeriod?: number[];
renew?: service.RenewType;
renewalType?: service.RenewalTypeEnum;
renew?: serviceRenewType;
renewalType?: serviceRenewalTypeEnum;
serviceId?: number;
status?: service.StateEnum;
status?: serviceStateEnum;
}): Promise<void>;

@@ -305,7 +305,7 @@ };

metricsToken?: string;
offer?: sslGateway.OfferEnum;
offer?: sslGatewayOfferEnum;
reverse?: string;
serverHttps?: boolean;
sslConfiguration?: sslGateway.SslConfigurationEnum;
state?: sslGateway.StateEnum;
sslConfiguration?: sslGatewaySslConfigurationEnum;
state?: sslGatewayStateEnum;
zones?: string[];

@@ -322,3 +322,3 @@ }) => Promise<void>;

port?: number;
state?: sslGateway.ServerStateEnum;
state?: sslGatewayServerStateEnum;
}) => Promise<void>;

@@ -340,6 +340,6 @@ /**

possibleRenewPeriod?: number[];
renew?: service.RenewType;
renewalType?: service.RenewalTypeEnum;
renew?: serviceRenewType;
renewalType?: serviceRenewalTypeEnum;
serviceId?: number;
status?: service.StateEnum;
status?: serviceStateEnum;
}) => Promise<void>;

@@ -417,3 +417,13 @@ /**

/**
* classic Model
*/
* 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;

@@ -12,4 +12,1 @@ "use strict";

exports.default = proxySslGateway;
/**
* classic Model
*/

@@ -7,4 +7,3 @@ import { OvhRequestable, buildOvhProxy } from '@ovh-api/common';

export namespace service {
//service.RenewType
// fullName: service.RenewType.RenewType
// interface fullName: service.RenewType.RenewType
export interface RenewType {

@@ -17,14 +16,13 @@ automatic: boolean;

}
//service.RenewalTypeEnum
// type fullname: service.RenewalTypeEnum
export type RenewalTypeEnum = "automaticForcedProduct" | "automaticV2012" | "automaticV2014" | "automaticV2016" | "manual" | "oneShot" | "option"
//service.StateEnum
// type fullname: service.StateEnum
export type StateEnum = "expired" | "inCreation" | "ok" | "pendingDebt" | "unPaid"
//service.TerminationFutureUseEnum
// type fullname: service.TerminationFutureUseEnum
export type TerminationFutureUseEnum = "NOT_REPLACING_SERVICE" | "OTHER" | "SUBSCRIBE_AN_OTHER_SERVICE" | "SUBSCRIBE_OTHER_KIND_OF_SERVICE_WITH_COMPETITOR" | "SUBSCRIBE_SIMILAR_SERVICE_WITH_COMPETITOR"
//service.TerminationReasonEnum
// 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 namespace services {
//services.Service
// fullName: services.Service.Service
// interface fullName: services.Service.Service
export interface Service {

@@ -40,20 +38,18 @@ canDeleteAtExpiration: boolean;

possibleRenewPeriod?: number[];
renew?: service.RenewType;
renewalType: service.RenewalTypeEnum;
renew?: serviceRenewType;
renewalType: serviceRenewalTypeEnum;
serviceId: number;
status: service.StateEnum;
status: serviceStateEnum;
}
}
export namespace sslGateway {
//sslGateway.Domain
// fullName: sslGateway.Domain.Domain
// interface fullName: sslGateway.Domain.Domain
export interface Domain {
domain: string;
id: number;
state: sslGateway.DomainStateEnum;
state: sslGatewayDomainStateEnum;
}
//sslGateway.DomainStateEnum
// type fullname: sslGateway.DomainStateEnum
export type DomainStateEnum = "creating" | "deleted" | "deleting" | "http-only" | "internal" | "ok"
//sslGateway.EligibilityStatus
// fullName: sslGateway.EligibilityStatus.EligibilityStatus
// interface fullName: sslGateway.EligibilityStatus.EligibilityStatus
export interface EligibilityStatus {

@@ -65,4 +61,3 @@ domain: string;

}
//sslGateway.NatIps
// fullName: sslGateway.NatIps.NatIps
// interface fullName: sslGateway.NatIps.NatIps
export interface NatIps {

@@ -72,6 +67,5 @@ ip: string[];

}
//sslGateway.OfferEnum
// type fullname: sslGateway.OfferEnum
export type OfferEnum = "advanced" | "enterprise" | "free" | "internal"
//sslGateway.Server
// fullName: sslGateway.Server.Server
// interface fullName: sslGateway.Server.Server
export interface Server {

@@ -81,10 +75,9 @@ address: string;

port: number;
state: sslGateway.ServerStateEnum;
state: sslGatewayServerStateEnum;
}
//sslGateway.ServerStateEnum
// type fullname: sslGateway.ServerStateEnum
export type ServerStateEnum = "creating" | "deleted" | "deleting" | "internal" | "ok" | "updating"
//sslGateway.SslConfigurationEnum
// type fullname: sslGateway.SslConfigurationEnum
export type SslConfigurationEnum = "intermediate" | "internal" | "modern"
//sslGateway.SslGateway
// fullName: sslGateway.SslGateway.SslGateway
// interface fullName: sslGateway.SslGateway.SslGateway
export interface SslGateway {

@@ -98,24 +91,23 @@ allowedSource?: string[];

metricsToken?: string;
offer: sslGateway.OfferEnum;
offer: sslGatewayOfferEnum;
reverse?: string;
serverHttps: boolean;
serviceName: string;
sslConfiguration?: sslGateway.SslConfigurationEnum;
state: sslGateway.StateEnum;
sslConfiguration?: sslGatewaySslConfigurationEnum;
state: sslGatewayStateEnum;
zones: string[];
}
//sslGateway.StateEnum
// type fullname: sslGateway.StateEnum
export type StateEnum = "creating" | "deleted" | "deleting" | "http-only" | "internal" | "ok" | "suspended" | "upgrading"
//sslGateway.Task
// fullName: sslGateway.Task.Task
// interface fullName: sslGateway.Task.Task
export interface Task {
action: sslGateway.TaskActionEnum;
action: sslGatewayTaskActionEnum;
creationDate: string;
id: number;
progress: number;
status: sslGateway.TaskStatusEnum;
status: sslGatewayTaskStatusEnum;
}
//sslGateway.TaskActionEnum
// type fullname: sslGateway.TaskActionEnum
export type TaskActionEnum = "addDomain" | "addPaidCertificate" | "addServer" | "createService" | "deleteDomain" | "deleteServer" | "deleteService" | "internalTask" | "updateServer" | "updateService" | "upgrade"
//sslGateway.TaskStatusEnum
// type fullname: sslGateway.TaskStatusEnum
export type TaskStatusEnum = "blocked" | "cancelled" | "doing" | "done" | "error" | "paused" | "todo"

@@ -150,3 +142,3 @@ }

// PUT /sslGateway/{serviceName}
$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>;
$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>;
changeContact: {

@@ -191,3 +183,3 @@ // POST /sslGateway/{serviceName}/changeContact

// PUT /sslGateway/{serviceName}/server/{id}
$put(params?: {address?: string, id?: number, port?: number, state?: sslGateway.ServerStateEnum}): Promise<void>;
$put(params?: {address?: string, id?: number, port?: number, state?: sslGatewayServerStateEnum}): Promise<void>;
};

@@ -199,3 +191,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?: service.RenewType, renewalType?: service.RenewalTypeEnum, serviceId?: number, status?: service.StateEnum}): Promise<void>;
$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>;
}

@@ -280,3 +272,3 @@ task: {

*/
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>;
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>;
/**

@@ -286,3 +278,3 @@ * Server attached to an SSL Gateway

*/
put(path: '/sslGateway/{serviceName}/server/{id}'): (params: {id: number, serviceName: string, address?: string, port?: number, state?: sslGateway.ServerStateEnum}) => Promise<void>;
put(path: '/sslGateway/{serviceName}/server/{id}'): (params: {id: number, serviceName: string, address?: string, port?: number, state?: sslGatewayServerStateEnum}) => Promise<void>;
/**

@@ -292,3 +284,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?: service.RenewType, renewalType?: service.RenewalTypeEnum, serviceId?: number, status?: service.StateEnum}) => 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?: serviceRenewType, renewalType?: serviceRenewalTypeEnum, serviceId?: number, status?: serviceStateEnum}) => Promise<void>;
/**

@@ -336,3 +328,13 @@ * Change the contacts of this service

/**
* classic Model
*/
* 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.4",
"version": "2.0.6",
"typings": "index.d.ts",

@@ -24,3 +24,3 @@ "license": "MIT",

},
"gitHead": "32c49ebb6bc8b3229614b27e5e0b02c3ea8c8fda"
"gitHead": "4499e5a48ca369d602104b97d3ebd22339aa61b3"
}
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