@snokam/mcp-api 1.8.0 → 1.10.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 +22 -29
- package/specs/production/employees.json +47 -62
- package/specs/test/accounting.json +22 -29
- package/specs/test/employees.json +47 -62
package/package.json
CHANGED
|
@@ -3695,6 +3695,27 @@
|
|
|
3695
3695
|
}
|
|
3696
3696
|
}
|
|
3697
3697
|
},
|
|
3698
|
+
"pageEmployeeOrderInner": {
|
|
3699
|
+
"type": "object",
|
|
3700
|
+
"properties": {
|
|
3701
|
+
"sanityType": {
|
|
3702
|
+
"enum": [
|
|
3703
|
+
"reference"
|
|
3704
|
+
],
|
|
3705
|
+
"type": "string",
|
|
3706
|
+
"default": "reference"
|
|
3707
|
+
},
|
|
3708
|
+
"sanityKey": {
|
|
3709
|
+
"type": "string"
|
|
3710
|
+
},
|
|
3711
|
+
"sanityRef": {
|
|
3712
|
+
"type": "string"
|
|
3713
|
+
},
|
|
3714
|
+
"sanityWeak": {
|
|
3715
|
+
"type": "boolean"
|
|
3716
|
+
}
|
|
3717
|
+
}
|
|
3718
|
+
},
|
|
3698
3719
|
"payItem": {
|
|
3699
3720
|
"type": "object",
|
|
3700
3721
|
"properties": {
|
|
@@ -4279,9 +4300,6 @@
|
|
|
4279
4300
|
"type": "string"
|
|
4280
4301
|
}
|
|
4281
4302
|
},
|
|
4282
|
-
"appRedemptionCode": {
|
|
4283
|
-
"type": "string"
|
|
4284
|
-
},
|
|
4285
4303
|
"birth_date": {
|
|
4286
4304
|
"type": "string"
|
|
4287
4305
|
},
|
|
@@ -4372,10 +4390,6 @@
|
|
|
4372
4390
|
"sanityUpdatedAt": {
|
|
4373
4391
|
"type": "string"
|
|
4374
4392
|
},
|
|
4375
|
-
"satisfaction": {
|
|
4376
|
-
"type": "number",
|
|
4377
|
-
"format": "double"
|
|
4378
|
-
},
|
|
4379
4393
|
"slug": {
|
|
4380
4394
|
"$ref": "#/components/schemas/slug"
|
|
4381
4395
|
},
|
|
@@ -4523,7 +4537,7 @@
|
|
|
4523
4537
|
"leaders": {
|
|
4524
4538
|
"type": "array",
|
|
4525
4539
|
"items": {
|
|
4526
|
-
"$ref": "#/components/schemas/
|
|
4540
|
+
"$ref": "#/components/schemas/pageEmployeeOrderInner"
|
|
4527
4541
|
}
|
|
4528
4542
|
},
|
|
4529
4543
|
"name": {
|
|
@@ -4543,27 +4557,6 @@
|
|
|
4543
4557
|
}
|
|
4544
4558
|
}
|
|
4545
4559
|
},
|
|
4546
|
-
"sanityEmployeeGroupsInnerLeadersInner": {
|
|
4547
|
-
"type": "object",
|
|
4548
|
-
"properties": {
|
|
4549
|
-
"sanityType": {
|
|
4550
|
-
"enum": [
|
|
4551
|
-
"reference"
|
|
4552
|
-
],
|
|
4553
|
-
"type": "string",
|
|
4554
|
-
"default": "reference"
|
|
4555
|
-
},
|
|
4556
|
-
"sanityKey": {
|
|
4557
|
-
"type": "string"
|
|
4558
|
-
},
|
|
4559
|
-
"sanityRef": {
|
|
4560
|
-
"type": "string"
|
|
4561
|
-
},
|
|
4562
|
-
"sanityWeak": {
|
|
4563
|
-
"type": "boolean"
|
|
4564
|
-
}
|
|
4565
|
-
}
|
|
4566
|
-
},
|
|
4567
4560
|
"sanityEmployeeManager": {
|
|
4568
4561
|
"type": "object",
|
|
4569
4562
|
"properties": {
|
|
@@ -469,6 +469,48 @@
|
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
},
|
|
472
|
+
"pageEmployeeOrderInner": {
|
|
473
|
+
"type": "object",
|
|
474
|
+
"properties": {
|
|
475
|
+
"sanityType": {
|
|
476
|
+
"enum": [
|
|
477
|
+
"reference"
|
|
478
|
+
],
|
|
479
|
+
"type": "string",
|
|
480
|
+
"default": "reference"
|
|
481
|
+
},
|
|
482
|
+
"sanityKey": {
|
|
483
|
+
"type": "string"
|
|
484
|
+
},
|
|
485
|
+
"sanityRef": {
|
|
486
|
+
"type": "string"
|
|
487
|
+
},
|
|
488
|
+
"sanityWeak": {
|
|
489
|
+
"type": "boolean"
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"pageEquipmentInner": {
|
|
494
|
+
"type": "object",
|
|
495
|
+
"properties": {
|
|
496
|
+
"sanityType": {
|
|
497
|
+
"enum": [
|
|
498
|
+
"reference"
|
|
499
|
+
],
|
|
500
|
+
"type": "string",
|
|
501
|
+
"default": "reference"
|
|
502
|
+
},
|
|
503
|
+
"sanityKey": {
|
|
504
|
+
"type": "string"
|
|
505
|
+
},
|
|
506
|
+
"sanityRef": {
|
|
507
|
+
"type": "string"
|
|
508
|
+
},
|
|
509
|
+
"sanityWeak": {
|
|
510
|
+
"type": "boolean"
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
},
|
|
472
514
|
"patchEmployee": {
|
|
473
515
|
"type": "object",
|
|
474
516
|
"properties": {
|
|
@@ -516,14 +558,11 @@
|
|
|
516
558
|
"type": "string"
|
|
517
559
|
}
|
|
518
560
|
},
|
|
519
|
-
"appRedemptionCode": {
|
|
520
|
-
"type": "string"
|
|
521
|
-
},
|
|
522
561
|
"birth_date": {
|
|
523
562
|
"type": "string"
|
|
524
563
|
},
|
|
525
564
|
"blurred_image": {
|
|
526
|
-
"$ref": "#/components/schemas/
|
|
565
|
+
"$ref": "#/components/schemas/sanityPatchPageMetaImage"
|
|
527
566
|
},
|
|
528
567
|
"boardMember": {
|
|
529
568
|
"type": "boolean",
|
|
@@ -550,7 +589,7 @@
|
|
|
550
589
|
"equipment": {
|
|
551
590
|
"type": "array",
|
|
552
591
|
"items": {
|
|
553
|
-
"$ref": "#/components/schemas/
|
|
592
|
+
"$ref": "#/components/schemas/pageEquipmentInner"
|
|
554
593
|
}
|
|
555
594
|
},
|
|
556
595
|
"graduationYear": {
|
|
@@ -565,7 +604,7 @@
|
|
|
565
604
|
}
|
|
566
605
|
},
|
|
567
606
|
"image": {
|
|
568
|
-
"$ref": "#/components/schemas/
|
|
607
|
+
"$ref": "#/components/schemas/sanityPatchPageMetaImage"
|
|
569
608
|
},
|
|
570
609
|
"innovativeSalary": {
|
|
571
610
|
"type": "boolean",
|
|
@@ -602,11 +641,6 @@
|
|
|
602
641
|
"position": {
|
|
603
642
|
"type": "string"
|
|
604
643
|
},
|
|
605
|
-
"satisfaction": {
|
|
606
|
-
"type": "number",
|
|
607
|
-
"format": "double",
|
|
608
|
-
"nullable": true
|
|
609
|
-
},
|
|
610
644
|
"slug": {
|
|
611
645
|
"$ref": "#/components/schemas/slug"
|
|
612
646
|
},
|
|
@@ -684,9 +718,6 @@
|
|
|
684
718
|
"type": "string"
|
|
685
719
|
}
|
|
686
720
|
},
|
|
687
|
-
"appRedemptionCode": {
|
|
688
|
-
"type": "string"
|
|
689
|
-
},
|
|
690
721
|
"birth_date": {
|
|
691
722
|
"type": "string"
|
|
692
723
|
},
|
|
@@ -777,10 +808,6 @@
|
|
|
777
808
|
"sanityUpdatedAt": {
|
|
778
809
|
"type": "string"
|
|
779
810
|
},
|
|
780
|
-
"satisfaction": {
|
|
781
|
-
"type": "number",
|
|
782
|
-
"format": "double"
|
|
783
|
-
},
|
|
784
811
|
"slug": {
|
|
785
812
|
"$ref": "#/components/schemas/slug"
|
|
786
813
|
},
|
|
@@ -917,27 +944,6 @@
|
|
|
917
944
|
}
|
|
918
945
|
}
|
|
919
946
|
},
|
|
920
|
-
"sanityCreateEmployeeEquipmentInner": {
|
|
921
|
-
"type": "object",
|
|
922
|
-
"properties": {
|
|
923
|
-
"sanityType": {
|
|
924
|
-
"enum": [
|
|
925
|
-
"reference"
|
|
926
|
-
],
|
|
927
|
-
"type": "string",
|
|
928
|
-
"default": "reference"
|
|
929
|
-
},
|
|
930
|
-
"sanityKey": {
|
|
931
|
-
"type": "string"
|
|
932
|
-
},
|
|
933
|
-
"sanityRef": {
|
|
934
|
-
"type": "string"
|
|
935
|
-
},
|
|
936
|
-
"sanityWeak": {
|
|
937
|
-
"type": "boolean"
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
},
|
|
941
947
|
"sanityCreateEmployeeGroupsInner": {
|
|
942
948
|
"type": "object",
|
|
943
949
|
"properties": {
|
|
@@ -1125,7 +1131,7 @@
|
|
|
1125
1131
|
"leaders": {
|
|
1126
1132
|
"type": "array",
|
|
1127
1133
|
"items": {
|
|
1128
|
-
"$ref": "#/components/schemas/
|
|
1134
|
+
"$ref": "#/components/schemas/pageEmployeeOrderInner"
|
|
1129
1135
|
}
|
|
1130
1136
|
},
|
|
1131
1137
|
"name": {
|
|
@@ -1145,27 +1151,6 @@
|
|
|
1145
1151
|
}
|
|
1146
1152
|
}
|
|
1147
1153
|
},
|
|
1148
|
-
"sanityEmployeeGroupsInnerLeadersInner": {
|
|
1149
|
-
"type": "object",
|
|
1150
|
-
"properties": {
|
|
1151
|
-
"sanityType": {
|
|
1152
|
-
"enum": [
|
|
1153
|
-
"reference"
|
|
1154
|
-
],
|
|
1155
|
-
"type": "string",
|
|
1156
|
-
"default": "reference"
|
|
1157
|
-
},
|
|
1158
|
-
"sanityKey": {
|
|
1159
|
-
"type": "string"
|
|
1160
|
-
},
|
|
1161
|
-
"sanityRef": {
|
|
1162
|
-
"type": "string"
|
|
1163
|
-
},
|
|
1164
|
-
"sanityWeak": {
|
|
1165
|
-
"type": "boolean"
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
},
|
|
1169
1154
|
"sanityEmployeeManager": {
|
|
1170
1155
|
"type": "object",
|
|
1171
1156
|
"properties": {
|
|
@@ -1597,7 +1582,7 @@
|
|
|
1597
1582
|
}
|
|
1598
1583
|
}
|
|
1599
1584
|
},
|
|
1600
|
-
"
|
|
1585
|
+
"sanityPatchPageMetaImage": {
|
|
1601
1586
|
"type": "object",
|
|
1602
1587
|
"properties": {
|
|
1603
1588
|
"sanityType": {
|
|
@@ -3695,6 +3695,27 @@
|
|
|
3695
3695
|
}
|
|
3696
3696
|
}
|
|
3697
3697
|
},
|
|
3698
|
+
"pageEmployeeOrderInner": {
|
|
3699
|
+
"type": "object",
|
|
3700
|
+
"properties": {
|
|
3701
|
+
"sanityType": {
|
|
3702
|
+
"enum": [
|
|
3703
|
+
"reference"
|
|
3704
|
+
],
|
|
3705
|
+
"type": "string",
|
|
3706
|
+
"default": "reference"
|
|
3707
|
+
},
|
|
3708
|
+
"sanityKey": {
|
|
3709
|
+
"type": "string"
|
|
3710
|
+
},
|
|
3711
|
+
"sanityRef": {
|
|
3712
|
+
"type": "string"
|
|
3713
|
+
},
|
|
3714
|
+
"sanityWeak": {
|
|
3715
|
+
"type": "boolean"
|
|
3716
|
+
}
|
|
3717
|
+
}
|
|
3718
|
+
},
|
|
3698
3719
|
"payItem": {
|
|
3699
3720
|
"type": "object",
|
|
3700
3721
|
"properties": {
|
|
@@ -4279,9 +4300,6 @@
|
|
|
4279
4300
|
"type": "string"
|
|
4280
4301
|
}
|
|
4281
4302
|
},
|
|
4282
|
-
"appRedemptionCode": {
|
|
4283
|
-
"type": "string"
|
|
4284
|
-
},
|
|
4285
4303
|
"birth_date": {
|
|
4286
4304
|
"type": "string"
|
|
4287
4305
|
},
|
|
@@ -4372,10 +4390,6 @@
|
|
|
4372
4390
|
"sanityUpdatedAt": {
|
|
4373
4391
|
"type": "string"
|
|
4374
4392
|
},
|
|
4375
|
-
"satisfaction": {
|
|
4376
|
-
"type": "number",
|
|
4377
|
-
"format": "double"
|
|
4378
|
-
},
|
|
4379
4393
|
"slug": {
|
|
4380
4394
|
"$ref": "#/components/schemas/slug"
|
|
4381
4395
|
},
|
|
@@ -4523,7 +4537,7 @@
|
|
|
4523
4537
|
"leaders": {
|
|
4524
4538
|
"type": "array",
|
|
4525
4539
|
"items": {
|
|
4526
|
-
"$ref": "#/components/schemas/
|
|
4540
|
+
"$ref": "#/components/schemas/pageEmployeeOrderInner"
|
|
4527
4541
|
}
|
|
4528
4542
|
},
|
|
4529
4543
|
"name": {
|
|
@@ -4543,27 +4557,6 @@
|
|
|
4543
4557
|
}
|
|
4544
4558
|
}
|
|
4545
4559
|
},
|
|
4546
|
-
"sanityEmployeeGroupsInnerLeadersInner": {
|
|
4547
|
-
"type": "object",
|
|
4548
|
-
"properties": {
|
|
4549
|
-
"sanityType": {
|
|
4550
|
-
"enum": [
|
|
4551
|
-
"reference"
|
|
4552
|
-
],
|
|
4553
|
-
"type": "string",
|
|
4554
|
-
"default": "reference"
|
|
4555
|
-
},
|
|
4556
|
-
"sanityKey": {
|
|
4557
|
-
"type": "string"
|
|
4558
|
-
},
|
|
4559
|
-
"sanityRef": {
|
|
4560
|
-
"type": "string"
|
|
4561
|
-
},
|
|
4562
|
-
"sanityWeak": {
|
|
4563
|
-
"type": "boolean"
|
|
4564
|
-
}
|
|
4565
|
-
}
|
|
4566
|
-
},
|
|
4567
4560
|
"sanityEmployeeManager": {
|
|
4568
4561
|
"type": "object",
|
|
4569
4562
|
"properties": {
|
|
@@ -469,6 +469,48 @@
|
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
},
|
|
472
|
+
"pageEmployeeOrderInner": {
|
|
473
|
+
"type": "object",
|
|
474
|
+
"properties": {
|
|
475
|
+
"sanityType": {
|
|
476
|
+
"enum": [
|
|
477
|
+
"reference"
|
|
478
|
+
],
|
|
479
|
+
"type": "string",
|
|
480
|
+
"default": "reference"
|
|
481
|
+
},
|
|
482
|
+
"sanityKey": {
|
|
483
|
+
"type": "string"
|
|
484
|
+
},
|
|
485
|
+
"sanityRef": {
|
|
486
|
+
"type": "string"
|
|
487
|
+
},
|
|
488
|
+
"sanityWeak": {
|
|
489
|
+
"type": "boolean"
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"pageEquipmentInner": {
|
|
494
|
+
"type": "object",
|
|
495
|
+
"properties": {
|
|
496
|
+
"sanityType": {
|
|
497
|
+
"enum": [
|
|
498
|
+
"reference"
|
|
499
|
+
],
|
|
500
|
+
"type": "string",
|
|
501
|
+
"default": "reference"
|
|
502
|
+
},
|
|
503
|
+
"sanityKey": {
|
|
504
|
+
"type": "string"
|
|
505
|
+
},
|
|
506
|
+
"sanityRef": {
|
|
507
|
+
"type": "string"
|
|
508
|
+
},
|
|
509
|
+
"sanityWeak": {
|
|
510
|
+
"type": "boolean"
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
},
|
|
472
514
|
"patchEmployee": {
|
|
473
515
|
"type": "object",
|
|
474
516
|
"properties": {
|
|
@@ -516,14 +558,11 @@
|
|
|
516
558
|
"type": "string"
|
|
517
559
|
}
|
|
518
560
|
},
|
|
519
|
-
"appRedemptionCode": {
|
|
520
|
-
"type": "string"
|
|
521
|
-
},
|
|
522
561
|
"birth_date": {
|
|
523
562
|
"type": "string"
|
|
524
563
|
},
|
|
525
564
|
"blurred_image": {
|
|
526
|
-
"$ref": "#/components/schemas/
|
|
565
|
+
"$ref": "#/components/schemas/sanityPatchPageMetaImage"
|
|
527
566
|
},
|
|
528
567
|
"boardMember": {
|
|
529
568
|
"type": "boolean",
|
|
@@ -550,7 +589,7 @@
|
|
|
550
589
|
"equipment": {
|
|
551
590
|
"type": "array",
|
|
552
591
|
"items": {
|
|
553
|
-
"$ref": "#/components/schemas/
|
|
592
|
+
"$ref": "#/components/schemas/pageEquipmentInner"
|
|
554
593
|
}
|
|
555
594
|
},
|
|
556
595
|
"graduationYear": {
|
|
@@ -565,7 +604,7 @@
|
|
|
565
604
|
}
|
|
566
605
|
},
|
|
567
606
|
"image": {
|
|
568
|
-
"$ref": "#/components/schemas/
|
|
607
|
+
"$ref": "#/components/schemas/sanityPatchPageMetaImage"
|
|
569
608
|
},
|
|
570
609
|
"innovativeSalary": {
|
|
571
610
|
"type": "boolean",
|
|
@@ -602,11 +641,6 @@
|
|
|
602
641
|
"position": {
|
|
603
642
|
"type": "string"
|
|
604
643
|
},
|
|
605
|
-
"satisfaction": {
|
|
606
|
-
"type": "number",
|
|
607
|
-
"format": "double",
|
|
608
|
-
"nullable": true
|
|
609
|
-
},
|
|
610
644
|
"slug": {
|
|
611
645
|
"$ref": "#/components/schemas/slug"
|
|
612
646
|
},
|
|
@@ -684,9 +718,6 @@
|
|
|
684
718
|
"type": "string"
|
|
685
719
|
}
|
|
686
720
|
},
|
|
687
|
-
"appRedemptionCode": {
|
|
688
|
-
"type": "string"
|
|
689
|
-
},
|
|
690
721
|
"birth_date": {
|
|
691
722
|
"type": "string"
|
|
692
723
|
},
|
|
@@ -777,10 +808,6 @@
|
|
|
777
808
|
"sanityUpdatedAt": {
|
|
778
809
|
"type": "string"
|
|
779
810
|
},
|
|
780
|
-
"satisfaction": {
|
|
781
|
-
"type": "number",
|
|
782
|
-
"format": "double"
|
|
783
|
-
},
|
|
784
811
|
"slug": {
|
|
785
812
|
"$ref": "#/components/schemas/slug"
|
|
786
813
|
},
|
|
@@ -917,27 +944,6 @@
|
|
|
917
944
|
}
|
|
918
945
|
}
|
|
919
946
|
},
|
|
920
|
-
"sanityCreateEmployeeEquipmentInner": {
|
|
921
|
-
"type": "object",
|
|
922
|
-
"properties": {
|
|
923
|
-
"sanityType": {
|
|
924
|
-
"enum": [
|
|
925
|
-
"reference"
|
|
926
|
-
],
|
|
927
|
-
"type": "string",
|
|
928
|
-
"default": "reference"
|
|
929
|
-
},
|
|
930
|
-
"sanityKey": {
|
|
931
|
-
"type": "string"
|
|
932
|
-
},
|
|
933
|
-
"sanityRef": {
|
|
934
|
-
"type": "string"
|
|
935
|
-
},
|
|
936
|
-
"sanityWeak": {
|
|
937
|
-
"type": "boolean"
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
},
|
|
941
947
|
"sanityCreateEmployeeGroupsInner": {
|
|
942
948
|
"type": "object",
|
|
943
949
|
"properties": {
|
|
@@ -1125,7 +1131,7 @@
|
|
|
1125
1131
|
"leaders": {
|
|
1126
1132
|
"type": "array",
|
|
1127
1133
|
"items": {
|
|
1128
|
-
"$ref": "#/components/schemas/
|
|
1134
|
+
"$ref": "#/components/schemas/pageEmployeeOrderInner"
|
|
1129
1135
|
}
|
|
1130
1136
|
},
|
|
1131
1137
|
"name": {
|
|
@@ -1145,27 +1151,6 @@
|
|
|
1145
1151
|
}
|
|
1146
1152
|
}
|
|
1147
1153
|
},
|
|
1148
|
-
"sanityEmployeeGroupsInnerLeadersInner": {
|
|
1149
|
-
"type": "object",
|
|
1150
|
-
"properties": {
|
|
1151
|
-
"sanityType": {
|
|
1152
|
-
"enum": [
|
|
1153
|
-
"reference"
|
|
1154
|
-
],
|
|
1155
|
-
"type": "string",
|
|
1156
|
-
"default": "reference"
|
|
1157
|
-
},
|
|
1158
|
-
"sanityKey": {
|
|
1159
|
-
"type": "string"
|
|
1160
|
-
},
|
|
1161
|
-
"sanityRef": {
|
|
1162
|
-
"type": "string"
|
|
1163
|
-
},
|
|
1164
|
-
"sanityWeak": {
|
|
1165
|
-
"type": "boolean"
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
},
|
|
1169
1154
|
"sanityEmployeeManager": {
|
|
1170
1155
|
"type": "object",
|
|
1171
1156
|
"properties": {
|
|
@@ -1597,7 +1582,7 @@
|
|
|
1597
1582
|
}
|
|
1598
1583
|
}
|
|
1599
1584
|
},
|
|
1600
|
-
"
|
|
1585
|
+
"sanityPatchPageMetaImage": {
|
|
1601
1586
|
"type": "object",
|
|
1602
1587
|
"properties": {
|
|
1603
1588
|
"sanityType": {
|