@mastra/client-js 1.36.1-alpha.2 → 1.37.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.
@@ -11,6 +11,7 @@ export * from './mcp-tool.js';
11
11
  export * from './agent-builder.js';
12
12
  export * from './observability.js';
13
13
  export * from './stored-agent.js';
14
+ export * from './stored-workflow.js';
14
15
  export * from './stored-prompt-block.js';
15
16
  export * from './stored-mcp-client.js';
16
17
  export * from './stored-scorer.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { ClientOptions, DeleteStoredWorkflowResponse, StoredWorkflowDefinition } from '../types.js';
2
+ import { BaseResource } from './base.js';
3
+ /** Resource for interacting with a specific stored workflow definition. */
4
+ export declare class StoredWorkflow extends BaseResource {
5
+ private storedWorkflowId;
6
+ constructor(options: ClientOptions, storedWorkflowId: string);
7
+ /**
8
+ * Retrieves the full stored workflow definition (schemas, graph, status, metadata)
9
+ * @returns Promise containing the stored workflow definition
10
+ */
11
+ details(): Promise<StoredWorkflowDefinition>;
12
+ /**
13
+ * Deletes the stored workflow definition and unregisters it from the server
14
+ * @returns Promise containing the deletion result
15
+ */
16
+ delete(): Promise<DeleteStoredWorkflowResponse>;
17
+ }
18
+ //# sourceMappingURL=stored-workflow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stored-workflow.d.ts","sourceRoot":"","sources":["../../src/resources/stored-workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,4BAA4B,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEtG,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,2EAA2E;AAC3E,qBAAa,cAAe,SAAQ,YAAY;IAG5C,OAAO,CAAC,gBAAgB;gBADxB,OAAO,EAAE,aAAa,EACd,gBAAgB,EAAE,MAAM;IAKlC;;;OAGG;IACH,OAAO,IAAI,OAAO,CAAC,wBAAwB,CAAC;IAI5C;;;OAGG;IACH,MAAM,IAAI,OAAO,CAAC,4BAA4B,CAAC;CAKhD"}