@supernova-studio/client 1.95.2 → 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.mjs CHANGED
@@ -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,