@supernova-studio/client 1.95.1 → 1.95.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 +354 -29
- package/dist/index.d.ts +354 -29
- package/dist/index.js +22 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -126,6 +126,8 @@ var featureWithImportJobsSchema = featureLimitedSchema.extend({
|
|
|
126
126
|
var FeaturesSummary = z7.object({
|
|
127
127
|
designSystems: featureLimitedSchema,
|
|
128
128
|
designSystemSources: featureWithImportJobsSchema,
|
|
129
|
+
designSystemStorybookSources: featureLimitedSchema,
|
|
130
|
+
documentationCustomCssAndJs: featureToggleSchema,
|
|
129
131
|
designSystemVersions: featureLimitedSchema,
|
|
130
132
|
themes: featureLimitedSchema,
|
|
131
133
|
brands: featureLimitedSchema,
|
|
@@ -8049,6 +8051,22 @@ var DTOBillingCreditsSpendInput = z249.object({
|
|
|
8049
8051
|
modelName: DTOBillingSupportedModels,
|
|
8050
8052
|
action: DTOBillingCreditsSpendAction.optional().default(DTOBillingCreditsSpendAction.enum.Ask)
|
|
8051
8053
|
});
|
|
8054
|
+
var DTOBillingUsageEntry = z249.object({
|
|
8055
|
+
executionId: z249.string(),
|
|
8056
|
+
parentExecutionId: z249.string().optional(),
|
|
8057
|
+
executionKind: z249.enum(["root", "subagent"]),
|
|
8058
|
+
agent: z249.string(),
|
|
8059
|
+
modelName: DTOBillingSupportedModels,
|
|
8060
|
+
providerRequestId: z249.string().optional(),
|
|
8061
|
+
inputTokenCount: z249.number().int().nonnegative(),
|
|
8062
|
+
outputTokenCount: z249.number().int().nonnegative(),
|
|
8063
|
+
inputCachedTokenCount: z249.number().int().nonnegative().optional(),
|
|
8064
|
+
reasoningTokenCount: z249.number().int().nonnegative().optional()
|
|
8065
|
+
});
|
|
8066
|
+
var DTOBillingUsageSummary = z249.object({
|
|
8067
|
+
rootAction: DTOBillingCreditsSpendAction,
|
|
8068
|
+
entries: z249.array(DTOBillingUsageEntry)
|
|
8069
|
+
});
|
|
8052
8070
|
var DTOBillingCreditsSpendResponse = z249.object({
|
|
8053
8071
|
hasOverspend: z249.boolean()
|
|
8054
8072
|
});
|
|
@@ -11054,7 +11072,7 @@ var DTOThreadMessageFinalizeInput = z331.object({
|
|
|
11054
11072
|
messageId: Id,
|
|
11055
11073
|
agentMessageBody: z331.string().optional(),
|
|
11056
11074
|
promptState: DTOThreadPromptState.optional(),
|
|
11057
|
-
|
|
11075
|
+
billingUsageSummary: DTOBillingUsageSummary.optional()
|
|
11058
11076
|
});
|
|
11059
11077
|
var DTOThreadMessageRetryInput = z331.object({
|
|
11060
11078
|
agentMessageId: Id,
|
|
@@ -21178,6 +21196,8 @@ export {
|
|
|
21178
21196
|
DTOBillingInterval,
|
|
21179
21197
|
DTOBillingSubscriptionChangePreviewInput,
|
|
21180
21198
|
DTOBillingSupportedModels,
|
|
21199
|
+
DTOBillingUsageEntry,
|
|
21200
|
+
DTOBillingUsageSummary,
|
|
21181
21201
|
DTOBrand,
|
|
21182
21202
|
DTOBrandCreatePayload,
|
|
21183
21203
|
DTOBrandCreateResponse,
|