@supernova-studio/client 1.47.7 → 1.48.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/dist/index.mjs CHANGED
@@ -9546,6 +9546,10 @@ var DTOFeatureIteration = z314.object({
9546
9546
  * To be used for "fix with AI"
9547
9547
  */
9548
9548
  errorDescription: z314.string().nullish(),
9549
+ /**
9550
+ * The cost in credits to generate this iteration
9551
+ */
9552
+ creditsCost: z314.number().optional(),
9549
9553
  /**
9550
9554
  * URL of a static preview of the feature
9551
9555
  */
@@ -9904,7 +9908,8 @@ var DTOThreadMessageCreateInput = DTOThreadMessage.pick({
9904
9908
  var DTOThreadMessageFinalizeInput = z318.object({
9905
9909
  messageId: Id,
9906
9910
  agentMessageBody: z318.string().optional(),
9907
- promptState: DTOThreadPromptState.optional()
9911
+ promptState: DTOThreadPromptState.optional(),
9912
+ creditsSpend: DTOBillingCreditsSpendInput.optional()
9908
9913
  });
9909
9914
  var DTOThreadMessageRetryInput = z318.object({
9910
9915
  agentMessageId: Id