@daocloud-proto/hydra 0.17.0-rc1-dev-23 → 0.17.0-rc1-dev-25
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.
|
@@ -76,6 +76,11 @@ export enum SkuDiscountScheduleType {
|
|
|
76
76
|
SKU_DISCOUNT_SCHEDULE_TYPE_DAILY = "SKU_DISCOUNT_SCHEDULE_TYPE_DAILY",
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
export enum SkuPaymentPolicy {
|
|
80
|
+
SKU_PAYMENT_POLICY_UNSPECIFIED = "SKU_PAYMENT_POLICY_UNSPECIFIED",
|
|
81
|
+
SKU_PAYMENT_POLICY_BALANCE_ONLY = "SKU_PAYMENT_POLICY_BALANCE_ONLY",
|
|
82
|
+
}
|
|
83
|
+
|
|
79
84
|
export enum PublicModelConfigRateLimitLimitedBy {
|
|
80
85
|
LIMITED_BY_UNSPECIFIED = "LIMITED_BY_UNSPECIFIED",
|
|
81
86
|
USER_ID = "USER_ID",
|
|
@@ -115,6 +120,23 @@ export type ModelPriceDiscountSchedule = {
|
|
|
115
120
|
timezone?: string
|
|
116
121
|
}
|
|
117
122
|
|
|
123
|
+
export type ModelPricePriceValue = {
|
|
124
|
+
price?: string
|
|
125
|
+
discountInfo?: ModelPriceDiscountInfo
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export type ModelPriceFeaturePrice = {
|
|
129
|
+
modelSupportFeature?: ModelSupportFeature
|
|
130
|
+
modelSupportFeatures?: ModelSupportFeature[]
|
|
131
|
+
inputTokenPricePerK?: ModelPricePriceValue
|
|
132
|
+
outputTokenPricePerK?: ModelPricePriceValue
|
|
133
|
+
cachedTokenPricePerK?: ModelPricePriceValue
|
|
134
|
+
inputImagePrice?: ModelPricePriceValue
|
|
135
|
+
outputImagePrice?: ModelPricePriceValue
|
|
136
|
+
audioToTextPricePerMinute?: ModelPricePriceValue
|
|
137
|
+
textToAudioPricePerKCharacters?: ModelPricePriceValue
|
|
138
|
+
}
|
|
139
|
+
|
|
118
140
|
export type ModelPrice = {
|
|
119
141
|
inputPerKTokens?: string
|
|
120
142
|
outputPerKTokens?: string
|
|
@@ -124,6 +146,8 @@ export type ModelPrice = {
|
|
|
124
146
|
outputDiscountInfo?: ModelPriceDiscountInfo
|
|
125
147
|
perImageDiscountInfo?: ModelPriceDiscountInfo
|
|
126
148
|
cachedDiscountInfo?: ModelPriceDiscountInfo
|
|
149
|
+
featurePrices?: ModelPriceFeaturePrice[]
|
|
150
|
+
paymentPolicy?: SkuPaymentPolicy
|
|
127
151
|
}
|
|
128
152
|
|
|
129
153
|
export type Model = {
|
|
@@ -149,6 +173,7 @@ export type Model = {
|
|
|
149
173
|
contextLength?: ContextLength
|
|
150
174
|
operationTags?: ModelOperationTag[]
|
|
151
175
|
publishTimestamp?: GoogleProtobufTimestamp.Timestamp
|
|
176
|
+
capabilityCompatibilities?: ModelCapabilityCompatibilitySelection[]
|
|
152
177
|
}
|
|
153
178
|
|
|
154
179
|
export type ListModelRequest = {
|
|
@@ -255,6 +280,7 @@ export type WSModel = {
|
|
|
255
280
|
contextLength?: ContextLength
|
|
256
281
|
operationTags?: ModelOperationTag[]
|
|
257
282
|
publishTimestamp?: GoogleProtobufTimestamp.Timestamp
|
|
283
|
+
capabilityCompatibilities?: ModelCapabilityCompatibilitySelection[]
|
|
258
284
|
}
|
|
259
285
|
|
|
260
286
|
export type CreatePrivateModelRequest = {
|
|
@@ -380,6 +406,17 @@ export type ModelCapabilityCompatibilityOption = {
|
|
|
380
406
|
requestFields?: ModelCapabilityCompatibilityField[]
|
|
381
407
|
}
|
|
382
408
|
|
|
409
|
+
export type ModelCapabilityCompatibilitySelectionProfile = {
|
|
410
|
+
compatibility?: string
|
|
411
|
+
displayName?: string
|
|
412
|
+
requestFields?: ModelCapabilityCompatibilityField[]
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type ModelCapabilityCompatibilitySelection = {
|
|
416
|
+
capability?: string
|
|
417
|
+
selectedProfile?: ModelCapabilityCompatibilitySelectionProfile
|
|
418
|
+
}
|
|
419
|
+
|
|
383
420
|
export type ListModelCapabilityCompatibilityOptionsResponse = {
|
|
384
421
|
capability?: string
|
|
385
422
|
items?: ModelCapabilityCompatibilityOption[]
|