@daocloud-proto/hydra 0.16.0-rc1-dev-rc1 → 0.16.0-rc1-dev-3
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.
|
@@ -24,6 +24,12 @@ export enum ModelSupportFeature {
|
|
|
24
24
|
TOOLS = "TOOLS",
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
export enum SkuDiscountScheduleType {
|
|
28
|
+
SKU_DISCOUNT_SCHEDULE_TYPE_UNSPECIFIED = "SKU_DISCOUNT_SCHEDULE_TYPE_UNSPECIFIED",
|
|
29
|
+
SKU_DISCOUNT_SCHEDULE_TYPE_ABSOLUTE = "SKU_DISCOUNT_SCHEDULE_TYPE_ABSOLUTE",
|
|
30
|
+
SKU_DISCOUNT_SCHEDULE_TYPE_DAILY = "SKU_DISCOUNT_SCHEDULE_TYPE_DAILY",
|
|
31
|
+
}
|
|
32
|
+
|
|
27
33
|
export enum PublicModelConfigRateLimitLimitedBy {
|
|
28
34
|
LIMITED_BY_UNSPECIFIED = "LIMITED_BY_UNSPECIFIED",
|
|
29
35
|
USER_ID = "USER_ID",
|
|
@@ -37,11 +43,31 @@ export enum DeployTemplateInferenceRuntime {
|
|
|
37
43
|
IMAGE_GEN = "IMAGE_GEN",
|
|
38
44
|
}
|
|
39
45
|
|
|
46
|
+
export type ModelPriceDiscountInfo = {
|
|
47
|
+
discountRate?: number
|
|
48
|
+
discountName?: string
|
|
49
|
+
schedule?: ModelPriceDiscountSchedule
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type ModelPriceDiscountSchedule = {
|
|
53
|
+
discountRuleId?: string
|
|
54
|
+
type?: SkuDiscountScheduleType
|
|
55
|
+
effectiveStartAt?: string
|
|
56
|
+
effectiveEndAt?: string
|
|
57
|
+
dailyStartMinute?: number
|
|
58
|
+
dailyEndMinute?: number
|
|
59
|
+
timezone?: string
|
|
60
|
+
}
|
|
61
|
+
|
|
40
62
|
export type ModelPrice = {
|
|
41
63
|
inputPerKTokens?: string
|
|
42
64
|
outputPerKTokens?: string
|
|
43
65
|
perImage?: string
|
|
44
66
|
cachedPerKTokens?: string
|
|
67
|
+
inputDiscountInfo?: ModelPriceDiscountInfo
|
|
68
|
+
outputDiscountInfo?: ModelPriceDiscountInfo
|
|
69
|
+
perImageDiscountInfo?: ModelPriceDiscountInfo
|
|
70
|
+
cachedDiscountInfo?: ModelPriceDiscountInfo
|
|
45
71
|
}
|
|
46
72
|
|
|
47
73
|
export type Model = {
|