@snokam/mcp-api 3.6.0 → 3.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snokam/mcp-api",
3
- "version": "3.6.0",
3
+ "version": "3.7.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/snokam/monorepo.git",
@@ -2802,17 +2802,17 @@
2802
2802
  ]
2803
2803
  }
2804
2804
  },
2805
- "/v1.0/reinvoicing/subcontractor/run": {
2805
+ "/v1.0/reinvoicing/run": {
2806
2806
  "post": {
2807
2807
  "tags": [
2808
2808
  "Reinvoicing"
2809
2809
  ],
2810
- "summary": "Run the subcontractor draft automation now",
2811
- "description": "Runs the same batch as the nightly cron for the last full month to date: finds new incoming supplier invoices (bilag) on markup projects and creates the DRAFT re-invoices, skipping any bilag that already has a draft. Drafts are never sent.",
2812
- "operationId": "RunSubcontractorReinvoicing",
2810
+ "summary": "Run the re-invoicing draft automation now",
2811
+ "description": "Runs both nightly sweeps for the last full month to date. Markup: finds new incoming supplier invoices (bilag) on markup projects and creates the DRAFT re-invoices. Kick-back: matches forwarded customer invoices and creates the DRAFT provision invoices. Both skip anything already drafted, and drafts are never sent.",
2812
+ "operationId": "RunReinvoicing",
2813
2813
  "responses": {
2814
2814
  "200": {
2815
- "description": "The number of new draft invoices created.",
2815
+ "description": "New drafts created, split by subcontractor kind.",
2816
2816
  "content": {
2817
2817
  "application/json": {
2818
2818
  "schema": {
@@ -6722,6 +6722,14 @@
6722
6722
  "subcontractorRunResult": {
6723
6723
  "type": "object",
6724
6724
  "properties": {
6725
+ "markupDraftsCreated": {
6726
+ "type": "integer",
6727
+ "format": "int32"
6728
+ },
6729
+ "kickbackDraftsCreated": {
6730
+ "type": "integer",
6731
+ "format": "int32"
6732
+ },
6725
6733
  "draftsCreated": {
6726
6734
  "type": "integer",
6727
6735
  "format": "int32"
@@ -2802,17 +2802,17 @@
2802
2802
  ]
2803
2803
  }
2804
2804
  },
2805
- "/v1.0/reinvoicing/subcontractor/run": {
2805
+ "/v1.0/reinvoicing/run": {
2806
2806
  "post": {
2807
2807
  "tags": [
2808
2808
  "Reinvoicing"
2809
2809
  ],
2810
- "summary": "Run the subcontractor draft automation now",
2811
- "description": "Runs the same batch as the nightly cron for the last full month to date: finds new incoming supplier invoices (bilag) on markup projects and creates the DRAFT re-invoices, skipping any bilag that already has a draft. Drafts are never sent.",
2812
- "operationId": "RunSubcontractorReinvoicing",
2810
+ "summary": "Run the re-invoicing draft automation now",
2811
+ "description": "Runs both nightly sweeps for the last full month to date. Markup: finds new incoming supplier invoices (bilag) on markup projects and creates the DRAFT re-invoices. Kick-back: matches forwarded customer invoices and creates the DRAFT provision invoices. Both skip anything already drafted, and drafts are never sent.",
2812
+ "operationId": "RunReinvoicing",
2813
2813
  "responses": {
2814
2814
  "200": {
2815
- "description": "The number of new draft invoices created.",
2815
+ "description": "New drafts created, split by subcontractor kind.",
2816
2816
  "content": {
2817
2817
  "application/json": {
2818
2818
  "schema": {
@@ -6722,6 +6722,14 @@
6722
6722
  "subcontractorRunResult": {
6723
6723
  "type": "object",
6724
6724
  "properties": {
6725
+ "markupDraftsCreated": {
6726
+ "type": "integer",
6727
+ "format": "int32"
6728
+ },
6729
+ "kickbackDraftsCreated": {
6730
+ "type": "integer",
6731
+ "format": "int32"
6732
+ },
6725
6733
  "draftsCreated": {
6726
6734
  "type": "integer",
6727
6735
  "format": "int32"