@snokam/mcp-api 0.134.0 → 0.136.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": "0.134.0",
3
+ "version": "0.136.0",
4
4
  "description": "MCP server exposing Snokam backend APIs as tools for Claude Code and other MCP clients",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23600,6 +23600,43 @@
23600
23600
  "type": "object",
23601
23601
  "nullable": true
23602
23602
  },
23603
+ "SanityCreateGroup": {
23604
+ "properties": {
23605
+ "name": {
23606
+ "type": "string"
23607
+ },
23608
+ "permissions": {
23609
+ "type": "string",
23610
+ "nullable": true
23611
+ },
23612
+ "leaders": {
23613
+ "items": {
23614
+ "allOf": [
23615
+ {
23616
+ "properties": {
23617
+ "sanityKey": {
23618
+ "type": "string"
23619
+ }
23620
+ },
23621
+ "required": [
23622
+ "sanityKey"
23623
+ ],
23624
+ "type": "object"
23625
+ },
23626
+ {
23627
+ "$ref": "#/components/schemas/EmployeeReference"
23628
+ }
23629
+ ]
23630
+ },
23631
+ "type": "array"
23632
+ }
23633
+ },
23634
+ "required": [
23635
+ "name"
23636
+ ],
23637
+ "type": "object",
23638
+ "additionalProperties": true
23639
+ },
23603
23640
  "Pick_SanityPatch_Group_.Exclude_keyofSanityPatch_Group_.scopeGrants__": {
23604
23641
  "properties": {
23605
23642
  "sanityType": {
@@ -54848,6 +54885,42 @@
54848
54885
  }
54849
54886
  }
54850
54887
  ]
54888
+ },
54889
+ "post": {
54890
+ "operationId": "CreateGroup",
54891
+ "responses": {
54892
+ "200": {
54893
+ "description": "Ok",
54894
+ "content": {
54895
+ "application/json": {
54896
+ "schema": {
54897
+ "$ref": "#/components/schemas/SanityGroup"
54898
+ }
54899
+ }
54900
+ }
54901
+ }
54902
+ },
54903
+ "tags": [
54904
+ "Group"
54905
+ ],
54906
+ "security": [
54907
+ {
54908
+ "Implicit": [
54909
+ "WILL BE REPLACED"
54910
+ ]
54911
+ }
54912
+ ],
54913
+ "parameters": [],
54914
+ "requestBody": {
54915
+ "required": true,
54916
+ "content": {
54917
+ "application/json": {
54918
+ "schema": {
54919
+ "$ref": "#/components/schemas/SanityCreateGroup"
54920
+ }
54921
+ }
54922
+ }
54923
+ }
54851
54924
  }
54852
54925
  },
54853
54926
  "/v1.0/groups/{id}": {
@@ -54948,6 +55021,41 @@
54948
55021
  }
54949
55022
  }
54950
55023
  }
55024
+ },
55025
+ "delete": {
55026
+ "operationId": "DeleteGroup",
55027
+ "responses": {
55028
+ "200": {
55029
+ "description": "Ok",
55030
+ "content": {
55031
+ "application/json": {
55032
+ "schema": {
55033
+ "$ref": "#/components/schemas/SanityGroup"
55034
+ }
55035
+ }
55036
+ }
55037
+ }
55038
+ },
55039
+ "tags": [
55040
+ "Group"
55041
+ ],
55042
+ "security": [
55043
+ {
55044
+ "Implicit": [
55045
+ "WILL BE REPLACED"
55046
+ ]
55047
+ }
55048
+ ],
55049
+ "parameters": [
55050
+ {
55051
+ "in": "path",
55052
+ "name": "id",
55053
+ "required": true,
55054
+ "schema": {
55055
+ "type": "string"
55056
+ }
55057
+ }
55058
+ ]
54951
55059
  }
54952
55060
  },
54953
55061
  "/v1.0/goods": {
@@ -23600,6 +23600,43 @@
23600
23600
  "type": "object",
23601
23601
  "nullable": true
23602
23602
  },
23603
+ "SanityCreateGroup": {
23604
+ "properties": {
23605
+ "name": {
23606
+ "type": "string"
23607
+ },
23608
+ "permissions": {
23609
+ "type": "string",
23610
+ "nullable": true
23611
+ },
23612
+ "leaders": {
23613
+ "items": {
23614
+ "allOf": [
23615
+ {
23616
+ "properties": {
23617
+ "sanityKey": {
23618
+ "type": "string"
23619
+ }
23620
+ },
23621
+ "required": [
23622
+ "sanityKey"
23623
+ ],
23624
+ "type": "object"
23625
+ },
23626
+ {
23627
+ "$ref": "#/components/schemas/EmployeeReference"
23628
+ }
23629
+ ]
23630
+ },
23631
+ "type": "array"
23632
+ }
23633
+ },
23634
+ "required": [
23635
+ "name"
23636
+ ],
23637
+ "type": "object",
23638
+ "additionalProperties": true
23639
+ },
23603
23640
  "Pick_SanityPatch_Group_.Exclude_keyofSanityPatch_Group_.scopeGrants__": {
23604
23641
  "properties": {
23605
23642
  "sanityType": {
@@ -54848,6 +54885,42 @@
54848
54885
  }
54849
54886
  }
54850
54887
  ]
54888
+ },
54889
+ "post": {
54890
+ "operationId": "CreateGroup",
54891
+ "responses": {
54892
+ "200": {
54893
+ "description": "Ok",
54894
+ "content": {
54895
+ "application/json": {
54896
+ "schema": {
54897
+ "$ref": "#/components/schemas/SanityGroup"
54898
+ }
54899
+ }
54900
+ }
54901
+ }
54902
+ },
54903
+ "tags": [
54904
+ "Group"
54905
+ ],
54906
+ "security": [
54907
+ {
54908
+ "Implicit": [
54909
+ "WILL BE REPLACED"
54910
+ ]
54911
+ }
54912
+ ],
54913
+ "parameters": [],
54914
+ "requestBody": {
54915
+ "required": true,
54916
+ "content": {
54917
+ "application/json": {
54918
+ "schema": {
54919
+ "$ref": "#/components/schemas/SanityCreateGroup"
54920
+ }
54921
+ }
54922
+ }
54923
+ }
54851
54924
  }
54852
54925
  },
54853
54926
  "/v1.0/groups/{id}": {
@@ -54948,6 +55021,41 @@
54948
55021
  }
54949
55022
  }
54950
55023
  }
55024
+ },
55025
+ "delete": {
55026
+ "operationId": "DeleteGroup",
55027
+ "responses": {
55028
+ "200": {
55029
+ "description": "Ok",
55030
+ "content": {
55031
+ "application/json": {
55032
+ "schema": {
55033
+ "$ref": "#/components/schemas/SanityGroup"
55034
+ }
55035
+ }
55036
+ }
55037
+ }
55038
+ },
55039
+ "tags": [
55040
+ "Group"
55041
+ ],
55042
+ "security": [
55043
+ {
55044
+ "Implicit": [
55045
+ "WILL BE REPLACED"
55046
+ ]
55047
+ }
55048
+ ],
55049
+ "parameters": [
55050
+ {
55051
+ "in": "path",
55052
+ "name": "id",
55053
+ "required": true,
55054
+ "schema": {
55055
+ "type": "string"
55056
+ }
55057
+ }
55058
+ ]
54951
55059
  }
54952
55060
  },
54953
55061
  "/v1.0/goods": {