@snokam/mcp-api 0.70.0 → 0.71.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 +1 -1
- package/specs/production/sanity.json +156 -0
- package/specs/test/sanity.json +156 -0
package/package.json
CHANGED
|
@@ -23307,6 +23307,126 @@
|
|
|
23307
23307
|
"type": "object",
|
|
23308
23308
|
"additionalProperties": true
|
|
23309
23309
|
},
|
|
23310
|
+
"SanityCreateGadgetBudget": {
|
|
23311
|
+
"properties": {
|
|
23312
|
+
"yearlyBudgets": {
|
|
23313
|
+
"items": {
|
|
23314
|
+
"properties": {
|
|
23315
|
+
"sanityKey": {
|
|
23316
|
+
"type": "string"
|
|
23317
|
+
},
|
|
23318
|
+
"sanityType": {
|
|
23319
|
+
"type": "string",
|
|
23320
|
+
"enum": [
|
|
23321
|
+
"yearlyBudget"
|
|
23322
|
+
],
|
|
23323
|
+
"nullable": false
|
|
23324
|
+
},
|
|
23325
|
+
"equipmentList": {
|
|
23326
|
+
"items": {
|
|
23327
|
+
"oneOf": [
|
|
23328
|
+
{
|
|
23329
|
+
"allOf": [
|
|
23330
|
+
{
|
|
23331
|
+
"properties": {
|
|
23332
|
+
"sanityKey": {
|
|
23333
|
+
"type": "string"
|
|
23334
|
+
}
|
|
23335
|
+
},
|
|
23336
|
+
"required": [
|
|
23337
|
+
"sanityKey"
|
|
23338
|
+
],
|
|
23339
|
+
"type": "object"
|
|
23340
|
+
},
|
|
23341
|
+
{
|
|
23342
|
+
"$ref": "#/components/schemas/Poweroffice"
|
|
23343
|
+
}
|
|
23344
|
+
]
|
|
23345
|
+
},
|
|
23346
|
+
{
|
|
23347
|
+
"properties": {
|
|
23348
|
+
"sanityKey": {
|
|
23349
|
+
"type": "string"
|
|
23350
|
+
},
|
|
23351
|
+
"sanityType": {
|
|
23352
|
+
"type": "string",
|
|
23353
|
+
"enum": [
|
|
23354
|
+
"equipment"
|
|
23355
|
+
],
|
|
23356
|
+
"nullable": false
|
|
23357
|
+
},
|
|
23358
|
+
"budgetCost": {
|
|
23359
|
+
"type": "number",
|
|
23360
|
+
"format": "double"
|
|
23361
|
+
},
|
|
23362
|
+
"equipment": {
|
|
23363
|
+
"$ref": "#/components/schemas/EquipmentReference"
|
|
23364
|
+
}
|
|
23365
|
+
},
|
|
23366
|
+
"required": [
|
|
23367
|
+
"sanityKey",
|
|
23368
|
+
"sanityType"
|
|
23369
|
+
],
|
|
23370
|
+
"type": "object"
|
|
23371
|
+
},
|
|
23372
|
+
{
|
|
23373
|
+
"allOf": [
|
|
23374
|
+
{
|
|
23375
|
+
"properties": {
|
|
23376
|
+
"sanityKey": {
|
|
23377
|
+
"type": "string"
|
|
23378
|
+
}
|
|
23379
|
+
},
|
|
23380
|
+
"required": [
|
|
23381
|
+
"sanityKey"
|
|
23382
|
+
],
|
|
23383
|
+
"type": "object"
|
|
23384
|
+
},
|
|
23385
|
+
{
|
|
23386
|
+
"$ref": "#/components/schemas/Other"
|
|
23387
|
+
}
|
|
23388
|
+
]
|
|
23389
|
+
}
|
|
23390
|
+
]
|
|
23391
|
+
},
|
|
23392
|
+
"type": "array"
|
|
23393
|
+
},
|
|
23394
|
+
"amount": {
|
|
23395
|
+
"type": "number",
|
|
23396
|
+
"format": "double"
|
|
23397
|
+
},
|
|
23398
|
+
"year": {
|
|
23399
|
+
"type": "number",
|
|
23400
|
+
"format": "double"
|
|
23401
|
+
}
|
|
23402
|
+
},
|
|
23403
|
+
"required": [
|
|
23404
|
+
"sanityKey",
|
|
23405
|
+
"sanityType"
|
|
23406
|
+
],
|
|
23407
|
+
"type": "object"
|
|
23408
|
+
},
|
|
23409
|
+
"type": "array"
|
|
23410
|
+
},
|
|
23411
|
+
"employee": {
|
|
23412
|
+
"$ref": "#/components/schemas/EmployeeReference"
|
|
23413
|
+
},
|
|
23414
|
+
"sanityType": {
|
|
23415
|
+
"type": "string",
|
|
23416
|
+
"enum": [
|
|
23417
|
+
"gadget"
|
|
23418
|
+
],
|
|
23419
|
+
"nullable": false
|
|
23420
|
+
}
|
|
23421
|
+
},
|
|
23422
|
+
"required": [
|
|
23423
|
+
"yearlyBudgets",
|
|
23424
|
+
"employee",
|
|
23425
|
+
"sanityType"
|
|
23426
|
+
],
|
|
23427
|
+
"type": "object",
|
|
23428
|
+
"additionalProperties": true
|
|
23429
|
+
},
|
|
23310
23430
|
"SanityYearlyGadgetBudget": {
|
|
23311
23431
|
"properties": {
|
|
23312
23432
|
"sanityKey": {
|
|
@@ -51452,6 +51572,42 @@
|
|
|
51452
51572
|
}
|
|
51453
51573
|
}
|
|
51454
51574
|
]
|
|
51575
|
+
},
|
|
51576
|
+
"post": {
|
|
51577
|
+
"operationId": "CreateGadgetBudget",
|
|
51578
|
+
"responses": {
|
|
51579
|
+
"200": {
|
|
51580
|
+
"description": "Ok",
|
|
51581
|
+
"content": {
|
|
51582
|
+
"application/json": {
|
|
51583
|
+
"schema": {
|
|
51584
|
+
"$ref": "#/components/schemas/SanityGadgetBudget"
|
|
51585
|
+
}
|
|
51586
|
+
}
|
|
51587
|
+
}
|
|
51588
|
+
}
|
|
51589
|
+
},
|
|
51590
|
+
"tags": [
|
|
51591
|
+
"GadgetBudgets"
|
|
51592
|
+
],
|
|
51593
|
+
"security": [
|
|
51594
|
+
{
|
|
51595
|
+
"Implicit": [
|
|
51596
|
+
"api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
|
|
51597
|
+
]
|
|
51598
|
+
}
|
|
51599
|
+
],
|
|
51600
|
+
"parameters": [],
|
|
51601
|
+
"requestBody": {
|
|
51602
|
+
"required": true,
|
|
51603
|
+
"content": {
|
|
51604
|
+
"application/json": {
|
|
51605
|
+
"schema": {
|
|
51606
|
+
"$ref": "#/components/schemas/SanityCreateGadgetBudget"
|
|
51607
|
+
}
|
|
51608
|
+
}
|
|
51609
|
+
}
|
|
51610
|
+
}
|
|
51455
51611
|
}
|
|
51456
51612
|
},
|
|
51457
51613
|
"/v1.0/gadget-budgets/{id}": {
|
package/specs/test/sanity.json
CHANGED
|
@@ -23307,6 +23307,126 @@
|
|
|
23307
23307
|
"type": "object",
|
|
23308
23308
|
"additionalProperties": true
|
|
23309
23309
|
},
|
|
23310
|
+
"SanityCreateGadgetBudget": {
|
|
23311
|
+
"properties": {
|
|
23312
|
+
"yearlyBudgets": {
|
|
23313
|
+
"items": {
|
|
23314
|
+
"properties": {
|
|
23315
|
+
"sanityKey": {
|
|
23316
|
+
"type": "string"
|
|
23317
|
+
},
|
|
23318
|
+
"sanityType": {
|
|
23319
|
+
"type": "string",
|
|
23320
|
+
"enum": [
|
|
23321
|
+
"yearlyBudget"
|
|
23322
|
+
],
|
|
23323
|
+
"nullable": false
|
|
23324
|
+
},
|
|
23325
|
+
"equipmentList": {
|
|
23326
|
+
"items": {
|
|
23327
|
+
"oneOf": [
|
|
23328
|
+
{
|
|
23329
|
+
"allOf": [
|
|
23330
|
+
{
|
|
23331
|
+
"properties": {
|
|
23332
|
+
"sanityKey": {
|
|
23333
|
+
"type": "string"
|
|
23334
|
+
}
|
|
23335
|
+
},
|
|
23336
|
+
"required": [
|
|
23337
|
+
"sanityKey"
|
|
23338
|
+
],
|
|
23339
|
+
"type": "object"
|
|
23340
|
+
},
|
|
23341
|
+
{
|
|
23342
|
+
"$ref": "#/components/schemas/Poweroffice"
|
|
23343
|
+
}
|
|
23344
|
+
]
|
|
23345
|
+
},
|
|
23346
|
+
{
|
|
23347
|
+
"properties": {
|
|
23348
|
+
"sanityKey": {
|
|
23349
|
+
"type": "string"
|
|
23350
|
+
},
|
|
23351
|
+
"sanityType": {
|
|
23352
|
+
"type": "string",
|
|
23353
|
+
"enum": [
|
|
23354
|
+
"equipment"
|
|
23355
|
+
],
|
|
23356
|
+
"nullable": false
|
|
23357
|
+
},
|
|
23358
|
+
"budgetCost": {
|
|
23359
|
+
"type": "number",
|
|
23360
|
+
"format": "double"
|
|
23361
|
+
},
|
|
23362
|
+
"equipment": {
|
|
23363
|
+
"$ref": "#/components/schemas/EquipmentReference"
|
|
23364
|
+
}
|
|
23365
|
+
},
|
|
23366
|
+
"required": [
|
|
23367
|
+
"sanityKey",
|
|
23368
|
+
"sanityType"
|
|
23369
|
+
],
|
|
23370
|
+
"type": "object"
|
|
23371
|
+
},
|
|
23372
|
+
{
|
|
23373
|
+
"allOf": [
|
|
23374
|
+
{
|
|
23375
|
+
"properties": {
|
|
23376
|
+
"sanityKey": {
|
|
23377
|
+
"type": "string"
|
|
23378
|
+
}
|
|
23379
|
+
},
|
|
23380
|
+
"required": [
|
|
23381
|
+
"sanityKey"
|
|
23382
|
+
],
|
|
23383
|
+
"type": "object"
|
|
23384
|
+
},
|
|
23385
|
+
{
|
|
23386
|
+
"$ref": "#/components/schemas/Other"
|
|
23387
|
+
}
|
|
23388
|
+
]
|
|
23389
|
+
}
|
|
23390
|
+
]
|
|
23391
|
+
},
|
|
23392
|
+
"type": "array"
|
|
23393
|
+
},
|
|
23394
|
+
"amount": {
|
|
23395
|
+
"type": "number",
|
|
23396
|
+
"format": "double"
|
|
23397
|
+
},
|
|
23398
|
+
"year": {
|
|
23399
|
+
"type": "number",
|
|
23400
|
+
"format": "double"
|
|
23401
|
+
}
|
|
23402
|
+
},
|
|
23403
|
+
"required": [
|
|
23404
|
+
"sanityKey",
|
|
23405
|
+
"sanityType"
|
|
23406
|
+
],
|
|
23407
|
+
"type": "object"
|
|
23408
|
+
},
|
|
23409
|
+
"type": "array"
|
|
23410
|
+
},
|
|
23411
|
+
"employee": {
|
|
23412
|
+
"$ref": "#/components/schemas/EmployeeReference"
|
|
23413
|
+
},
|
|
23414
|
+
"sanityType": {
|
|
23415
|
+
"type": "string",
|
|
23416
|
+
"enum": [
|
|
23417
|
+
"gadget"
|
|
23418
|
+
],
|
|
23419
|
+
"nullable": false
|
|
23420
|
+
}
|
|
23421
|
+
},
|
|
23422
|
+
"required": [
|
|
23423
|
+
"yearlyBudgets",
|
|
23424
|
+
"employee",
|
|
23425
|
+
"sanityType"
|
|
23426
|
+
],
|
|
23427
|
+
"type": "object",
|
|
23428
|
+
"additionalProperties": true
|
|
23429
|
+
},
|
|
23310
23430
|
"SanityYearlyGadgetBudget": {
|
|
23311
23431
|
"properties": {
|
|
23312
23432
|
"sanityKey": {
|
|
@@ -51452,6 +51572,42 @@
|
|
|
51452
51572
|
}
|
|
51453
51573
|
}
|
|
51454
51574
|
]
|
|
51575
|
+
},
|
|
51576
|
+
"post": {
|
|
51577
|
+
"operationId": "CreateGadgetBudget",
|
|
51578
|
+
"responses": {
|
|
51579
|
+
"200": {
|
|
51580
|
+
"description": "Ok",
|
|
51581
|
+
"content": {
|
|
51582
|
+
"application/json": {
|
|
51583
|
+
"schema": {
|
|
51584
|
+
"$ref": "#/components/schemas/SanityGadgetBudget"
|
|
51585
|
+
}
|
|
51586
|
+
}
|
|
51587
|
+
}
|
|
51588
|
+
}
|
|
51589
|
+
},
|
|
51590
|
+
"tags": [
|
|
51591
|
+
"GadgetBudgets"
|
|
51592
|
+
],
|
|
51593
|
+
"security": [
|
|
51594
|
+
{
|
|
51595
|
+
"Implicit": [
|
|
51596
|
+
"api://5dc55e32-6742-4fe9-b8b6-581cf56af144/.default"
|
|
51597
|
+
]
|
|
51598
|
+
}
|
|
51599
|
+
],
|
|
51600
|
+
"parameters": [],
|
|
51601
|
+
"requestBody": {
|
|
51602
|
+
"required": true,
|
|
51603
|
+
"content": {
|
|
51604
|
+
"application/json": {
|
|
51605
|
+
"schema": {
|
|
51606
|
+
"$ref": "#/components/schemas/SanityCreateGadgetBudget"
|
|
51607
|
+
}
|
|
51608
|
+
}
|
|
51609
|
+
}
|
|
51610
|
+
}
|
|
51455
51611
|
}
|
|
51456
51612
|
},
|
|
51457
51613
|
"/v1.0/gadget-budgets/{id}": {
|