@supernova-studio/client 1.19.1 → 1.19.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.
- package/dist/index.d.mts +30 -10
- package/dist/index.d.ts +30 -10
- package/dist/index.js +14 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7039,8 +7039,12 @@ import { z as z249 } from "zod";
|
|
|
7039
7039
|
|
|
7040
7040
|
// src/api/dto/workspaces/billing.ts
|
|
7041
7041
|
import z238 from "zod";
|
|
7042
|
+
var DTOBillingSupportedModels = z238.enum(["GPT_4_1", "GPT_4_1_MINI", "GPT_4O", "O1"]);
|
|
7042
7043
|
var DTOBillingCreditsSpendInput = z238.object({
|
|
7043
|
-
|
|
7044
|
+
inputTokenCount: z238.number().int().nonnegative(),
|
|
7045
|
+
outputTokenCount: z238.number().int().nonnegative(),
|
|
7046
|
+
inputCachedTokenCount: z238.number().int().nonnegative().optional(),
|
|
7047
|
+
modelName: DTOBillingSupportedModels
|
|
7044
7048
|
});
|
|
7045
7049
|
var DTOBillingCreditsSpendResponse = z238.object({
|
|
7046
7050
|
hasSpentCredits: z238.boolean()
|
|
@@ -9124,9 +9128,14 @@ var DTOFeatureAgentResponseTracker = z310.object({
|
|
|
9124
9128
|
});
|
|
9125
9129
|
var DTOFeatureArtifact = z310.object({
|
|
9126
9130
|
id: Id,
|
|
9131
|
+
/**
|
|
9132
|
+
* Name of the artifact, can include path like `src/components/button.tsx`
|
|
9133
|
+
*/
|
|
9134
|
+
name: z310.string(),
|
|
9135
|
+
/**
|
|
9136
|
+
* URL of the artifact's contents
|
|
9137
|
+
*/
|
|
9127
9138
|
url: z310.string()
|
|
9128
|
-
// Implied:
|
|
9129
|
-
// type: z.literal("Build"),
|
|
9130
9139
|
});
|
|
9131
9140
|
var DTOFeatureIteration = z310.object({
|
|
9132
9141
|
id: Id,
|
|
@@ -17798,6 +17807,7 @@ export {
|
|
|
17798
17807
|
DTOBffUploadImportRequestBody,
|
|
17799
17808
|
DTOBillingCreditsSpendInput,
|
|
17800
17809
|
DTOBillingCreditsSpendResponse,
|
|
17810
|
+
DTOBillingSupportedModels,
|
|
17801
17811
|
DTOBrand,
|
|
17802
17812
|
DTOBrandCreatePayload,
|
|
17803
17813
|
DTOBrandCreateResponse,
|