@mastra/client-js 1.17.2-alpha.2 → 1.17.2-alpha.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @mastra/client-js
2
2
 
3
+ ## 1.17.2-alpha.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`087e413`](https://github.com/mastra-ai/mastra/commit/087e4133e5d6efa36619e9556c16750e4179c047), [`087e413`](https://github.com/mastra-ai/mastra/commit/087e4133e5d6efa36619e9556c16750e4179c047), [`087e413`](https://github.com/mastra-ai/mastra/commit/087e4133e5d6efa36619e9556c16750e4179c047)]:
8
+ - @mastra/core@1.33.0-alpha.3
9
+
3
10
  ## 1.17.2-alpha.2
4
11
 
5
12
  ### Patch Changes
@@ -3,7 +3,7 @@ name: mastra-client-js
3
3
  description: Documentation for @mastra/client-js. Use when working with @mastra/client-js APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/client-js"
6
- version: "1.17.2-alpha.2"
6
+ version: "1.17.2-alpha.3"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.17.2-alpha.2",
2
+ "version": "1.17.2-alpha.3",
3
3
  "package": "@mastra/client-js",
4
4
  "exports": {
5
5
  "RequestContext": {
@@ -5621,8 +5621,8 @@ export interface PostProcessorsProcessorIdExecute_RouteContract {
5621
5621
  export type PostV1Responses_Body = {
5622
5622
  /** Optional model identifier override, such as openai/gpt-5. When omitted, the agent default model is used. */
5623
5623
  model?: string | undefined;
5624
- /** Mastra agent ID for the request */
5625
- agent_id: string;
5624
+ /** Mastra agent ID for the request. Required unless previous_response_id is provided. */
5625
+ agent_id?: string | undefined;
5626
5626
  input: string | {
5627
5627
  role: 'system' | 'developer' | 'user' | 'assistant';
5628
5628
  content: string | {
@@ -5654,6 +5654,10 @@ export type PostV1Responses_Body = {
5654
5654
  openai?: {
5655
5655
  [key: string]: unknown;
5656
5656
  } | undefined;
5657
+ /** Azure OpenAI provider options such as previousResponseId, store, or itemId */
5658
+ azure?: {
5659
+ [key: string]: unknown;
5660
+ } | undefined;
5657
5661
  [x: string]: unknown;
5658
5662
  } | undefined;
5659
5663
  stream: boolean | undefined;
@@ -5727,6 +5731,10 @@ export type PostV1Responses_Response = {
5727
5731
  openai?: {
5728
5732
  [key: string]: unknown;
5729
5733
  } | undefined;
5734
+ /** Azure OpenAI provider options such as previousResponseId, store, or itemId */
5735
+ azure?: {
5736
+ [key: string]: unknown;
5737
+ } | undefined;
5730
5738
  [x: string]: unknown;
5731
5739
  } | undefined;
5732
5740
  tools?: {
@@ -5826,6 +5834,10 @@ export type GetV1ResponsesResponseId_Response = {
5826
5834
  openai?: {
5827
5835
  [key: string]: unknown;
5828
5836
  } | undefined;
5837
+ /** Azure OpenAI provider options such as previousResponseId, store, or itemId */
5838
+ azure?: {
5839
+ [key: string]: unknown;
5840
+ } | undefined;
5829
5841
  [x: string]: unknown;
5830
5842
  } | undefined;
5831
5843
  tools?: {
@@ -39040,6 +39052,50 @@ export interface GetSystemPackages_RouteContract {
39040
39052
  response: GetSystemPackages_Response;
39041
39053
  responseType: 'json';
39042
39054
  }
39055
+ export type GetSystemApiSchema_Response = {
39056
+ version: 1;
39057
+ routes: {
39058
+ method: string;
39059
+ path: string;
39060
+ responseType: string;
39061
+ pathParamSchema?: {
39062
+ [key: string]: unknown;
39063
+ } | undefined;
39064
+ queryParamSchema?: {
39065
+ [key: string]: unknown;
39066
+ } | undefined;
39067
+ bodySchema?: {
39068
+ [key: string]: unknown;
39069
+ } | undefined;
39070
+ responseSchema?: {
39071
+ [key: string]: unknown;
39072
+ } | undefined;
39073
+ responseShape: {
39074
+ kind: 'array' | 'record' | 'object-property' | 'single' | 'unknown';
39075
+ listProperty?: string | undefined;
39076
+ paginationProperty?: string | undefined;
39077
+ };
39078
+ }[];
39079
+ };
39080
+ export type GetSystemApiSchema_Request = Simplify<(never extends never ? {} : {
39081
+ params: never;
39082
+ }) & (never extends never ? {} : {} extends never ? {
39083
+ query?: never;
39084
+ } : {
39085
+ query: never;
39086
+ }) & (never extends never ? {} : {} extends never ? {
39087
+ body?: never;
39088
+ } : {
39089
+ body: never;
39090
+ })>;
39091
+ export interface GetSystemApiSchema_RouteContract {
39092
+ pathParams: never;
39093
+ queryParams: never;
39094
+ body: never;
39095
+ request: GetSystemApiSchema_Request;
39096
+ response: GetSystemApiSchema_Response;
39097
+ responseType: 'json';
39098
+ }
39043
39099
  export type GetDatasets_QueryParams = {
39044
39100
  page: number | undefined;
39045
39101
  perPage: number | undefined;
@@ -41737,6 +41793,7 @@ export interface RouteTypes {
41737
41793
  'GET /processor-providers': GetProcessorProviders_RouteContract;
41738
41794
  'GET /processor-providers/:providerId': GetProcessorProvidersProviderId_RouteContract;
41739
41795
  'GET /system/packages': GetSystemPackages_RouteContract;
41796
+ 'GET /system/api-schema': GetSystemApiSchema_RouteContract;
41740
41797
  'GET /datasets': GetDatasets_RouteContract;
41741
41798
  'POST /datasets': PostDatasets_RouteContract;
41742
41799
  'GET /datasets/:datasetId': GetDatasetsDatasetId_RouteContract;
@@ -42432,6 +42489,9 @@ export interface Client {
42432
42489
  GET: GetStoredWorkspacesStoredWorkspaceId_RouteContract;
42433
42490
  PATCH: PatchStoredWorkspacesStoredWorkspaceId_RouteContract;
42434
42491
  };
42492
+ '/system/api-schema': {
42493
+ GET: GetSystemApiSchema_RouteContract;
42494
+ };
42435
42495
  '/system/packages': {
42436
42496
  GET: GetSystemPackages_RouteContract;
42437
42497
  };