@supernova-studio/client 1.95.2 → 1.95.4

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.mjs CHANGED
@@ -4666,6 +4666,7 @@ var FigmaNodeStructureV2 = z129.object({
4666
4666
  storagePath: z129.string().optional(),
4667
4667
  createdAt: z129.coerce.date(),
4668
4668
  updatedAt: z129.coerce.date(),
4669
+ lastUpdateStartedAt: z129.coerce.date().optional(),
4669
4670
  importState: FigmaNodeStructureStateV2,
4670
4671
  error: z129.string().optional(),
4671
4672
  chunkSize: z129.number().optional(),
@@ -6350,7 +6351,6 @@ var ExporterWorkspaceMembership = z209.object({
6350
6351
  // ../model/src/feature-flags/feature-flags.ts
6351
6352
  import { z as z210 } from "zod";
6352
6353
  var FlaggedFeature = z210.enum([
6353
- "FigmaImporterV2",
6354
6354
  "DisableImporter",
6355
6355
  "VariablesOrder",
6356
6356
  "TypographyPropsKeepAliases",
@@ -8051,6 +8051,22 @@ var DTOBillingCreditsSpendInput = z249.object({
8051
8051
  modelName: DTOBillingSupportedModels,
8052
8052
  action: DTOBillingCreditsSpendAction.optional().default(DTOBillingCreditsSpendAction.enum.Ask)
8053
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
+ });
8054
8070
  var DTOBillingCreditsSpendResponse = z249.object({
8055
8071
  hasOverspend: z249.boolean()
8056
8072
  });
@@ -11056,7 +11072,7 @@ var DTOThreadMessageFinalizeInput = z331.object({
11056
11072
  messageId: Id,
11057
11073
  agentMessageBody: z331.string().optional(),
11058
11074
  promptState: DTOThreadPromptState.optional(),
11059
- creditsSpend: DTOBillingCreditsSpendInput.optional()
11075
+ billingUsageSummary: DTOBillingUsageSummary.optional()
11060
11076
  });
11061
11077
  var DTOThreadMessageRetryInput = z331.object({
11062
11078
  agentMessageId: Id,
@@ -21180,6 +21196,8 @@ export {
21180
21196
  DTOBillingInterval,
21181
21197
  DTOBillingSubscriptionChangePreviewInput,
21182
21198
  DTOBillingSupportedModels,
21199
+ DTOBillingUsageEntry,
21200
+ DTOBillingUsageSummary,
21183
21201
  DTOBrand,
21184
21202
  DTOBrandCreatePayload,
21185
21203
  DTOBrandCreateResponse,