@daocloud-proto/leopard 0.10.0-rc2 → 0.10.0-rc3
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 +1 -1
- package/v1alpha1/order.pb.ts +3 -2
- package/v1alpha1/product.pb.ts +2 -0
package/package.json
CHANGED
package/v1alpha1/order.pb.ts
CHANGED
|
@@ -52,6 +52,7 @@ export enum CreateOrderStatus {
|
|
|
52
52
|
RESOURCE_EXIST = "RESOURCE_EXIST",
|
|
53
53
|
INSUFFICIENT_BALANCE = "INSUFFICIENT_BALANCE",
|
|
54
54
|
INSUFFICIENT_INVENTORY = "INSUFFICIENT_INVENTORY",
|
|
55
|
+
INSUFFICIENT_VIRTUAL_BALANCE = "INSUFFICIENT_VIRTUAL_BALANCE",
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
export type ExportOrdersRequest = {
|
|
@@ -159,7 +160,7 @@ export type CreateNewPurchaseOrderRequest = {
|
|
|
159
160
|
userId?: string
|
|
160
161
|
orderItems?: OrderItem[]
|
|
161
162
|
renewMeteringAmount?: number
|
|
162
|
-
|
|
163
|
+
renewToPayasyougo?: boolean
|
|
163
164
|
}
|
|
164
165
|
|
|
165
166
|
export type CreateNewPurchaseOrderResponse = {
|
|
@@ -245,7 +246,7 @@ export type CreateRenewOrderResponse = {
|
|
|
245
246
|
export type ChangeOrderRenewRequest = {
|
|
246
247
|
resourceId?: string
|
|
247
248
|
renewMeteringAmount?: number
|
|
248
|
-
|
|
249
|
+
renewToPayasyougo?: boolean
|
|
249
250
|
}
|
|
250
251
|
|
|
251
252
|
export type ChangeOrderRenewResponse = {
|
package/v1alpha1/product.pb.ts
CHANGED
|
@@ -97,6 +97,7 @@ export type SkuItem = {
|
|
|
97
97
|
specFields?: SpecField[]
|
|
98
98
|
inventory?: number
|
|
99
99
|
meteringAmountsDiscounts?: MeteringAmountsDiscount[]
|
|
100
|
+
canTransferPayAsYouGo?: boolean
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
export type ListProductSKUsResponse = {
|
|
@@ -145,6 +146,7 @@ export type GetSKUResponse = {
|
|
|
145
146
|
specFields?: SpecField[]
|
|
146
147
|
inventory?: number
|
|
147
148
|
meteringAmountsDiscounts?: MeteringAmountsDiscount[]
|
|
149
|
+
canTransferPayAsYouGo?: boolean
|
|
148
150
|
}
|
|
149
151
|
|
|
150
152
|
export type MeteringAmountsDiscount = {
|