@modelrelay/sdk 4.0.0 → 5.3.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/README.md +19 -64
- package/dist/api-7TVb2cnl.d.cts +5319 -0
- package/dist/api-7TVb2cnl.d.ts +5319 -0
- package/dist/{api-CzFaWgs_.d.cts → api-B9x3HA3Z.d.cts} +10 -13
- package/dist/{api-CzFaWgs_.d.ts → api-B9x3HA3Z.d.ts} +10 -13
- package/dist/api-BRAJe_xm.d.cts +5315 -0
- package/dist/api-BRAJe_xm.d.ts +5315 -0
- package/dist/{api-jqOwvH6O.d.cts → api-HVh8Lusf.d.cts} +2650 -2111
- package/dist/{api-jqOwvH6O.d.ts → api-HVh8Lusf.d.ts} +2650 -2111
- package/dist/billing/index.d.cts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/{chunk-EMQKOEF3.js → chunk-BL7GWXRZ.js} +1 -1
- package/dist/{chunk-ADQ74R7T.js → chunk-G5H7EY4F.js} +16 -14
- package/dist/{chunk-LW6SC7NQ.js → chunk-HLJAMT7F.js} +1 -1
- package/dist/{chunk-ZBQKY2W2.js → chunk-LZDGY24E.js} +2 -63
- package/dist/chunk-OJFVI3QJ.js +1133 -0
- package/dist/chunk-Z6R4G2TU.js +1133 -0
- package/dist/index.cjs +192 -504
- package/dist/index.d.cts +179 -623
- package/dist/index.d.ts +179 -623
- package/dist/index.js +185 -496
- package/dist/node.cjs +155 -2
- package/dist/node.d.cts +9 -0
- package/dist/node.d.ts +9 -0
- package/dist/node.js +155 -2
- package/dist/{tools-DAqAFZ8F.d.ts → tools-Db-F5rIL.d.cts} +6 -9
- package/dist/{tools-DAqAFZ8F.d.cts → tools-Db-F5rIL.d.ts} +6 -9
- package/package.json +1 -1
- package/dist/tools-Cnl2MgVa.d.cts +0 -1174
- package/dist/tools-Cnl2MgVa.d.ts +0 -1174
|
@@ -1415,26 +1415,16 @@ interface components {
|
|
|
1415
1415
|
};
|
|
1416
1416
|
/** @description Customer-visible usage metrics for the current billing window. */
|
|
1417
1417
|
CustomerMeUsage: {
|
|
1418
|
-
/**
|
|
1419
|
-
* Format: int64
|
|
1420
|
-
* @description Credits granted for this billing window (only for paid tiers)
|
|
1421
|
-
*/
|
|
1422
|
-
credits_granted_cents?: number;
|
|
1423
|
-
/**
|
|
1424
|
-
* Format: int64
|
|
1425
|
-
* @description Credits remaining in this billing window (only for paid tiers)
|
|
1426
|
-
*/
|
|
1427
|
-
credits_remaining_cents?: number;
|
|
1428
1418
|
daily: components["schemas"]["CustomerUsagePoint"][];
|
|
1429
1419
|
/** Format: int64 */
|
|
1430
1420
|
images: number;
|
|
1431
|
-
/** @description
|
|
1421
|
+
/** @description True when 80% or more of spend limit is used (nil if unlimited) */
|
|
1432
1422
|
low?: boolean;
|
|
1433
1423
|
/** @description True when PAYGO wallet can cover subscription overages */
|
|
1434
1424
|
overage_enabled?: boolean;
|
|
1435
1425
|
/**
|
|
1436
1426
|
* Format: float
|
|
1437
|
-
* @description Percentage of
|
|
1427
|
+
* @description Percentage of spend limit used (nil if unlimited)
|
|
1438
1428
|
*/
|
|
1439
1429
|
percentage_used?: number;
|
|
1440
1430
|
/** Format: int64 */
|
|
@@ -1448,9 +1438,14 @@ interface components {
|
|
|
1448
1438
|
total_cost_cents: number;
|
|
1449
1439
|
/**
|
|
1450
1440
|
* Format: int64
|
|
1451
|
-
* @description
|
|
1441
|
+
* @description API usage budget for this billing window (nil if unlimited)
|
|
1452
1442
|
*/
|
|
1453
1443
|
spend_limit_cents?: number;
|
|
1444
|
+
/**
|
|
1445
|
+
* Format: int64
|
|
1446
|
+
* @description Remaining budget (spend_limit_cents minus total_cost_cents, nil if unlimited)
|
|
1447
|
+
*/
|
|
1448
|
+
spend_remaining_cents?: number;
|
|
1454
1449
|
/**
|
|
1455
1450
|
* Format: int64
|
|
1456
1451
|
* @description PAYGO wallet balance in cents (available when PAYGO wallet is enabled)
|
|
@@ -1795,6 +1790,8 @@ interface components {
|
|
|
1795
1790
|
name: string;
|
|
1796
1791
|
};
|
|
1797
1792
|
SkillsCompileRequest: {
|
|
1793
|
+
/** @default 3 */
|
|
1794
|
+
max_attempts: number;
|
|
1798
1795
|
model?: string;
|
|
1799
1796
|
source: string;
|
|
1800
1797
|
};
|
|
@@ -1415,26 +1415,16 @@ interface components {
|
|
|
1415
1415
|
};
|
|
1416
1416
|
/** @description Customer-visible usage metrics for the current billing window. */
|
|
1417
1417
|
CustomerMeUsage: {
|
|
1418
|
-
/**
|
|
1419
|
-
* Format: int64
|
|
1420
|
-
* @description Credits granted for this billing window (only for paid tiers)
|
|
1421
|
-
*/
|
|
1422
|
-
credits_granted_cents?: number;
|
|
1423
|
-
/**
|
|
1424
|
-
* Format: int64
|
|
1425
|
-
* @description Credits remaining in this billing window (only for paid tiers)
|
|
1426
|
-
*/
|
|
1427
|
-
credits_remaining_cents?: number;
|
|
1428
1418
|
daily: components["schemas"]["CustomerUsagePoint"][];
|
|
1429
1419
|
/** Format: int64 */
|
|
1430
1420
|
images: number;
|
|
1431
|
-
/** @description
|
|
1421
|
+
/** @description True when 80% or more of spend limit is used (nil if unlimited) */
|
|
1432
1422
|
low?: boolean;
|
|
1433
1423
|
/** @description True when PAYGO wallet can cover subscription overages */
|
|
1434
1424
|
overage_enabled?: boolean;
|
|
1435
1425
|
/**
|
|
1436
1426
|
* Format: float
|
|
1437
|
-
* @description Percentage of
|
|
1427
|
+
* @description Percentage of spend limit used (nil if unlimited)
|
|
1438
1428
|
*/
|
|
1439
1429
|
percentage_used?: number;
|
|
1440
1430
|
/** Format: int64 */
|
|
@@ -1448,9 +1438,14 @@ interface components {
|
|
|
1448
1438
|
total_cost_cents: number;
|
|
1449
1439
|
/**
|
|
1450
1440
|
* Format: int64
|
|
1451
|
-
* @description
|
|
1441
|
+
* @description API usage budget for this billing window (nil if unlimited)
|
|
1452
1442
|
*/
|
|
1453
1443
|
spend_limit_cents?: number;
|
|
1444
|
+
/**
|
|
1445
|
+
* Format: int64
|
|
1446
|
+
* @description Remaining budget (spend_limit_cents minus total_cost_cents, nil if unlimited)
|
|
1447
|
+
*/
|
|
1448
|
+
spend_remaining_cents?: number;
|
|
1454
1449
|
/**
|
|
1455
1450
|
* Format: int64
|
|
1456
1451
|
* @description PAYGO wallet balance in cents (available when PAYGO wallet is enabled)
|
|
@@ -1795,6 +1790,8 @@ interface components {
|
|
|
1795
1790
|
name: string;
|
|
1796
1791
|
};
|
|
1797
1792
|
SkillsCompileRequest: {
|
|
1793
|
+
/** @default 3 */
|
|
1794
|
+
max_attempts: number;
|
|
1798
1795
|
model?: string;
|
|
1799
1796
|
source: string;
|
|
1800
1797
|
};
|