@taiga-ai/mcp-server 0.37.0-dev.1105 → 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 -18
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -27536,12 +27536,6 @@ const REGISTRY_VENDORS = [
27536
27536
  const AWS_ROLE_ARN_PATTERN = /^arn:aws:iam::\d{12}:role\/[\w+=,.@/-]{1,512}$/;
27537
27537
  //#endregion
27538
27538
  //#region ../../packages/types/dist/gitlab.js
27539
- /**
27540
- * GitLab connections (PRO-3096, P-PRO-150): the shared request/response
27541
- * contract of `/v1/gitlab/connections`. A connection is one GitLab host
27542
- * (GitLab.com, a self-managed instance or GitLab Dedicated) with a bot token
27543
- * the tenant pasted. The token is write-only and appears in no response.
27544
- */
27545
27539
  const GITLAB_CONNECTION_STATUSES = [
27546
27540
  "valid",
27547
27541
  "auth_failed",
@@ -29583,6 +29577,36 @@ const deriveSource = discriminatedUnion("kind", [
29583
29577
  uploadId: uuid
29584
29578
  })
29585
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
+ });
29586
29610
  strictObject({ regulationId }), strictObject({ regulationId }), strictObject({
29587
29611
  documentType: string$2().min(1).max(100),
29588
29612
  sections: record(string$2(), unknown$1())
@@ -29604,7 +29628,11 @@ strictObject({ regulationId }), strictObject({ regulationId }), strictObject({
29604
29628
  add: number$1().int().positive(),
29605
29629
  monthlyMax: number$1().int().positive().max(AUTO_TOP_UP_LIMITS.maxMonthly),
29606
29630
  termsVersion: string$2().min(1).max(100).optional()
29607
- }), 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({
29608
29636
  sessionId: billingSessionId,
29609
29637
  turnOn: strictObject({ termsVersion: string$2().min(1).max(100) }).optional()
29610
29638
  }), settledBilling(object({ done: literal(true) })), strictObject({
@@ -29725,17 +29753,7 @@ strictObject({ regulationId }), strictObject({ regulationId }), strictObject({
29725
29753
  artifactsReferencingAny: number$1()
29726
29754
  }), strictObject({
29727
29755
  fileName: string$2().trim().min(1).max(200),
29728
- mimeType: _enum([
29729
- "application/pdf",
29730
- "text/csv",
29731
- "application/msword",
29732
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
29733
- "application/vnd.ms-excel",
29734
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
29735
- "text/html",
29736
- "text/plain",
29737
- "text/markdown"
29738
- ]),
29756
+ mimeType: _enum(DERIVE_SOURCE_MIME_TYPES),
29739
29757
  sizeBytes: number$1().int().positive(),
29740
29758
  sha256
29741
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.1105",
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",