@daocloud-proto/zestu 0.6.0-dev-3bb47fd2 → 0.6.0-dev-db575eb5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/zestu",
3
- "version":"v0.6.0-dev-3bb47fd2",
3
+ "version":"v0.6.0-dev-db575eb5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -151,7 +151,10 @@ export type CreateContainerInstanceResponse = {
151
151
 
152
152
  export type ChargeInfo = {
153
153
  chargeMode?: ZestuIoApiTypesTypes.BillingType
154
- duration?: number
154
+ chargeDuration?: number
155
+ enableRenew?: boolean
156
+ renewMode?: ZestuIoApiTypesTypes.BillingType
157
+ renewDuration?: number
155
158
  }
156
159
 
157
160
  export type InstanceSpec = {
@@ -11,6 +11,8 @@ export enum RegionStorageStatus {
11
11
  unspecified = "unspecified",
12
12
  uninitialized = "uninitialized",
13
13
  created = "created",
14
+ initializing = "initializing",
15
+ initialFailed = "initialFailed",
14
16
  }
15
17
 
16
18
  export enum SelectionType {
@@ -85,6 +85,7 @@ export type ResourcePrice = {
85
85
 
86
86
  export type ListResourceModelRequest = {
87
87
  regionId?: string
88
+ billingType?: ZestuIoApiTypesTypes.BillingType
88
89
  }
89
90
 
90
91
  export type ListResourceModelResponse = {
@@ -12,7 +12,11 @@ export enum ConditionStatus {
12
12
  }
13
13
 
14
14
  export enum BillingType {
15
- PayAsYouGo = "PayAsYouGo",
15
+ PAY_AS_YOU_GO = "PAY_AS_YOU_GO",
16
+ SUBSCRIPTION_DAILY = "SUBSCRIPTION_DAILY",
17
+ SUBSCRIPTION_WEEKLY = "SUBSCRIPTION_WEEKLY",
18
+ SUBSCRIPTION_MONTHLY = "SUBSCRIPTION_MONTHLY",
19
+ SUBSCRIPTION_YEARLY = "SUBSCRIPTION_YEARLY",
16
20
  }
17
21
 
18
22
  export enum UnitType {