@snokam/mcp-api 3.9.0 → 3.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snokam/mcp-api",
3
- "version": "3.9.0",
3
+ "version": "3.10.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/snokam/monorepo.git",
@@ -1765,6 +1765,181 @@
1765
1765
  ]
1766
1766
  }
1767
1767
  },
1768
+ "/v1.0/protected/forecast/scenarios": {
1769
+ "get": {
1770
+ "tags": [
1771
+ "Forecast"
1772
+ ],
1773
+ "summary": "Lists the saved forecast scenarios for a year",
1774
+ "operationId": "ListForecastScenarios",
1775
+ "parameters": [
1776
+ {
1777
+ "name": "year",
1778
+ "in": "query",
1779
+ "required": true,
1780
+ "schema": {
1781
+ "type": "integer",
1782
+ "format": "int32"
1783
+ }
1784
+ }
1785
+ ],
1786
+ "responses": {
1787
+ "200": {
1788
+ "description": "Payload of Array of ForecastScenario",
1789
+ "content": {
1790
+ "application/json": {
1791
+ "schema": {
1792
+ "type": "array",
1793
+ "items": {
1794
+ "$ref": "#/components/schemas/forecastScenario"
1795
+ }
1796
+ }
1797
+ }
1798
+ },
1799
+ "x-ms-summary": "Success"
1800
+ }
1801
+ },
1802
+ "security": [
1803
+ {
1804
+ "Implicit": [
1805
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1806
+ ]
1807
+ },
1808
+ {
1809
+ "ApiKey": []
1810
+ }
1811
+ ]
1812
+ },
1813
+ "post": {
1814
+ "tags": [
1815
+ "Forecast"
1816
+ ],
1817
+ "summary": "Saves a new forecast scenario",
1818
+ "operationId": "CreateForecastScenario",
1819
+ "requestBody": {
1820
+ "content": {
1821
+ "application/json": {
1822
+ "schema": {
1823
+ "$ref": "#/components/schemas/forecastScenarioInput"
1824
+ }
1825
+ }
1826
+ },
1827
+ "required": true
1828
+ },
1829
+ "responses": {
1830
+ "200": {
1831
+ "description": "Payload of ForecastScenario",
1832
+ "content": {
1833
+ "application/json": {
1834
+ "schema": {
1835
+ "$ref": "#/components/schemas/forecastScenario"
1836
+ }
1837
+ }
1838
+ },
1839
+ "x-ms-summary": "Success"
1840
+ }
1841
+ },
1842
+ "security": [
1843
+ {
1844
+ "Implicit": [
1845
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1846
+ ]
1847
+ },
1848
+ {
1849
+ "ApiKey": []
1850
+ }
1851
+ ]
1852
+ }
1853
+ },
1854
+ "/v1.0/protected/forecast/scenarios/{id}": {
1855
+ "put": {
1856
+ "tags": [
1857
+ "Forecast"
1858
+ ],
1859
+ "summary": "Replaces a saved forecast scenario",
1860
+ "operationId": "UpdateForecastScenario",
1861
+ "parameters": [
1862
+ {
1863
+ "name": "id",
1864
+ "in": "path",
1865
+ "required": true,
1866
+ "schema": {
1867
+ "type": "string"
1868
+ }
1869
+ }
1870
+ ],
1871
+ "requestBody": {
1872
+ "content": {
1873
+ "application/json": {
1874
+ "schema": {
1875
+ "$ref": "#/components/schemas/forecastScenarioInput"
1876
+ }
1877
+ }
1878
+ },
1879
+ "required": true
1880
+ },
1881
+ "responses": {
1882
+ "200": {
1883
+ "description": "Payload of ForecastScenario",
1884
+ "content": {
1885
+ "application/json": {
1886
+ "schema": {
1887
+ "$ref": "#/components/schemas/forecastScenario"
1888
+ }
1889
+ }
1890
+ },
1891
+ "x-ms-summary": "Success"
1892
+ },
1893
+ "404": {
1894
+ "description": "No description",
1895
+ "x-ms-summary": "Not Found"
1896
+ }
1897
+ },
1898
+ "security": [
1899
+ {
1900
+ "Implicit": [
1901
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1902
+ ]
1903
+ },
1904
+ {
1905
+ "ApiKey": []
1906
+ }
1907
+ ]
1908
+ },
1909
+ "delete": {
1910
+ "tags": [
1911
+ "Forecast"
1912
+ ],
1913
+ "summary": "Deletes a saved forecast scenario",
1914
+ "operationId": "DeleteForecastScenario",
1915
+ "parameters": [
1916
+ {
1917
+ "name": "id",
1918
+ "in": "path",
1919
+ "required": true,
1920
+ "schema": {
1921
+ "type": "string"
1922
+ }
1923
+ }
1924
+ ],
1925
+ "responses": {
1926
+ "204": {
1927
+ "description": "No description",
1928
+ "x-ms-summary": "Deleted"
1929
+ }
1930
+ },
1931
+ "security": [
1932
+ {
1933
+ "Implicit": [
1934
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
1935
+ ]
1936
+ },
1937
+ {
1938
+ "ApiKey": []
1939
+ }
1940
+ ]
1941
+ }
1942
+ },
1768
1943
  "/v1.0/vouchers/gadgets": {
1769
1944
  "get": {
1770
1945
  "tags": [
@@ -4428,6 +4603,11 @@
4428
4603
  "type": "number",
4429
4604
  "format": "double"
4430
4605
  },
4606
+ "annualBaseSalary": {
4607
+ "type": "number",
4608
+ "format": "double",
4609
+ "nullable": true
4610
+ },
4431
4611
  "hourDistribution": {
4432
4612
  "$ref": "#/components/schemas/hourDistribution"
4433
4613
  },
@@ -4504,6 +4684,10 @@
4504
4684
  "type": "number",
4505
4685
  "format": "double"
4506
4686
  },
4687
+ "annualBaseSalary": {
4688
+ "type": "number",
4689
+ "format": "double"
4690
+ },
4507
4691
  "totalRevenue": {
4508
4692
  "type": "number",
4509
4693
  "format": "double"
@@ -4518,6 +4702,47 @@
4518
4702
  }
4519
4703
  }
4520
4704
  },
4705
+ "forecastScenario": {
4706
+ "type": "object",
4707
+ "properties": {
4708
+ "id": {
4709
+ "type": "string"
4710
+ },
4711
+ "year": {
4712
+ "type": "integer",
4713
+ "format": "int32"
4714
+ },
4715
+ "name": {
4716
+ "type": "string"
4717
+ },
4718
+ "parameters": {
4719
+ "$ref": "#/components/schemas/forecastParameters"
4720
+ },
4721
+ "createdAt": {
4722
+ "type": "string",
4723
+ "format": "date-time"
4724
+ },
4725
+ "updatedAt": {
4726
+ "type": "string",
4727
+ "format": "date-time"
4728
+ }
4729
+ }
4730
+ },
4731
+ "forecastScenarioInput": {
4732
+ "type": "object",
4733
+ "properties": {
4734
+ "year": {
4735
+ "type": "integer",
4736
+ "format": "int32"
4737
+ },
4738
+ "name": {
4739
+ "type": "string"
4740
+ },
4741
+ "parameters": {
4742
+ "$ref": "#/components/schemas/forecastParameters"
4743
+ }
4744
+ }
4745
+ },
4521
4746
  "from": {
4522
4747
  "type": "object",
4523
4748
  "properties": {
@@ -1765,6 +1765,181 @@
1765
1765
  ]
1766
1766
  }
1767
1767
  },
1768
+ "/v1.0/protected/forecast/scenarios": {
1769
+ "get": {
1770
+ "tags": [
1771
+ "Forecast"
1772
+ ],
1773
+ "summary": "Lists the saved forecast scenarios for a year",
1774
+ "operationId": "ListForecastScenarios",
1775
+ "parameters": [
1776
+ {
1777
+ "name": "year",
1778
+ "in": "query",
1779
+ "required": true,
1780
+ "schema": {
1781
+ "type": "integer",
1782
+ "format": "int32"
1783
+ }
1784
+ }
1785
+ ],
1786
+ "responses": {
1787
+ "200": {
1788
+ "description": "Payload of Array of ForecastScenario",
1789
+ "content": {
1790
+ "application/json": {
1791
+ "schema": {
1792
+ "type": "array",
1793
+ "items": {
1794
+ "$ref": "#/components/schemas/forecastScenario"
1795
+ }
1796
+ }
1797
+ }
1798
+ },
1799
+ "x-ms-summary": "Success"
1800
+ }
1801
+ },
1802
+ "security": [
1803
+ {
1804
+ "Implicit": [
1805
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
1806
+ ]
1807
+ },
1808
+ {
1809
+ "ApiKey": []
1810
+ }
1811
+ ]
1812
+ },
1813
+ "post": {
1814
+ "tags": [
1815
+ "Forecast"
1816
+ ],
1817
+ "summary": "Saves a new forecast scenario",
1818
+ "operationId": "CreateForecastScenario",
1819
+ "requestBody": {
1820
+ "content": {
1821
+ "application/json": {
1822
+ "schema": {
1823
+ "$ref": "#/components/schemas/forecastScenarioInput"
1824
+ }
1825
+ }
1826
+ },
1827
+ "required": true
1828
+ },
1829
+ "responses": {
1830
+ "200": {
1831
+ "description": "Payload of ForecastScenario",
1832
+ "content": {
1833
+ "application/json": {
1834
+ "schema": {
1835
+ "$ref": "#/components/schemas/forecastScenario"
1836
+ }
1837
+ }
1838
+ },
1839
+ "x-ms-summary": "Success"
1840
+ }
1841
+ },
1842
+ "security": [
1843
+ {
1844
+ "Implicit": [
1845
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
1846
+ ]
1847
+ },
1848
+ {
1849
+ "ApiKey": []
1850
+ }
1851
+ ]
1852
+ }
1853
+ },
1854
+ "/v1.0/protected/forecast/scenarios/{id}": {
1855
+ "put": {
1856
+ "tags": [
1857
+ "Forecast"
1858
+ ],
1859
+ "summary": "Replaces a saved forecast scenario",
1860
+ "operationId": "UpdateForecastScenario",
1861
+ "parameters": [
1862
+ {
1863
+ "name": "id",
1864
+ "in": "path",
1865
+ "required": true,
1866
+ "schema": {
1867
+ "type": "string"
1868
+ }
1869
+ }
1870
+ ],
1871
+ "requestBody": {
1872
+ "content": {
1873
+ "application/json": {
1874
+ "schema": {
1875
+ "$ref": "#/components/schemas/forecastScenarioInput"
1876
+ }
1877
+ }
1878
+ },
1879
+ "required": true
1880
+ },
1881
+ "responses": {
1882
+ "200": {
1883
+ "description": "Payload of ForecastScenario",
1884
+ "content": {
1885
+ "application/json": {
1886
+ "schema": {
1887
+ "$ref": "#/components/schemas/forecastScenario"
1888
+ }
1889
+ }
1890
+ },
1891
+ "x-ms-summary": "Success"
1892
+ },
1893
+ "404": {
1894
+ "description": "No description",
1895
+ "x-ms-summary": "Not Found"
1896
+ }
1897
+ },
1898
+ "security": [
1899
+ {
1900
+ "Implicit": [
1901
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
1902
+ ]
1903
+ },
1904
+ {
1905
+ "ApiKey": []
1906
+ }
1907
+ ]
1908
+ },
1909
+ "delete": {
1910
+ "tags": [
1911
+ "Forecast"
1912
+ ],
1913
+ "summary": "Deletes a saved forecast scenario",
1914
+ "operationId": "DeleteForecastScenario",
1915
+ "parameters": [
1916
+ {
1917
+ "name": "id",
1918
+ "in": "path",
1919
+ "required": true,
1920
+ "schema": {
1921
+ "type": "string"
1922
+ }
1923
+ }
1924
+ ],
1925
+ "responses": {
1926
+ "204": {
1927
+ "description": "No description",
1928
+ "x-ms-summary": "Deleted"
1929
+ }
1930
+ },
1931
+ "security": [
1932
+ {
1933
+ "Implicit": [
1934
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
1935
+ ]
1936
+ },
1937
+ {
1938
+ "ApiKey": []
1939
+ }
1940
+ ]
1941
+ }
1942
+ },
1768
1943
  "/v1.0/vouchers/gadgets": {
1769
1944
  "get": {
1770
1945
  "tags": [
@@ -4428,6 +4603,11 @@
4428
4603
  "type": "number",
4429
4604
  "format": "double"
4430
4605
  },
4606
+ "annualBaseSalary": {
4607
+ "type": "number",
4608
+ "format": "double",
4609
+ "nullable": true
4610
+ },
4431
4611
  "hourDistribution": {
4432
4612
  "$ref": "#/components/schemas/hourDistribution"
4433
4613
  },
@@ -4504,6 +4684,10 @@
4504
4684
  "type": "number",
4505
4685
  "format": "double"
4506
4686
  },
4687
+ "annualBaseSalary": {
4688
+ "type": "number",
4689
+ "format": "double"
4690
+ },
4507
4691
  "totalRevenue": {
4508
4692
  "type": "number",
4509
4693
  "format": "double"
@@ -4518,6 +4702,47 @@
4518
4702
  }
4519
4703
  }
4520
4704
  },
4705
+ "forecastScenario": {
4706
+ "type": "object",
4707
+ "properties": {
4708
+ "id": {
4709
+ "type": "string"
4710
+ },
4711
+ "year": {
4712
+ "type": "integer",
4713
+ "format": "int32"
4714
+ },
4715
+ "name": {
4716
+ "type": "string"
4717
+ },
4718
+ "parameters": {
4719
+ "$ref": "#/components/schemas/forecastParameters"
4720
+ },
4721
+ "createdAt": {
4722
+ "type": "string",
4723
+ "format": "date-time"
4724
+ },
4725
+ "updatedAt": {
4726
+ "type": "string",
4727
+ "format": "date-time"
4728
+ }
4729
+ }
4730
+ },
4731
+ "forecastScenarioInput": {
4732
+ "type": "object",
4733
+ "properties": {
4734
+ "year": {
4735
+ "type": "integer",
4736
+ "format": "int32"
4737
+ },
4738
+ "name": {
4739
+ "type": "string"
4740
+ },
4741
+ "parameters": {
4742
+ "$ref": "#/components/schemas/forecastParameters"
4743
+ }
4744
+ }
4745
+ },
4521
4746
  "from": {
4522
4747
  "type": "object",
4523
4748
  "properties": {