@uug-ai/models 1.6.8 → 1.6.10

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +75 -1
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -25548,6 +25548,45 @@ export interface paths {
25548
25548
  patch?: never;
25549
25549
  trace?: never;
25550
25550
  };
25551
+ "/internal/workflowfilter": {
25552
+ parameters: {
25553
+ query?: never;
25554
+ header?: never;
25555
+ path?: never;
25556
+ cookie?: never;
25557
+ };
25558
+ /**
25559
+ * Get WorkflowFilter (schema generation only)
25560
+ * @description Internal endpoint used only to ensure WorkflowFilter schema is generated in OpenAPI spec
25561
+ */
25562
+ get: {
25563
+ parameters: {
25564
+ query?: never;
25565
+ header?: never;
25566
+ path?: never;
25567
+ cookie?: never;
25568
+ };
25569
+ requestBody?: never;
25570
+ responses: {
25571
+ /** @description OK */
25572
+ 200: {
25573
+ headers: {
25574
+ [name: string]: unknown;
25575
+ };
25576
+ content: {
25577
+ "application/json": components["schemas"]["api.WorkflowFilter"];
25578
+ };
25579
+ };
25580
+ };
25581
+ };
25582
+ put?: never;
25583
+ post?: never;
25584
+ delete?: never;
25585
+ options?: never;
25586
+ head?: never;
25587
+ patch?: never;
25588
+ trace?: never;
25589
+ };
25551
25590
  "/internal/workflownode": {
25552
25591
  parameters: {
25553
25592
  query?: never;
@@ -28415,7 +28454,9 @@ export interface components {
28415
28454
  /** @description Additional metadata about the error, such as timestamps and request IDs */
28416
28455
  metadata?: components["schemas"]["api.Metadata"];
28417
28456
  };
28418
- "api.GetWorkflowsRequest": Record<string, never>;
28457
+ "api.GetWorkflowsRequest": {
28458
+ filter?: components["schemas"]["api.WorkflowFilter"];
28459
+ };
28419
28460
  "api.GetWorkflowsResponse": {
28420
28461
  workflows?: components["schemas"]["models.Workflow"][];
28421
28462
  };
@@ -29501,6 +29542,13 @@ export interface components {
29501
29542
  /** @description Additional metadata about the error, such as timestamps and request IDs */
29502
29543
  metadata?: components["schemas"]["api.Metadata"];
29503
29544
  };
29545
+ "api.WorkflowFilter": {
29546
+ deviceKeys?: string[];
29547
+ enabled?: boolean;
29548
+ source?: components["schemas"]["models.WorkflowSource"];
29549
+ surface?: components["schemas"]["models.WorkflowTriggerSurface"];
29550
+ triggerType?: components["schemas"]["models.WorkflowTriggerType"];
29551
+ };
29504
29552
  /** @enum {integer} */
29505
29553
  "models.AccessLevel": 0 | 1 | 2 | 3;
29506
29554
  "models.AccessToken": {
@@ -32744,6 +32792,28 @@ export interface components {
32744
32792
  name?: string;
32745
32793
  nodes?: components["schemas"]["models.WorkflowNode"][];
32746
32794
  organisation_id?: string;
32795
+ /**
32796
+ * @description Source is the workflow's provenance and availability (see WorkflowSource).
32797
+ * Empty means WorkflowSourceUser: an ordinary user workflow scoped to its
32798
+ * OrganisationId. WorkflowSourceConfig marks a helm-seeded, deployment-global,
32799
+ * read-only workflow. Every workflow persisted before this field existed
32800
+ * decodes as user.
32801
+ */
32802
+ source?: components["schemas"]["models.WorkflowSource"];
32803
+ /**
32804
+ * @description Stages is the workflow's executable stage set: the runtime-authoritative
32805
+ * projection the engine dispatches against. When set it is used as-is (config
32806
+ * workflows author it directly in the helm registry form: operation, dispatch,
32807
+ * needs, needsMode); when empty it is derived from Nodes+Edges on demand (UI
32808
+ * workflows author the graph and CompileStages projects it). Read it through
32809
+ * CompileStages, never directly, so both authoring styles resolve uniformly.
32810
+ *
32811
+ * Only the routing fields (Operation, Dispatch, Needs, NeedsMode) are
32812
+ * meaningful here; a stage's deployment fields (image, queue, replicas, …) are
32813
+ * resolved by Operation against the shared deployed catalog, not per workflow.
32814
+ * Operations need only be unique within a single workflow, not globally.
32815
+ */
32816
+ stages?: components["schemas"]["models.WorkflowStage"][];
32747
32817
  /**
32748
32818
  * @description Trigger is the legacy single-trigger field kept only so workflows persisted
32749
32819
  * before Triggers existed still decode (and are not silently dropped on
@@ -32987,6 +33057,8 @@ export interface components {
32987
33057
  };
32988
33058
  /** @enum {string} */
32989
33059
  "models.WorkflowRunOrigin": "automatic" | "manual";
33060
+ /** @enum {string} */
33061
+ "models.WorkflowSource": "user" | "config";
32990
33062
  "models.WorkflowStage": {
32991
33063
  /** @description Description explains what the stage does, for the catalog UI. */
32992
33064
  description?: string;
@@ -33655,6 +33727,7 @@ export declare namespace api {
33655
33727
  type GetWorkflowResponse = components['schemas']['api.GetWorkflowResponse'];
33656
33728
  type GetWorkflowSuccessResponse = components['schemas']['api.GetWorkflowSuccessResponse'];
33657
33729
  type GetWorkflowsErrorResponse = components['schemas']['api.GetWorkflowsErrorResponse'];
33730
+ type GetWorkflowsRequest = components['schemas']['api.GetWorkflowsRequest'];
33658
33731
  type GetWorkflowsResponse = components['schemas']['api.GetWorkflowsResponse'];
33659
33732
  type GetWorkflowsSuccessResponse = components['schemas']['api.GetWorkflowsSuccessResponse'];
33660
33733
  type GroupFilter = components['schemas']['api.GroupFilter'];
@@ -33769,4 +33842,5 @@ export declare namespace api {
33769
33842
  type UpsertStateResponse = components['schemas']['api.UpsertStateResponse'];
33770
33843
  type UpsertStateSuccessResponse = components['schemas']['api.UpsertStateSuccessResponse'];
33771
33844
  type WarningResponse = components['schemas']['api.WarningResponse'];
33845
+ type WorkflowFilter = components['schemas']['api.WorkflowFilter'];
33772
33846
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.6.8",
3
+ "version": "1.6.10",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",