mcp-eregistrations-bpa 0.8.5__py3-none-any.whl

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.

Potentially problematic release.


This version of mcp-eregistrations-bpa might be problematic. Click here for more details.

Files changed (66) hide show
  1. mcp_eregistrations_bpa/__init__.py +121 -0
  2. mcp_eregistrations_bpa/__main__.py +6 -0
  3. mcp_eregistrations_bpa/arazzo/__init__.py +21 -0
  4. mcp_eregistrations_bpa/arazzo/expression.py +379 -0
  5. mcp_eregistrations_bpa/audit/__init__.py +56 -0
  6. mcp_eregistrations_bpa/audit/context.py +66 -0
  7. mcp_eregistrations_bpa/audit/logger.py +236 -0
  8. mcp_eregistrations_bpa/audit/models.py +131 -0
  9. mcp_eregistrations_bpa/auth/__init__.py +64 -0
  10. mcp_eregistrations_bpa/auth/callback.py +391 -0
  11. mcp_eregistrations_bpa/auth/cas.py +409 -0
  12. mcp_eregistrations_bpa/auth/oidc.py +252 -0
  13. mcp_eregistrations_bpa/auth/permissions.py +162 -0
  14. mcp_eregistrations_bpa/auth/token_manager.py +348 -0
  15. mcp_eregistrations_bpa/bpa_client/__init__.py +84 -0
  16. mcp_eregistrations_bpa/bpa_client/client.py +740 -0
  17. mcp_eregistrations_bpa/bpa_client/endpoints.py +193 -0
  18. mcp_eregistrations_bpa/bpa_client/errors.py +276 -0
  19. mcp_eregistrations_bpa/bpa_client/models.py +203 -0
  20. mcp_eregistrations_bpa/config.py +349 -0
  21. mcp_eregistrations_bpa/db/__init__.py +21 -0
  22. mcp_eregistrations_bpa/db/connection.py +64 -0
  23. mcp_eregistrations_bpa/db/migrations.py +168 -0
  24. mcp_eregistrations_bpa/exceptions.py +39 -0
  25. mcp_eregistrations_bpa/py.typed +0 -0
  26. mcp_eregistrations_bpa/rollback/__init__.py +19 -0
  27. mcp_eregistrations_bpa/rollback/manager.py +616 -0
  28. mcp_eregistrations_bpa/server.py +152 -0
  29. mcp_eregistrations_bpa/tools/__init__.py +372 -0
  30. mcp_eregistrations_bpa/tools/actions.py +155 -0
  31. mcp_eregistrations_bpa/tools/analysis.py +352 -0
  32. mcp_eregistrations_bpa/tools/audit.py +399 -0
  33. mcp_eregistrations_bpa/tools/behaviours.py +1042 -0
  34. mcp_eregistrations_bpa/tools/bots.py +627 -0
  35. mcp_eregistrations_bpa/tools/classifications.py +575 -0
  36. mcp_eregistrations_bpa/tools/costs.py +765 -0
  37. mcp_eregistrations_bpa/tools/debug_strategies.py +351 -0
  38. mcp_eregistrations_bpa/tools/debugger.py +1230 -0
  39. mcp_eregistrations_bpa/tools/determinants.py +2235 -0
  40. mcp_eregistrations_bpa/tools/document_requirements.py +670 -0
  41. mcp_eregistrations_bpa/tools/export.py +899 -0
  42. mcp_eregistrations_bpa/tools/fields.py +162 -0
  43. mcp_eregistrations_bpa/tools/form_errors.py +36 -0
  44. mcp_eregistrations_bpa/tools/formio_helpers.py +971 -0
  45. mcp_eregistrations_bpa/tools/forms.py +1269 -0
  46. mcp_eregistrations_bpa/tools/jsonlogic_builder.py +466 -0
  47. mcp_eregistrations_bpa/tools/large_response.py +163 -0
  48. mcp_eregistrations_bpa/tools/messages.py +523 -0
  49. mcp_eregistrations_bpa/tools/notifications.py +241 -0
  50. mcp_eregistrations_bpa/tools/registration_institutions.py +680 -0
  51. mcp_eregistrations_bpa/tools/registrations.py +897 -0
  52. mcp_eregistrations_bpa/tools/role_status.py +447 -0
  53. mcp_eregistrations_bpa/tools/role_units.py +400 -0
  54. mcp_eregistrations_bpa/tools/roles.py +1236 -0
  55. mcp_eregistrations_bpa/tools/rollback.py +335 -0
  56. mcp_eregistrations_bpa/tools/services.py +674 -0
  57. mcp_eregistrations_bpa/tools/workflows.py +2487 -0
  58. mcp_eregistrations_bpa/tools/yaml_transformer.py +991 -0
  59. mcp_eregistrations_bpa/workflows/__init__.py +28 -0
  60. mcp_eregistrations_bpa/workflows/loader.py +440 -0
  61. mcp_eregistrations_bpa/workflows/models.py +336 -0
  62. mcp_eregistrations_bpa-0.8.5.dist-info/METADATA +965 -0
  63. mcp_eregistrations_bpa-0.8.5.dist-info/RECORD +66 -0
  64. mcp_eregistrations_bpa-0.8.5.dist-info/WHEEL +4 -0
  65. mcp_eregistrations_bpa-0.8.5.dist-info/entry_points.txt +2 -0
  66. mcp_eregistrations_bpa-0.8.5.dist-info/licenses/LICENSE +86 -0
@@ -0,0 +1,66 @@
1
+ mcp_eregistrations_bpa/__init__.py,sha256=YufsQWQTBLRX4AhJ1Is8pHoxdPNOhxJl9mVlVuRbixw,3995
2
+ mcp_eregistrations_bpa/__main__.py,sha256=awV6j_muaD-7LXs4khz6_0RZt_lgVcaSbgwaNSwA0uA,130
3
+ mcp_eregistrations_bpa/config.py,sha256=pHwWYvfKY-rYJwUWkpgAayxYzix-TSeNbRGcev_ewR4,11536
4
+ mcp_eregistrations_bpa/exceptions.py,sha256=QfUbSywhS50UwF0fNChuESyGLaDkqTowL3fFI8J9FOY,866
5
+ mcp_eregistrations_bpa/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ mcp_eregistrations_bpa/server.py,sha256=621kjgad0E9er41YaOxYer6FrjIkApXZfhrcvPPNbqg,4565
7
+ mcp_eregistrations_bpa/arazzo/__init__.py,sha256=c0rRfRw56fNn4MG1qLZt7FCWMYgLBoPTzMAIcoW7uFg,455
8
+ mcp_eregistrations_bpa/arazzo/expression.py,sha256=1elWORCW3g5ELARoPQk4epZY2B5Y_-HFMvP4iQyhZkw,12754
9
+ mcp_eregistrations_bpa/audit/__init__.py,sha256=ancKCuU0dtXSwwMIgl0pIVbbYHHZavPAcHgXBtCcto0,1440
10
+ mcp_eregistrations_bpa/audit/context.py,sha256=JyGOfOvywMZFwmlB5pfKpdiZ4oPCqu7Y2xlqvMGwHwY,1823
11
+ mcp_eregistrations_bpa/audit/logger.py,sha256=iN04wx3QvVhmrtHtrekTGrLAtjaHECozTDdF41VKWVU,8250
12
+ mcp_eregistrations_bpa/audit/models.py,sha256=HbtHvhEr1dZwbyhMzeLs4EpUcRQjSqEazskBQluGHGE,3773
13
+ mcp_eregistrations_bpa/auth/__init__.py,sha256=PwzP-Y8smWLM1XZKT45hGodzolQnwt-vx4u27PHFyAE,1815
14
+ mcp_eregistrations_bpa/auth/callback.py,sha256=l08O8R1A_yorxoNd2k257dYVWXzrjcKLoUXvbtgneuc,13309
15
+ mcp_eregistrations_bpa/auth/cas.py,sha256=j5n0oTKVT_xhLaL4La4QszuxrgiWEpw_oatUkMBTcRw,13950
16
+ mcp_eregistrations_bpa/auth/oidc.py,sha256=SbF-h5VmeTrRke4GmeAiuCr_sQ9U4B-EZF9Uy55BMmo,8529
17
+ mcp_eregistrations_bpa/auth/permissions.py,sha256=dAJ5cPC5TdEtBJPgE3yuixustxcyBcp8uO9A2SQxI1g,5415
18
+ mcp_eregistrations_bpa/auth/token_manager.py,sha256=k-aLt8JWfDWhHrB3-9bByujgq4cHAsixzXZPoSjd0Lc,11688
19
+ mcp_eregistrations_bpa/bpa_client/__init__.py,sha256=3KSb2yrEV9Kgz8Mid4-dqlnxXfjhvPwJEfjHlr-CJ44,1793
20
+ mcp_eregistrations_bpa/bpa_client/client.py,sha256=XR7NyfhhZpmGWvqlv7TcDAn9zQ6fMd8tN14syyTunkA,25241
21
+ mcp_eregistrations_bpa/bpa_client/endpoints.py,sha256=93fDknFHX6QrWEFCkIAaoO4qu3EJFCT4rDGVYkUSMts,5681
22
+ mcp_eregistrations_bpa/bpa_client/errors.py,sha256=pQuBQnTCBc-p_tqk6le12zCK95vHfrWGX8gdJZkiCdc,8590
23
+ mcp_eregistrations_bpa/bpa_client/models.py,sha256=nYlpvW8zfnbuVyuj-P7WoYMF1mwLARsk5GwjPaJRPwQ,6906
24
+ mcp_eregistrations_bpa/db/__init__.py,sha256=aDhWIfFxwbUeMMTmSMc6VA-TuqmSMMdTvNrZ9tVXAL4,617
25
+ mcp_eregistrations_bpa/db/connection.py,sha256=l6X3Ti-jgQeXHCBENZo26UxBKa-oMl1uh7_-_Qkd1iY,1960
26
+ mcp_eregistrations_bpa/db/migrations.py,sha256=GDThJCfB6ekNsuyjkCt5nMrv1eWYYzNUMwysXW6fnXU,5402
27
+ mcp_eregistrations_bpa/rollback/__init__.py,sha256=btbgksryGdQEtJUoBq97sWy26yD-IL_E0H9NFT_xCcM,451
28
+ mcp_eregistrations_bpa/rollback/manager.py,sha256=6JZwH6E1B3yAK5_cyEn7G03WHXAuiuBp4yYkg52Rrj8,22836
29
+ mcp_eregistrations_bpa/tools/__init__.py,sha256=I3iVzZRcPwS9GpnCuvAHuN64cHpntpDEYRnhrm0GzaI,9338
30
+ mcp_eregistrations_bpa/tools/actions.py,sha256=-DBfEGaqIlySOxcnVyWzLR9gbVkmdltz9OIehJ5I9x8,4626
31
+ mcp_eregistrations_bpa/tools/analysis.py,sha256=tbydIq1Ao1wqNzKeUufJQpU2D6zJ0RM4RnYuRP6AFiY,12157
32
+ mcp_eregistrations_bpa/tools/audit.py,sha256=_-zcAQZeALfUu2evtTOfq6GcAIjUhkd7QoMrCIwsBWI,12011
33
+ mcp_eregistrations_bpa/tools/behaviours.py,sha256=pGtFO3HKVNWliqPKa0tefA2JMGWqfdjg181xKRB7gMY,36300
34
+ mcp_eregistrations_bpa/tools/bots.py,sha256=f20HJzaI6Y0EW9fnTgDVe4yhmvJbFGtMDCuqAVTrzJk,20549
35
+ mcp_eregistrations_bpa/tools/classifications.py,sha256=PYBl9JaxsTiDyTe01D2-RB8vtZvW38RG9HZo9hR9TXg,19538
36
+ mcp_eregistrations_bpa/tools/costs.py,sha256=oALRpPFmeTeycbqDUuVDCjezrJkY_W8m6FAOFiPA_S8,26587
37
+ mcp_eregistrations_bpa/tools/debug_strategies.py,sha256=TzDdV8Tvjs9qg5Ni4RKfXjSei2gWIIZk9yN_J16uTeA,11972
38
+ mcp_eregistrations_bpa/tools/debugger.py,sha256=uEruCuELYlvYO1FqLMJHJQ6LHHKkYw1gY6bytdWFQu4,44003
39
+ mcp_eregistrations_bpa/tools/determinants.py,sha256=FmGp4ctPmUOLtP4p1m5JfrDIJ3KyOdJJ5igN3Y8wvlo,82903
40
+ mcp_eregistrations_bpa/tools/document_requirements.py,sha256=FCveb9YWu0W-FMoOfZGFbaQ78ulZC5gP1JLSTFyVuno,23941
41
+ mcp_eregistrations_bpa/tools/export.py,sha256=Iq_dPSf0TReR5p9T8Vy8WQ8xs5FGO460A3eFWYXLay0,29801
42
+ mcp_eregistrations_bpa/tools/fields.py,sha256=s1dLT4zvp40xjUifM_jNeqxdazfK_RKZPnJu58TeC1A,5311
43
+ mcp_eregistrations_bpa/tools/form_errors.py,sha256=Za4n6aApHnwnKoVWd7iqwiRwZR0r3dnDjrI-W4K4rms,1097
44
+ mcp_eregistrations_bpa/tools/formio_helpers.py,sha256=FjCFkaqpRpEaY8o4qX_opU9QTFnE6mTuSHiYXcupM78,30312
45
+ mcp_eregistrations_bpa/tools/forms.py,sha256=mMmrAS5PKrXZeM-OxH9P1ITTsquI3FSCBYBXMZo4YJY,43194
46
+ mcp_eregistrations_bpa/tools/jsonlogic_builder.py,sha256=cYnI8DgxD4ium1t2bwVHalCKhVkwIi7Qf4O52EyNdXI,15003
47
+ mcp_eregistrations_bpa/tools/large_response.py,sha256=1AMee5fLjRIkvZ1utAK-eXYp8jgPbKrXtw6ndSVCaOc,5004
48
+ mcp_eregistrations_bpa/tools/messages.py,sha256=nhe78ONxQ_VxALK7Wx9juZVdqiu1eSKsC0TrSA0YcXs,17238
49
+ mcp_eregistrations_bpa/tools/notifications.py,sha256=SIsITdF8IBHsyjAsxFrVDU0OOr-gpkvu9tiwhAbgfKs,8067
50
+ mcp_eregistrations_bpa/tools/registration_institutions.py,sha256=lwluAGJ3jwWb6o-yHoCYVTDyz3ms5DYhVZt7zsUirKs,23129
51
+ mcp_eregistrations_bpa/tools/registrations.py,sha256=WegfePV3XmLxh8Qq8ei3TElzuCtVrc6BRPxdENxpgEs,32207
52
+ mcp_eregistrations_bpa/tools/role_status.py,sha256=J8MIy_o2xpWKCkBSWFWvfAfeTAZpSiU2YSZcNMwsPfw,15456
53
+ mcp_eregistrations_bpa/tools/role_units.py,sha256=Tvgb1JBE8vsVw96yqoo5lNu_aCflbYt8TU8a2ClOToo,13089
54
+ mcp_eregistrations_bpa/tools/roles.py,sha256=T3QOu9aDQPQ2WfHuQCFSH1FJXjT7RWxgxe0AhwdFmDo,46836
55
+ mcp_eregistrations_bpa/tools/rollback.py,sha256=Q2bLwaPCsmfqoRuSsotpaW2Tteop0l-8i0NpeumxfY0,10777
56
+ mcp_eregistrations_bpa/tools/services.py,sha256=F0gk23m6WujfftbeQ_3dYtCb0ggJwOzZI7IMpmwasJo,21744
57
+ mcp_eregistrations_bpa/tools/workflows.py,sha256=FIDtTF9dxS217ZabiSrsd2_pvmunfhtlu7kTt_9w_T0,81023
58
+ mcp_eregistrations_bpa/tools/yaml_transformer.py,sha256=1PIrImITUOWQYTZGFK3iy8O8IacaaXkEt-P1VZImuTA,30304
59
+ mcp_eregistrations_bpa/workflows/__init__.py,sha256=aH2kEcd_BnREVhxDMYLvOq_QtQdjAhCsNfGdGvRdchQ,653
60
+ mcp_eregistrations_bpa/workflows/loader.py,sha256=rulmREahNXAl7qCiELnOGqyuaTlparKaE0FI2Z_tvA8,13782
61
+ mcp_eregistrations_bpa/workflows/models.py,sha256=2zcrmqJY0ZdhB7GfuXi5uCpJXl6_UrktcSQ5okrojdk,12053
62
+ mcp_eregistrations_bpa-0.8.5.dist-info/METADATA,sha256=0Pv5NfwQMboUca-RdnAMj47Cip2mnq37amN-Pkf-akA,32799
63
+ mcp_eregistrations_bpa-0.8.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
64
+ mcp_eregistrations_bpa-0.8.5.dist-info/entry_points.txt,sha256=d5SYLPb9kKDo7BsesWNMuCzZDdSNfteY6EUgAacvJ9E,71
65
+ mcp_eregistrations_bpa-0.8.5.dist-info/licenses/LICENSE,sha256=5Xj31RwZUCI3Aev3pz6ZaieXjVsJ9yjXLpjbUE-xUCQ,3442
66
+ mcp_eregistrations_bpa-0.8.5.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ mcp-eregistrations-bpa = mcp_eregistrations_bpa:main
@@ -0,0 +1,86 @@
1
+ PROPRIETARY SOFTWARE LICENSE
2
+
3
+ Copyright (c) 2024-2025 United Nations Conference on Trade and Development (UNCTAD)
4
+ Division on Investment and Enterprise (DIAE)
5
+ Business Facilitation Section
6
+
7
+ All Rights Reserved.
8
+
9
+ NOTICE TO USER:
10
+
11
+ This software and associated documentation files (the "Software") are the
12
+ proprietary and confidential property of the United Nations Conference on
13
+ Trade and Development (UNCTAD), Division on Investment and Enterprise (DIAE),
14
+ Business Facilitation Section.
15
+
16
+ TERMS AND CONDITIONS:
17
+
18
+ 1. GRANT OF LICENSE
19
+ Subject to the terms and conditions of this License, UNCTAD grants you a
20
+ limited, non-exclusive, non-transferable license to use the Software solely
21
+ for purposes authorized by UNCTAD in writing.
22
+
23
+ 2. RESTRICTIONS
24
+ You may NOT:
25
+ a) Copy, modify, or distribute the Software without express written
26
+ permission from UNCTAD;
27
+ b) Reverse engineer, decompile, or disassemble the Software;
28
+ c) Rent, lease, lend, sell, sublicense, or transfer the Software to any
29
+ third party;
30
+ d) Remove or alter any proprietary notices, labels, or marks on the
31
+ Software;
32
+ e) Use the Software for any purpose other than as expressly authorized
33
+ by UNCTAD.
34
+
35
+ 3. OWNERSHIP
36
+ The Software is licensed, not sold. UNCTAD retains all right, title, and
37
+ interest in and to the Software, including all intellectual property rights
38
+ therein. No title to the intellectual property in the Software is
39
+ transferred to you.
40
+
41
+ 4. CONFIDENTIALITY
42
+ The Software contains trade secrets and proprietary information of UNCTAD.
43
+ You agree to maintain the confidentiality of the Software and not to
44
+ disclose it to any third party without the prior written consent of UNCTAD.
45
+
46
+ 5. TERMINATION
47
+ This License is effective until terminated. UNCTAD may terminate this
48
+ License at any time if you fail to comply with any term or condition of
49
+ this License. Upon termination, you must destroy all copies of the Software
50
+ in your possession.
51
+
52
+ 6. NO WARRANTY
53
+ THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
54
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
55
+ FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
56
+
57
+ 7. LIMITATION OF LIABILITY
58
+ IN NO EVENT SHALL UNCTAD BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
59
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
60
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
61
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
62
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
63
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
64
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
65
+
66
+ 8. GOVERNING LAW
67
+ This License shall be governed by and construed in accordance with the
68
+ applicable rules of international law and the internal regulations of the
69
+ United Nations.
70
+
71
+ 9. ENTIRE AGREEMENT
72
+ This License constitutes the entire agreement between you and UNCTAD
73
+ concerning the Software and supersedes all prior or contemporaneous
74
+ agreements, representations, warranties, and understandings.
75
+
76
+ For licensing inquiries, please contact:
77
+
78
+ United Nations Conference on Trade and Development (UNCTAD)
79
+ Division on Investment and Enterprise (DIAE)
80
+ Business Facilitation Section
81
+ Palais des Nations
82
+ CH-1211 Geneva 10
83
+ Switzerland
84
+
85
+ Email: benmoumen@gmail.com
86
+ Web: https://businessfacilitation.org