@snokam/mcp-api 1.0.0 → 1.0.2

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.
@@ -1755,6 +1755,84 @@
1755
1755
  ]
1756
1756
  }
1757
1757
  },
1758
+ "/v1.0/reinvoicing/kickback/review": {
1759
+ "get": {
1760
+ "tags": [
1761
+ "Reinvoicing"
1762
+ ],
1763
+ "summary": "Kickback invoices awaiting review",
1764
+ "description": "Forwarded subcontractor invoices from the provisjon inbox, AI-extracted and matched to a subproject, with the suggested provision.",
1765
+ "operationId": "GetKickbackReview",
1766
+ "responses": {
1767
+ "200": {
1768
+ "description": "Payload of Array of KickbackReviewItem",
1769
+ "content": {
1770
+ "application/json": {
1771
+ "schema": {
1772
+ "type": "array",
1773
+ "items": {
1774
+ "$ref": "#/components/schemas/kickbackReviewItem"
1775
+ }
1776
+ }
1777
+ }
1778
+ },
1779
+ "x-ms-summary": "Success"
1780
+ }
1781
+ },
1782
+ "security": [
1783
+ {
1784
+ "Implicit": [
1785
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
1786
+ ]
1787
+ },
1788
+ {
1789
+ "ApiKey": []
1790
+ }
1791
+ ]
1792
+ }
1793
+ },
1794
+ "/v1.0/reinvoicing/kickback/{messageId}/generate": {
1795
+ "post": {
1796
+ "tags": [
1797
+ "Reinvoicing"
1798
+ ],
1799
+ "summary": "Create the provision draft invoice for a forwarded kickback invoice",
1800
+ "operationId": "GenerateKickbackDraft",
1801
+ "parameters": [
1802
+ {
1803
+ "name": "messageId",
1804
+ "in": "path",
1805
+ "required": true,
1806
+ "schema": {
1807
+ "type": "string"
1808
+ }
1809
+ }
1810
+ ],
1811
+ "responses": {
1812
+ "200": {
1813
+ "description": "Payload of KickbackDraftResult",
1814
+ "content": {
1815
+ "application/json": {
1816
+ "schema": {
1817
+ "$ref": "#/components/schemas/kickbackDraftResult"
1818
+ }
1819
+ }
1820
+ },
1821
+ "x-ms-summary": "Success"
1822
+ }
1823
+ },
1824
+ "security": [
1825
+ {
1826
+ "Implicit": [
1827
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
1828
+ ]
1829
+ },
1830
+ {
1831
+ "ApiKey": []
1832
+ }
1833
+ ]
1834
+ }
1835
+ },
1758
1836
  "/v1.0/calculators/salary": {
1759
1837
  "get": {
1760
1838
  "tags": [
@@ -2392,18 +2470,18 @@
2392
2470
  "tags": [
2393
2471
  "Reinvoicing"
2394
2472
  ],
2395
- "summary": "Lists configured subcontractors",
2396
- "description": "Subcontractors configured for re-invoicing (supplierCode, cutPercent, customerCode fallback), sourced from Sanity.",
2397
- "operationId": "GetSubcontractors",
2473
+ "summary": "Lists subcontractor projects",
2474
+ "description": "PowerOffice projects with an invoice markup (Fakturapåslag), with their end customer and markup.",
2475
+ "operationId": "GetSubcontractorProjects",
2398
2476
  "responses": {
2399
2477
  "200": {
2400
- "description": "Payload of Array of SubcontractorConfig",
2478
+ "description": "Payload of Array of SubcontractorProject",
2401
2479
  "content": {
2402
2480
  "application/json": {
2403
2481
  "schema": {
2404
2482
  "type": "array",
2405
2483
  "items": {
2406
- "$ref": "#/components/schemas/subcontractorConfig"
2484
+ "$ref": "#/components/schemas/subcontractorProject"
2407
2485
  }
2408
2486
  }
2409
2487
  }
@@ -2423,25 +2501,15 @@
2423
2501
  ]
2424
2502
  }
2425
2503
  },
2426
- "/v1.0/reinvoicing/subcontractor/{supplierCode}/invoices": {
2504
+ "/v1.0/reinvoicing/subcontractor/overview": {
2427
2505
  "get": {
2428
2506
  "tags": [
2429
2507
  "Reinvoicing"
2430
2508
  ],
2431
- "summary": "Lists a subcontractor's incoming invoices for a month",
2432
- "description": "The month's PowerOffice bilag (incoming supplier invoices) for the given supplier, for the review page to select from before generating drafts.",
2433
- "operationId": "GetSubcontractorSourceInvoices",
2509
+ "summary": "Yearly fakturering per subcontractor project",
2510
+ "description": "For the given year: each subcontractor project with its incoming supplier invoice total, outgoing invoice total and margin.",
2511
+ "operationId": "GetSubcontractorOverview",
2434
2512
  "parameters": [
2435
- {
2436
- "name": "supplierCode",
2437
- "in": "path",
2438
- "description": "PowerOffice supplier code",
2439
- "required": true,
2440
- "schema": {
2441
- "type": "integer",
2442
- "format": "int64"
2443
- }
2444
- },
2445
2513
  {
2446
2514
  "name": "year",
2447
2515
  "in": "query",
@@ -2450,27 +2518,17 @@
2450
2518
  "type": "integer",
2451
2519
  "format": "int32"
2452
2520
  }
2453
- },
2454
- {
2455
- "name": "month",
2456
- "in": "query",
2457
- "description": "1-12",
2458
- "required": true,
2459
- "schema": {
2460
- "type": "integer",
2461
- "format": "int32"
2462
- }
2463
2521
  }
2464
2522
  ],
2465
2523
  "responses": {
2466
2524
  "200": {
2467
- "description": "Payload of Array of SubcontractorSourceInvoiceSummary",
2525
+ "description": "Payload of Array of SubcontractorProjectSummary",
2468
2526
  "content": {
2469
2527
  "application/json": {
2470
2528
  "schema": {
2471
2529
  "type": "array",
2472
2530
  "items": {
2473
- "$ref": "#/components/schemas/subcontractorSourceInvoiceSummary"
2531
+ "$ref": "#/components/schemas/subcontractorProjectSummary"
2474
2532
  }
2475
2533
  }
2476
2534
  }
@@ -2490,25 +2548,15 @@
2490
2548
  ]
2491
2549
  }
2492
2550
  },
2493
- "/v1.0/reinvoicing/subcontractor/{supplierCode}/drafts": {
2551
+ "/v1.0/reinvoicing/subcontractor/income": {
2494
2552
  "get": {
2495
2553
  "tags": [
2496
2554
  "Reinvoicing"
2497
2555
  ],
2498
- "summary": "Lists a subcontractor's generated draft re-invoices for a month",
2499
- "description": "Draft outgoing invoices already generated for the supplier's bilag in the given month, matched by the reinvoice:{bilagId} external reference.",
2500
- "operationId": "GetSubcontractorDrafts",
2556
+ "summary": "Accumulated subcontractor re-invoicing income for a year",
2557
+ "description": "Per-month incoming, outgoing and margin across the year, with the running accumulated margin, for the year-to-date income graph.",
2558
+ "operationId": "GetSubcontractorAccumulatedIncome",
2501
2559
  "parameters": [
2502
- {
2503
- "name": "supplierCode",
2504
- "in": "path",
2505
- "description": "PowerOffice supplier code",
2506
- "required": true,
2507
- "schema": {
2508
- "type": "integer",
2509
- "format": "int64"
2510
- }
2511
- },
2512
2560
  {
2513
2561
  "name": "year",
2514
2562
  "in": "query",
@@ -2517,63 +2565,17 @@
2517
2565
  "type": "integer",
2518
2566
  "format": "int32"
2519
2567
  }
2520
- },
2521
- {
2522
- "name": "month",
2523
- "in": "query",
2524
- "description": "1-12",
2525
- "required": true,
2526
- "schema": {
2527
- "type": "integer",
2528
- "format": "int32"
2529
- }
2530
2568
  }
2531
2569
  ],
2532
2570
  "responses": {
2533
2571
  "200": {
2534
- "description": "Payload of Array of SubcontractorDraftInvoiceSummary",
2535
- "content": {
2536
- "application/json": {
2537
- "schema": {
2538
- "type": "array",
2539
- "items": {
2540
- "$ref": "#/components/schemas/subcontractorDraftInvoiceSummary"
2541
- }
2542
- }
2543
- }
2544
- },
2545
- "x-ms-summary": "Success"
2546
- }
2547
- },
2548
- "security": [
2549
- {
2550
- "Implicit": [
2551
- "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
2552
- ]
2553
- },
2554
- {
2555
- "ApiKey": []
2556
- }
2557
- ]
2558
- }
2559
- },
2560
- "/v1.0/reinvoicing/projects": {
2561
- "get": {
2562
- "tags": [
2563
- "Reinvoicing"
2564
- ],
2565
- "summary": "Lists all PowerOffice projects",
2566
- "description": "Projects available for the re-invoicing overview to select from.",
2567
- "operationId": "GetReinvoicingProjects",
2568
- "responses": {
2569
- "200": {
2570
- "description": "Payload of Array of AccountingProject",
2572
+ "description": "Payload of Array of SubcontractorIncomePoint",
2571
2573
  "content": {
2572
2574
  "application/json": {
2573
2575
  "schema": {
2574
2576
  "type": "array",
2575
2577
  "items": {
2576
- "$ref": "#/components/schemas/accountingProject"
2578
+ "$ref": "#/components/schemas/subcontractorIncomePoint"
2577
2579
  }
2578
2580
  }
2579
2581
  }
@@ -2593,19 +2595,18 @@
2593
2595
  ]
2594
2596
  }
2595
2597
  },
2596
- "/v1.0/reinvoicing/projects/{projectCode}/subcontractors": {
2598
+ "/v1.0/reinvoicing/project/{projectCode}/incoming": {
2597
2599
  "get": {
2598
2600
  "tags": [
2599
2601
  "Reinvoicing"
2600
2602
  ],
2601
- "summary": "Lists a project's subcontractors with their incoming and outgoing invoices",
2602
- "description": "For the selected project and month: each subcontractor (supplier) that has incoming bilag on the project, together with those incoming invoices and the outgoing draft re-invoices generated from them.",
2603
- "operationId": "GetProjectSubcontractors",
2603
+ "summary": "A project's incoming supplier invoices",
2604
+ "description": "Incoming supplier invoices for the project. Omit year for the project's full history; pass a year to narrow to that year.",
2605
+ "operationId": "GetProjectSourceInvoices",
2604
2606
  "parameters": [
2605
2607
  {
2606
2608
  "name": "projectCode",
2607
2609
  "in": "path",
2608
- "description": "PowerOffice project code",
2609
2610
  "required": true,
2610
2611
  "schema": {
2611
2612
  "type": "string"
@@ -2614,32 +2615,22 @@
2614
2615
  {
2615
2616
  "name": "year",
2616
2617
  "in": "query",
2617
- "required": true,
2618
- "schema": {
2619
- "type": "integer",
2620
- "format": "int32"
2621
- }
2622
- },
2623
- {
2624
- "name": "month",
2625
- "in": "query",
2626
- "description": "1-12",
2627
- "required": true,
2628
2618
  "schema": {
2629
2619
  "type": "integer",
2630
- "format": "int32"
2620
+ "format": "int32",
2621
+ "nullable": true
2631
2622
  }
2632
2623
  }
2633
2624
  ],
2634
2625
  "responses": {
2635
2626
  "200": {
2636
- "description": "Payload of Array of ProjectSubcontractor",
2627
+ "description": "Payload of Array of SubcontractorSourceInvoiceSummary",
2637
2628
  "content": {
2638
2629
  "application/json": {
2639
2630
  "schema": {
2640
2631
  "type": "array",
2641
2632
  "items": {
2642
- "$ref": "#/components/schemas/projectSubcontractor"
2633
+ "$ref": "#/components/schemas/subcontractorSourceInvoiceSummary"
2643
2634
  }
2644
2635
  }
2645
2636
  }
@@ -2659,91 +2650,42 @@
2659
2650
  ]
2660
2651
  }
2661
2652
  },
2662
- "/v1.0/reinvoicing/subcontractor/overview": {
2653
+ "/v1.0/reinvoicing/project/{projectCode}/outgoing": {
2663
2654
  "get": {
2664
2655
  "tags": [
2665
2656
  "Reinvoicing"
2666
2657
  ],
2667
- "summary": "Monthly fakturering per configured subcontractor",
2668
- "description": "For the given month: each configured subcontractor with its incoming supplier invoice total, outgoing re-invoice total and margin, for the overview table.",
2669
- "operationId": "GetSubcontractorMonthlyOverview",
2658
+ "summary": "A project's outgoing customer invoices",
2659
+ "description": "Outgoing customer invoices for the project. Omit year for the project's full history; pass a year to narrow to that year.",
2660
+ "operationId": "GetProjectOutgoingInvoices",
2670
2661
  "parameters": [
2671
2662
  {
2672
- "name": "year",
2673
- "in": "query",
2663
+ "name": "projectCode",
2664
+ "in": "path",
2674
2665
  "required": true,
2675
2666
  "schema": {
2676
- "type": "integer",
2677
- "format": "int32"
2667
+ "type": "string"
2678
2668
  }
2679
2669
  },
2680
- {
2681
- "name": "month",
2682
- "in": "query",
2683
- "description": "1-12",
2684
- "required": true,
2685
- "schema": {
2686
- "type": "integer",
2687
- "format": "int32"
2688
- }
2689
- }
2690
- ],
2691
- "responses": {
2692
- "200": {
2693
- "description": "Payload of Array of SubcontractorMonthlySummary",
2694
- "content": {
2695
- "application/json": {
2696
- "schema": {
2697
- "type": "array",
2698
- "items": {
2699
- "$ref": "#/components/schemas/subcontractorMonthlySummary"
2700
- }
2701
- }
2702
- }
2703
- },
2704
- "x-ms-summary": "Success"
2705
- }
2706
- },
2707
- "security": [
2708
- {
2709
- "Implicit": [
2710
- "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
2711
- ]
2712
- },
2713
- {
2714
- "ApiKey": []
2715
- }
2716
- ]
2717
- }
2718
- },
2719
- "/v1.0/reinvoicing/subcontractor/income": {
2720
- "get": {
2721
- "tags": [
2722
- "Reinvoicing"
2723
- ],
2724
- "summary": "Accumulated subcontractor re-invoicing income for a year",
2725
- "description": "Per-month incoming, outgoing and margin across the year, with the running accumulated margin, for the year-to-date income graph.",
2726
- "operationId": "GetSubcontractorAccumulatedIncome",
2727
- "parameters": [
2728
2670
  {
2729
2671
  "name": "year",
2730
2672
  "in": "query",
2731
- "required": true,
2732
2673
  "schema": {
2733
2674
  "type": "integer",
2734
- "format": "int32"
2675
+ "format": "int32",
2676
+ "nullable": true
2735
2677
  }
2736
2678
  }
2737
2679
  ],
2738
2680
  "responses": {
2739
2681
  "200": {
2740
- "description": "Payload of Array of SubcontractorIncomePoint",
2682
+ "description": "Payload of Array of OutgoingInvoiceSummary",
2741
2683
  "content": {
2742
2684
  "application/json": {
2743
2685
  "schema": {
2744
2686
  "type": "array",
2745
2687
  "items": {
2746
- "$ref": "#/components/schemas/subcontractorIncomePoint"
2688
+ "$ref": "#/components/schemas/outgoingInvoiceSummary"
2747
2689
  }
2748
2690
  }
2749
2691
  }
@@ -2769,13 +2711,12 @@
2769
2711
  "Reinvoicing"
2770
2712
  ],
2771
2713
  "summary": "Voucher documentation (PDF) for an invoice",
2772
- "description": "Base64-encoded documentation file attached to a voucher, for viewing the incoming supplier invoice or the outgoing re-invoice. Returns 404 when the voucher has no attached documentation.",
2714
+ "description": "Base64-encoded documentation file attached to a voucher. Returns 404 when the voucher has no attached documentation.",
2773
2715
  "operationId": "GetReinvoicingVoucherPdf",
2774
2716
  "parameters": [
2775
2717
  {
2776
2718
  "name": "voucherId",
2777
2719
  "in": "path",
2778
- "description": "PowerOffice voucher id (incoming supplier invoice or outgoing invoice)",
2779
2720
  "required": true,
2780
2721
  "schema": {
2781
2722
  "type": "string",
@@ -3014,32 +2955,6 @@
3014
2955
  }
3015
2956
  }
3016
2957
  },
3017
- "accountingProject": {
3018
- "type": "object",
3019
- "properties": {
3020
- "code": {
3021
- "type": "string"
3022
- },
3023
- "name": {
3024
- "type": "string"
3025
- },
3026
- "customerCode": {
3027
- "type": "integer",
3028
- "format": "int64",
3029
- "nullable": true
3030
- },
3031
- "startDate": {
3032
- "type": "string",
3033
- "format": "date-time",
3034
- "nullable": true
3035
- },
3036
- "endDate": {
3037
- "type": "string",
3038
- "format": "date-time",
3039
- "nullable": true
3040
- }
3041
- }
3042
- },
3043
2958
  "accountingSalaryLine": {
3044
2959
  "type": "object",
3045
2960
  "properties": {
@@ -3910,6 +3825,113 @@
3910
3825
  "jToken": {
3911
3826
  "type": "object"
3912
3827
  },
3828
+ "kickbackDraftResult": {
3829
+ "type": "object",
3830
+ "properties": {
3831
+ "messageId": {
3832
+ "type": "string"
3833
+ },
3834
+ "projectCode": {
3835
+ "type": "string"
3836
+ },
3837
+ "provisionAmount": {
3838
+ "type": "number",
3839
+ "format": "double"
3840
+ },
3841
+ "invoiceId": {
3842
+ "type": "string",
3843
+ "format": "uuid",
3844
+ "nullable": true
3845
+ }
3846
+ }
3847
+ },
3848
+ "kickbackInvoice": {
3849
+ "type": "object",
3850
+ "properties": {
3851
+ "supplier": {
3852
+ "type": "string"
3853
+ },
3854
+ "supplierOrgNo": {
3855
+ "type": "string"
3856
+ },
3857
+ "customer": {
3858
+ "type": "string"
3859
+ },
3860
+ "projectRef": {
3861
+ "type": "string"
3862
+ },
3863
+ "consultant": {
3864
+ "type": "string"
3865
+ },
3866
+ "invoiceNo": {
3867
+ "type": "string"
3868
+ },
3869
+ "invoiceDate": {
3870
+ "type": "string",
3871
+ "format": "date-time"
3872
+ },
3873
+ "currency": {
3874
+ "type": "string"
3875
+ },
3876
+ "netAmount": {
3877
+ "type": "number",
3878
+ "format": "double"
3879
+ },
3880
+ "vatAmount": {
3881
+ "type": "number",
3882
+ "format": "double"
3883
+ },
3884
+ "grossAmount": {
3885
+ "type": "number",
3886
+ "format": "double"
3887
+ }
3888
+ }
3889
+ },
3890
+ "kickbackReviewItem": {
3891
+ "type": "object",
3892
+ "properties": {
3893
+ "messageId": {
3894
+ "type": "string"
3895
+ },
3896
+ "fileName": {
3897
+ "type": "string"
3898
+ },
3899
+ "invoice": {
3900
+ "$ref": "#/components/schemas/kickbackInvoice"
3901
+ },
3902
+ "projectCode": {
3903
+ "type": "string"
3904
+ },
3905
+ "projectName": {
3906
+ "type": "string"
3907
+ },
3908
+ "matchConfidence": {
3909
+ "type": "number",
3910
+ "format": "double"
3911
+ },
3912
+ "matchReasoning": {
3913
+ "type": "string"
3914
+ },
3915
+ "provisionPercent": {
3916
+ "type": "number",
3917
+ "format": "double",
3918
+ "nullable": true
3919
+ },
3920
+ "provisionAmount": {
3921
+ "type": "number",
3922
+ "format": "double",
3923
+ "nullable": true
3924
+ },
3925
+ "customerCode": {
3926
+ "type": "integer",
3927
+ "format": "int64",
3928
+ "nullable": true
3929
+ },
3930
+ "alreadyInvoiced": {
3931
+ "type": "boolean"
3932
+ }
3933
+ }
3934
+ },
3913
3935
  "money": {
3914
3936
  "type": "object",
3915
3937
  "properties": {
@@ -3991,6 +4013,44 @@
3991
4013
  },
3992
4014
  "nullable": true
3993
4015
  },
4016
+ "outgoingInvoiceSummary": {
4017
+ "type": "object",
4018
+ "properties": {
4019
+ "id": {
4020
+ "type": "string",
4021
+ "format": "uuid"
4022
+ },
4023
+ "invoiceNo": {
4024
+ "type": "string"
4025
+ },
4026
+ "invoiceDate": {
4027
+ "type": "string",
4028
+ "format": "date-time"
4029
+ },
4030
+ "projectCode": {
4031
+ "type": "string"
4032
+ },
4033
+ "customerCode": {
4034
+ "type": "integer",
4035
+ "format": "int64",
4036
+ "nullable": true
4037
+ },
4038
+ "netAmount": {
4039
+ "type": "number",
4040
+ "format": "double"
4041
+ },
4042
+ "totalAmount": {
4043
+ "type": "number",
4044
+ "format": "double"
4045
+ },
4046
+ "currency": {
4047
+ "type": "string"
4048
+ },
4049
+ "status": {
4050
+ "type": "string"
4051
+ }
4052
+ }
4053
+ },
3994
4054
  "ownershipSnapshot": {
3995
4055
  "required": [
3996
4056
  "date",
@@ -4124,30 +4184,6 @@
4124
4184
  }
4125
4185
  }
4126
4186
  },
4127
- "projectSubcontractor": {
4128
- "type": "object",
4129
- "properties": {
4130
- "supplierCode": {
4131
- "type": "integer",
4132
- "format": "int64"
4133
- },
4134
- "supplierName": {
4135
- "type": "string"
4136
- },
4137
- "incomingInvoices": {
4138
- "type": "array",
4139
- "items": {
4140
- "$ref": "#/components/schemas/subcontractorSourceInvoiceSummary"
4141
- }
4142
- },
4143
- "outgoingInvoices": {
4144
- "type": "array",
4145
- "items": {
4146
- "$ref": "#/components/schemas/subcontractorDraftInvoiceSummary"
4147
- }
4148
- }
4149
- }
4150
- },
4151
4187
  "provisionSalaryResult": {
4152
4188
  "required": [
4153
4189
  "salary",
@@ -5280,55 +5316,6 @@
5280
5316
  }
5281
5317
  }
5282
5318
  },
5283
- "subcontractorConfig": {
5284
- "type": "object",
5285
- "properties": {
5286
- "name": {
5287
- "type": "string"
5288
- },
5289
- "supplierCode": {
5290
- "type": "integer",
5291
- "format": "int64"
5292
- },
5293
- "cutPercent": {
5294
- "type": "number",
5295
- "format": "double"
5296
- },
5297
- "customerCode": {
5298
- "type": "integer",
5299
- "format": "int64",
5300
- "nullable": true
5301
- }
5302
- }
5303
- },
5304
- "subcontractorDraftInvoiceSummary": {
5305
- "type": "object",
5306
- "properties": {
5307
- "supplierInvoiceId": {
5308
- "type": "string",
5309
- "format": "uuid"
5310
- },
5311
- "invoiceId": {
5312
- "type": "string",
5313
- "format": "uuid",
5314
- "nullable": true
5315
- },
5316
- "customerCode": {
5317
- "type": "integer",
5318
- "format": "int64"
5319
- },
5320
- "currency": {
5321
- "type": "string"
5322
- },
5323
- "totalAmount": {
5324
- "type": "number",
5325
- "format": "double"
5326
- },
5327
- "status": {
5328
- "type": "string"
5329
- }
5330
- }
5331
- },
5332
5319
  "subcontractorIncomePoint": {
5333
5320
  "type": "object",
5334
5321
  "properties": {
@@ -5450,25 +5437,65 @@
5450
5437
  }
5451
5438
  }
5452
5439
  },
5453
- "subcontractorMonthlySummary": {
5440
+ "subcontractorProject": {
5454
5441
  "type": "object",
5455
5442
  "properties": {
5456
- "supplierCode": {
5457
- "type": "integer",
5458
- "format": "int64"
5443
+ "projectCode": {
5444
+ "type": "string"
5459
5445
  },
5460
- "name": {
5446
+ "projectName": {
5461
5447
  "type": "string"
5462
5448
  },
5463
- "cutPercent": {
5449
+ "kind": {
5450
+ "type": "string"
5451
+ },
5452
+ "customerCode": {
5453
+ "type": "integer",
5454
+ "format": "int64",
5455
+ "nullable": true
5456
+ },
5457
+ "markupPercent": {
5464
5458
  "type": "number",
5465
- "format": "double"
5459
+ "format": "double",
5460
+ "nullable": true
5461
+ },
5462
+ "markupDescription": {
5463
+ "type": "string"
5464
+ },
5465
+ "startDate": {
5466
+ "type": "string",
5467
+ "format": "date-time",
5468
+ "nullable": true
5469
+ },
5470
+ "endDate": {
5471
+ "type": "string",
5472
+ "format": "date-time",
5473
+ "nullable": true
5474
+ }
5475
+ }
5476
+ },
5477
+ "subcontractorProjectSummary": {
5478
+ "type": "object",
5479
+ "properties": {
5480
+ "projectCode": {
5481
+ "type": "string"
5482
+ },
5483
+ "projectName": {
5484
+ "type": "string"
5485
+ },
5486
+ "kind": {
5487
+ "type": "string"
5466
5488
  },
5467
5489
  "customerCode": {
5468
5490
  "type": "integer",
5469
5491
  "format": "int64",
5470
5492
  "nullable": true
5471
5493
  },
5494
+ "markupPercent": {
5495
+ "type": "number",
5496
+ "format": "double",
5497
+ "nullable": true
5498
+ },
5472
5499
  "currency": {
5473
5500
  "type": "string"
5474
5501
  },