bruce-models 7.1.107 → 7.1.109

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.
@@ -57,6 +57,14 @@ export declare namespace Markup {
57
57
  fontColor?: string;
58
58
  fontSize?: number;
59
59
  visibleMaxDistance?: number;
60
+ cellSizing?: ECellSizing;
61
+ }
62
+ /**
63
+ * Whether a div's height is authored or taken from what is in it.
64
+ */
65
+ enum ECellSizing {
66
+ Fixed = "FIXED",
67
+ Auto = "AUTO"
60
68
  }
61
69
  interface IBoxShadow {
62
70
  horizontal: number;
@@ -43,6 +43,10 @@ export declare class NavigatorMcpWebSocketClient {
43
43
  private options;
44
44
  private toolHandler;
45
45
  private currentAuth?;
46
+ private responseGeneration;
47
+ private pendingResponses;
48
+ private static readonly RESPONSE_TTL_MS;
49
+ private static readonly MAX_PENDING_RESPONSES;
46
50
  constructor(toolHandler: NavigatorToolCallHandler, options?: NavigatorMcpWebSocketClientOptions);
47
51
  connect(auth?: NavigatorMcpWebSocketAuth): void;
48
52
  disconnect(): void;
@@ -57,5 +61,7 @@ export declare class NavigatorMcpWebSocketClient {
57
61
  private buildUrl;
58
62
  private appendAuthParams;
59
63
  private handleMessage;
64
+ private sendResponse;
65
+ private flushResponses;
60
66
  private send;
61
67
  }
@@ -1,6 +1,7 @@
1
1
  import { Api } from "../api/api";
2
2
  import { BruceApi } from "../api/bruce-api";
3
3
  type WorkflowScheduleId = number | string;
4
+ type EntityId = number | string;
4
5
  export declare namespace WorkflowSchedule {
5
6
  interface ISchedule {
6
7
  ID?: number;
@@ -21,6 +22,16 @@ export declare namespace WorkflowSchedule {
21
22
  "DueDate.Interval.Days"?: number | null;
22
23
  [key: string]: any;
23
24
  }
25
+ interface IListParams {
26
+ api?: BruceApi.Api;
27
+ entityInternalId?: EntityId | EntityId[];
28
+ entityId?: EntityId | EntityId[];
29
+ "Entity.InternalID"?: EntityId | EntityId[];
30
+ EntityInternalID?: EntityId | EntityId[];
31
+ "Entity.ID"?: EntityId | EntityId[];
32
+ EntityID?: EntityId | EntityId[];
33
+ req?: Api.IReqParams;
34
+ }
24
35
  function Get(params: {
25
36
  api?: BruceApi.Api;
26
37
  workflowScheduleId: WorkflowScheduleId;
@@ -28,10 +39,7 @@ export declare namespace WorkflowSchedule {
28
39
  }): Promise<{
29
40
  workflowSchedule: ISchedule;
30
41
  }>;
31
- function GetList(params?: {
32
- api?: BruceApi.Api;
33
- req?: Api.IReqParams;
34
- }): Promise<{
42
+ function GetList(params?: IListParams): Promise<{
35
43
  workflowSchedules: ISchedule[];
36
44
  }>;
37
45
  function Update(params: {
@@ -46,12 +54,13 @@ export declare namespace WorkflowSchedule {
46
54
  workflowScheduleId: WorkflowScheduleId;
47
55
  req?: Api.IReqParams;
48
56
  }): Promise<void>;
57
+ function BuildListUrl(params?: IListParams): string;
49
58
  function ParseResponse(response: ISchedule | {
50
59
  WorkflowSchedule?: ISchedule;
51
60
  Result?: ISchedule | string;
52
61
  } | string | any): ISchedule;
53
62
  function ParseListResponse(response: Api.IList<ISchedule> | ISchedule[] | string | any): ISchedule[];
54
63
  function GetCacheKey(id: WorkflowScheduleId): string;
55
- function GetListCacheKey(): string;
64
+ function GetListCacheKey(params?: IListParams): string;
56
65
  }
57
66
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bruce-models",
3
- "version": "7.1.107",
3
+ "version": "7.1.109",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/bruce-models.umd.js",