@snokam/mcp-api 0.184.0 → 0.185.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/sales.json +535 -0
- package/specs/test/sales.json +535 -0
package/package.json
CHANGED
|
@@ -2511,6 +2511,365 @@
|
|
|
2511
2511
|
]
|
|
2512
2512
|
}
|
|
2513
2513
|
},
|
|
2514
|
+
"/v1.0/tenders/{id}/document-access": {
|
|
2515
|
+
"post": {
|
|
2516
|
+
"tags": [
|
|
2517
|
+
"Tenders"
|
|
2518
|
+
],
|
|
2519
|
+
"summary": "Ask Snokam for access to a tender's competition documents.",
|
|
2520
|
+
"operationId": "RequestTenderDocumentAccess",
|
|
2521
|
+
"parameters": [
|
|
2522
|
+
{
|
|
2523
|
+
"name": "id",
|
|
2524
|
+
"in": "path",
|
|
2525
|
+
"required": true,
|
|
2526
|
+
"schema": {
|
|
2527
|
+
"type": "string"
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
],
|
|
2531
|
+
"requestBody": {
|
|
2532
|
+
"content": {
|
|
2533
|
+
"application/json": {
|
|
2534
|
+
"schema": {
|
|
2535
|
+
"$ref": "#/components/schemas/documentAccessRequest"
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
},
|
|
2540
|
+
"responses": {
|
|
2541
|
+
"200": {
|
|
2542
|
+
"description": "Payload of TenderView",
|
|
2543
|
+
"content": {
|
|
2544
|
+
"application/json": {
|
|
2545
|
+
"schema": {
|
|
2546
|
+
"$ref": "#/components/schemas/tenderView"
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
2550
|
+
},
|
|
2551
|
+
"404": {
|
|
2552
|
+
"description": "No description"
|
|
2553
|
+
}
|
|
2554
|
+
},
|
|
2555
|
+
"security": [
|
|
2556
|
+
{
|
|
2557
|
+
"Implicit": [
|
|
2558
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
2559
|
+
]
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
"ApiKey": []
|
|
2563
|
+
}
|
|
2564
|
+
]
|
|
2565
|
+
},
|
|
2566
|
+
"get": {
|
|
2567
|
+
"tags": [
|
|
2568
|
+
"Tenders"
|
|
2569
|
+
],
|
|
2570
|
+
"summary": "Snokam's list of companies asking for document access on a tender.",
|
|
2571
|
+
"operationId": "ListTenderDocumentAccessRequests",
|
|
2572
|
+
"parameters": [
|
|
2573
|
+
{
|
|
2574
|
+
"name": "id",
|
|
2575
|
+
"in": "path",
|
|
2576
|
+
"required": true,
|
|
2577
|
+
"schema": {
|
|
2578
|
+
"type": "string"
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
],
|
|
2582
|
+
"responses": {
|
|
2583
|
+
"200": {
|
|
2584
|
+
"description": "Payload of Array of TenderEngagement",
|
|
2585
|
+
"content": {
|
|
2586
|
+
"application/json": {
|
|
2587
|
+
"schema": {
|
|
2588
|
+
"type": "array",
|
|
2589
|
+
"items": {
|
|
2590
|
+
"$ref": "#/components/schemas/tenderEngagement"
|
|
2591
|
+
}
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
}
|
|
2596
|
+
},
|
|
2597
|
+
"security": [
|
|
2598
|
+
{
|
|
2599
|
+
"Implicit": [
|
|
2600
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
2601
|
+
]
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"ApiKey": []
|
|
2605
|
+
}
|
|
2606
|
+
]
|
|
2607
|
+
}
|
|
2608
|
+
},
|
|
2609
|
+
"/v1.0/tenders/{id}/document-access/{businessId}": {
|
|
2610
|
+
"put": {
|
|
2611
|
+
"tags": [
|
|
2612
|
+
"Tenders"
|
|
2613
|
+
],
|
|
2614
|
+
"summary": "Snokam grants or denies a company access to a tender's documents.",
|
|
2615
|
+
"operationId": "DecideTenderDocumentAccess",
|
|
2616
|
+
"parameters": [
|
|
2617
|
+
{
|
|
2618
|
+
"name": "id",
|
|
2619
|
+
"in": "path",
|
|
2620
|
+
"required": true,
|
|
2621
|
+
"schema": {
|
|
2622
|
+
"type": "string"
|
|
2623
|
+
}
|
|
2624
|
+
},
|
|
2625
|
+
{
|
|
2626
|
+
"name": "businessId",
|
|
2627
|
+
"in": "path",
|
|
2628
|
+
"required": true,
|
|
2629
|
+
"schema": {
|
|
2630
|
+
"type": "string"
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
],
|
|
2634
|
+
"requestBody": {
|
|
2635
|
+
"content": {
|
|
2636
|
+
"application/json": {
|
|
2637
|
+
"schema": {
|
|
2638
|
+
"$ref": "#/components/schemas/documentAccessDecision"
|
|
2639
|
+
}
|
|
2640
|
+
}
|
|
2641
|
+
},
|
|
2642
|
+
"required": true
|
|
2643
|
+
},
|
|
2644
|
+
"responses": {
|
|
2645
|
+
"200": {
|
|
2646
|
+
"description": "Payload of TenderEngagement",
|
|
2647
|
+
"content": {
|
|
2648
|
+
"application/json": {
|
|
2649
|
+
"schema": {
|
|
2650
|
+
"$ref": "#/components/schemas/tenderEngagement"
|
|
2651
|
+
}
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
},
|
|
2655
|
+
"404": {
|
|
2656
|
+
"description": "No description"
|
|
2657
|
+
}
|
|
2658
|
+
},
|
|
2659
|
+
"security": [
|
|
2660
|
+
{
|
|
2661
|
+
"Implicit": [
|
|
2662
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
2663
|
+
]
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
"ApiKey": []
|
|
2667
|
+
}
|
|
2668
|
+
]
|
|
2669
|
+
}
|
|
2670
|
+
},
|
|
2671
|
+
"/v1.0/tenders/{id}/application": {
|
|
2672
|
+
"post": {
|
|
2673
|
+
"tags": [
|
|
2674
|
+
"Tenders"
|
|
2675
|
+
],
|
|
2676
|
+
"summary": "Apply for a tender. The application goes to Snokam, who reviews it and sends it together with their own consultants.",
|
|
2677
|
+
"operationId": "SubmitTenderApplication",
|
|
2678
|
+
"parameters": [
|
|
2679
|
+
{
|
|
2680
|
+
"name": "id",
|
|
2681
|
+
"in": "path",
|
|
2682
|
+
"required": true,
|
|
2683
|
+
"schema": {
|
|
2684
|
+
"type": "string"
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2687
|
+
],
|
|
2688
|
+
"requestBody": {
|
|
2689
|
+
"content": {
|
|
2690
|
+
"application/json": {
|
|
2691
|
+
"schema": {
|
|
2692
|
+
"$ref": "#/components/schemas/tenderApplicationRequest"
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
},
|
|
2696
|
+
"required": true
|
|
2697
|
+
},
|
|
2698
|
+
"responses": {
|
|
2699
|
+
"200": {
|
|
2700
|
+
"description": "Payload of TenderView",
|
|
2701
|
+
"content": {
|
|
2702
|
+
"application/json": {
|
|
2703
|
+
"schema": {
|
|
2704
|
+
"$ref": "#/components/schemas/tenderView"
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
},
|
|
2709
|
+
"404": {
|
|
2710
|
+
"description": "No description"
|
|
2711
|
+
}
|
|
2712
|
+
},
|
|
2713
|
+
"security": [
|
|
2714
|
+
{
|
|
2715
|
+
"Implicit": [
|
|
2716
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
2717
|
+
]
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
"ApiKey": []
|
|
2721
|
+
}
|
|
2722
|
+
]
|
|
2723
|
+
},
|
|
2724
|
+
"delete": {
|
|
2725
|
+
"tags": [
|
|
2726
|
+
"Tenders"
|
|
2727
|
+
],
|
|
2728
|
+
"summary": "Withdraw an application.",
|
|
2729
|
+
"operationId": "WithdrawTenderApplication",
|
|
2730
|
+
"parameters": [
|
|
2731
|
+
{
|
|
2732
|
+
"name": "id",
|
|
2733
|
+
"in": "path",
|
|
2734
|
+
"required": true,
|
|
2735
|
+
"schema": {
|
|
2736
|
+
"type": "string"
|
|
2737
|
+
}
|
|
2738
|
+
}
|
|
2739
|
+
],
|
|
2740
|
+
"responses": {
|
|
2741
|
+
"200": {
|
|
2742
|
+
"description": "Payload of TenderView",
|
|
2743
|
+
"content": {
|
|
2744
|
+
"application/json": {
|
|
2745
|
+
"schema": {
|
|
2746
|
+
"$ref": "#/components/schemas/tenderView"
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
}
|
|
2750
|
+
},
|
|
2751
|
+
"404": {
|
|
2752
|
+
"description": "No description"
|
|
2753
|
+
}
|
|
2754
|
+
},
|
|
2755
|
+
"security": [
|
|
2756
|
+
{
|
|
2757
|
+
"Implicit": [
|
|
2758
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
2759
|
+
]
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
"ApiKey": []
|
|
2763
|
+
}
|
|
2764
|
+
]
|
|
2765
|
+
}
|
|
2766
|
+
},
|
|
2767
|
+
"/v1.0/tenders/{id}/applications": {
|
|
2768
|
+
"get": {
|
|
2769
|
+
"tags": [
|
|
2770
|
+
"Tenders"
|
|
2771
|
+
],
|
|
2772
|
+
"summary": "Snokam's inbox of applications for a tender.",
|
|
2773
|
+
"operationId": "ListTenderApplications",
|
|
2774
|
+
"parameters": [
|
|
2775
|
+
{
|
|
2776
|
+
"name": "id",
|
|
2777
|
+
"in": "path",
|
|
2778
|
+
"required": true,
|
|
2779
|
+
"schema": {
|
|
2780
|
+
"type": "string"
|
|
2781
|
+
}
|
|
2782
|
+
}
|
|
2783
|
+
],
|
|
2784
|
+
"responses": {
|
|
2785
|
+
"200": {
|
|
2786
|
+
"description": "Payload of Array of TenderEngagement",
|
|
2787
|
+
"content": {
|
|
2788
|
+
"application/json": {
|
|
2789
|
+
"schema": {
|
|
2790
|
+
"type": "array",
|
|
2791
|
+
"items": {
|
|
2792
|
+
"$ref": "#/components/schemas/tenderEngagement"
|
|
2793
|
+
}
|
|
2794
|
+
}
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
},
|
|
2799
|
+
"security": [
|
|
2800
|
+
{
|
|
2801
|
+
"Implicit": [
|
|
2802
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
2803
|
+
]
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
"ApiKey": []
|
|
2807
|
+
}
|
|
2808
|
+
]
|
|
2809
|
+
}
|
|
2810
|
+
},
|
|
2811
|
+
"/v1.0/tenders/{id}/applications/{businessId}": {
|
|
2812
|
+
"put": {
|
|
2813
|
+
"tags": [
|
|
2814
|
+
"Tenders"
|
|
2815
|
+
],
|
|
2816
|
+
"summary": "Snokam includes an application in the bid, or rejects it.",
|
|
2817
|
+
"operationId": "DecideTenderApplication",
|
|
2818
|
+
"parameters": [
|
|
2819
|
+
{
|
|
2820
|
+
"name": "id",
|
|
2821
|
+
"in": "path",
|
|
2822
|
+
"required": true,
|
|
2823
|
+
"schema": {
|
|
2824
|
+
"type": "string"
|
|
2825
|
+
}
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"name": "businessId",
|
|
2829
|
+
"in": "path",
|
|
2830
|
+
"required": true,
|
|
2831
|
+
"schema": {
|
|
2832
|
+
"type": "string"
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2835
|
+
],
|
|
2836
|
+
"requestBody": {
|
|
2837
|
+
"content": {
|
|
2838
|
+
"application/json": {
|
|
2839
|
+
"schema": {
|
|
2840
|
+
"$ref": "#/components/schemas/tenderApplicationDecision"
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
},
|
|
2844
|
+
"required": true
|
|
2845
|
+
},
|
|
2846
|
+
"responses": {
|
|
2847
|
+
"200": {
|
|
2848
|
+
"description": "Payload of TenderEngagement",
|
|
2849
|
+
"content": {
|
|
2850
|
+
"application/json": {
|
|
2851
|
+
"schema": {
|
|
2852
|
+
"$ref": "#/components/schemas/tenderEngagement"
|
|
2853
|
+
}
|
|
2854
|
+
}
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
"404": {
|
|
2858
|
+
"description": "No description"
|
|
2859
|
+
}
|
|
2860
|
+
},
|
|
2861
|
+
"security": [
|
|
2862
|
+
{
|
|
2863
|
+
"Implicit": [
|
|
2864
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
2865
|
+
]
|
|
2866
|
+
},
|
|
2867
|
+
{
|
|
2868
|
+
"ApiKey": []
|
|
2869
|
+
}
|
|
2870
|
+
]
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2514
2873
|
"/v1.0/tenders/{id}/consultants": {
|
|
2515
2874
|
"post": {
|
|
2516
2875
|
"tags": [
|
|
@@ -4304,6 +4663,25 @@
|
|
|
4304
4663
|
}
|
|
4305
4664
|
}
|
|
4306
4665
|
},
|
|
4666
|
+
"documentAccessDecision": {
|
|
4667
|
+
"type": "object",
|
|
4668
|
+
"properties": {
|
|
4669
|
+
"status": {
|
|
4670
|
+
"type": "string"
|
|
4671
|
+
},
|
|
4672
|
+
"decisionNote": {
|
|
4673
|
+
"type": "string"
|
|
4674
|
+
}
|
|
4675
|
+
}
|
|
4676
|
+
},
|
|
4677
|
+
"documentAccessRequest": {
|
|
4678
|
+
"type": "object",
|
|
4679
|
+
"properties": {
|
|
4680
|
+
"note": {
|
|
4681
|
+
"type": "string"
|
|
4682
|
+
}
|
|
4683
|
+
}
|
|
4684
|
+
},
|
|
4307
4685
|
"ensureCvVariantRequest": {
|
|
4308
4686
|
"type": "object",
|
|
4309
4687
|
"properties": {
|
|
@@ -4708,6 +5086,74 @@
|
|
|
4708
5086
|
}
|
|
4709
5087
|
}
|
|
4710
5088
|
},
|
|
5089
|
+
"tenderApplication": {
|
|
5090
|
+
"type": "object",
|
|
5091
|
+
"properties": {
|
|
5092
|
+
"status": {
|
|
5093
|
+
"type": "string",
|
|
5094
|
+
"nullable": true
|
|
5095
|
+
},
|
|
5096
|
+
"submittedAt": {
|
|
5097
|
+
"type": "string",
|
|
5098
|
+
"format": "date-time",
|
|
5099
|
+
"nullable": true
|
|
5100
|
+
},
|
|
5101
|
+
"submittedBy": {
|
|
5102
|
+
"type": "string",
|
|
5103
|
+
"nullable": true
|
|
5104
|
+
},
|
|
5105
|
+
"consultantEmails": {
|
|
5106
|
+
"type": "array",
|
|
5107
|
+
"items": {
|
|
5108
|
+
"type": "string"
|
|
5109
|
+
},
|
|
5110
|
+
"nullable": true
|
|
5111
|
+
},
|
|
5112
|
+
"note": {
|
|
5113
|
+
"type": "string",
|
|
5114
|
+
"nullable": true
|
|
5115
|
+
},
|
|
5116
|
+
"decidedAt": {
|
|
5117
|
+
"type": "string",
|
|
5118
|
+
"format": "date-time",
|
|
5119
|
+
"nullable": true
|
|
5120
|
+
},
|
|
5121
|
+
"decidedBy": {
|
|
5122
|
+
"type": "string",
|
|
5123
|
+
"nullable": true
|
|
5124
|
+
},
|
|
5125
|
+
"decisionNote": {
|
|
5126
|
+
"type": "string",
|
|
5127
|
+
"nullable": true
|
|
5128
|
+
}
|
|
5129
|
+
},
|
|
5130
|
+
"nullable": true
|
|
5131
|
+
},
|
|
5132
|
+
"tenderApplicationDecision": {
|
|
5133
|
+
"type": "object",
|
|
5134
|
+
"properties": {
|
|
5135
|
+
"status": {
|
|
5136
|
+
"type": "string"
|
|
5137
|
+
},
|
|
5138
|
+
"decisionNote": {
|
|
5139
|
+
"type": "string"
|
|
5140
|
+
}
|
|
5141
|
+
}
|
|
5142
|
+
},
|
|
5143
|
+
"tenderApplicationRequest": {
|
|
5144
|
+
"type": "object",
|
|
5145
|
+
"properties": {
|
|
5146
|
+
"consultantEmails": {
|
|
5147
|
+
"type": "array",
|
|
5148
|
+
"items": {
|
|
5149
|
+
"type": "string"
|
|
5150
|
+
}
|
|
5151
|
+
},
|
|
5152
|
+
"note": {
|
|
5153
|
+
"type": "string"
|
|
5154
|
+
}
|
|
5155
|
+
}
|
|
5156
|
+
},
|
|
4711
5157
|
"tenderAudit": {
|
|
4712
5158
|
"type": "object",
|
|
4713
5159
|
"properties": {
|
|
@@ -4961,6 +5407,95 @@
|
|
|
4961
5407
|
}
|
|
4962
5408
|
}
|
|
4963
5409
|
},
|
|
5410
|
+
"tenderDocumentAccess": {
|
|
5411
|
+
"type": "object",
|
|
5412
|
+
"properties": {
|
|
5413
|
+
"status": {
|
|
5414
|
+
"type": "string",
|
|
5415
|
+
"nullable": true
|
|
5416
|
+
},
|
|
5417
|
+
"requestedAt": {
|
|
5418
|
+
"type": "string",
|
|
5419
|
+
"format": "date-time",
|
|
5420
|
+
"nullable": true
|
|
5421
|
+
},
|
|
5422
|
+
"requestedBy": {
|
|
5423
|
+
"type": "string",
|
|
5424
|
+
"nullable": true
|
|
5425
|
+
},
|
|
5426
|
+
"note": {
|
|
5427
|
+
"type": "string",
|
|
5428
|
+
"nullable": true
|
|
5429
|
+
},
|
|
5430
|
+
"decidedAt": {
|
|
5431
|
+
"type": "string",
|
|
5432
|
+
"format": "date-time",
|
|
5433
|
+
"nullable": true
|
|
5434
|
+
},
|
|
5435
|
+
"decidedBy": {
|
|
5436
|
+
"type": "string",
|
|
5437
|
+
"nullable": true
|
|
5438
|
+
},
|
|
5439
|
+
"decisionNote": {
|
|
5440
|
+
"type": "string",
|
|
5441
|
+
"nullable": true
|
|
5442
|
+
}
|
|
5443
|
+
},
|
|
5444
|
+
"nullable": true
|
|
5445
|
+
},
|
|
5446
|
+
"tenderEngagement": {
|
|
5447
|
+
"type": "object",
|
|
5448
|
+
"properties": {
|
|
5449
|
+
"id": {
|
|
5450
|
+
"type": "string",
|
|
5451
|
+
"nullable": true
|
|
5452
|
+
},
|
|
5453
|
+
"type": {
|
|
5454
|
+
"type": "string",
|
|
5455
|
+
"nullable": true
|
|
5456
|
+
},
|
|
5457
|
+
"businessId": {
|
|
5458
|
+
"type": "string",
|
|
5459
|
+
"nullable": true
|
|
5460
|
+
},
|
|
5461
|
+
"tenderId": {
|
|
5462
|
+
"type": "string",
|
|
5463
|
+
"nullable": true
|
|
5464
|
+
},
|
|
5465
|
+
"consultantMatches": {
|
|
5466
|
+
"type": "array",
|
|
5467
|
+
"items": {
|
|
5468
|
+
"$ref": "#/components/schemas/consultantMatch"
|
|
5469
|
+
},
|
|
5470
|
+
"nullable": true
|
|
5471
|
+
},
|
|
5472
|
+
"assignedConsultants": {
|
|
5473
|
+
"type": "array",
|
|
5474
|
+
"items": {
|
|
5475
|
+
"$ref": "#/components/schemas/assignedConsultant"
|
|
5476
|
+
},
|
|
5477
|
+
"nullable": true
|
|
5478
|
+
},
|
|
5479
|
+
"cvProposal": {
|
|
5480
|
+
"$ref": "#/components/schemas/tenderCvProposal"
|
|
5481
|
+
},
|
|
5482
|
+
"salesforce": {
|
|
5483
|
+
"$ref": "#/components/schemas/tenderSalesforce"
|
|
5484
|
+
},
|
|
5485
|
+
"documentAccess": {
|
|
5486
|
+
"$ref": "#/components/schemas/tenderDocumentAccess"
|
|
5487
|
+
},
|
|
5488
|
+
"application": {
|
|
5489
|
+
"$ref": "#/components/schemas/tenderApplication"
|
|
5490
|
+
},
|
|
5491
|
+
"audit": {
|
|
5492
|
+
"$ref": "#/components/schemas/tenderAudit"
|
|
5493
|
+
},
|
|
5494
|
+
"hasGrantedDocumentAccess": {
|
|
5495
|
+
"type": "boolean"
|
|
5496
|
+
}
|
|
5497
|
+
}
|
|
5498
|
+
},
|
|
4964
5499
|
"tenderInfo": {
|
|
4965
5500
|
"type": "object",
|
|
4966
5501
|
"properties": {
|
package/specs/test/sales.json
CHANGED
|
@@ -2511,6 +2511,365 @@
|
|
|
2511
2511
|
]
|
|
2512
2512
|
}
|
|
2513
2513
|
},
|
|
2514
|
+
"/v1.0/tenders/{id}/document-access": {
|
|
2515
|
+
"post": {
|
|
2516
|
+
"tags": [
|
|
2517
|
+
"Tenders"
|
|
2518
|
+
],
|
|
2519
|
+
"summary": "Ask Snokam for access to a tender's competition documents.",
|
|
2520
|
+
"operationId": "RequestTenderDocumentAccess",
|
|
2521
|
+
"parameters": [
|
|
2522
|
+
{
|
|
2523
|
+
"name": "id",
|
|
2524
|
+
"in": "path",
|
|
2525
|
+
"required": true,
|
|
2526
|
+
"schema": {
|
|
2527
|
+
"type": "string"
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
],
|
|
2531
|
+
"requestBody": {
|
|
2532
|
+
"content": {
|
|
2533
|
+
"application/json": {
|
|
2534
|
+
"schema": {
|
|
2535
|
+
"$ref": "#/components/schemas/documentAccessRequest"
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
},
|
|
2540
|
+
"responses": {
|
|
2541
|
+
"200": {
|
|
2542
|
+
"description": "Payload of TenderView",
|
|
2543
|
+
"content": {
|
|
2544
|
+
"application/json": {
|
|
2545
|
+
"schema": {
|
|
2546
|
+
"$ref": "#/components/schemas/tenderView"
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
2550
|
+
},
|
|
2551
|
+
"404": {
|
|
2552
|
+
"description": "No description"
|
|
2553
|
+
}
|
|
2554
|
+
},
|
|
2555
|
+
"security": [
|
|
2556
|
+
{
|
|
2557
|
+
"Implicit": [
|
|
2558
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
2559
|
+
]
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
"ApiKey": []
|
|
2563
|
+
}
|
|
2564
|
+
]
|
|
2565
|
+
},
|
|
2566
|
+
"get": {
|
|
2567
|
+
"tags": [
|
|
2568
|
+
"Tenders"
|
|
2569
|
+
],
|
|
2570
|
+
"summary": "Snokam's list of companies asking for document access on a tender.",
|
|
2571
|
+
"operationId": "ListTenderDocumentAccessRequests",
|
|
2572
|
+
"parameters": [
|
|
2573
|
+
{
|
|
2574
|
+
"name": "id",
|
|
2575
|
+
"in": "path",
|
|
2576
|
+
"required": true,
|
|
2577
|
+
"schema": {
|
|
2578
|
+
"type": "string"
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
],
|
|
2582
|
+
"responses": {
|
|
2583
|
+
"200": {
|
|
2584
|
+
"description": "Payload of Array of TenderEngagement",
|
|
2585
|
+
"content": {
|
|
2586
|
+
"application/json": {
|
|
2587
|
+
"schema": {
|
|
2588
|
+
"type": "array",
|
|
2589
|
+
"items": {
|
|
2590
|
+
"$ref": "#/components/schemas/tenderEngagement"
|
|
2591
|
+
}
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
}
|
|
2596
|
+
},
|
|
2597
|
+
"security": [
|
|
2598
|
+
{
|
|
2599
|
+
"Implicit": [
|
|
2600
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
2601
|
+
]
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"ApiKey": []
|
|
2605
|
+
}
|
|
2606
|
+
]
|
|
2607
|
+
}
|
|
2608
|
+
},
|
|
2609
|
+
"/v1.0/tenders/{id}/document-access/{businessId}": {
|
|
2610
|
+
"put": {
|
|
2611
|
+
"tags": [
|
|
2612
|
+
"Tenders"
|
|
2613
|
+
],
|
|
2614
|
+
"summary": "Snokam grants or denies a company access to a tender's documents.",
|
|
2615
|
+
"operationId": "DecideTenderDocumentAccess",
|
|
2616
|
+
"parameters": [
|
|
2617
|
+
{
|
|
2618
|
+
"name": "id",
|
|
2619
|
+
"in": "path",
|
|
2620
|
+
"required": true,
|
|
2621
|
+
"schema": {
|
|
2622
|
+
"type": "string"
|
|
2623
|
+
}
|
|
2624
|
+
},
|
|
2625
|
+
{
|
|
2626
|
+
"name": "businessId",
|
|
2627
|
+
"in": "path",
|
|
2628
|
+
"required": true,
|
|
2629
|
+
"schema": {
|
|
2630
|
+
"type": "string"
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
],
|
|
2634
|
+
"requestBody": {
|
|
2635
|
+
"content": {
|
|
2636
|
+
"application/json": {
|
|
2637
|
+
"schema": {
|
|
2638
|
+
"$ref": "#/components/schemas/documentAccessDecision"
|
|
2639
|
+
}
|
|
2640
|
+
}
|
|
2641
|
+
},
|
|
2642
|
+
"required": true
|
|
2643
|
+
},
|
|
2644
|
+
"responses": {
|
|
2645
|
+
"200": {
|
|
2646
|
+
"description": "Payload of TenderEngagement",
|
|
2647
|
+
"content": {
|
|
2648
|
+
"application/json": {
|
|
2649
|
+
"schema": {
|
|
2650
|
+
"$ref": "#/components/schemas/tenderEngagement"
|
|
2651
|
+
}
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
},
|
|
2655
|
+
"404": {
|
|
2656
|
+
"description": "No description"
|
|
2657
|
+
}
|
|
2658
|
+
},
|
|
2659
|
+
"security": [
|
|
2660
|
+
{
|
|
2661
|
+
"Implicit": [
|
|
2662
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
2663
|
+
]
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
"ApiKey": []
|
|
2667
|
+
}
|
|
2668
|
+
]
|
|
2669
|
+
}
|
|
2670
|
+
},
|
|
2671
|
+
"/v1.0/tenders/{id}/application": {
|
|
2672
|
+
"post": {
|
|
2673
|
+
"tags": [
|
|
2674
|
+
"Tenders"
|
|
2675
|
+
],
|
|
2676
|
+
"summary": "Apply for a tender. The application goes to Snokam, who reviews it and sends it together with their own consultants.",
|
|
2677
|
+
"operationId": "SubmitTenderApplication",
|
|
2678
|
+
"parameters": [
|
|
2679
|
+
{
|
|
2680
|
+
"name": "id",
|
|
2681
|
+
"in": "path",
|
|
2682
|
+
"required": true,
|
|
2683
|
+
"schema": {
|
|
2684
|
+
"type": "string"
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2687
|
+
],
|
|
2688
|
+
"requestBody": {
|
|
2689
|
+
"content": {
|
|
2690
|
+
"application/json": {
|
|
2691
|
+
"schema": {
|
|
2692
|
+
"$ref": "#/components/schemas/tenderApplicationRequest"
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
},
|
|
2696
|
+
"required": true
|
|
2697
|
+
},
|
|
2698
|
+
"responses": {
|
|
2699
|
+
"200": {
|
|
2700
|
+
"description": "Payload of TenderView",
|
|
2701
|
+
"content": {
|
|
2702
|
+
"application/json": {
|
|
2703
|
+
"schema": {
|
|
2704
|
+
"$ref": "#/components/schemas/tenderView"
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
},
|
|
2709
|
+
"404": {
|
|
2710
|
+
"description": "No description"
|
|
2711
|
+
}
|
|
2712
|
+
},
|
|
2713
|
+
"security": [
|
|
2714
|
+
{
|
|
2715
|
+
"Implicit": [
|
|
2716
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
2717
|
+
]
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
"ApiKey": []
|
|
2721
|
+
}
|
|
2722
|
+
]
|
|
2723
|
+
},
|
|
2724
|
+
"delete": {
|
|
2725
|
+
"tags": [
|
|
2726
|
+
"Tenders"
|
|
2727
|
+
],
|
|
2728
|
+
"summary": "Withdraw an application.",
|
|
2729
|
+
"operationId": "WithdrawTenderApplication",
|
|
2730
|
+
"parameters": [
|
|
2731
|
+
{
|
|
2732
|
+
"name": "id",
|
|
2733
|
+
"in": "path",
|
|
2734
|
+
"required": true,
|
|
2735
|
+
"schema": {
|
|
2736
|
+
"type": "string"
|
|
2737
|
+
}
|
|
2738
|
+
}
|
|
2739
|
+
],
|
|
2740
|
+
"responses": {
|
|
2741
|
+
"200": {
|
|
2742
|
+
"description": "Payload of TenderView",
|
|
2743
|
+
"content": {
|
|
2744
|
+
"application/json": {
|
|
2745
|
+
"schema": {
|
|
2746
|
+
"$ref": "#/components/schemas/tenderView"
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
}
|
|
2750
|
+
},
|
|
2751
|
+
"404": {
|
|
2752
|
+
"description": "No description"
|
|
2753
|
+
}
|
|
2754
|
+
},
|
|
2755
|
+
"security": [
|
|
2756
|
+
{
|
|
2757
|
+
"Implicit": [
|
|
2758
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
2759
|
+
]
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
"ApiKey": []
|
|
2763
|
+
}
|
|
2764
|
+
]
|
|
2765
|
+
}
|
|
2766
|
+
},
|
|
2767
|
+
"/v1.0/tenders/{id}/applications": {
|
|
2768
|
+
"get": {
|
|
2769
|
+
"tags": [
|
|
2770
|
+
"Tenders"
|
|
2771
|
+
],
|
|
2772
|
+
"summary": "Snokam's inbox of applications for a tender.",
|
|
2773
|
+
"operationId": "ListTenderApplications",
|
|
2774
|
+
"parameters": [
|
|
2775
|
+
{
|
|
2776
|
+
"name": "id",
|
|
2777
|
+
"in": "path",
|
|
2778
|
+
"required": true,
|
|
2779
|
+
"schema": {
|
|
2780
|
+
"type": "string"
|
|
2781
|
+
}
|
|
2782
|
+
}
|
|
2783
|
+
],
|
|
2784
|
+
"responses": {
|
|
2785
|
+
"200": {
|
|
2786
|
+
"description": "Payload of Array of TenderEngagement",
|
|
2787
|
+
"content": {
|
|
2788
|
+
"application/json": {
|
|
2789
|
+
"schema": {
|
|
2790
|
+
"type": "array",
|
|
2791
|
+
"items": {
|
|
2792
|
+
"$ref": "#/components/schemas/tenderEngagement"
|
|
2793
|
+
}
|
|
2794
|
+
}
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
},
|
|
2799
|
+
"security": [
|
|
2800
|
+
{
|
|
2801
|
+
"Implicit": [
|
|
2802
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
2803
|
+
]
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
"ApiKey": []
|
|
2807
|
+
}
|
|
2808
|
+
]
|
|
2809
|
+
}
|
|
2810
|
+
},
|
|
2811
|
+
"/v1.0/tenders/{id}/applications/{businessId}": {
|
|
2812
|
+
"put": {
|
|
2813
|
+
"tags": [
|
|
2814
|
+
"Tenders"
|
|
2815
|
+
],
|
|
2816
|
+
"summary": "Snokam includes an application in the bid, or rejects it.",
|
|
2817
|
+
"operationId": "DecideTenderApplication",
|
|
2818
|
+
"parameters": [
|
|
2819
|
+
{
|
|
2820
|
+
"name": "id",
|
|
2821
|
+
"in": "path",
|
|
2822
|
+
"required": true,
|
|
2823
|
+
"schema": {
|
|
2824
|
+
"type": "string"
|
|
2825
|
+
}
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"name": "businessId",
|
|
2829
|
+
"in": "path",
|
|
2830
|
+
"required": true,
|
|
2831
|
+
"schema": {
|
|
2832
|
+
"type": "string"
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2835
|
+
],
|
|
2836
|
+
"requestBody": {
|
|
2837
|
+
"content": {
|
|
2838
|
+
"application/json": {
|
|
2839
|
+
"schema": {
|
|
2840
|
+
"$ref": "#/components/schemas/tenderApplicationDecision"
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
},
|
|
2844
|
+
"required": true
|
|
2845
|
+
},
|
|
2846
|
+
"responses": {
|
|
2847
|
+
"200": {
|
|
2848
|
+
"description": "Payload of TenderEngagement",
|
|
2849
|
+
"content": {
|
|
2850
|
+
"application/json": {
|
|
2851
|
+
"schema": {
|
|
2852
|
+
"$ref": "#/components/schemas/tenderEngagement"
|
|
2853
|
+
}
|
|
2854
|
+
}
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
"404": {
|
|
2858
|
+
"description": "No description"
|
|
2859
|
+
}
|
|
2860
|
+
},
|
|
2861
|
+
"security": [
|
|
2862
|
+
{
|
|
2863
|
+
"Implicit": [
|
|
2864
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
2865
|
+
]
|
|
2866
|
+
},
|
|
2867
|
+
{
|
|
2868
|
+
"ApiKey": []
|
|
2869
|
+
}
|
|
2870
|
+
]
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2514
2873
|
"/v1.0/tenders/{id}/consultants": {
|
|
2515
2874
|
"post": {
|
|
2516
2875
|
"tags": [
|
|
@@ -4304,6 +4663,25 @@
|
|
|
4304
4663
|
}
|
|
4305
4664
|
}
|
|
4306
4665
|
},
|
|
4666
|
+
"documentAccessDecision": {
|
|
4667
|
+
"type": "object",
|
|
4668
|
+
"properties": {
|
|
4669
|
+
"status": {
|
|
4670
|
+
"type": "string"
|
|
4671
|
+
},
|
|
4672
|
+
"decisionNote": {
|
|
4673
|
+
"type": "string"
|
|
4674
|
+
}
|
|
4675
|
+
}
|
|
4676
|
+
},
|
|
4677
|
+
"documentAccessRequest": {
|
|
4678
|
+
"type": "object",
|
|
4679
|
+
"properties": {
|
|
4680
|
+
"note": {
|
|
4681
|
+
"type": "string"
|
|
4682
|
+
}
|
|
4683
|
+
}
|
|
4684
|
+
},
|
|
4307
4685
|
"ensureCvVariantRequest": {
|
|
4308
4686
|
"type": "object",
|
|
4309
4687
|
"properties": {
|
|
@@ -4708,6 +5086,74 @@
|
|
|
4708
5086
|
}
|
|
4709
5087
|
}
|
|
4710
5088
|
},
|
|
5089
|
+
"tenderApplication": {
|
|
5090
|
+
"type": "object",
|
|
5091
|
+
"properties": {
|
|
5092
|
+
"status": {
|
|
5093
|
+
"type": "string",
|
|
5094
|
+
"nullable": true
|
|
5095
|
+
},
|
|
5096
|
+
"submittedAt": {
|
|
5097
|
+
"type": "string",
|
|
5098
|
+
"format": "date-time",
|
|
5099
|
+
"nullable": true
|
|
5100
|
+
},
|
|
5101
|
+
"submittedBy": {
|
|
5102
|
+
"type": "string",
|
|
5103
|
+
"nullable": true
|
|
5104
|
+
},
|
|
5105
|
+
"consultantEmails": {
|
|
5106
|
+
"type": "array",
|
|
5107
|
+
"items": {
|
|
5108
|
+
"type": "string"
|
|
5109
|
+
},
|
|
5110
|
+
"nullable": true
|
|
5111
|
+
},
|
|
5112
|
+
"note": {
|
|
5113
|
+
"type": "string",
|
|
5114
|
+
"nullable": true
|
|
5115
|
+
},
|
|
5116
|
+
"decidedAt": {
|
|
5117
|
+
"type": "string",
|
|
5118
|
+
"format": "date-time",
|
|
5119
|
+
"nullable": true
|
|
5120
|
+
},
|
|
5121
|
+
"decidedBy": {
|
|
5122
|
+
"type": "string",
|
|
5123
|
+
"nullable": true
|
|
5124
|
+
},
|
|
5125
|
+
"decisionNote": {
|
|
5126
|
+
"type": "string",
|
|
5127
|
+
"nullable": true
|
|
5128
|
+
}
|
|
5129
|
+
},
|
|
5130
|
+
"nullable": true
|
|
5131
|
+
},
|
|
5132
|
+
"tenderApplicationDecision": {
|
|
5133
|
+
"type": "object",
|
|
5134
|
+
"properties": {
|
|
5135
|
+
"status": {
|
|
5136
|
+
"type": "string"
|
|
5137
|
+
},
|
|
5138
|
+
"decisionNote": {
|
|
5139
|
+
"type": "string"
|
|
5140
|
+
}
|
|
5141
|
+
}
|
|
5142
|
+
},
|
|
5143
|
+
"tenderApplicationRequest": {
|
|
5144
|
+
"type": "object",
|
|
5145
|
+
"properties": {
|
|
5146
|
+
"consultantEmails": {
|
|
5147
|
+
"type": "array",
|
|
5148
|
+
"items": {
|
|
5149
|
+
"type": "string"
|
|
5150
|
+
}
|
|
5151
|
+
},
|
|
5152
|
+
"note": {
|
|
5153
|
+
"type": "string"
|
|
5154
|
+
}
|
|
5155
|
+
}
|
|
5156
|
+
},
|
|
4711
5157
|
"tenderAudit": {
|
|
4712
5158
|
"type": "object",
|
|
4713
5159
|
"properties": {
|
|
@@ -4961,6 +5407,95 @@
|
|
|
4961
5407
|
}
|
|
4962
5408
|
}
|
|
4963
5409
|
},
|
|
5410
|
+
"tenderDocumentAccess": {
|
|
5411
|
+
"type": "object",
|
|
5412
|
+
"properties": {
|
|
5413
|
+
"status": {
|
|
5414
|
+
"type": "string",
|
|
5415
|
+
"nullable": true
|
|
5416
|
+
},
|
|
5417
|
+
"requestedAt": {
|
|
5418
|
+
"type": "string",
|
|
5419
|
+
"format": "date-time",
|
|
5420
|
+
"nullable": true
|
|
5421
|
+
},
|
|
5422
|
+
"requestedBy": {
|
|
5423
|
+
"type": "string",
|
|
5424
|
+
"nullable": true
|
|
5425
|
+
},
|
|
5426
|
+
"note": {
|
|
5427
|
+
"type": "string",
|
|
5428
|
+
"nullable": true
|
|
5429
|
+
},
|
|
5430
|
+
"decidedAt": {
|
|
5431
|
+
"type": "string",
|
|
5432
|
+
"format": "date-time",
|
|
5433
|
+
"nullable": true
|
|
5434
|
+
},
|
|
5435
|
+
"decidedBy": {
|
|
5436
|
+
"type": "string",
|
|
5437
|
+
"nullable": true
|
|
5438
|
+
},
|
|
5439
|
+
"decisionNote": {
|
|
5440
|
+
"type": "string",
|
|
5441
|
+
"nullable": true
|
|
5442
|
+
}
|
|
5443
|
+
},
|
|
5444
|
+
"nullable": true
|
|
5445
|
+
},
|
|
5446
|
+
"tenderEngagement": {
|
|
5447
|
+
"type": "object",
|
|
5448
|
+
"properties": {
|
|
5449
|
+
"id": {
|
|
5450
|
+
"type": "string",
|
|
5451
|
+
"nullable": true
|
|
5452
|
+
},
|
|
5453
|
+
"type": {
|
|
5454
|
+
"type": "string",
|
|
5455
|
+
"nullable": true
|
|
5456
|
+
},
|
|
5457
|
+
"businessId": {
|
|
5458
|
+
"type": "string",
|
|
5459
|
+
"nullable": true
|
|
5460
|
+
},
|
|
5461
|
+
"tenderId": {
|
|
5462
|
+
"type": "string",
|
|
5463
|
+
"nullable": true
|
|
5464
|
+
},
|
|
5465
|
+
"consultantMatches": {
|
|
5466
|
+
"type": "array",
|
|
5467
|
+
"items": {
|
|
5468
|
+
"$ref": "#/components/schemas/consultantMatch"
|
|
5469
|
+
},
|
|
5470
|
+
"nullable": true
|
|
5471
|
+
},
|
|
5472
|
+
"assignedConsultants": {
|
|
5473
|
+
"type": "array",
|
|
5474
|
+
"items": {
|
|
5475
|
+
"$ref": "#/components/schemas/assignedConsultant"
|
|
5476
|
+
},
|
|
5477
|
+
"nullable": true
|
|
5478
|
+
},
|
|
5479
|
+
"cvProposal": {
|
|
5480
|
+
"$ref": "#/components/schemas/tenderCvProposal"
|
|
5481
|
+
},
|
|
5482
|
+
"salesforce": {
|
|
5483
|
+
"$ref": "#/components/schemas/tenderSalesforce"
|
|
5484
|
+
},
|
|
5485
|
+
"documentAccess": {
|
|
5486
|
+
"$ref": "#/components/schemas/tenderDocumentAccess"
|
|
5487
|
+
},
|
|
5488
|
+
"application": {
|
|
5489
|
+
"$ref": "#/components/schemas/tenderApplication"
|
|
5490
|
+
},
|
|
5491
|
+
"audit": {
|
|
5492
|
+
"$ref": "#/components/schemas/tenderAudit"
|
|
5493
|
+
},
|
|
5494
|
+
"hasGrantedDocumentAccess": {
|
|
5495
|
+
"type": "boolean"
|
|
5496
|
+
}
|
|
5497
|
+
}
|
|
5498
|
+
},
|
|
4964
5499
|
"tenderInfo": {
|
|
4965
5500
|
"type": "object",
|
|
4966
5501
|
"properties": {
|