@snokam/mcp-api 0.153.1 → 0.153.3
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 +25 -1
- package/specs/production/employees.json +32 -2
- package/specs/production/sales.json +96 -114
- package/specs/production/sanity.json +200 -3
- package/specs/test/accounting.json +25 -1
- package/specs/test/employees.json +32 -2
- package/specs/test/sales.json +96 -114
- package/specs/test/sanity.json +200 -3
|
@@ -1796,6 +1796,15 @@
|
|
|
1796
1796
|
"default": "single",
|
|
1797
1797
|
"nullable": true
|
|
1798
1798
|
},
|
|
1799
|
+
"parentalLeaveCoverage": {
|
|
1800
|
+
"enum": [
|
|
1801
|
+
"80",
|
|
1802
|
+
"100"
|
|
1803
|
+
],
|
|
1804
|
+
"type": "string",
|
|
1805
|
+
"default": "80",
|
|
1806
|
+
"nullable": true
|
|
1807
|
+
},
|
|
1799
1808
|
"sanityType": {
|
|
1800
1809
|
"enum": [
|
|
1801
1810
|
"employee"
|
|
@@ -2013,6 +2022,15 @@
|
|
|
2013
2022
|
"default": "cohabitant",
|
|
2014
2023
|
"nullable": true
|
|
2015
2024
|
},
|
|
2025
|
+
"parentalLeaveCoverage": {
|
|
2026
|
+
"enum": [
|
|
2027
|
+
"80",
|
|
2028
|
+
"100"
|
|
2029
|
+
],
|
|
2030
|
+
"type": "string",
|
|
2031
|
+
"default": "80",
|
|
2032
|
+
"nullable": true
|
|
2033
|
+
},
|
|
2016
2034
|
"sanityType": {
|
|
2017
2035
|
"enum": [
|
|
2018
2036
|
"employee"
|
|
@@ -2589,7 +2607,13 @@
|
|
|
2589
2607
|
"type": "object",
|
|
2590
2608
|
"properties": {
|
|
2591
2609
|
"model": {
|
|
2592
|
-
"
|
|
2610
|
+
"enum": [
|
|
2611
|
+
"snokam.ceo",
|
|
2612
|
+
"snokam.employee"
|
|
2613
|
+
],
|
|
2614
|
+
"type": "string",
|
|
2615
|
+
"default": "snokam.ceo",
|
|
2616
|
+
"nullable": true
|
|
2593
2617
|
}
|
|
2594
2618
|
}
|
|
2595
2619
|
},
|
|
@@ -2994,7 +3018,13 @@
|
|
|
2994
3018
|
"type": "object",
|
|
2995
3019
|
"properties": {
|
|
2996
3020
|
"model": {
|
|
2997
|
-
"
|
|
3021
|
+
"enum": [
|
|
3022
|
+
"snokam.ceo",
|
|
3023
|
+
"snokam.employee"
|
|
3024
|
+
],
|
|
3025
|
+
"type": "string",
|
|
3026
|
+
"default": "snokam.ceo",
|
|
3027
|
+
"nullable": true
|
|
2998
3028
|
}
|
|
2999
3029
|
}
|
|
3000
3030
|
},
|
package/specs/test/sales.json
CHANGED
|
@@ -2109,13 +2109,13 @@
|
|
|
2109
2109
|
],
|
|
2110
2110
|
"responses": {
|
|
2111
2111
|
"200": {
|
|
2112
|
-
"description": "Payload of Array of
|
|
2112
|
+
"description": "Payload of Array of CrmOpportunity",
|
|
2113
2113
|
"content": {
|
|
2114
2114
|
"application/json": {
|
|
2115
2115
|
"schema": {
|
|
2116
2116
|
"type": "array",
|
|
2117
2117
|
"items": {
|
|
2118
|
-
"$ref": "#/components/schemas/
|
|
2118
|
+
"$ref": "#/components/schemas/crmOpportunity"
|
|
2119
2119
|
}
|
|
2120
2120
|
}
|
|
2121
2121
|
}
|
|
@@ -2143,13 +2143,13 @@
|
|
|
2143
2143
|
"operationId": "ListSalesforceOpportunityStages",
|
|
2144
2144
|
"responses": {
|
|
2145
2145
|
"200": {
|
|
2146
|
-
"description": "Payload of Array of
|
|
2146
|
+
"description": "Payload of Array of CrmStage",
|
|
2147
2147
|
"content": {
|
|
2148
2148
|
"application/json": {
|
|
2149
2149
|
"schema": {
|
|
2150
2150
|
"type": "array",
|
|
2151
2151
|
"items": {
|
|
2152
|
-
"$ref": "#/components/schemas/
|
|
2152
|
+
"$ref": "#/components/schemas/crmStage"
|
|
2153
2153
|
}
|
|
2154
2154
|
}
|
|
2155
2155
|
}
|
|
@@ -3808,6 +3808,98 @@
|
|
|
3808
3808
|
}
|
|
3809
3809
|
}
|
|
3810
3810
|
},
|
|
3811
|
+
"crmOpportunity": {
|
|
3812
|
+
"type": "object",
|
|
3813
|
+
"properties": {
|
|
3814
|
+
"id": {
|
|
3815
|
+
"type": "string"
|
|
3816
|
+
},
|
|
3817
|
+
"name": {
|
|
3818
|
+
"type": "string"
|
|
3819
|
+
},
|
|
3820
|
+
"stage": {
|
|
3821
|
+
"type": "string"
|
|
3822
|
+
},
|
|
3823
|
+
"closeDate": {
|
|
3824
|
+
"type": "string",
|
|
3825
|
+
"format": "date-time",
|
|
3826
|
+
"nullable": true
|
|
3827
|
+
},
|
|
3828
|
+
"isClosed": {
|
|
3829
|
+
"type": "boolean"
|
|
3830
|
+
},
|
|
3831
|
+
"isWon": {
|
|
3832
|
+
"type": "boolean"
|
|
3833
|
+
},
|
|
3834
|
+
"amount": {
|
|
3835
|
+
"type": "number",
|
|
3836
|
+
"format": "double",
|
|
3837
|
+
"nullable": true
|
|
3838
|
+
},
|
|
3839
|
+
"account": {
|
|
3840
|
+
"$ref": "#/components/schemas/crmParty"
|
|
3841
|
+
},
|
|
3842
|
+
"owner": {
|
|
3843
|
+
"$ref": "#/components/schemas/crmParty"
|
|
3844
|
+
},
|
|
3845
|
+
"tenderId": {
|
|
3846
|
+
"type": "string"
|
|
3847
|
+
},
|
|
3848
|
+
"locator": {
|
|
3849
|
+
"$ref": "#/components/schemas/crmRecordLocator"
|
|
3850
|
+
}
|
|
3851
|
+
}
|
|
3852
|
+
},
|
|
3853
|
+
"crmParty": {
|
|
3854
|
+
"type": "object",
|
|
3855
|
+
"properties": {
|
|
3856
|
+
"id": {
|
|
3857
|
+
"type": "string"
|
|
3858
|
+
},
|
|
3859
|
+
"name": {
|
|
3860
|
+
"type": "string"
|
|
3861
|
+
},
|
|
3862
|
+
"email": {
|
|
3863
|
+
"type": "string"
|
|
3864
|
+
}
|
|
3865
|
+
}
|
|
3866
|
+
},
|
|
3867
|
+
"crmRecordLocator": {
|
|
3868
|
+
"type": "object",
|
|
3869
|
+
"properties": {
|
|
3870
|
+
"type": {
|
|
3871
|
+
"type": "string"
|
|
3872
|
+
},
|
|
3873
|
+
"url": {
|
|
3874
|
+
"type": "string"
|
|
3875
|
+
}
|
|
3876
|
+
}
|
|
3877
|
+
},
|
|
3878
|
+
"crmStage": {
|
|
3879
|
+
"type": "object",
|
|
3880
|
+
"properties": {
|
|
3881
|
+
"label": {
|
|
3882
|
+
"type": "string"
|
|
3883
|
+
},
|
|
3884
|
+
"apiName": {
|
|
3885
|
+
"type": "string"
|
|
3886
|
+
},
|
|
3887
|
+
"isActive": {
|
|
3888
|
+
"type": "boolean"
|
|
3889
|
+
},
|
|
3890
|
+
"isClosed": {
|
|
3891
|
+
"type": "boolean"
|
|
3892
|
+
},
|
|
3893
|
+
"isWon": {
|
|
3894
|
+
"type": "boolean"
|
|
3895
|
+
},
|
|
3896
|
+
"sortOrder": {
|
|
3897
|
+
"type": "integer",
|
|
3898
|
+
"format": "int32",
|
|
3899
|
+
"nullable": true
|
|
3900
|
+
}
|
|
3901
|
+
}
|
|
3902
|
+
},
|
|
3811
3903
|
"deleteFailedTendersResponse": {
|
|
3812
3904
|
"type": "object",
|
|
3813
3905
|
"properties": {
|
|
@@ -4173,116 +4265,6 @@
|
|
|
4173
4265
|
},
|
|
4174
4266
|
"nullable": true
|
|
4175
4267
|
},
|
|
4176
|
-
"salesforceAttributes": {
|
|
4177
|
-
"type": "object",
|
|
4178
|
-
"properties": {
|
|
4179
|
-
"type": {
|
|
4180
|
-
"type": "string",
|
|
4181
|
-
"nullable": true
|
|
4182
|
-
},
|
|
4183
|
-
"url": {
|
|
4184
|
-
"type": "string",
|
|
4185
|
-
"nullable": true
|
|
4186
|
-
}
|
|
4187
|
-
},
|
|
4188
|
-
"nullable": true
|
|
4189
|
-
},
|
|
4190
|
-
"salesforceOpportunity": {
|
|
4191
|
-
"type": "object",
|
|
4192
|
-
"properties": {
|
|
4193
|
-
"attributes": {
|
|
4194
|
-
"$ref": "#/components/schemas/salesforceAttributes"
|
|
4195
|
-
},
|
|
4196
|
-
"Id": {
|
|
4197
|
-
"type": "string",
|
|
4198
|
-
"nullable": true
|
|
4199
|
-
},
|
|
4200
|
-
"Name": {
|
|
4201
|
-
"type": "string",
|
|
4202
|
-
"nullable": true
|
|
4203
|
-
},
|
|
4204
|
-
"StageName": {
|
|
4205
|
-
"type": "string",
|
|
4206
|
-
"nullable": true
|
|
4207
|
-
},
|
|
4208
|
-
"CloseDate": {
|
|
4209
|
-
"type": "string",
|
|
4210
|
-
"format": "date-time",
|
|
4211
|
-
"nullable": true
|
|
4212
|
-
},
|
|
4213
|
-
"IsClosed": {
|
|
4214
|
-
"type": "boolean",
|
|
4215
|
-
"nullable": true
|
|
4216
|
-
},
|
|
4217
|
-
"IsWon": {
|
|
4218
|
-
"type": "boolean",
|
|
4219
|
-
"nullable": true
|
|
4220
|
-
},
|
|
4221
|
-
"Amount": {
|
|
4222
|
-
"type": "number",
|
|
4223
|
-
"format": "double",
|
|
4224
|
-
"nullable": true
|
|
4225
|
-
},
|
|
4226
|
-
"Account": {
|
|
4227
|
-
"$ref": "#/components/schemas/salesforceReference"
|
|
4228
|
-
},
|
|
4229
|
-
"Owner": {
|
|
4230
|
-
"$ref": "#/components/schemas/salesforceReference"
|
|
4231
|
-
},
|
|
4232
|
-
"Snokam_Tender_Id__c": {
|
|
4233
|
-
"type": "string",
|
|
4234
|
-
"nullable": true
|
|
4235
|
-
}
|
|
4236
|
-
}
|
|
4237
|
-
},
|
|
4238
|
-
"salesforceOpportunityStage": {
|
|
4239
|
-
"type": "object",
|
|
4240
|
-
"properties": {
|
|
4241
|
-
"MasterLabel": {
|
|
4242
|
-
"type": "string",
|
|
4243
|
-
"nullable": true
|
|
4244
|
-
},
|
|
4245
|
-
"ApiName": {
|
|
4246
|
-
"type": "string",
|
|
4247
|
-
"nullable": true
|
|
4248
|
-
},
|
|
4249
|
-
"IsActive": {
|
|
4250
|
-
"type": "boolean",
|
|
4251
|
-
"nullable": true
|
|
4252
|
-
},
|
|
4253
|
-
"IsClosed": {
|
|
4254
|
-
"type": "boolean",
|
|
4255
|
-
"nullable": true
|
|
4256
|
-
},
|
|
4257
|
-
"IsWon": {
|
|
4258
|
-
"type": "boolean",
|
|
4259
|
-
"nullable": true
|
|
4260
|
-
},
|
|
4261
|
-
"SortOrder": {
|
|
4262
|
-
"type": "integer",
|
|
4263
|
-
"format": "int32",
|
|
4264
|
-
"nullable": true
|
|
4265
|
-
}
|
|
4266
|
-
}
|
|
4267
|
-
},
|
|
4268
|
-
"salesforceReference": {
|
|
4269
|
-
"type": "object",
|
|
4270
|
-
"properties": {
|
|
4271
|
-
"Name": {
|
|
4272
|
-
"type": "string",
|
|
4273
|
-
"nullable": true
|
|
4274
|
-
},
|
|
4275
|
-
"Id": {
|
|
4276
|
-
"type": "string",
|
|
4277
|
-
"nullable": true
|
|
4278
|
-
},
|
|
4279
|
-
"Email": {
|
|
4280
|
-
"type": "string",
|
|
4281
|
-
"nullable": true
|
|
4282
|
-
}
|
|
4283
|
-
},
|
|
4284
|
-
"nullable": true
|
|
4285
|
-
},
|
|
4286
4268
|
"salesforceRefreshResult": {
|
|
4287
4269
|
"type": "object",
|
|
4288
4270
|
"properties": {
|