@datatr-ux/ovhcloud-types 2.0.14 → 2.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cloud/ProjectKubeCreationNodePool.d.ts +6 -0
- package/dist/cloud/ProjectKubeCreationNodePool.d.ts.map +1 -1
- package/dist/order/cart/Promotion.d.ts +3 -0
- package/dist/order/cart/Promotion.d.ts.map +1 -1
- package/dist/order/cart/domain/index.d.ts +3 -0
- package/dist/order/cart/domain/index.d.ts.map +1 -0
- package/dist/order/cart/domain/index.js +2 -0
- package/dist/order/cart/domain/promotion/Condition.d.ts +22 -0
- package/dist/order/cart/domain/promotion/Condition.d.ts.map +1 -0
- package/dist/order/cart/domain/promotion/Condition.js +1 -0
- package/dist/order/cart/domain/promotion/Discount.d.ts +30 -0
- package/dist/order/cart/domain/promotion/Discount.d.ts.map +1 -0
- package/dist/order/cart/domain/promotion/Discount.js +1 -0
- package/dist/order/cart/domain/promotion/index.d.ts +3 -0
- package/dist/order/cart/domain/promotion/index.d.ts.map +1 -0
- package/dist/order/cart/domain/promotion/index.js +2 -0
- package/dist/order/cart/index.d.ts +2 -0
- package/dist/order/cart/index.d.ts.map +1 -1
- package/dist/order/cart/index.js +2 -0
- package/dist/ovhcloud-types.js +1708 -1702
- package/package.json +9 -1
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { NodePoolTemplate } from './kube/NodePoolTemplate';
|
|
2
|
+
import { ProjectKubeNodePoolAttachFloatingIpsParams } from './ProjectKubeNodePoolAttachFloatingIpsParams';
|
|
3
|
+
import { ProjectKubeNodePoolAutoscalingParams } from './ProjectKubeNodePoolAutoscalingParams';
|
|
2
4
|
/** Missing description */
|
|
3
5
|
export interface ProjectKubeCreationNodePool {
|
|
4
6
|
/** Enable anti affinity groups for nodes in the pool */
|
|
5
7
|
antiAffinity?: boolean;
|
|
8
|
+
/** Parameters for optional node exposition via a floating IP per node */
|
|
9
|
+
attachFloatingIps?: ProjectKubeNodePoolAttachFloatingIpsParams;
|
|
6
10
|
/** Enable the auto-scaling on the pool */
|
|
7
11
|
autoscale?: boolean;
|
|
12
|
+
/** Autoscaling customization parameters */
|
|
13
|
+
autoscaling: ProjectKubeNodePoolAutoscalingParams;
|
|
8
14
|
/** List of availability zones where nodes will be created (only 1 zone is supported for now) */
|
|
9
15
|
availabilityZones?: string[];
|
|
10
16
|
/** Number of nodes to instantiate (1 by default) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectKubeCreationNodePool.d.ts","sourceRoot":"","sources":["../../generated/types/cloud/ProjectKubeCreationNodePool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"ProjectKubeCreationNodePool.d.ts","sourceRoot":"","sources":["../../generated/types/cloud/ProjectKubeCreationNodePool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,0CAA0C,EAAE,MAAM,0DAA0D,CAAC;AACtH,OAAO,EAAE,oCAAoC,EAAE,MAAM,oDAAoD,CAAC;AAE1G,0BAA0B;AAC1B,MAAM,WAAW,2BAA2B;IAC1C,wDAAwD;IACxD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yEAAyE;IACzE,iBAAiB,CAAC,EAAE,0CAA0C,CAAC;IAC/D,0CAA0C;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2CAA2C;IAC3C,WAAW,EAAE,oCAAoC,CAAC;IAClD,gGAAgG;IAChG,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,oDAAoD;IACpD,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAC;IACjB,uEAAuE;IACvE,QAAQ,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,wDAAwD;IACxD,QAAQ,EAAE,gBAAgB,CAAC;CAC5B"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { Condition } from './domain/promotion/Condition';
|
|
1
2
|
import { Price } from '../Price';
|
|
2
3
|
/** Describes a promotion of a product */
|
|
3
4
|
export interface Promotion {
|
|
4
5
|
/** Bundle with plan code */
|
|
5
6
|
bundleWithPlanCodes: string[];
|
|
7
|
+
/** Activation conditions of the promotion */
|
|
8
|
+
condition?: Condition;
|
|
6
9
|
/** Promotion end date using rfc3339 */
|
|
7
10
|
endDate?: string;
|
|
8
11
|
/** Name of the promotion */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Promotion.d.ts","sourceRoot":"","sources":["../../../generated/types/order/cart/Promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,yCAAyC;AACzC,MAAM,WAAW,SAAS;IACxB,4BAA4B;IAC5B,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY;IACZ,KAAK,EAAE,KAAK,CAAC;IACb,yCAAyC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB;IACrB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,qBAAqB;IACrB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
1
|
+
{"version":3,"file":"Promotion.d.ts","sourceRoot":"","sources":["../../../generated/types/order/cart/Promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,yCAAyC;AACzC,MAAM,WAAW,SAAS;IACxB,4BAA4B;IAC5B,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY;IACZ,KAAK,EAAE,KAAK,CAAC;IACb,yCAAyC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB;IACrB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,qBAAqB;IACrB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../generated/types/order/cart/domain/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Condition as AliasTypeCondition } from './Condition';
|
|
2
|
+
import { Discount } from './Discount';
|
|
3
|
+
/** Activation conditions of the promotion */
|
|
4
|
+
export interface Condition {
|
|
5
|
+
/** All nested conditions must be satisfied */
|
|
6
|
+
all?: AliasTypeCondition[];
|
|
7
|
+
/** At least one nested condition must be satisfied */
|
|
8
|
+
anyOf?: AliasTypeCondition[];
|
|
9
|
+
/** Discounts applied when the condition is met */
|
|
10
|
+
discounts?: Discount[];
|
|
11
|
+
/** Minimum RFC3339 duration to meet the condition (e.g. P1Y) */
|
|
12
|
+
minDuration?: string;
|
|
13
|
+
/** Minimum quantity required to meet the condition */
|
|
14
|
+
minQuantity?: number;
|
|
15
|
+
/** Plan code (e.g. info, fr, com) */
|
|
16
|
+
planCode?: string;
|
|
17
|
+
/** Pricing mode (e.g. create-default) */
|
|
18
|
+
pricingMode?: string;
|
|
19
|
+
/** Product name (e.g. domain-fr) */
|
|
20
|
+
productName?: string;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=Condition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Condition.d.ts","sourceRoot":"","sources":["../../../../../generated/types/order/cart/domain/promotion/Condition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,8CAA8C,CAAC;AAExE,6CAA6C;AAC7C,MAAM,WAAW,SAAS;IACxB,8CAA8C;IAC9C,GAAG,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC3B,sDAAsD;IACtD,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC7B,kDAAkD;IAClD,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oCAAoC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CurrencyCodeEnum } from '../../../CurrencyCodeEnum';
|
|
2
|
+
import { ReductionTypeEnum } from '../../../ReductionTypeEnum';
|
|
3
|
+
/** Discount definition */
|
|
4
|
+
export interface Discount {
|
|
5
|
+
/** Currency code */
|
|
6
|
+
currency: CurrencyCodeEnum;
|
|
7
|
+
/** Discounted price amount */
|
|
8
|
+
discountPrice: number;
|
|
9
|
+
/** Discounted price formatted with currency */
|
|
10
|
+
discountPriceText: string;
|
|
11
|
+
/** Last item on which discount applies (for multiple-items orders) */
|
|
12
|
+
endQuantityIncluded?: number;
|
|
13
|
+
/** Last year discount is applied (for multiyear orders) */
|
|
14
|
+
endYearIncluded?: number;
|
|
15
|
+
/** Optional discount name */
|
|
16
|
+
name?: string;
|
|
17
|
+
/** Original price before discount */
|
|
18
|
+
originalPrice: number;
|
|
19
|
+
/** Original price formatted with currency */
|
|
20
|
+
originalPriceText: string;
|
|
21
|
+
/** First item on which discount applies (for multiple-items orders) */
|
|
22
|
+
startQuantityIncluded?: number;
|
|
23
|
+
/** First year discount is applied (for multiyear orders) */
|
|
24
|
+
startYearIncluded?: number;
|
|
25
|
+
/** Discount type (e.g. percentage, forced_amount, fixed_price) */
|
|
26
|
+
type: ReductionTypeEnum;
|
|
27
|
+
/** Discount value (percentage or amount) */
|
|
28
|
+
value: number;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=Discount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Discount.d.ts","sourceRoot":"","sources":["../../../../../generated/types/order/cart/domain/promotion/Discount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,0BAA0B;AAC1B,MAAM,WAAW,QAAQ;IACvB,oBAAoB;IACpB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,8BAA8B;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,+CAA+C;IAC/C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sEAAsE;IACtE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,2DAA2D;IAC3D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6BAA6B;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,6CAA6C;IAC7C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uEAAuE;IACvE,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,4DAA4D;IAC5D,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kEAAkE;IAClE,IAAI,EAAE,iBAAiB,CAAC;IACxB,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../generated/types/order/cart/domain/promotion/index.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as domain from './domain/index';
|
|
1
2
|
export * from './Cart';
|
|
2
3
|
export * from './Checkout';
|
|
3
4
|
export * from './ConfigurationItem';
|
|
@@ -31,4 +32,5 @@ export * from './PriceLabelEnum';
|
|
|
31
32
|
export * from './ProductInformation';
|
|
32
33
|
export * from './Promotion';
|
|
33
34
|
export * from './Update';
|
|
35
|
+
export { domain };
|
|
34
36
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../generated/types/order/cart/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../generated/types/order/cart/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,QAAQ,CAAC;AACvB,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
package/dist/order/cart/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as domain from './domain/index.js';
|
|
1
2
|
export * from './Cart.js';
|
|
2
3
|
export * from './Checkout.js';
|
|
3
4
|
export * from './ConfigurationItem.js';
|
|
@@ -31,3 +32,4 @@ export * from './PriceLabelEnum.js';
|
|
|
31
32
|
export * from './ProductInformation.js';
|
|
32
33
|
export * from './Promotion.js';
|
|
33
34
|
export * from './Update.js';
|
|
35
|
+
export { domain };
|