@sogni-ai/sogni-client 5.76.0 → 5.77.0
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/CHANGELOG.md +7 -0
- package/dist/Projects/index.d.ts +2 -1
- package/dist/Projects/index.js +10 -28
- package/dist/Projects/index.js.map +1 -1
- package/dist/Projects/types/EstimationResponse.d.ts +4 -0
- package/dist/Projects/types/index.d.ts +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist-esm/Projects/index.js +10 -28
- package/dist-esm/Projects/index.js.map +1 -1
- package/dist-esm/version.js +1 -1
- package/package.json +1 -1
- package/src/Projects/index.ts +21 -7
- package/src/Projects/types/EstimationResponse.ts +2 -0
- package/src/Projects/types/index.ts +8 -0
- package/src/version.ts +1 -1
|
@@ -9,6 +9,8 @@ export interface EstimationResponse {
|
|
|
9
9
|
* only to a signed-in subscriber whose plan covers the project on Fast.
|
|
10
10
|
*/
|
|
11
11
|
dailyFairUse?: { pct: number };
|
|
12
|
+
/** Optional monthly capacity share requested by the caller. */
|
|
13
|
+
monthlyFairUse?: { pct: number };
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
export interface Benchmark {
|
|
@@ -1270,6 +1270,8 @@ export type MediaUrlParams = {
|
|
|
1270
1270
|
};
|
|
1271
1271
|
|
|
1272
1272
|
export interface EstimateRequest {
|
|
1273
|
+
/** Request the optional monthly capacity share alongside the daily estimate. */
|
|
1274
|
+
includeMonthlyFairUse?: boolean;
|
|
1273
1275
|
/** Include Priority mode's 1.5× usage in the daily-capacity estimate. */
|
|
1274
1276
|
priorityMode?: boolean;
|
|
1275
1277
|
/**
|
|
@@ -1354,6 +1356,8 @@ export interface EstimateRequest {
|
|
|
1354
1356
|
}
|
|
1355
1357
|
|
|
1356
1358
|
export interface VideoEstimateRequest {
|
|
1359
|
+
/** Request the optional monthly capacity share alongside the daily estimate. */
|
|
1360
|
+
includeMonthlyFairUse?: boolean;
|
|
1357
1361
|
/** Include Priority mode's 1.5× usage in the daily-capacity estimate. */
|
|
1358
1362
|
priorityMode?: boolean;
|
|
1359
1363
|
/** FlashVSR source geometry for an estimate. The server verifies the uploaded file at admission. */
|
|
@@ -1430,6 +1434,8 @@ export interface VideoEstimateRequest {
|
|
|
1430
1434
|
}
|
|
1431
1435
|
|
|
1432
1436
|
export interface AudioEstimateRequest {
|
|
1437
|
+
/** Request the optional monthly capacity share alongside the daily estimate. */
|
|
1438
|
+
includeMonthlyFairUse?: boolean;
|
|
1433
1439
|
/** Include Priority mode's 1.5× usage in the daily-capacity estimate. */
|
|
1434
1440
|
priorityMode?: boolean;
|
|
1435
1441
|
tokenType: TokenType;
|
|
@@ -1484,6 +1490,8 @@ export interface CostEstimation {
|
|
|
1484
1490
|
* for guests, premium-vendor models, token billing, trials and Relaxed.
|
|
1485
1491
|
*/
|
|
1486
1492
|
dailyFairUsePct?: number;
|
|
1493
|
+
/** Estimated share of monthly Fast capacity, when requested and supplied by the server. */
|
|
1494
|
+
monthlyFairUsePct?: number;
|
|
1487
1495
|
}
|
|
1488
1496
|
|
|
1489
1497
|
export type EnhancementStrength = 'light' | 'medium' | 'heavy';
|
package/src/version.ts
CHANGED