@supernova-studio/client 1.54.0 → 1.55.1

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.js CHANGED
@@ -246,12 +246,13 @@ var PluginOAuthRequestSchema = _zod.z.object({
246
246
  createdAt: _zod.z.coerce.date()
247
247
  });
248
248
  var AuthV2Request = _zod.z.object({
249
- code: _zod.z.string().optional(),
250
249
  state: _zod.z.string(),
251
250
  codeChallenge: _zod.z.string(),
252
251
  codeChallengeMethod: _zod.z.string(),
253
252
  redirectUri: _zod.z.string(),
254
- sessionId: _zod.z.string()
253
+ sessionId: _zod.z.string(),
254
+ code: _zod.z.string().optional(),
255
+ codeVerifier: _zod.z.string().optional()
255
256
  });
256
257
  var AuthV2Session = _zod.z.object({
257
258
  id: _zod.z.string(),
@@ -4626,7 +4627,7 @@ var UserTest = _zod.z.object({
4626
4627
  id: _zod.z.string(),
4627
4628
  email: _zod.z.string()
4628
4629
  });
4629
- var UserSource = _zod.z.enum(["SignUp", "Invite", "SSO"]);
4630
+ var UserSource = _zod.z.enum(["SignUp", "Invite", "SSO", "Google"]);
4630
4631
  var UserEmailSettings = _zod.z.object({
4631
4632
  marketingEmails: _zod.z.boolean()
4632
4633
  });
@@ -10518,6 +10519,11 @@ var DTOThreadMessageFinalizeInput = _zod2.default.object({
10518
10519
  var DTOThreadMessageRetryInput = _zod2.default.object({
10519
10520
  agentMessageId: Id,
10520
10521
  runtimeError: _zod2.default.string().optional(),
10522
+ /**
10523
+ * When `true`, the retry message will be sent to a thread started by the user's message
10524
+ * Useful when user retries a message created in the main thread, but expects the retry to be sent as a thread reply
10525
+ */
10526
+ shouldReplyInThread: _zod2.default.boolean().optional(),
10521
10527
  message: DTOThreadMessage.pick({ id: true, body: true }).optional()
10522
10528
  });
10523
10529
  var DTOThreadMessageUpdateInput = DTOThreadMessage.pick({