@mastra/client-js 1.24.0-alpha.2 → 1.24.0-alpha.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.
@@ -321,6 +321,13 @@ export type PostAgentsAgentIdClone_Response = {
321
321
  status: string;
322
322
  activeVersionId?: string | undefined;
323
323
  authorId?: string | undefined;
324
+ /** Resolved author identity (when an auth provider is configured) */
325
+ author?: {
326
+ id: string;
327
+ name?: string | undefined;
328
+ email?: string | undefined;
329
+ avatarUrl?: string | undefined;
330
+ } | undefined;
324
331
  metadata?: {
325
332
  [key: string]: unknown;
326
333
  } | undefined;
@@ -4821,7 +4828,7 @@ export interface PostAgentsAgentIdVoiceSpeak_RouteContract {
4821
4828
  body: PostAgentsAgentIdVoiceSpeak_Body;
4822
4829
  request: PostAgentsAgentIdVoiceSpeak_Request;
4823
4830
  response: PostAgentsAgentIdVoiceSpeak_Response;
4824
- responseType: 'stream';
4831
+ responseType: 'datastream-response';
4825
4832
  }
4826
4833
  /** @deprecated */
4827
4834
  export type PostAgentsAgentIdSpeak_PathParams = {
@@ -4854,7 +4861,7 @@ export interface PostAgentsAgentIdSpeak_RouteContract {
4854
4861
  body: PostAgentsAgentIdSpeak_Body;
4855
4862
  request: PostAgentsAgentIdSpeak_Request;
4856
4863
  response: PostAgentsAgentIdSpeak_Response;
4857
- responseType: 'stream';
4864
+ responseType: 'datastream-response';
4858
4865
  }
4859
4866
  export type PostAgentsAgentIdVoiceListen_PathParams = {
4860
4867
  /** Agent ID */
@@ -13901,6 +13908,13 @@ export type GetStoredAgents_Response = {
13901
13908
  status: string;
13902
13909
  activeVersionId?: string | undefined;
13903
13910
  authorId?: string | undefined;
13911
+ /** Resolved author identity (when an auth provider is configured) */
13912
+ author?: {
13913
+ id: string;
13914
+ name?: string | undefined;
13915
+ email?: string | undefined;
13916
+ avatarUrl?: string | undefined;
13917
+ } | undefined;
13904
13918
  metadata?: {
13905
13919
  [key: string]: unknown;
13906
13920
  } | undefined;
@@ -18228,6 +18242,13 @@ export type GetStoredAgentsStoredAgentId_Response = {
18228
18242
  status: string;
18229
18243
  activeVersionId?: string | undefined;
18230
18244
  authorId?: string | undefined;
18245
+ /** Resolved author identity (when an auth provider is configured) */
18246
+ author?: {
18247
+ id: string;
18248
+ name?: string | undefined;
18249
+ email?: string | undefined;
18250
+ avatarUrl?: string | undefined;
18251
+ } | undefined;
18231
18252
  metadata?: {
18232
18253
  [key: string]: unknown;
18233
18254
  } | undefined;
@@ -22452,6 +22473,13 @@ export type PostStoredAgents_Response = {
22452
22473
  status: string;
22453
22474
  activeVersionId?: string | undefined;
22454
22475
  authorId?: string | undefined;
22476
+ /** Resolved author identity (when an auth provider is configured) */
22477
+ author?: {
22478
+ id: string;
22479
+ name?: string | undefined;
22480
+ email?: string | undefined;
22481
+ avatarUrl?: string | undefined;
22482
+ } | undefined;
22455
22483
  metadata?: {
22456
22484
  [key: string]: unknown;
22457
22485
  } | undefined;
@@ -26669,6 +26697,13 @@ export type PatchStoredAgentsStoredAgentId_Response = {
26669
26697
  status: string;
26670
26698
  activeVersionId?: string | undefined;
26671
26699
  authorId?: string | undefined;
26700
+ /** Resolved author identity (when an auth provider is configured) */
26701
+ author?: {
26702
+ id: string;
26703
+ name?: string | undefined;
26704
+ email?: string | undefined;
26705
+ avatarUrl?: string | undefined;
26706
+ } | undefined;
26672
26707
  metadata?: {
26673
26708
  [key: string]: unknown;
26674
26709
  } | undefined;
@@ -43229,8 +43264,8 @@ export type PostToolProvidersProviderIdAuthorize_PathParams = {
43229
43264
  export type PostToolProvidersProviderIdAuthorize_Body = {
43230
43265
  /** Toolkit slug being authorized */
43231
43266
  toolkit: string;
43232
- /** Existing or newly-minted connection bucket id */
43233
- connectionId: string;
43267
+ /** Existing connection bucket id when re-authorizing; omit for a brand-new connection */
43268
+ connectionId?: string | undefined;
43234
43269
  /** Optional tool slug for tool-scoped authorization */
43235
43270
  toolName?: string | undefined;
43236
43271
  /** Provider-specific user-supplied connection fields (e.g. subdomain) */