@taiga-ai/mcp-server 0.37.0-dev.1106 → 0.37.0-dev.1107

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/index.js +36 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -29577,6 +29577,36 @@ const deriveSource = discriminatedUnion("kind", [
29577
29577
  uploadId: uuid
29578
29578
  })
29579
29579
  ]);
29580
+ /** The file types a derivation reads, as the derive routes take them. */
29581
+ const DERIVE_SOURCE_MIME_TYPES = [
29582
+ "application/pdf",
29583
+ "text/csv",
29584
+ "application/msword",
29585
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
29586
+ "application/vnd.ms-excel",
29587
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
29588
+ "text/html",
29589
+ "text/plain",
29590
+ "text/markdown"
29591
+ ];
29592
+ /** This month so far, as the statement will read it (PRO-4479). */
29593
+ const tenantMonthStatementSchema = object({
29594
+ periodStart: string$2(),
29595
+ repositoryLimit: number$1().int().nullable(),
29596
+ repositoryAmount: number$1().int().nullable(),
29597
+ aurorasCommitted: number$1().int(),
29598
+ committedAmount: number$1().int(),
29599
+ aurorasDrawn: number$1(),
29600
+ aurorasBeyond: number$1(),
29601
+ overageRate: number$1().int(),
29602
+ overageAmount: number$1().int(),
29603
+ discountPercent: number$1().nullable(),
29604
+ discountAmount: number$1().int(),
29605
+ totalAmount: number$1().int(),
29606
+ netAmount: number$1().int(),
29607
+ payment: _enum(["card", "invoice"]),
29608
+ paymentDays: number$1().int().nullable()
29609
+ });
29580
29610
  strictObject({ regulationId }), strictObject({ regulationId }), strictObject({
29581
29611
  documentType: string$2().min(1).max(100),
29582
29612
  sections: record(string$2(), unknown$1())
@@ -29598,7 +29628,11 @@ strictObject({ regulationId }), strictObject({ regulationId }), strictObject({
29598
29628
  add: number$1().int().positive(),
29599
29629
  monthlyMax: number$1().int().positive().max(AUTO_TOP_UP_LIMITS.maxMonthly),
29600
29630
  termsVersion: string$2().min(1).max(100).optional()
29601
- }), settledBilling(object({ done: literal(true) })), strictObject({ returnPath: billingReturnPath }), settledBilling(billingRedirect), strictObject({
29631
+ }), settledBilling(object({ done: literal(true) })), tenantMonthStatementSchema.nullable(), strictObject({ percent: union([
29632
+ literal(100),
29633
+ literal(150),
29634
+ literal(200)
29635
+ ]).nullable() }), strictObject({ returnPath: billingReturnPath }), settledBilling(billingRedirect), strictObject({
29602
29636
  sessionId: billingSessionId,
29603
29637
  turnOn: strictObject({ termsVersion: string$2().min(1).max(100) }).optional()
29604
29638
  }), settledBilling(object({ done: literal(true) })), strictObject({
@@ -29719,17 +29753,7 @@ strictObject({ regulationId }), strictObject({ regulationId }), strictObject({
29719
29753
  artifactsReferencingAny: number$1()
29720
29754
  }), strictObject({
29721
29755
  fileName: string$2().trim().min(1).max(200),
29722
- mimeType: _enum([
29723
- "application/pdf",
29724
- "text/csv",
29725
- "application/msword",
29726
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
29727
- "application/vnd.ms-excel",
29728
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
29729
- "text/html",
29730
- "text/plain",
29731
- "text/markdown"
29732
- ]),
29756
+ mimeType: _enum(DERIVE_SOURCE_MIME_TYPES),
29733
29757
  sizeBytes: number$1().int().positive(),
29734
29758
  sha256
29735
29759
  }), object({ upload: uploadGrant }), strictObject({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.37.0-dev.1106",
3
+ "version": "0.37.0-dev.1107",
4
4
  "description": "Taiga for AI coding assistants: read products, policies, initiatives and runs, and operate the line, over MCP",
5
5
  "mcpName": "ga.tai/mcp-server",
6
6
  "license": "UNLICENSED",