@snokam/mcp-api 0.157.0 → 0.159.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/accounting.json +798 -0
- package/specs/production/sanity.json +187 -0
- package/specs/test/accounting.json +798 -0
- package/specs/test/sanity.json +187 -0
package/specs/test/sanity.json
CHANGED
|
@@ -4610,6 +4610,90 @@
|
|
|
4610
4610
|
"type": "object",
|
|
4611
4611
|
"additionalProperties": true
|
|
4612
4612
|
},
|
|
4613
|
+
"GetSubcontractorsResult": {
|
|
4614
|
+
"items": {
|
|
4615
|
+
"properties": {
|
|
4616
|
+
"customerCode": {
|
|
4617
|
+
"type": "number",
|
|
4618
|
+
"format": "double",
|
|
4619
|
+
"nullable": true
|
|
4620
|
+
},
|
|
4621
|
+
"cutPercent": {
|
|
4622
|
+
"type": "number",
|
|
4623
|
+
"format": "double",
|
|
4624
|
+
"nullable": true
|
|
4625
|
+
},
|
|
4626
|
+
"supplierCode": {
|
|
4627
|
+
"type": "number",
|
|
4628
|
+
"format": "double"
|
|
4629
|
+
},
|
|
4630
|
+
"name": {
|
|
4631
|
+
"type": "string"
|
|
4632
|
+
},
|
|
4633
|
+
"sanityType": {
|
|
4634
|
+
"type": "string",
|
|
4635
|
+
"enum": [
|
|
4636
|
+
"subcontractor"
|
|
4637
|
+
],
|
|
4638
|
+
"nullable": false
|
|
4639
|
+
},
|
|
4640
|
+
"sanityId": {
|
|
4641
|
+
"type": "string"
|
|
4642
|
+
}
|
|
4643
|
+
},
|
|
4644
|
+
"required": [
|
|
4645
|
+
"customerCode",
|
|
4646
|
+
"cutPercent",
|
|
4647
|
+
"supplierCode",
|
|
4648
|
+
"name",
|
|
4649
|
+
"sanityType",
|
|
4650
|
+
"sanityId"
|
|
4651
|
+
],
|
|
4652
|
+
"type": "object"
|
|
4653
|
+
},
|
|
4654
|
+
"type": "array"
|
|
4655
|
+
},
|
|
4656
|
+
"GetSubcontractorBySupplierCodeResult": {
|
|
4657
|
+
"properties": {
|
|
4658
|
+
"customerCode": {
|
|
4659
|
+
"type": "number",
|
|
4660
|
+
"format": "double",
|
|
4661
|
+
"nullable": true
|
|
4662
|
+
},
|
|
4663
|
+
"cutPercent": {
|
|
4664
|
+
"type": "number",
|
|
4665
|
+
"format": "double",
|
|
4666
|
+
"nullable": true
|
|
4667
|
+
},
|
|
4668
|
+
"supplierCode": {
|
|
4669
|
+
"type": "number",
|
|
4670
|
+
"format": "double"
|
|
4671
|
+
},
|
|
4672
|
+
"name": {
|
|
4673
|
+
"type": "string"
|
|
4674
|
+
},
|
|
4675
|
+
"sanityType": {
|
|
4676
|
+
"type": "string",
|
|
4677
|
+
"enum": [
|
|
4678
|
+
"subcontractor"
|
|
4679
|
+
],
|
|
4680
|
+
"nullable": false
|
|
4681
|
+
},
|
|
4682
|
+
"sanityId": {
|
|
4683
|
+
"type": "string"
|
|
4684
|
+
}
|
|
4685
|
+
},
|
|
4686
|
+
"required": [
|
|
4687
|
+
"customerCode",
|
|
4688
|
+
"cutPercent",
|
|
4689
|
+
"supplierCode",
|
|
4690
|
+
"name",
|
|
4691
|
+
"sanityType",
|
|
4692
|
+
"sanityId"
|
|
4693
|
+
],
|
|
4694
|
+
"type": "object",
|
|
4695
|
+
"nullable": true
|
|
4696
|
+
},
|
|
4613
4697
|
"GetStockOwnersQueryResult": {
|
|
4614
4698
|
"items": {
|
|
4615
4699
|
"properties": {
|
|
@@ -51535,6 +51619,109 @@
|
|
|
51535
51619
|
]
|
|
51536
51620
|
}
|
|
51537
51621
|
},
|
|
51622
|
+
"/v1.0/subcontractor": {
|
|
51623
|
+
"get": {
|
|
51624
|
+
"operationId": "GetSubcontractors",
|
|
51625
|
+
"responses": {
|
|
51626
|
+
"200": {
|
|
51627
|
+
"description": "Ok",
|
|
51628
|
+
"content": {
|
|
51629
|
+
"application/json": {
|
|
51630
|
+
"schema": {
|
|
51631
|
+
"$ref": "#/components/schemas/GetSubcontractorsResult"
|
|
51632
|
+
}
|
|
51633
|
+
}
|
|
51634
|
+
}
|
|
51635
|
+
}
|
|
51636
|
+
},
|
|
51637
|
+
"tags": [
|
|
51638
|
+
"Subcontractor"
|
|
51639
|
+
],
|
|
51640
|
+
"security": [
|
|
51641
|
+
{
|
|
51642
|
+
"Implicit": [
|
|
51643
|
+
"WILL BE REPLACED"
|
|
51644
|
+
]
|
|
51645
|
+
}
|
|
51646
|
+
],
|
|
51647
|
+
"parameters": [
|
|
51648
|
+
{
|
|
51649
|
+
"in": "query",
|
|
51650
|
+
"name": "useCache",
|
|
51651
|
+
"required": false,
|
|
51652
|
+
"schema": {
|
|
51653
|
+
"default": true,
|
|
51654
|
+
"type": "boolean"
|
|
51655
|
+
}
|
|
51656
|
+
},
|
|
51657
|
+
{
|
|
51658
|
+
"in": "query",
|
|
51659
|
+
"name": "useCdn",
|
|
51660
|
+
"required": false,
|
|
51661
|
+
"schema": {
|
|
51662
|
+
"default": true,
|
|
51663
|
+
"type": "boolean"
|
|
51664
|
+
}
|
|
51665
|
+
}
|
|
51666
|
+
]
|
|
51667
|
+
}
|
|
51668
|
+
},
|
|
51669
|
+
"/v1.0/subcontractor/{supplierCode}": {
|
|
51670
|
+
"get": {
|
|
51671
|
+
"operationId": "GetSubcontractorBySupplierCode",
|
|
51672
|
+
"responses": {
|
|
51673
|
+
"200": {
|
|
51674
|
+
"description": "Ok",
|
|
51675
|
+
"content": {
|
|
51676
|
+
"application/json": {
|
|
51677
|
+
"schema": {
|
|
51678
|
+
"$ref": "#/components/schemas/GetSubcontractorBySupplierCodeResult"
|
|
51679
|
+
}
|
|
51680
|
+
}
|
|
51681
|
+
}
|
|
51682
|
+
}
|
|
51683
|
+
},
|
|
51684
|
+
"tags": [
|
|
51685
|
+
"Subcontractor"
|
|
51686
|
+
],
|
|
51687
|
+
"security": [
|
|
51688
|
+
{
|
|
51689
|
+
"Implicit": [
|
|
51690
|
+
"WILL BE REPLACED"
|
|
51691
|
+
]
|
|
51692
|
+
}
|
|
51693
|
+
],
|
|
51694
|
+
"parameters": [
|
|
51695
|
+
{
|
|
51696
|
+
"in": "path",
|
|
51697
|
+
"name": "supplierCode",
|
|
51698
|
+
"required": true,
|
|
51699
|
+
"schema": {
|
|
51700
|
+
"format": "double",
|
|
51701
|
+
"type": "number"
|
|
51702
|
+
}
|
|
51703
|
+
},
|
|
51704
|
+
{
|
|
51705
|
+
"in": "query",
|
|
51706
|
+
"name": "useCache",
|
|
51707
|
+
"required": false,
|
|
51708
|
+
"schema": {
|
|
51709
|
+
"default": true,
|
|
51710
|
+
"type": "boolean"
|
|
51711
|
+
}
|
|
51712
|
+
},
|
|
51713
|
+
{
|
|
51714
|
+
"in": "query",
|
|
51715
|
+
"name": "useCdn",
|
|
51716
|
+
"required": false,
|
|
51717
|
+
"schema": {
|
|
51718
|
+
"default": true,
|
|
51719
|
+
"type": "boolean"
|
|
51720
|
+
}
|
|
51721
|
+
}
|
|
51722
|
+
]
|
|
51723
|
+
}
|
|
51724
|
+
},
|
|
51538
51725
|
"/v1.0/stocks/owners": {
|
|
51539
51726
|
"get": {
|
|
51540
51727
|
"operationId": "GetStockOwners",
|