@snokam/mcp-api 0.76.2 → 0.76.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snokam/mcp-api",
3
- "version": "0.76.2",
3
+ "version": "0.76.3",
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": {
@@ -4391,6 +4391,9 @@
4391
4391
  "isBot": {
4392
4392
  "type": "boolean"
4393
4393
  },
4394
+ "isExternal": {
4395
+ "type": "boolean"
4396
+ },
4394
4397
  "isSeekingProject": {
4395
4398
  "type": "boolean"
4396
4399
  },
@@ -4617,6 +4620,14 @@
4617
4620
  "image": {
4618
4621
  "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
4619
4622
  },
4623
+ "isBot": {
4624
+ "type": "boolean",
4625
+ "nullable": true
4626
+ },
4627
+ "isExternal": {
4628
+ "type": "boolean",
4629
+ "nullable": true
4630
+ },
4620
4631
  "name": {
4621
4632
  "type": "string"
4622
4633
  },
@@ -1362,6 +1362,14 @@
1362
1362
  "image": {
1363
1363
  "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1364
1364
  },
1365
+ "isBot": {
1366
+ "type": "boolean",
1367
+ "nullable": true
1368
+ },
1369
+ "isExternal": {
1370
+ "type": "boolean",
1371
+ "nullable": true
1372
+ },
1365
1373
  "name": {
1366
1374
  "type": "string"
1367
1375
  },
@@ -1598,6 +1598,10 @@
1598
1598
  "type": "boolean",
1599
1599
  "nullable": true
1600
1600
  },
1601
+ "isExternal": {
1602
+ "type": "boolean",
1603
+ "nullable": true
1604
+ },
1601
1605
  "isSeekingProject": {
1602
1606
  "type": "boolean",
1603
1607
  "nullable": true
@@ -1764,6 +1768,9 @@
1764
1768
  "isBot": {
1765
1769
  "type": "boolean"
1766
1770
  },
1771
+ "isExternal": {
1772
+ "type": "boolean"
1773
+ },
1767
1774
  "isSeekingProject": {
1768
1775
  "type": "boolean"
1769
1776
  },
@@ -1773,7 +1780,7 @@
1773
1780
  "media": {
1774
1781
  "type": "array",
1775
1782
  "items": {
1776
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner"
1783
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf5MediaInner"
1777
1784
  }
1778
1785
  },
1779
1786
  "name": {
@@ -1864,7 +1871,7 @@
1864
1871
  "media": {
1865
1872
  "type": "array",
1866
1873
  "items": {
1867
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner"
1874
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf5MediaInner"
1868
1875
  }
1869
1876
  },
1870
1877
  "name": {
@@ -2166,6 +2173,14 @@
2166
2173
  "image": {
2167
2174
  "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
2168
2175
  },
2176
+ "isBot": {
2177
+ "type": "boolean",
2178
+ "nullable": true
2179
+ },
2180
+ "isExternal": {
2181
+ "type": "boolean",
2182
+ "nullable": true
2183
+ },
2169
2184
  "name": {
2170
2185
  "type": "string"
2171
2186
  },
@@ -2561,6 +2576,14 @@
2561
2576
  "image": {
2562
2577
  "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
2563
2578
  },
2579
+ "isBot": {
2580
+ "type": "boolean",
2581
+ "nullable": true
2582
+ },
2583
+ "isExternal": {
2584
+ "type": "boolean",
2585
+ "nullable": true
2586
+ },
2564
2587
  "name": {
2565
2588
  "type": "string"
2566
2589
  },
@@ -2705,7 +2728,7 @@
2705
2728
  }
2706
2729
  }
2707
2730
  },
2708
- "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner": {
2731
+ "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf5MediaInner": {
2709
2732
  "type": "object",
2710
2733
  "properties": {
2711
2734
  "actualInstance": {
@@ -2352,6 +2352,14 @@
2352
2352
  "image": {
2353
2353
  "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
2354
2354
  },
2355
+ "isBot": {
2356
+ "type": "boolean",
2357
+ "nullable": true
2358
+ },
2359
+ "isExternal": {
2360
+ "type": "boolean",
2361
+ "nullable": true
2362
+ },
2355
2363
  "name": {
2356
2364
  "type": "string"
2357
2365
  },
@@ -553,6 +553,43 @@
553
553
  ]
554
554
  }
555
555
  },
556
+ "/v1.0/backups": {
557
+ "post": {
558
+ "tags": [
559
+ "Backups"
560
+ ],
561
+ "summary": "Snapshot all Cosmos containers + (optionally) tender documents to the shared backups storage account.",
562
+ "operationId": "CreateSalesBackup",
563
+ "requestBody": {
564
+ "content": {
565
+ "application/json": {
566
+ "schema": {
567
+ "$ref": "#/components/schemas/createBackupRequest"
568
+ }
569
+ }
570
+ }
571
+ },
572
+ "responses": {
573
+ "200": {
574
+ "description": "Payload of BackupSummary",
575
+ "content": {
576
+ "application/json": {
577
+ "schema": {
578
+ "$ref": "#/components/schemas/backupSummary"
579
+ }
580
+ }
581
+ }
582
+ }
583
+ },
584
+ "security": [
585
+ {
586
+ "Implicit": [
587
+ "api://7e877854-e62d-4637-a655-1da7141f7ac9/.default"
588
+ ]
589
+ }
590
+ ]
591
+ }
592
+ },
556
593
  "/v1.0/crawl/sources": {
557
594
  "get": {
558
595
  "tags": [
@@ -3039,6 +3076,46 @@
3039
3076
  }
3040
3077
  }
3041
3078
  },
3079
+ "backupSummary": {
3080
+ "type": "object",
3081
+ "properties": {
3082
+ "blobAccount": {
3083
+ "type": "string"
3084
+ },
3085
+ "container": {
3086
+ "type": "string"
3087
+ },
3088
+ "prefix": {
3089
+ "type": "string"
3090
+ },
3091
+ "containers": {
3092
+ "type": "array",
3093
+ "items": {
3094
+ "$ref": "#/components/schemas/containerBackup"
3095
+ }
3096
+ },
3097
+ "documentsCopied": {
3098
+ "type": "integer",
3099
+ "format": "int32"
3100
+ },
3101
+ "documentsBytes": {
3102
+ "type": "integer",
3103
+ "format": "int64"
3104
+ },
3105
+ "documentsFailures": {
3106
+ "type": "integer",
3107
+ "format": "int32"
3108
+ },
3109
+ "startedAt": {
3110
+ "type": "string",
3111
+ "format": "date-time"
3112
+ },
3113
+ "completedAt": {
3114
+ "type": "string",
3115
+ "format": "date-time"
3116
+ }
3117
+ }
3118
+ },
3042
3119
  "bulkDeleteJobError": {
3043
3120
  "type": "object",
3044
3121
  "properties": {
@@ -3234,6 +3311,25 @@
3234
3311
  }
3235
3312
  }
3236
3313
  },
3314
+ "containerBackup": {
3315
+ "type": "object",
3316
+ "properties": {
3317
+ "name": {
3318
+ "type": "string"
3319
+ },
3320
+ "blobPath": {
3321
+ "type": "string"
3322
+ },
3323
+ "itemCount": {
3324
+ "type": "integer",
3325
+ "format": "int32"
3326
+ },
3327
+ "compressedBytes": {
3328
+ "type": "integer",
3329
+ "format": "int64"
3330
+ }
3331
+ }
3332
+ },
3237
3333
  "crawlActivityResponse": {
3238
3334
  "type": "object",
3239
3335
  "properties": {
@@ -3445,6 +3541,14 @@
3445
3541
  }
3446
3542
  }
3447
3543
  },
3544
+ "createBackupRequest": {
3545
+ "type": "object",
3546
+ "properties": {
3547
+ "includeDocuments": {
3548
+ "type": "boolean"
3549
+ }
3550
+ }
3551
+ },
3448
3552
  "deleteFailedTendersResponse": {
3449
3553
  "type": "object",
3450
3554
  "properties": {
@@ -3754,48 +3858,6 @@
3754
3858
  }
3755
3859
  }
3756
3860
  },
3757
- "questionLocation": {
3758
- "type": "object",
3759
- "properties": {
3760
- "xmlPart": {
3761
- "type": "string",
3762
- "nullable": true
3763
- },
3764
- "bodyIndex": {
3765
- "type": "integer",
3766
- "format": "int32",
3767
- "nullable": true
3768
- },
3769
- "tableIndex": {
3770
- "type": "integer",
3771
- "format": "int32",
3772
- "nullable": true
3773
- },
3774
- "rowIndex": {
3775
- "type": "integer",
3776
- "format": "int32",
3777
- "nullable": true
3778
- },
3779
- "colIndex": {
3780
- "type": "integer",
3781
- "format": "int32",
3782
- "nullable": true
3783
- },
3784
- "sdtId": {
3785
- "type": "string",
3786
- "nullable": true
3787
- },
3788
- "sheetName": {
3789
- "type": "string",
3790
- "nullable": true
3791
- },
3792
- "cellReference": {
3793
- "type": "string",
3794
- "nullable": true
3795
- }
3796
- },
3797
- "nullable": true
3798
- },
3799
3861
  "salesforceAttributes": {
3800
3862
  "type": "object",
3801
3863
  "properties": {
@@ -4391,6 +4391,9 @@
4391
4391
  "isBot": {
4392
4392
  "type": "boolean"
4393
4393
  },
4394
+ "isExternal": {
4395
+ "type": "boolean"
4396
+ },
4394
4397
  "isSeekingProject": {
4395
4398
  "type": "boolean"
4396
4399
  },
@@ -4617,6 +4620,14 @@
4617
4620
  "image": {
4618
4621
  "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
4619
4622
  },
4623
+ "isBot": {
4624
+ "type": "boolean",
4625
+ "nullable": true
4626
+ },
4627
+ "isExternal": {
4628
+ "type": "boolean",
4629
+ "nullable": true
4630
+ },
4620
4631
  "name": {
4621
4632
  "type": "string"
4622
4633
  },
@@ -1362,6 +1362,14 @@
1362
1362
  "image": {
1363
1363
  "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1364
1364
  },
1365
+ "isBot": {
1366
+ "type": "boolean",
1367
+ "nullable": true
1368
+ },
1369
+ "isExternal": {
1370
+ "type": "boolean",
1371
+ "nullable": true
1372
+ },
1365
1373
  "name": {
1366
1374
  "type": "string"
1367
1375
  },
@@ -1598,6 +1598,10 @@
1598
1598
  "type": "boolean",
1599
1599
  "nullable": true
1600
1600
  },
1601
+ "isExternal": {
1602
+ "type": "boolean",
1603
+ "nullable": true
1604
+ },
1601
1605
  "isSeekingProject": {
1602
1606
  "type": "boolean",
1603
1607
  "nullable": true
@@ -1764,6 +1768,9 @@
1764
1768
  "isBot": {
1765
1769
  "type": "boolean"
1766
1770
  },
1771
+ "isExternal": {
1772
+ "type": "boolean"
1773
+ },
1767
1774
  "isSeekingProject": {
1768
1775
  "type": "boolean"
1769
1776
  },
@@ -1773,7 +1780,7 @@
1773
1780
  "media": {
1774
1781
  "type": "array",
1775
1782
  "items": {
1776
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner"
1783
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf5MediaInner"
1777
1784
  }
1778
1785
  },
1779
1786
  "name": {
@@ -1864,7 +1871,7 @@
1864
1871
  "media": {
1865
1872
  "type": "array",
1866
1873
  "items": {
1867
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner"
1874
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf5MediaInner"
1868
1875
  }
1869
1876
  },
1870
1877
  "name": {
@@ -2166,6 +2173,14 @@
2166
2173
  "image": {
2167
2174
  "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
2168
2175
  },
2176
+ "isBot": {
2177
+ "type": "boolean",
2178
+ "nullable": true
2179
+ },
2180
+ "isExternal": {
2181
+ "type": "boolean",
2182
+ "nullable": true
2183
+ },
2169
2184
  "name": {
2170
2185
  "type": "string"
2171
2186
  },
@@ -2561,6 +2576,14 @@
2561
2576
  "image": {
2562
2577
  "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
2563
2578
  },
2579
+ "isBot": {
2580
+ "type": "boolean",
2581
+ "nullable": true
2582
+ },
2583
+ "isExternal": {
2584
+ "type": "boolean",
2585
+ "nullable": true
2586
+ },
2564
2587
  "name": {
2565
2588
  "type": "string"
2566
2589
  },
@@ -2705,7 +2728,7 @@
2705
2728
  }
2706
2729
  }
2707
2730
  },
2708
- "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner": {
2731
+ "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf5MediaInner": {
2709
2732
  "type": "object",
2710
2733
  "properties": {
2711
2734
  "actualInstance": {
@@ -2352,6 +2352,14 @@
2352
2352
  "image": {
2353
2353
  "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
2354
2354
  },
2355
+ "isBot": {
2356
+ "type": "boolean",
2357
+ "nullable": true
2358
+ },
2359
+ "isExternal": {
2360
+ "type": "boolean",
2361
+ "nullable": true
2362
+ },
2355
2363
  "name": {
2356
2364
  "type": "string"
2357
2365
  },
@@ -553,6 +553,43 @@
553
553
  ]
554
554
  }
555
555
  },
556
+ "/v1.0/backups": {
557
+ "post": {
558
+ "tags": [
559
+ "Backups"
560
+ ],
561
+ "summary": "Snapshot all Cosmos containers + (optionally) tender documents to the shared backups storage account.",
562
+ "operationId": "CreateSalesBackup",
563
+ "requestBody": {
564
+ "content": {
565
+ "application/json": {
566
+ "schema": {
567
+ "$ref": "#/components/schemas/createBackupRequest"
568
+ }
569
+ }
570
+ }
571
+ },
572
+ "responses": {
573
+ "200": {
574
+ "description": "Payload of BackupSummary",
575
+ "content": {
576
+ "application/json": {
577
+ "schema": {
578
+ "$ref": "#/components/schemas/backupSummary"
579
+ }
580
+ }
581
+ }
582
+ }
583
+ },
584
+ "security": [
585
+ {
586
+ "Implicit": [
587
+ "api://d7f15838-af74-4048-88b3-503089de0064/.default"
588
+ ]
589
+ }
590
+ ]
591
+ }
592
+ },
556
593
  "/v1.0/crawl/sources": {
557
594
  "get": {
558
595
  "tags": [
@@ -3039,6 +3076,46 @@
3039
3076
  }
3040
3077
  }
3041
3078
  },
3079
+ "backupSummary": {
3080
+ "type": "object",
3081
+ "properties": {
3082
+ "blobAccount": {
3083
+ "type": "string"
3084
+ },
3085
+ "container": {
3086
+ "type": "string"
3087
+ },
3088
+ "prefix": {
3089
+ "type": "string"
3090
+ },
3091
+ "containers": {
3092
+ "type": "array",
3093
+ "items": {
3094
+ "$ref": "#/components/schemas/containerBackup"
3095
+ }
3096
+ },
3097
+ "documentsCopied": {
3098
+ "type": "integer",
3099
+ "format": "int32"
3100
+ },
3101
+ "documentsBytes": {
3102
+ "type": "integer",
3103
+ "format": "int64"
3104
+ },
3105
+ "documentsFailures": {
3106
+ "type": "integer",
3107
+ "format": "int32"
3108
+ },
3109
+ "startedAt": {
3110
+ "type": "string",
3111
+ "format": "date-time"
3112
+ },
3113
+ "completedAt": {
3114
+ "type": "string",
3115
+ "format": "date-time"
3116
+ }
3117
+ }
3118
+ },
3042
3119
  "bulkDeleteJobError": {
3043
3120
  "type": "object",
3044
3121
  "properties": {
@@ -3234,6 +3311,25 @@
3234
3311
  }
3235
3312
  }
3236
3313
  },
3314
+ "containerBackup": {
3315
+ "type": "object",
3316
+ "properties": {
3317
+ "name": {
3318
+ "type": "string"
3319
+ },
3320
+ "blobPath": {
3321
+ "type": "string"
3322
+ },
3323
+ "itemCount": {
3324
+ "type": "integer",
3325
+ "format": "int32"
3326
+ },
3327
+ "compressedBytes": {
3328
+ "type": "integer",
3329
+ "format": "int64"
3330
+ }
3331
+ }
3332
+ },
3237
3333
  "crawlActivityResponse": {
3238
3334
  "type": "object",
3239
3335
  "properties": {
@@ -3445,6 +3541,14 @@
3445
3541
  }
3446
3542
  }
3447
3543
  },
3544
+ "createBackupRequest": {
3545
+ "type": "object",
3546
+ "properties": {
3547
+ "includeDocuments": {
3548
+ "type": "boolean"
3549
+ }
3550
+ }
3551
+ },
3448
3552
  "deleteFailedTendersResponse": {
3449
3553
  "type": "object",
3450
3554
  "properties": {