@snokam/mcp-api 2.12.0 → 2.14.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
|
@@ -255,6 +255,61 @@
|
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
257
|
"/v1.0/protected/{id}": {
|
|
258
|
+
"put": {
|
|
259
|
+
"tags": [
|
|
260
|
+
"Protected"
|
|
261
|
+
],
|
|
262
|
+
"summary": "Updates protected employee data by id or email",
|
|
263
|
+
"description": "Updates protected employee data for a specified employee id or email.",
|
|
264
|
+
"operationId": "PatchEmployeeProtected",
|
|
265
|
+
"parameters": [
|
|
266
|
+
{
|
|
267
|
+
"name": "id",
|
|
268
|
+
"in": "path",
|
|
269
|
+
"description": "Sanity id or employee email",
|
|
270
|
+
"required": true,
|
|
271
|
+
"schema": {
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
"x-ms-summary": "The employee id or email"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"requestBody": {
|
|
278
|
+
"description": "Employee data to update",
|
|
279
|
+
"content": {
|
|
280
|
+
"application/json": {
|
|
281
|
+
"schema": {
|
|
282
|
+
"$ref": "#/components/schemas/patchEmployee"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"required": true
|
|
287
|
+
},
|
|
288
|
+
"responses": {
|
|
289
|
+
"200": {
|
|
290
|
+
"description": "Protected employee data updated successfully",
|
|
291
|
+
"content": {
|
|
292
|
+
"application/json": {
|
|
293
|
+
"schema": {
|
|
294
|
+
"$ref": "#/components/schemas/protectedEmployee"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"x-ms-summary": "Success"
|
|
299
|
+
},
|
|
300
|
+
"401": {
|
|
301
|
+
"description": "User is not authorized",
|
|
302
|
+
"x-ms-summary": "Unauthorized"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"security": [
|
|
306
|
+
{
|
|
307
|
+
"Implicit": [
|
|
308
|
+
"api://1c7354b7-6006-4c53-9ba4-c277b2ba31bb/.default"
|
|
309
|
+
]
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
},
|
|
258
313
|
"get": {
|
|
259
314
|
"tags": [
|
|
260
315
|
"Protected"
|
|
@@ -27243,6 +27243,9 @@
|
|
|
27243
27243
|
},
|
|
27244
27244
|
"SanityEmployee": {
|
|
27245
27245
|
"properties": {
|
|
27246
|
+
"isBot": {
|
|
27247
|
+
"type": "boolean"
|
|
27248
|
+
},
|
|
27246
27249
|
"commissionTier": {
|
|
27247
27250
|
"properties": {
|
|
27248
27251
|
"commission": {
|
|
@@ -28298,6 +28301,12 @@
|
|
|
28298
28301
|
"name": {
|
|
28299
28302
|
"type": "string"
|
|
28300
28303
|
},
|
|
28304
|
+
"personalProjectRequirements": {
|
|
28305
|
+
"type": "string"
|
|
28306
|
+
},
|
|
28307
|
+
"isSeekingProject": {
|
|
28308
|
+
"type": "boolean"
|
|
28309
|
+
},
|
|
28301
28310
|
"active": {
|
|
28302
28311
|
"type": "boolean"
|
|
28303
28312
|
},
|
|
@@ -28319,9 +28328,6 @@
|
|
|
28319
28328
|
},
|
|
28320
28329
|
"sanityId": {
|
|
28321
28330
|
"type": "string"
|
|
28322
|
-
},
|
|
28323
|
-
"isBot": {
|
|
28324
|
-
"type": "boolean"
|
|
28325
28331
|
}
|
|
28326
28332
|
},
|
|
28327
28333
|
"required": [
|
|
@@ -28632,6 +28638,12 @@
|
|
|
28632
28638
|
"These are not the genders you are looking for"
|
|
28633
28639
|
]
|
|
28634
28640
|
},
|
|
28641
|
+
"personalProjectRequirements": {
|
|
28642
|
+
"type": "string"
|
|
28643
|
+
},
|
|
28644
|
+
"isSeekingProject": {
|
|
28645
|
+
"type": "boolean"
|
|
28646
|
+
},
|
|
28635
28647
|
"active": {
|
|
28636
28648
|
"type": "boolean"
|
|
28637
28649
|
},
|
|
@@ -28902,6 +28914,14 @@
|
|
|
28902
28914
|
"type": "boolean",
|
|
28903
28915
|
"nullable": true
|
|
28904
28916
|
},
|
|
28917
|
+
"isSeekingProject": {
|
|
28918
|
+
"type": "boolean",
|
|
28919
|
+
"nullable": true
|
|
28920
|
+
},
|
|
28921
|
+
"personalProjectRequirements": {
|
|
28922
|
+
"type": "string",
|
|
28923
|
+
"nullable": true
|
|
28924
|
+
},
|
|
28905
28925
|
"gender": {
|
|
28906
28926
|
"type": "string",
|
|
28907
28927
|
"enum": [
|
|
@@ -30820,6 +30840,9 @@
|
|
|
30820
30840
|
"preview": {
|
|
30821
30841
|
"type": "string"
|
|
30822
30842
|
},
|
|
30843
|
+
"subscribersNotified": {
|
|
30844
|
+
"type": "boolean"
|
|
30845
|
+
},
|
|
30823
30846
|
"articleSeries": {
|
|
30824
30847
|
"properties": {
|
|
30825
30848
|
"slug": {
|
|
@@ -31675,6 +31698,9 @@
|
|
|
31675
31698
|
"preview": {
|
|
31676
31699
|
"type": "string"
|
|
31677
31700
|
},
|
|
31701
|
+
"subscribersNotified": {
|
|
31702
|
+
"type": "boolean"
|
|
31703
|
+
},
|
|
31678
31704
|
"articleSeries": {
|
|
31679
31705
|
"properties": {
|
|
31680
31706
|
"slug": {
|
|
@@ -33267,6 +33293,9 @@
|
|
|
33267
33293
|
"preview": {
|
|
33268
33294
|
"type": "string"
|
|
33269
33295
|
},
|
|
33296
|
+
"subscribersNotified": {
|
|
33297
|
+
"type": "boolean"
|
|
33298
|
+
},
|
|
33270
33299
|
"articleSeries": {
|
|
33271
33300
|
"properties": {
|
|
33272
33301
|
"slug": {
|
|
@@ -34246,6 +34275,10 @@
|
|
|
34246
34275
|
],
|
|
34247
34276
|
"nullable": true
|
|
34248
34277
|
},
|
|
34278
|
+
"subscribersNotified": {
|
|
34279
|
+
"type": "boolean",
|
|
34280
|
+
"nullable": true
|
|
34281
|
+
},
|
|
34249
34282
|
"preview": {
|
|
34250
34283
|
"type": "string",
|
|
34251
34284
|
"nullable": true
|
|
@@ -255,6 +255,61 @@
|
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
257
|
"/v1.0/protected/{id}": {
|
|
258
|
+
"put": {
|
|
259
|
+
"tags": [
|
|
260
|
+
"Protected"
|
|
261
|
+
],
|
|
262
|
+
"summary": "Updates protected employee data by id or email",
|
|
263
|
+
"description": "Updates protected employee data for a specified employee id or email.",
|
|
264
|
+
"operationId": "PatchEmployeeProtected",
|
|
265
|
+
"parameters": [
|
|
266
|
+
{
|
|
267
|
+
"name": "id",
|
|
268
|
+
"in": "path",
|
|
269
|
+
"description": "Sanity id or employee email",
|
|
270
|
+
"required": true,
|
|
271
|
+
"schema": {
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
"x-ms-summary": "The employee id or email"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"requestBody": {
|
|
278
|
+
"description": "Employee data to update",
|
|
279
|
+
"content": {
|
|
280
|
+
"application/json": {
|
|
281
|
+
"schema": {
|
|
282
|
+
"$ref": "#/components/schemas/patchEmployee"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"required": true
|
|
287
|
+
},
|
|
288
|
+
"responses": {
|
|
289
|
+
"200": {
|
|
290
|
+
"description": "Protected employee data updated successfully",
|
|
291
|
+
"content": {
|
|
292
|
+
"application/json": {
|
|
293
|
+
"schema": {
|
|
294
|
+
"$ref": "#/components/schemas/protectedEmployee"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"x-ms-summary": "Success"
|
|
299
|
+
},
|
|
300
|
+
"401": {
|
|
301
|
+
"description": "User is not authorized",
|
|
302
|
+
"x-ms-summary": "Unauthorized"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"security": [
|
|
306
|
+
{
|
|
307
|
+
"Implicit": [
|
|
308
|
+
"api://e50e72ca-3b4a-413c-965d-f45ff561d551/.default"
|
|
309
|
+
]
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
},
|
|
258
313
|
"get": {
|
|
259
314
|
"tags": [
|
|
260
315
|
"Protected"
|
package/specs/test/sanity.json
CHANGED
|
@@ -27243,6 +27243,9 @@
|
|
|
27243
27243
|
},
|
|
27244
27244
|
"SanityEmployee": {
|
|
27245
27245
|
"properties": {
|
|
27246
|
+
"isBot": {
|
|
27247
|
+
"type": "boolean"
|
|
27248
|
+
},
|
|
27246
27249
|
"commissionTier": {
|
|
27247
27250
|
"properties": {
|
|
27248
27251
|
"commission": {
|
|
@@ -28298,6 +28301,12 @@
|
|
|
28298
28301
|
"name": {
|
|
28299
28302
|
"type": "string"
|
|
28300
28303
|
},
|
|
28304
|
+
"personalProjectRequirements": {
|
|
28305
|
+
"type": "string"
|
|
28306
|
+
},
|
|
28307
|
+
"isSeekingProject": {
|
|
28308
|
+
"type": "boolean"
|
|
28309
|
+
},
|
|
28301
28310
|
"active": {
|
|
28302
28311
|
"type": "boolean"
|
|
28303
28312
|
},
|
|
@@ -28319,9 +28328,6 @@
|
|
|
28319
28328
|
},
|
|
28320
28329
|
"sanityId": {
|
|
28321
28330
|
"type": "string"
|
|
28322
|
-
},
|
|
28323
|
-
"isBot": {
|
|
28324
|
-
"type": "boolean"
|
|
28325
28331
|
}
|
|
28326
28332
|
},
|
|
28327
28333
|
"required": [
|
|
@@ -28632,6 +28638,12 @@
|
|
|
28632
28638
|
"These are not the genders you are looking for"
|
|
28633
28639
|
]
|
|
28634
28640
|
},
|
|
28641
|
+
"personalProjectRequirements": {
|
|
28642
|
+
"type": "string"
|
|
28643
|
+
},
|
|
28644
|
+
"isSeekingProject": {
|
|
28645
|
+
"type": "boolean"
|
|
28646
|
+
},
|
|
28635
28647
|
"active": {
|
|
28636
28648
|
"type": "boolean"
|
|
28637
28649
|
},
|
|
@@ -28902,6 +28914,14 @@
|
|
|
28902
28914
|
"type": "boolean",
|
|
28903
28915
|
"nullable": true
|
|
28904
28916
|
},
|
|
28917
|
+
"isSeekingProject": {
|
|
28918
|
+
"type": "boolean",
|
|
28919
|
+
"nullable": true
|
|
28920
|
+
},
|
|
28921
|
+
"personalProjectRequirements": {
|
|
28922
|
+
"type": "string",
|
|
28923
|
+
"nullable": true
|
|
28924
|
+
},
|
|
28905
28925
|
"gender": {
|
|
28906
28926
|
"type": "string",
|
|
28907
28927
|
"enum": [
|
|
@@ -30820,6 +30840,9 @@
|
|
|
30820
30840
|
"preview": {
|
|
30821
30841
|
"type": "string"
|
|
30822
30842
|
},
|
|
30843
|
+
"subscribersNotified": {
|
|
30844
|
+
"type": "boolean"
|
|
30845
|
+
},
|
|
30823
30846
|
"articleSeries": {
|
|
30824
30847
|
"properties": {
|
|
30825
30848
|
"slug": {
|
|
@@ -31675,6 +31698,9 @@
|
|
|
31675
31698
|
"preview": {
|
|
31676
31699
|
"type": "string"
|
|
31677
31700
|
},
|
|
31701
|
+
"subscribersNotified": {
|
|
31702
|
+
"type": "boolean"
|
|
31703
|
+
},
|
|
31678
31704
|
"articleSeries": {
|
|
31679
31705
|
"properties": {
|
|
31680
31706
|
"slug": {
|
|
@@ -33267,6 +33293,9 @@
|
|
|
33267
33293
|
"preview": {
|
|
33268
33294
|
"type": "string"
|
|
33269
33295
|
},
|
|
33296
|
+
"subscribersNotified": {
|
|
33297
|
+
"type": "boolean"
|
|
33298
|
+
},
|
|
33270
33299
|
"articleSeries": {
|
|
33271
33300
|
"properties": {
|
|
33272
33301
|
"slug": {
|
|
@@ -34246,6 +34275,10 @@
|
|
|
34246
34275
|
],
|
|
34247
34276
|
"nullable": true
|
|
34248
34277
|
},
|
|
34278
|
+
"subscribersNotified": {
|
|
34279
|
+
"type": "boolean",
|
|
34280
|
+
"nullable": true
|
|
34281
|
+
},
|
|
34249
34282
|
"preview": {
|
|
34250
34283
|
"type": "string",
|
|
34251
34284
|
"nullable": true
|