@ovh-api/all-dom
Advanced tools
Comparing version 4.0.4 to 5.0.0
import type { CacheAction, ICacheOptions, OvhRequestable } from '@ovh-api/common'; | ||
/** | ||
@@ -6,3 +7,3 @@ * START API /allDom Models | ||
*/ | ||
export declare namespace allDom { | ||
export namespace allDom { | ||
/** | ||
@@ -12,3 +13,3 @@ * AllDom administration | ||
*/ | ||
interface AllDom { | ||
export interface AllDom { | ||
name: string; | ||
@@ -22,3 +23,3 @@ offer: domain.OfferEnum; | ||
*/ | ||
interface AllDomDomain { | ||
export interface AllDomDomain { | ||
domain: string; | ||
@@ -30,3 +31,3 @@ } | ||
*/ | ||
interface AllDomWithIAM { | ||
export interface AllDomWithIAM { | ||
iam?: iam.ResourceMetadata; | ||
@@ -41,5 +42,5 @@ name: string; | ||
*/ | ||
type TypeEnum = "french" | "french+international" | "international"; | ||
export type TypeEnum = "french" | "french+international" | "international" | ||
} | ||
export declare namespace domain { | ||
export namespace domain { | ||
/** | ||
@@ -49,5 +50,5 @@ * Offer | ||
*/ | ||
type OfferEnum = "diamond" | "gold" | "platinum"; | ||
export type OfferEnum = "diamond" | "gold" | "platinum" | ||
} | ||
export declare namespace iam { | ||
export namespace iam { | ||
/** | ||
@@ -57,11 +58,9 @@ * IAM resource metadata embedded in services models | ||
*/ | ||
interface ResourceMetadata { | ||
export interface ResourceMetadata { | ||
displayName?: string; | ||
id: string; | ||
tags?: { | ||
[key: string]: string; | ||
}; | ||
tags?: { [key: string]: string }; | ||
urn: string; | ||
} | ||
namespace resource { | ||
export namespace resource { | ||
/** | ||
@@ -71,7 +70,7 @@ * Resource tag filter | ||
*/ | ||
interface TagFilter { | ||
export interface TagFilter { | ||
operator?: iam.resource.TagFilter.OperatorEnum; | ||
value: string; | ||
} | ||
namespace TagFilter { | ||
export namespace TagFilter { | ||
/** | ||
@@ -81,7 +80,7 @@ * Operator that can be used in order to filter resources tags | ||
*/ | ||
type OperatorEnum = "EQ"; | ||
export type OperatorEnum = "EQ" | ||
} | ||
} | ||
} | ||
export declare namespace service { | ||
export namespace service { | ||
/** | ||
@@ -91,3 +90,3 @@ * Map a possible renew for a specific service | ||
*/ | ||
interface RenewType { | ||
export interface RenewType { | ||
automatic: boolean; | ||
@@ -103,9 +102,9 @@ deleteAtExpiration: boolean; | ||
*/ | ||
type RenewalTypeEnum = "automaticForcedProduct" | "automaticV2012" | "automaticV2014" | "automaticV2016" | "manual" | "oneShot" | "option"; | ||
export type RenewalTypeEnum = "automaticForcedProduct" | "automaticV2012" | "automaticV2014" | "automaticV2016" | "manual" | "oneShot" | "option" | ||
/** | ||
* type fullname: service.StateEnum | ||
*/ | ||
type StateEnum = "expired" | "inCreation" | "ok" | "pendingDebt" | "unPaid"; | ||
export type StateEnum = "expired" | "inCreation" | "ok" | "pendingDebt" | "unPaid" | ||
} | ||
export declare namespace services { | ||
export namespace services { | ||
/** | ||
@@ -115,3 +114,3 @@ * Details about a Service | ||
*/ | ||
interface Service { | ||
export interface Service { | ||
canDeleteAtExpiration: boolean; | ||
@@ -133,7 +132,2 @@ contactAdmin: string; | ||
/** | ||
* END API /allDom Models | ||
*/ | ||
export declare function proxyAllDom(ovhEngine: OvhRequestable): AllDom; | ||
export default proxyAllDom; | ||
/** | ||
* Api model for /allDom | ||
@@ -146,5 +140,3 @@ */ | ||
*/ | ||
$get(params?: { | ||
iamTags?: any; | ||
}): Promise<string[]>; | ||
$get(params?: { iamTags?: any }): Promise<string[]>; | ||
/** | ||
@@ -169,5 +161,3 @@ * Controle cache | ||
*/ | ||
$get(params?: { | ||
domain?: string; | ||
}): Promise<string[]>; | ||
$get(params?: { domain?: string }): Promise<string[]>; | ||
/** | ||
@@ -188,3 +178,3 @@ * Controle cache | ||
}; | ||
}; | ||
} | ||
serviceInfos: { | ||
@@ -200,17 +190,3 @@ /** | ||
*/ | ||
$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?: service.RenewType, renewalType?: service.RenewalTypeEnum, serviceId?: number, status?: service.StateEnum }): Promise<void>; | ||
/** | ||
@@ -220,4 +196,7 @@ * Controle cache | ||
$cache(param?: ICacheOptions | CacheAction): Promise<any>; | ||
}; | ||
} | ||
}; | ||
} | ||
export declare function proxyAllDom(ovhEngine: OvhRequestable): AllDom; | ||
export default proxyAllDom; |
{ | ||
"name": "@ovh-api/all-dom", | ||
"description": "Add typing to to ovh api all-dom", | ||
"version": "4.0.4", | ||
"version": "5.0.0", | ||
"keywords": [ | ||
@@ -35,14 +35,9 @@ "ovh", | ||
}, | ||
"scripts": { | ||
"build": "tsc --pretty --project . && tsc --pretty --project tsconfig-cjs.json", | ||
"prepare": "npm run build" | ||
}, | ||
"files": [ | ||
"cjs", | ||
"index.ts", | ||
"index.js", | ||
"index.d.ts" | ||
"./index.d.ts", | ||
"./index.cjs", | ||
"./index.mjs" | ||
], | ||
"type": "module", | ||
"gitHead": "dc82efac55b8ef00d0a6c45c9c2dca9d1d24590f" | ||
"gitHead": "d4e853b88536adac216447633fc758d540eb2cab" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
9287
6
200
1