@supernova-studio/client 1.37.1 → 1.37.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
@@ -4442,7 +4442,8 @@ var Workspace = z133.object({
4442
4442
  npmRegistrySettings: nullishToOptional(NpmRegistryConfig),
4443
4443
  aiFeaturesEnabled: z133.boolean().default(false),
4444
4444
  aiAskFeaturesEnabled: z133.boolean().default(false),
4445
- aiCustomInstruction: z133.string().optional()
4445
+ aiCustomInstruction: z133.string().optional(),
4446
+ hasOpenMeterSubject: z133.boolean()
4446
4447
  });
4447
4448
  var WorkspaceWithDesignSystems = z133.object({
4448
4449
  workspace: Workspace,
@@ -7075,11 +7076,13 @@ var DTOBillingSupportedModels = z239.enum([
7075
7076
  "GPT_5_NANO"
7076
7077
  ]);
7077
7078
  var DTOBillingCheckoutMode = z239.enum(["SubscriptionChange", "CreditsTopUp"]);
7079
+ var DTOBillingCreditsSpendAction = z239.enum(["Ask", "Build", "DocumentUpdate"]);
7078
7080
  var DTOBillingCreditsSpendInput = z239.object({
7079
7081
  inputTokenCount: z239.number().int().nonnegative(),
7080
7082
  outputTokenCount: z239.number().int().nonnegative(),
7081
7083
  inputCachedTokenCount: z239.number().int().nonnegative().optional(),
7082
- modelName: DTOBillingSupportedModels
7084
+ modelName: DTOBillingSupportedModels,
7085
+ action: DTOBillingCreditsSpendAction.optional().default(DTOBillingCreditsSpendAction.enum.Ask)
7083
7086
  });
7084
7087
  var DTOBillingCreditsSpendResponse = z239.object({
7085
7088
  hasOverspend: z239.boolean()
@@ -7093,7 +7096,7 @@ var DTOBillingCheckoutInput = z239.object({
7093
7096
  successUrl: z239.string().url(),
7094
7097
  cancelUrl: z239.string().url(),
7095
7098
  quantity: z239.number().int().min(1).optional(),
7096
- centAmount: z239.number().int().nonnegative().min(2e3).optional(),
7099
+ centAmount: z239.number().int().nonnegative().min(1e3).optional(),
7097
7100
  mode: DTOBillingCheckoutMode.optional().default(DTOBillingCheckoutMode.enum.SubscriptionChange)
7098
7101
  });
7099
7102
  var DTOBillingCheckoutResponse = z239.object({
@@ -18294,6 +18297,7 @@ export {
18294
18297
  DTOBillingCheckoutMode,
18295
18298
  DTOBillingCheckoutResponse,
18296
18299
  DTOBillingCreditsCheckIfCanSpendResponse,
18300
+ DTOBillingCreditsSpendAction,
18297
18301
  DTOBillingCreditsSpendInput,
18298
18302
  DTOBillingCreditsSpendResponse,
18299
18303
  DTOBillingSupportedModels,