assignment-user-matcher 1.1.6 → 1.2.1
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/README.md +18 -2
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -1
- package/dist/managers/ReliabilityManager.d.ts +42 -0
- package/dist/managers/ReliabilityManager.d.ts.map +1 -0
- package/dist/managers/ReliabilityManager.js +115 -0
- package/dist/managers/TelemetryManager.d.ts +13 -0
- package/dist/managers/TelemetryManager.d.ts.map +1 -0
- package/dist/managers/TelemetryManager.js +52 -0
- package/dist/managers/WorkflowManager.d.ts +69 -0
- package/dist/managers/WorkflowManager.d.ts.map +1 -0
- package/dist/managers/WorkflowManager.js +735 -0
- package/dist/matcher.class.d.ts +143 -77
- package/dist/matcher.class.d.ts.map +1 -1
- package/dist/matcher.class.js +460 -447
- package/dist/queries/index.d.ts +5 -0
- package/dist/queries/index.d.ts.map +1 -0
- package/dist/queries/index.js +20 -0
- package/dist/queries/pagination.d.ts +51 -0
- package/dist/queries/pagination.d.ts.map +1 -0
- package/dist/queries/pagination.js +200 -0
- package/dist/scoring/index.d.ts +5 -0
- package/dist/scoring/index.d.ts.map +1 -0
- package/dist/scoring/index.js +20 -0
- package/dist/scoring/match-score.d.ts +29 -0
- package/dist/scoring/match-score.d.ts.map +1 -0
- package/dist/scoring/match-score.js +131 -0
- package/dist/types/matcher.d.ts +279 -0
- package/dist/types/matcher.d.ts.map +1 -0
- package/dist/types/matcher.js +2 -0
- package/dist/utils/cidr.d.ts +40 -0
- package/dist/utils/cidr.d.ts.map +1 -0
- package/dist/utils/cidr.js +150 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +21 -0
- package/dist/utils/keys.d.ts +45 -0
- package/dist/utils/keys.d.ts.map +1 -0
- package/dist/utils/keys.js +57 -0
- package/dist/workflow-builder.d.ts +195 -0
- package/dist/workflow-builder.d.ts.map +1 -0
- package/dist/workflow-builder.js +366 -0
- package/package.json +1 -1
package/dist/matcher.class.d.ts
CHANGED
|
@@ -1,34 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
ip?: string;
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}
|
|
10
|
-
export type Assignment = {
|
|
11
|
-
id: string;
|
|
12
|
-
tags: string[];
|
|
13
|
-
priority?: number;
|
|
14
|
-
allowedCidrs?: string[];
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
};
|
|
17
|
-
export type Stats = {
|
|
18
|
-
users?: number;
|
|
19
|
-
usersWithoutAssignment?: string[];
|
|
20
|
-
remainingAssignments?: number;
|
|
21
|
-
};
|
|
22
|
-
export type options = {
|
|
23
|
-
relevantBatchSize?: number;
|
|
24
|
-
redisPrefix?: string;
|
|
25
|
-
maxUserBacklogSize?: number;
|
|
26
|
-
enableDefaultMatching?: boolean;
|
|
27
|
-
matchExpirationMs?: number;
|
|
28
|
-
prioritizationFunction?: (...args: (Assignment | undefined)[]) => Promise<number>;
|
|
29
|
-
matchingFunction?: (user: User, assignmentTags: string, assignmentPriority: number | string, assignmentId?: string) => Promise<[number, number]>;
|
|
30
|
-
};
|
|
31
|
-
export default class AssignmentMatcher {
|
|
1
|
+
import { type PaginationOptions, type PaginationResult, type AssignmentCounts } from './queries/pagination';
|
|
2
|
+
import { type WorkflowHost } from './managers/WorkflowManager';
|
|
3
|
+
import type { RedisClientType, User, Assignment, Stats, MatcherOptions, WorkflowDefinition, WorkflowInstance, WorkflowEvent, AssignmentResult, DeadLetterEntry, AuditEntry, WorkflowInstanceWithSnapshot } from './types/matcher';
|
|
4
|
+
export type { RedisClientType, User, Assignment, Stats, MatcherOptions, options } from './types/matcher';
|
|
5
|
+
export type { WorkflowDefinition, WorkflowInstance, WorkflowStep, WorkflowTaskType, WorkflowEvent, WorkflowEventType, AssignmentResult, ParallelBranchState, DeadLetterEntry, AuditEntry, CircuitBreakerState, WorkflowInstanceWithSnapshot, } from './types/matcher';
|
|
6
|
+
export default class AssignmentMatcher implements WorkflowHost {
|
|
32
7
|
redisClient: RedisClientType;
|
|
33
8
|
relevantBatchSize: number;
|
|
34
9
|
redisPrefix: string;
|
|
@@ -43,8 +18,59 @@ export default class AssignmentMatcher {
|
|
|
43
18
|
assignmentOwnerKey: string;
|
|
44
19
|
allTagsKey: string;
|
|
45
20
|
acceptedAssignmentsKey: string;
|
|
46
|
-
|
|
21
|
+
private keys;
|
|
22
|
+
private enableWorkflows;
|
|
23
|
+
private streamConsumerGroup;
|
|
24
|
+
private streamConsumerName;
|
|
25
|
+
private workflow;
|
|
26
|
+
completedAssignmentsKey: string;
|
|
27
|
+
private reliability;
|
|
28
|
+
private telemetry;
|
|
29
|
+
private luaScriptSha;
|
|
30
|
+
private usingDefaultMatchScore;
|
|
31
|
+
constructor(redisClient: RedisClientType, options?: MatcherOptions);
|
|
32
|
+
/** Keys for the three assignment stores (used by pagination queries) */
|
|
33
|
+
private get assignmentStoreKeys();
|
|
47
34
|
private initRedis;
|
|
35
|
+
/**
|
|
36
|
+
* Load Lua scripts into Redis for atomic operations.
|
|
37
|
+
*/
|
|
38
|
+
private loadLuaScripts;
|
|
39
|
+
atomicWorkflowTransition(instanceId: string, expectedVersion: number, newStatus: WorkflowInstance['status'], newStepId: string | null, updatedContext: Record<string, any>, historyEntry?: WorkflowInstance['history'][0]): Promise<{
|
|
40
|
+
ok: boolean;
|
|
41
|
+
instance?: WorkflowInstance;
|
|
42
|
+
error?: string;
|
|
43
|
+
}>;
|
|
44
|
+
reclaimOrphanedMessages(): Promise<number>;
|
|
45
|
+
/**
|
|
46
|
+
* Get events from the Dead Letter Queue.
|
|
47
|
+
*/
|
|
48
|
+
getDeadLetterEvents(limit?: number, offset?: number): Promise<DeadLetterEntry[]>;
|
|
49
|
+
/**
|
|
50
|
+
* Get Dead Letter Queue size.
|
|
51
|
+
*/
|
|
52
|
+
getDeadLetterQueueSize(): Promise<number>;
|
|
53
|
+
/**
|
|
54
|
+
* Replay a Dead Letter Queue event.
|
|
55
|
+
*/
|
|
56
|
+
replayDeadLetterEvent(eventJson: string): Promise<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* Clear all events from the Dead Letter Queue.
|
|
59
|
+
*/
|
|
60
|
+
clearDeadLetterQueue(): Promise<number>;
|
|
61
|
+
/**
|
|
62
|
+
* Get audit events from the audit stream.
|
|
63
|
+
*/
|
|
64
|
+
getAuditEvents(count?: number): Promise<AuditEntry[]>;
|
|
65
|
+
/**
|
|
66
|
+
* Set the OpenTelemetry tracer instance.
|
|
67
|
+
*/
|
|
68
|
+
setTracer(tracer: any): void;
|
|
69
|
+
/**
|
|
70
|
+
* Initialize the Redis Stream consumer group for workflow events.
|
|
71
|
+
* Creates the stream and consumer group if they don't exist.
|
|
72
|
+
*/
|
|
73
|
+
private initStreamConsumerGroup;
|
|
48
74
|
addUser(user: User): Promise<User>;
|
|
49
75
|
addAssignment(assignment: Assignment): Promise<Assignment>;
|
|
50
76
|
removeAssignment(id: string): Promise<string>;
|
|
@@ -63,27 +89,12 @@ export default class AssignmentMatcher {
|
|
|
63
89
|
* @param options.status - Filter by status: 'queued' | 'pending' | 'accepted' | 'all' (default: 'all')
|
|
64
90
|
* @param options.includeTotal - Whether to include total count (slower for large datasets)
|
|
65
91
|
*/
|
|
66
|
-
getAssignmentsPaginated(options?:
|
|
67
|
-
cursor?: string | null;
|
|
68
|
-
limit?: number;
|
|
69
|
-
status?: 'queued' | 'pending' | 'accepted' | 'all';
|
|
70
|
-
includeTotal?: boolean;
|
|
71
|
-
}): Promise<{
|
|
72
|
-
assignments: Assignment[];
|
|
73
|
-
nextCursor: string | null;
|
|
74
|
-
hasMore: boolean;
|
|
75
|
-
total?: number;
|
|
76
|
-
}>;
|
|
92
|
+
getAssignmentsPaginated(options?: PaginationOptions): Promise<PaginationResult>;
|
|
77
93
|
/**
|
|
78
94
|
* Get assignment counts by status without fetching the data.
|
|
79
95
|
* Efficient for dashboards and monitoring.
|
|
80
96
|
*/
|
|
81
|
-
getAssignmentCounts(): Promise<
|
|
82
|
-
queued: number;
|
|
83
|
-
pending: number;
|
|
84
|
-
accepted: number;
|
|
85
|
-
total: number;
|
|
86
|
-
}>;
|
|
97
|
+
getAssignmentCounts(): Promise<AssignmentCounts>;
|
|
87
98
|
/**
|
|
88
99
|
* Get a single assignment by ID from any status.
|
|
89
100
|
*/
|
|
@@ -94,34 +105,8 @@ export default class AssignmentMatcher {
|
|
|
94
105
|
* Get multiple assignments by IDs efficiently.
|
|
95
106
|
*/
|
|
96
107
|
getAssignmentsByIds(ids: string[]): Promise<Assignment[]>;
|
|
97
|
-
/**
|
|
98
|
-
|
|
99
|
-
*/
|
|
100
|
-
private parseIPv4;
|
|
101
|
-
/**
|
|
102
|
-
* Parse an IPv6 address into a BigInt representation
|
|
103
|
-
* Handles full, compressed (::), and IPv4-mapped formats
|
|
104
|
-
*/
|
|
105
|
-
private parseIPv6;
|
|
106
|
-
/**
|
|
107
|
-
* Parse an IP address (auto-detect IPv4 or IPv6)
|
|
108
|
-
* Returns { value: BigInt, isIPv6: boolean } or null if invalid
|
|
109
|
-
*/
|
|
110
|
-
private parseIP;
|
|
111
|
-
/**
|
|
112
|
-
* Parse a CIDR notation string (e.g., '192.168.1.0/24' or '2001:db8::/32')
|
|
113
|
-
* Returns { network: BigInt, prefixLength: number, isIPv6: boolean } or null
|
|
114
|
-
*/
|
|
115
|
-
private parseCIDR;
|
|
116
|
-
/**
|
|
117
|
-
* Check if an IP address is within a CIDR range
|
|
118
|
-
*/
|
|
119
|
-
private isIpInCidr;
|
|
120
|
-
/**
|
|
121
|
-
* Check if a user's IP matches any of the allowed CIDRs
|
|
122
|
-
* Returns true if no CIDRs are specified (open assignment) or if IP matches any CIDR
|
|
123
|
-
*/
|
|
124
|
-
private checkCidrMatch;
|
|
108
|
+
/** Default match score implementation using extracted scoring module */
|
|
109
|
+
private defaultMatchScore;
|
|
125
110
|
private matchScore;
|
|
126
111
|
private calculatePriority;
|
|
127
112
|
get stats(): Promise<Stats>;
|
|
@@ -139,10 +124,91 @@ export default class AssignmentMatcher {
|
|
|
139
124
|
getCurrentAssignmentsForUser(userId: string): Promise<string[]>;
|
|
140
125
|
acceptAssignment(userId: string, assignmentId: string): Promise<boolean>;
|
|
141
126
|
rejectAssignment(userId: string, assignmentId: string): Promise<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* Complete an assignment with a result payload.
|
|
129
|
+
* Moves the assignment from 'accepted' to 'completed' state and publishes an event
|
|
130
|
+
* for workflow orchestration.
|
|
131
|
+
*
|
|
132
|
+
* @param userId - The user completing the assignment
|
|
133
|
+
* @param assignmentId - The assignment being completed
|
|
134
|
+
* @param result - Optional result payload for routing decisions
|
|
135
|
+
*/
|
|
136
|
+
completeAssignment(userId: string, assignmentId: string, result?: AssignmentResult): Promise<boolean>;
|
|
137
|
+
/**
|
|
138
|
+
* Fail an assignment explicitly (e.g., user reports inability to complete).
|
|
139
|
+
*
|
|
140
|
+
* @param userId - The user failing the assignment
|
|
141
|
+
* @param assignmentId - The assignment being failed
|
|
142
|
+
* @param reason - Optional reason for failure
|
|
143
|
+
*/
|
|
144
|
+
failAssignment(userId: string, assignmentId: string, reason?: string): Promise<boolean>;
|
|
145
|
+
/**
|
|
146
|
+
* Register a workflow definition.
|
|
147
|
+
*
|
|
148
|
+
* @param definition - The workflow definition to register
|
|
149
|
+
*/
|
|
150
|
+
/**
|
|
151
|
+
* Register a new workflow definition.
|
|
152
|
+
*/
|
|
153
|
+
registerWorkflow(definition: WorkflowDefinition): Promise<WorkflowDefinition>;
|
|
154
|
+
/**
|
|
155
|
+
* Get a workflow definition by ID.
|
|
156
|
+
*/
|
|
157
|
+
getWorkflowDefinition(id: string): Promise<WorkflowDefinition | null>;
|
|
158
|
+
/**
|
|
159
|
+
* List all registered workflow definitions.
|
|
160
|
+
*/
|
|
161
|
+
listWorkflowDefinitions(): Promise<Array<{
|
|
162
|
+
id: string;
|
|
163
|
+
name: string;
|
|
164
|
+
}>>;
|
|
165
|
+
/**
|
|
166
|
+
* Start a new workflow instance for a user.
|
|
167
|
+
*/
|
|
168
|
+
startWorkflow(workflowDefinitionId: string, userId: string, initialContext?: Record<string, any>): Promise<WorkflowInstance>;
|
|
169
|
+
/**
|
|
170
|
+
* Get a workflow instance by ID.
|
|
171
|
+
*/
|
|
172
|
+
getWorkflowInstance(instanceId: string): Promise<WorkflowInstance | null>;
|
|
173
|
+
/**
|
|
174
|
+
* Get a workflow instance with its snapshot definition.
|
|
175
|
+
*/
|
|
176
|
+
getWorkflowInstanceWithSnapshot(instanceId: string): Promise<WorkflowInstanceWithSnapshot | null>;
|
|
177
|
+
/**
|
|
178
|
+
* Get all active workflow instances for a user.
|
|
179
|
+
*/
|
|
180
|
+
getActiveWorkflowsForUser(userId: string): Promise<WorkflowInstance[]>;
|
|
181
|
+
/**
|
|
182
|
+
* Cancel a workflow instance.
|
|
183
|
+
*/
|
|
184
|
+
cancelWorkflow(instanceId: string): Promise<boolean>;
|
|
185
|
+
/**
|
|
186
|
+
* Check and process expired workflow steps.
|
|
187
|
+
* Should be called periodically.
|
|
188
|
+
*/
|
|
189
|
+
processExpiredWorkflowSteps(): Promise<number>;
|
|
190
|
+
/**
|
|
191
|
+
* Publish a workflow event to the Redis Stream.
|
|
192
|
+
*/
|
|
193
|
+
publishWorkflowEvent(event: WorkflowEvent): Promise<string>;
|
|
194
|
+
/**
|
|
195
|
+
* Start the workflow orchestrator.
|
|
196
|
+
* This listens to the event stream and processes workflow transitions.
|
|
197
|
+
*/
|
|
198
|
+
startOrchestrator(): Promise<void>;
|
|
199
|
+
/**
|
|
200
|
+
* Stop the workflow orchestrator.
|
|
201
|
+
*/
|
|
202
|
+
stopOrchestrator(): Promise<void>;
|
|
142
203
|
processExpiredMatches(): Promise<number>;
|
|
143
204
|
private autoReleaseInterval;
|
|
144
205
|
startAutoReleaseInterval(intervalMs?: number): void;
|
|
145
206
|
stopAutoReleaseInterval(): void;
|
|
207
|
+
/**
|
|
208
|
+
* Get assignments specifically targeted at a user through active workflows.
|
|
209
|
+
* These take priority over general pool assignments for deterministic matching.
|
|
210
|
+
*/
|
|
211
|
+
private getWorkflowTargetedAssignments;
|
|
146
212
|
private expandTagWildcards;
|
|
147
213
|
}
|
|
148
214
|
//# sourceMappingURL=matcher.class.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matcher.class.d.ts","sourceRoot":"","sources":["../src/matcher.class.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"matcher.class.d.ts","sourceRoot":"","sources":["../src/matcher.class.ts"],"names":[],"mappings":"AAKA,OAAO,EAMH,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACxB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,KAAK,EACR,eAAe,EACf,IAAI,EACJ,UAAU,EACV,KAAK,EACL,cAAc,EAEd,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,4BAA4B,EAC/B,MAAM,iBAAiB,CAAC;AAGzB,YAAY,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAEzG,YAAY,EACR,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,4BAA4B,GAC/B,MAAM,iBAAiB,CAAC;AAqBzB,MAAM,CAAC,OAAO,OAAO,iBAAkB,YAAW,YAAY;IA8B/C,WAAW,EAAE,eAAe;IA7BvC,iBAAiB,EAAE,MAAM,CAAC;IAC1B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