@2digits/tlo-mcp 0.1.0 → 0.1.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/dist/index.d.mts +89 -89
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -185,69 +185,69 @@ declare const Activity_base: Schema.Class<Activity, {
|
|
|
185
185
|
projectColor: Schema.optional<typeof Schema.String>;
|
|
186
186
|
clientColor: Schema.optional<typeof Schema.String>;
|
|
187
187
|
}>, never, {
|
|
188
|
-
readonly
|
|
188
|
+
readonly billingMode?: string | null | undefined;
|
|
189
189
|
} & {
|
|
190
|
-
readonly
|
|
190
|
+
readonly clientColor?: string | undefined;
|
|
191
191
|
} & {
|
|
192
|
-
readonly
|
|
192
|
+
readonly clientName?: string | null | undefined;
|
|
193
193
|
} & {
|
|
194
|
-
readonly
|
|
194
|
+
readonly endDate?: string | undefined;
|
|
195
195
|
} & {
|
|
196
|
-
readonly
|
|
196
|
+
readonly entityName?: string | null | undefined;
|
|
197
197
|
} & {
|
|
198
198
|
readonly folderId?: string | undefined;
|
|
199
199
|
} & {
|
|
200
|
-
readonly
|
|
200
|
+
readonly folderName?: string | null | undefined;
|
|
201
201
|
} & {
|
|
202
|
-
readonly
|
|
202
|
+
readonly nonBillable?: number | null | undefined;
|
|
203
203
|
} & {
|
|
204
|
-
readonly
|
|
204
|
+
readonly projectColor?: string | undefined;
|
|
205
205
|
} & {
|
|
206
|
-
readonly
|
|
206
|
+
readonly projectEndDate?: string | null | undefined;
|
|
207
207
|
} & {
|
|
208
|
-
readonly
|
|
208
|
+
readonly projectId?: string | undefined;
|
|
209
209
|
} & {
|
|
210
210
|
readonly projectName?: string | null | undefined;
|
|
211
211
|
} & {
|
|
212
|
-
readonly
|
|
212
|
+
readonly projectOwnerName?: string | null | undefined;
|
|
213
213
|
} & {
|
|
214
|
-
readonly
|
|
214
|
+
readonly projectStartDate?: string | null | undefined;
|
|
215
215
|
} & {
|
|
216
|
-
readonly
|
|
216
|
+
readonly projectState?: string | null | undefined;
|
|
217
217
|
} & {
|
|
218
|
-
readonly
|
|
218
|
+
readonly rate?: number | null | undefined;
|
|
219
219
|
} & {
|
|
220
|
-
readonly
|
|
220
|
+
readonly readOnly?: boolean | null | undefined;
|
|
221
221
|
} & {
|
|
222
|
-
readonly
|
|
222
|
+
readonly taskEndDate?: string | null | undefined;
|
|
223
223
|
} & {
|
|
224
|
-
readonly
|
|
224
|
+
readonly taskId?: string | null | undefined;
|
|
225
225
|
} & {
|
|
226
|
-
readonly
|
|
226
|
+
readonly taskName?: string | null | undefined;
|
|
227
227
|
} & {
|
|
228
|
-
readonly
|
|
228
|
+
readonly taskStartDate?: string | null | undefined;
|
|
229
229
|
} & {
|
|
230
|
-
readonly
|
|
230
|
+
readonly taskState?: string | null | undefined;
|
|
231
231
|
} & {
|
|
232
|
-
readonly
|
|
232
|
+
readonly taskWorkload?: number | null | undefined;
|
|
233
233
|
} & {
|
|
234
|
-
readonly
|
|
234
|
+
readonly ticketId?: string | null | undefined;
|
|
235
235
|
} & {
|
|
236
|
-
readonly
|
|
236
|
+
readonly timesheetState?: string | null | undefined;
|
|
237
237
|
} & {
|
|
238
|
-
readonly
|
|
238
|
+
readonly todoId?: string | null | undefined;
|
|
239
239
|
} & {
|
|
240
|
-
readonly
|
|
240
|
+
readonly userId?: string | undefined;
|
|
241
241
|
} & {
|
|
242
|
-
readonly
|
|
242
|
+
readonly value?: number | null | undefined;
|
|
243
243
|
} & {
|
|
244
|
-
readonly
|
|
244
|
+
readonly description: string | null;
|
|
245
245
|
} & {
|
|
246
|
-
readonly
|
|
246
|
+
readonly durationMinutes: number;
|
|
247
247
|
} & {
|
|
248
|
-
readonly
|
|
248
|
+
readonly id: number;
|
|
249
249
|
} & {
|
|
250
|
-
readonly
|
|
250
|
+
readonly startDate: string;
|
|
251
251
|
}, {}, {}>;
|
|
252
252
|
declare class Activity extends Activity_base {}
|
|
253
253
|
declare function activityFromRaw(raw: ActivityRaw): typeof Activity.Type;
|
|
@@ -390,39 +390,39 @@ declare const Project_base: Schema.Class<Project, {
|
|
|
390
390
|
calcDone: Schema.optional<typeof Schema.Number>;
|
|
391
391
|
calcPlanned: Schema.optional<typeof Schema.Number>;
|
|
392
392
|
}>, never, {
|
|
393
|
-
readonly
|
|
393
|
+
readonly billingBudget?: number | undefined;
|
|
394
394
|
} & {
|
|
395
|
-
readonly
|
|
395
|
+
readonly billingMode?: string | undefined;
|
|
396
396
|
} & {
|
|
397
|
-
readonly
|
|
397
|
+
readonly billingRemaining?: number | undefined;
|
|
398
398
|
} & {
|
|
399
|
-
readonly
|
|
399
|
+
readonly calcDone?: number | undefined;
|
|
400
400
|
} & {
|
|
401
|
-
readonly
|
|
401
|
+
readonly calcPlanned?: number | undefined;
|
|
402
402
|
} & {
|
|
403
|
-
readonly
|
|
403
|
+
readonly calcTotal?: number | undefined;
|
|
404
404
|
} & {
|
|
405
|
-
readonly
|
|
405
|
+
readonly clientId?: number | undefined;
|
|
406
406
|
} & {
|
|
407
|
-
readonly
|
|
407
|
+
readonly clientName?: string | undefined;
|
|
408
408
|
} & {
|
|
409
|
-
readonly
|
|
409
|
+
readonly endDate?: string | undefined;
|
|
410
410
|
} & {
|
|
411
|
-
readonly
|
|
411
|
+
readonly extId?: string | undefined;
|
|
412
412
|
} & {
|
|
413
|
-
readonly
|
|
413
|
+
readonly folderId?: number | undefined;
|
|
414
414
|
} & {
|
|
415
|
-
readonly
|
|
415
|
+
readonly folderName?: string | undefined;
|
|
416
416
|
} & {
|
|
417
|
-
readonly
|
|
417
|
+
readonly ownerName?: string | undefined;
|
|
418
418
|
} & {
|
|
419
|
-
readonly
|
|
419
|
+
readonly startDate?: string | undefined;
|
|
420
420
|
} & {
|
|
421
|
-
readonly
|
|
421
|
+
readonly state?: string | undefined;
|
|
422
422
|
} & {
|
|
423
|
-
readonly
|
|
423
|
+
readonly id: number;
|
|
424
424
|
} & {
|
|
425
|
-
readonly
|
|
425
|
+
readonly name: string;
|
|
426
426
|
}, {}, {}>;
|
|
427
427
|
declare class Project extends Project_base {}
|
|
428
428
|
declare function projectFromRaw(raw: ProjectRaw): Project;
|
|
@@ -477,35 +477,35 @@ declare const Message_base: Schema.Class<Message, {
|
|
|
477
477
|
outQueueId: Schema.optional<typeof Schema.String>;
|
|
478
478
|
internal: Schema.optional<typeof Schema.Boolean>;
|
|
479
479
|
}>, never, {
|
|
480
|
-
readonly id: number;
|
|
481
|
-
} & {
|
|
482
|
-
readonly ownerName?: string | undefined;
|
|
483
|
-
} & {
|
|
484
|
-
readonly ownerId?: number | undefined;
|
|
485
|
-
} & {
|
|
486
480
|
readonly avatar?: string | undefined;
|
|
481
|
+
} & {
|
|
482
|
+
readonly content?: string | undefined;
|
|
487
483
|
} & {
|
|
488
484
|
readonly createdAt?: string | undefined;
|
|
489
485
|
} & {
|
|
490
|
-
readonly
|
|
486
|
+
readonly internal?: boolean | undefined;
|
|
491
487
|
} & {
|
|
492
|
-
readonly
|
|
488
|
+
readonly likeCount?: number | undefined;
|
|
493
489
|
} & {
|
|
494
|
-
readonly
|
|
490
|
+
readonly messageType?: string | undefined;
|
|
495
491
|
} & {
|
|
496
492
|
readonly objectId?: number | undefined;
|
|
497
493
|
} & {
|
|
498
494
|
readonly objectName?: string | undefined;
|
|
499
495
|
} & {
|
|
500
|
-
readonly
|
|
496
|
+
readonly objectType?: string | undefined;
|
|
501
497
|
} & {
|
|
502
|
-
readonly
|
|
498
|
+
readonly outQueueId?: string | undefined;
|
|
499
|
+
} & {
|
|
500
|
+
readonly ownerId?: number | undefined;
|
|
501
|
+
} & {
|
|
502
|
+
readonly ownerName?: string | undefined;
|
|
503
503
|
} & {
|
|
504
504
|
readonly replyCount?: number | undefined;
|
|
505
505
|
} & {
|
|
506
|
-
readonly
|
|
506
|
+
readonly subcontent?: string | undefined;
|
|
507
507
|
} & {
|
|
508
|
-
readonly
|
|
508
|
+
readonly id: number;
|
|
509
509
|
}, {}, {}>;
|
|
510
510
|
declare class Message extends Message_base {}
|
|
511
511
|
declare function messageFromRaw(raw: MessageRaw): typeof Message.Type;
|
|
@@ -540,21 +540,21 @@ declare const Task_base: Schema.Class<Task, {
|
|
|
540
540
|
endDate: Schema.optional<typeof Schema.String>;
|
|
541
541
|
budget: Schema.optional<typeof Schema.Number>;
|
|
542
542
|
}>, never, {
|
|
543
|
-
readonly
|
|
544
|
-
} & {
|
|
545
|
-
readonly startDate?: string | undefined;
|
|
546
|
-
} & {
|
|
547
|
-
readonly projectId?: number | undefined;
|
|
543
|
+
readonly budget?: number | undefined;
|
|
548
544
|
} & {
|
|
549
545
|
readonly endDate?: string | undefined;
|
|
550
546
|
} & {
|
|
551
547
|
readonly name?: string | undefined;
|
|
552
|
-
} & {
|
|
553
|
-
readonly state?: string | undefined;
|
|
554
548
|
} & {
|
|
555
549
|
readonly ownerName?: string | undefined;
|
|
556
550
|
} & {
|
|
557
|
-
readonly
|
|
551
|
+
readonly projectId?: number | undefined;
|
|
552
|
+
} & {
|
|
553
|
+
readonly startDate?: string | undefined;
|
|
554
|
+
} & {
|
|
555
|
+
readonly state?: string | undefined;
|
|
556
|
+
} & {
|
|
557
|
+
readonly id: number;
|
|
558
558
|
}, {}, {}>;
|
|
559
559
|
declare class Task extends Task_base {}
|
|
560
560
|
interface SetTaskStateParams {
|
|
@@ -616,29 +616,29 @@ declare const TaskForUser_base: Schema.Class<TaskForUser, {
|
|
|
616
616
|
endDate: Schema.optional<typeof Schema.String>;
|
|
617
617
|
state: Schema.optional<typeof Schema.String>;
|
|
618
618
|
}>, never, {
|
|
619
|
-
readonly
|
|
620
|
-
} & {
|
|
621
|
-
readonly startDate?: string | undefined;
|
|
619
|
+
readonly avail?: number | undefined;
|
|
622
620
|
} & {
|
|
623
|
-
readonly
|
|
621
|
+
readonly clientId?: number | undefined;
|
|
624
622
|
} & {
|
|
625
623
|
readonly endDate?: string | undefined;
|
|
626
|
-
} & {
|
|
627
|
-
readonly projectStartDate?: string | undefined;
|
|
628
624
|
} & {
|
|
629
625
|
readonly projectEndDate?: string | undefined;
|
|
630
626
|
} & {
|
|
631
|
-
readonly
|
|
627
|
+
readonly projectId?: number | undefined;
|
|
632
628
|
} & {
|
|
633
|
-
readonly
|
|
629
|
+
readonly projectStartDate?: string | undefined;
|
|
634
630
|
} & {
|
|
635
|
-
readonly
|
|
631
|
+
readonly remaining?: number | undefined;
|
|
632
|
+
} & {
|
|
633
|
+
readonly startDate?: string | undefined;
|
|
634
|
+
} & {
|
|
635
|
+
readonly state?: string | undefined;
|
|
636
636
|
} & {
|
|
637
637
|
readonly total?: number | undefined;
|
|
638
638
|
} & {
|
|
639
|
-
readonly
|
|
639
|
+
readonly workload?: number | undefined;
|
|
640
640
|
} & {
|
|
641
|
-
readonly
|
|
641
|
+
readonly id: number;
|
|
642
642
|
}, {}, {}>;
|
|
643
643
|
declare class TaskForUser extends TaskForUser_base {}
|
|
644
644
|
declare const TodoDetail: Schema.Record$<typeof Schema.String, typeof Schema.Unknown>;
|
|
@@ -676,23 +676,23 @@ declare const TodoSummary_base: Schema.Class<TodoSummary, {
|
|
|
676
676
|
dueDate: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
677
677
|
description: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
678
678
|
}>, never, {
|
|
679
|
-
readonly
|
|
679
|
+
readonly boardId?: number | undefined;
|
|
680
680
|
} & {
|
|
681
|
-
readonly
|
|
681
|
+
readonly boardListId?: number | undefined;
|
|
682
682
|
} & {
|
|
683
|
-
readonly
|
|
683
|
+
readonly description?: string | null | undefined;
|
|
684
684
|
} & {
|
|
685
|
-
readonly
|
|
685
|
+
readonly dueDate?: string | null | undefined;
|
|
686
686
|
} & {
|
|
687
687
|
readonly extId?: string | undefined;
|
|
688
688
|
} & {
|
|
689
|
-
readonly
|
|
689
|
+
readonly name?: string | undefined;
|
|
690
690
|
} & {
|
|
691
|
-
readonly
|
|
691
|
+
readonly ownerId?: number | undefined;
|
|
692
692
|
} & {
|
|
693
|
-
readonly
|
|
693
|
+
readonly state?: string | null | undefined;
|
|
694
694
|
} & {
|
|
695
|
-
readonly
|
|
695
|
+
readonly id: number;
|
|
696
696
|
}, {}, {}>;
|
|
697
697
|
declare class TodoSummary extends TodoSummary_base {}
|
|
698
698
|
declare function todoSummaryFromRaw(raw: TodoSummaryRaw): typeof TodoSummary.Type;
|
|
@@ -757,9 +757,9 @@ declare const TloConfigFromEnv: Effect.Effect<{
|
|
|
757
757
|
declare const TloConfigLive: Layer.Layer<TloConfig, effect_ConfigError0.ConfigError, never>;
|
|
758
758
|
//#endregion
|
|
759
759
|
//#region src/layers/TloLive.d.ts
|
|
760
|
-
declare const TloServicesLive: Layer.Layer<
|
|
760
|
+
declare const TloServicesLive: Layer.Layer<BoardService | TimeService, never, TeamLeaderClient>;
|
|
761
761
|
declare const TloClientLive: Layer.Layer<TeamLeaderClient, never, TloConfig>;
|
|
762
|
-
declare const TloLive: Layer.Layer<
|
|
762
|
+
declare const TloLive: Layer.Layer<BoardService | TimeService, never, TloConfig>;
|
|
763
763
|
//#endregion
|
|
764
764
|
//#region src/schemas/common.d.ts
|
|
765
765
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2digits/tlo-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"public": true,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,9 +32,10 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@arethetypeswrong/core": "0.18.2",
|
|
35
|
-
"@effect/language-service": "0.
|
|
35
|
+
"@effect/language-service": "0.72.0",
|
|
36
36
|
"@effect/platform-node": "0.104.0",
|
|
37
37
|
"@effect/vitest": "0.27.0",
|
|
38
|
+
"@typescript/native-preview": "7.0.0-dev.20260120.1",
|
|
38
39
|
"publint": "0.3.16",
|
|
39
40
|
"tsdown": "0.19.0",
|
|
40
41
|
"typescript": "5.9.3",
|