ethyca-fides 2.71.0rc0__py2.py3-none-any.whl → 2.71.0rc1__py2.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 ethyca-fides might be problematic. Click here for more details.
- {ethyca_fides-2.71.0rc0.dist-info → ethyca_fides-2.71.0rc1.dist-info}/METADATA +1 -1
- {ethyca_fides-2.71.0rc0.dist-info → ethyca_fides-2.71.0rc1.dist-info}/RECORD +96 -96
- fides/_version.py +3 -3
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{[id]-82ebad17eb17c149.js → [id]-7dac2302f573f5ee.js} +1 -1
- fides/ui-build/static/admin/_next/static/{fY61mOXDNbYtO-3MNEDrx → jPG1zRWiCiEu5jt-DKkZA}/_buildManifest.js +1 -1
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/messaging/[id].html +1 -1
- fides/ui-build/static/admin/messaging/add-template.html +1 -1
- fides/ui-build/static/admin/messaging.html +1 -1
- fides/ui-build/static/admin/poc/ant-components.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/AntForm.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikField.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html +1 -1
- fides/ui-build/static/admin/poc/forms.html +1 -1
- fides/ui-build/static/admin/poc/table-migration.html +1 -1
- fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
- fides/ui-build/static/admin/privacy-requests.html +1 -1
- fides/ui-build/static/admin/properties/[id].html +1 -1
- fides/ui-build/static/admin/properties/add-property.html +1 -1
- fides/ui-build/static/admin/properties.html +1 -1
- fides/ui-build/static/admin/reporting/datamap.html +1 -1
- fides/ui-build/static/admin/settings/about/alpha.html +1 -1
- fides/ui-build/static/admin/settings/about.html +1 -1
- fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields/[id].html +1 -1
- fides/ui-build/static/admin/settings/custom-fields/new.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/messaging-providers/[key].html +1 -1
- fides/ui-build/static/admin/settings/messaging-providers/new.html +1 -1
- fides/ui-build/static/admin/settings/messaging-providers.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/privacy-requests.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- {ethyca_fides-2.71.0rc0.dist-info → ethyca_fides-2.71.0rc1.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.71.0rc0.dist-info → ethyca_fides-2.71.0rc1.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.71.0rc0.dist-info → ethyca_fides-2.71.0rc1.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.71.0rc0.dist-info → ethyca_fides-2.71.0rc1.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{fY61mOXDNbYtO-3MNEDrx → jPG1zRWiCiEu5jt-DKkZA}/_ssgManifest.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
ethyca_fides-2.71.
|
|
1
|
+
ethyca_fides-2.71.0rc1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
2
2
|
fides/__init__.py,sha256=tE3qqipY9eynYXYpQeksYGHP5NfeXyq-L9mBtpFIxl8,139
|
|
3
|
-
fides/_version.py,sha256=
|
|
3
|
+
fides/_version.py,sha256=IkD_n6i_Vx0Ndxl4gX-PHBGAISpWDDa5kMCqFCjBi3c,501
|
|
4
4
|
fides/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
fides/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
fides/api/analytics.py,sha256=vgwja9DB7gPsQSE3KQi0F3r6yWmnW66wBRC9FpawfRI,1910
|
|
@@ -911,26 +911,26 @@ fides/service/taxonomy/handlers/base.py,sha256=g_lzZbHcC3mbqvxOwoaR_96L2x2wDNrGZ
|
|
|
911
911
|
fides/service/taxonomy/handlers/legacy_handler.py,sha256=AJcc88l94v8QNrofhveRRXmU8ghe8BSt8rCrWEFUxLs,3022
|
|
912
912
|
fides/service/user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
913
913
|
fides/service/user/user_service.py,sha256=sUsvP_pULLG6oMQlNNF4ZrQJwAtZcaF5h8IqZgGRZg4,5369
|
|
914
|
-
fides/ui-build/static/admin/404.html,sha256=
|
|
915
|
-
fides/ui-build/static/admin/add-systems.html,sha256=
|
|
916
|
-
fides/ui-build/static/admin/consent.html,sha256=
|
|
917
|
-
fides/ui-build/static/admin/data-catalog.html,sha256=
|
|
918
|
-
fides/ui-build/static/admin/datamap.html,sha256=
|
|
919
|
-
fides/ui-build/static/admin/dataset.html,sha256=
|
|
920
|
-
fides/ui-build/static/admin/datastore-connection.html,sha256=
|
|
914
|
+
fides/ui-build/static/admin/404.html,sha256=qBobG-Xb0ipnpsGYdmfskSaS0xa-bFy4cLEbiATkftw,1466
|
|
915
|
+
fides/ui-build/static/admin/add-systems.html,sha256=jMak9GhGWhuQIpGwn5on-o5gtgRCfAbiGtGCsBI6MXo,1719
|
|
916
|
+
fides/ui-build/static/admin/consent.html,sha256=iB5pWNxiz2F0cXetVSv_KE-W9IrI5bKJNhR5FPbboR8,1474
|
|
917
|
+
fides/ui-build/static/admin/data-catalog.html,sha256=T69aeyBo1e806KG6yWD71dn1Fcb_mBET1Mp40SAeu_g,1955
|
|
918
|
+
fides/ui-build/static/admin/datamap.html,sha256=fxx5_ThsBvQPpvS5O-sJC_RqBriTdwNP4BMptinn91A,1861
|
|
919
|
+
fides/ui-build/static/admin/dataset.html,sha256=fo_XkakLCRXLC5CiO3i1Uc1G4msWTqt3XrjhxCqt7bw,1630
|
|
920
|
+
fides/ui-build/static/admin/datastore-connection.html,sha256=KtEhzz1kF2PN3XMcIoZihvEelTmgVNZnFywry4nwziw,1660
|
|
921
921
|
fides/ui-build/static/admin/favicon.ico,sha256=xxtarycoqCOznVZCG0z5Wej6EfYvMYwyz6EUwaVwhEw,4286
|
|
922
|
-
fides/ui-build/static/admin/index.html,sha256=
|
|
923
|
-
fides/ui-build/static/admin/integrations.html,sha256=
|
|
924
|
-
fides/ui-build/static/admin/login.html,sha256=
|
|
922
|
+
fides/ui-build/static/admin/index.html,sha256=giKG-SXaNHHGA7S8RsmfeOBdimDN-P0bH8aYnycn1IU,1625
|
|
923
|
+
fides/ui-build/static/admin/integrations.html,sha256=s5RMdbxrqQaGvJVKtVi8d1tM80GVpzMrNrwauM0_0Hs,2343
|
|
924
|
+
fides/ui-build/static/admin/login.html,sha256=y95zavSBunYzd29Zvl9voL9mv_ufdkJx1UatWyLK7JY,1470
|
|
925
925
|
fides/ui-build/static/admin/logo-icon.svg,sha256=LTpApcJnb73kye_gPF3KG8qNe6S3HJJKeebdl6aJ8fI,147
|
|
926
926
|
fides/ui-build/static/admin/logo-white.svg,sha256=u12SVA-WPW0GAhJ1wXM4oi2aqKXKmteo6yEvGDgz5jM,2101
|
|
927
927
|
fides/ui-build/static/admin/logo.svg,sha256=bCostWyEaAVHBbKwGhzAAGJ0ZNgxBGgzhwKsAXS47bg,2100
|
|
928
|
-
fides/ui-build/static/admin/messaging.html,sha256=
|
|
929
|
-
fides/ui-build/static/admin/privacy-requests.html,sha256=
|
|
930
|
-
fides/ui-build/static/admin/properties.html,sha256=
|
|
931
|
-
fides/ui-build/static/admin/systems.html,sha256=
|
|
932
|
-
fides/ui-build/static/admin/taxonomy.html,sha256=
|
|
933
|
-
fides/ui-build/static/admin/user-management.html,sha256=
|
|
928
|
+
fides/ui-build/static/admin/messaging.html,sha256=kzPyTIWoXtP3FnUIfBNGio-3XYrRSx8nZcepaOGSTro,1711
|
|
929
|
+
fides/ui-build/static/admin/privacy-requests.html,sha256=ruQMQxoTFFugZU3I9_s9xHzZpEZgRGPknbn5YT-bfu8,1803
|
|
930
|
+
fides/ui-build/static/admin/properties.html,sha256=83aaT4EtMibce87TejHu4H9Cwz31S4wAMK3nUGtYvQo,1636
|
|
931
|
+
fides/ui-build/static/admin/systems.html,sha256=Jl36iWjuqm6sSo3v7D_pFEYfmvnWdtF6ANl7ijmoUUk,1941
|
|
932
|
+
fides/ui-build/static/admin/taxonomy.html,sha256=f2gahJD1dtK3flKQwp6ovNTkxrjXBg8NdC6RGmI7uO8,2263
|
|
933
|
+
fides/ui-build/static/admin/user-management.html,sha256=uVXqK8g46gyXcrbYVJ29gesKHZ0gn5M-CeIVQsLX1qc,1568
|
|
934
934
|
fides/ui-build/static/admin/_next/static/chunks/1115-90baef2a89f361ad.js,sha256=Xhl-yJAPW2nVu0VwfEx2q27CDGxmDDoemw4QONdGKJw,8668
|
|
935
935
|
fides/ui-build/static/admin/_next/static/chunks/1316-2606e19807c08aa5.js,sha256=XU5DYZ8VYImJmtGTCv21qz5jCtjm7-sX94ocFbkPc9c,22783
|
|
936
936
|
fides/ui-build/static/admin/_next/static/chunks/1467-8808ec8836e033f9.js,sha256=PKirjYtma_es93BqFdp8-t9JWI8AolxXe5R8gxps6I8,8978
|
|
@@ -1072,7 +1072,7 @@ fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/Formi
|
|
|
1072
1072
|
fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikControlled-6ca9099d03aab817.js,sha256=vuQ4sXad6P9iq-VXTJxawQLY-SuNJCfav4WT9a2X4lE,3544
|
|
1073
1073
|
fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikField-0f2c90786ea005a4.js,sha256=0ynnj6Ll4m58uJ29tDCVo5Gk3DB-Fo-RpJPKYNBW6A4,4503
|
|
1074
1074
|
fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikSpreadField-af097d661f6abcf4.js,sha256=CKPCyzlYAAWc7fRLUAAwWUX9YuKOwNPuV6vndd_5iDc,290
|
|
1075
|
-
fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-
|
|
1075
|
+
fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-7dac2302f573f5ee.js,sha256=15JeuR-fPBwkMmSNQOQSYj_jM4icFvvLCaPzlNdkejA,40813
|
|
1076
1076
|
fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure-8f577df28ebca869.js,sha256=8qbzZJ7_WSyRSvDRqkiSetSo-Ck6BncWw2NeNsSeozE,7761
|
|
1077
1077
|
fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-648d775d0fce49dc.js,sha256=rYJBwtKbGd7Zts-HZEvgHZc2TeX7i_O6a308BGXczjA,22170
|
|
1078
1078
|
fides/ui-build/static/admin/_next/static/chunks/pages/properties/[id]-57a75c7e9659271a.js,sha256=Xz1ny4S5Wu4_Qucs3ZynR5MmAPWpED6kds8NFIo8RVQ,988
|
|
@@ -1111,8 +1111,8 @@ fides/ui-build/static/admin/_next/static/css/95ac327e5d70148d.css,sha256=-LoR2lJ
|
|
|
1111
1111
|
fides/ui-build/static/admin/_next/static/css/972dc7eef106ee7c.css,sha256=5ClA0R-DXctWvHGU5ZRIe488JLjKyVpCxk5yOKr9hrc,342
|
|
1112
1112
|
fides/ui-build/static/admin/_next/static/css/98fab0b3e6aa43ed.css,sha256=rBSJlMsLHv9s_n0QWQb0yBaPwRjXYCtvm8YFpWycSCk,15907
|
|
1113
1113
|
fides/ui-build/static/admin/_next/static/css/d2d4e9a6923e6730.css,sha256=OdhQ-4KEwBzOslEnnl_MXdGuTan6ZAKKJ_YUuGFWUxY,221
|
|
1114
|
-
fides/ui-build/static/admin/_next/static/
|
|
1115
|
-
fides/ui-build/static/admin/_next/static/
|
|
1114
|
+
fides/ui-build/static/admin/_next/static/jPG1zRWiCiEu5jt-DKkZA/_buildManifest.js,sha256=ZUi_AFXU13buuWISuWWcs6xJ0NGevpCUDaTB_bBJ7RU,14717
|
|
1115
|
+
fides/ui-build/static/admin/_next/static/jPG1zRWiCiEu5jt-DKkZA/_ssgManifest.js,sha256=-D2RVaEwulH2ck-9Y_5QwX6x5lnaSkDOhosw4jeAt-M,101
|
|
1116
1116
|
fides/ui-build/static/admin/_next/static/media/inter-all-400-normal.2ae8ed37.woff,sha256=-CQCm8S8JXgvY4e9UwL-yfaPYT67i37QnBGzcP6PdKo,129252
|
|
1117
1117
|
fides/ui-build/static/admin/_next/static/media/inter-all-500-normal.56c3d87b.woff,sha256=lOCK2G05xJDgb6tdtbbGtg9w869HcqMzCM1u3luUlh8,138892
|
|
1118
1118
|
fides/ui-build/static/admin/_next/static/media/inter-all-600-normal.d9666969.woff,sha256=uinAVzvh4KrOFkgOiHIp-M6g_mTxcZZv9ilgyUz8HgE,140048
|
|
@@ -1146,37 +1146,37 @@ fides/ui-build/static/admin/_next/static/media/inter-vietnamese-500-normal.7b524
|
|
|
1146
1146
|
fides/ui-build/static/admin/_next/static/media/inter-vietnamese-600-normal.eb82de1d.woff2,sha256=ZKjcMjaLlHAKJJyTcujqJwFDooKWcq8qQSuKZVfXZRA,3876
|
|
1147
1147
|
fides/ui-build/static/admin/_next/static/media/inter-vietnamese-700-normal.00e401a9.woff2,sha256=92gZYPHyPg3OZ_u0f78u6ZZNdc53OvVkqhoTelycCqw,3888
|
|
1148
1148
|
fides/ui-build/static/admin/_next/static/media/logo-white.c9bf4196.svg,sha256=u12SVA-WPW0GAhJ1wXM4oi2aqKXKmteo6yEvGDgz5jM,2101
|
|
1149
|
-
fides/ui-build/static/admin/add-systems/manual.html,sha256=
|
|
1150
|
-
fides/ui-build/static/admin/add-systems/multiple.html,sha256=
|
|
1151
|
-
fides/ui-build/static/admin/consent/configure.html,sha256=
|
|
1152
|
-
fides/ui-build/static/admin/consent/privacy-experience.html,sha256=
|
|
1153
|
-
fides/ui-build/static/admin/consent/privacy-notices.html,sha256=
|
|
1154
|
-
fides/ui-build/static/admin/consent/properties.html,sha256=
|
|
1155
|
-
fides/ui-build/static/admin/consent/reporting.html,sha256=
|
|
1156
|
-
fides/ui-build/static/admin/consent/configure/add-vendors.html,sha256=
|
|
1157
|
-
fides/ui-build/static/admin/consent/privacy-experience/[id].html,sha256=
|
|
1158
|
-
fides/ui-build/static/admin/consent/privacy-experience/new.html,sha256=
|
|
1159
|
-
fides/ui-build/static/admin/consent/privacy-notices/[id].html,sha256=
|
|
1160
|
-
fides/ui-build/static/admin/consent/privacy-notices/new.html,sha256=
|
|
1161
|
-
fides/ui-build/static/admin/data-catalog/[systemId]/projects.html,sha256=
|
|
1162
|
-
fides/ui-build/static/admin/data-catalog/[systemId]/resources.html,sha256=
|
|
1163
|
-
fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html,sha256=
|
|
1164
|
-
fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html,sha256=
|
|
1165
|
-
fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html,sha256=
|
|
1166
|
-
fides/ui-build/static/admin/data-discovery/action-center.html,sha256=
|
|
1167
|
-
fides/ui-build/static/admin/data-discovery/activity.html,sha256=
|
|
1168
|
-
fides/ui-build/static/admin/data-discovery/detection.html,sha256=
|
|
1169
|
-
fides/ui-build/static/admin/data-discovery/discovery.html,sha256=
|
|
1170
|
-
fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html,sha256=
|
|
1171
|
-
fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html,sha256=
|
|
1172
|
-
fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html,sha256=
|
|
1173
|
-
fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html,sha256=
|
|
1174
|
-
fides/ui-build/static/admin/dataset/[datasetId].html,sha256=
|
|
1175
|
-
fides/ui-build/static/admin/dataset/new.html,sha256=
|
|
1176
|
-
fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html,sha256=
|
|
1177
|
-
fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html,sha256
|
|
1178
|
-
fides/ui-build/static/admin/datastore-connection/[id].html,sha256=
|
|
1179
|
-
fides/ui-build/static/admin/datastore-connection/new.html,sha256=
|
|
1149
|
+
fides/ui-build/static/admin/add-systems/manual.html,sha256=Lmbs7UhvgHLTQQxaDCZAIFK0m8dCKJKAI7UWvbAK2IQ,2666
|
|
1150
|
+
fides/ui-build/static/admin/add-systems/multiple.html,sha256=5xzs5uROhkfF-5a_SPfJ4-xeUMt1JDZYUn5GJ-CxGNc,1732
|
|
1151
|
+
fides/ui-build/static/admin/consent/configure.html,sha256=XYOHwQT3PUkMgWC7Ae6XSg3X26uIHwzsnVcFNZ7t56s,1649
|
|
1152
|
+
fides/ui-build/static/admin/consent/privacy-experience.html,sha256=SyrX2MGpXGEwp06vbd2hMFjzg5Y4OXuV4yYFNXH7MD0,1668
|
|
1153
|
+
fides/ui-build/static/admin/consent/privacy-notices.html,sha256=OWigIjupyzz8aS81ME_A0OjcN3Eraq5rvtEeOAQQiwg,1584
|
|
1154
|
+
fides/ui-build/static/admin/consent/properties.html,sha256=Yj-IfzrxJeVZ7BF14TSrPfinxoTNtRwYSNuN0v6RsWk,1652
|
|
1155
|
+
fides/ui-build/static/admin/consent/reporting.html,sha256=IJDciJJ9zgC9cUqqA5-Aqfy_Hi8Hm3m12_Y6m8fg4Pc,1649
|
|
1156
|
+
fides/ui-build/static/admin/consent/configure/add-vendors.html,sha256=fJ55-ap7xdgw6rgJRCQNUhf0rM6-B5Jvd91HYBn45EM,1750
|
|
1157
|
+
fides/ui-build/static/admin/consent/privacy-experience/[id].html,sha256=0jLHlIv4ER7YhJ9R9NbJ_hkzOgpPz94zBnmciaXg3DE,1916
|
|
1158
|
+
fides/ui-build/static/admin/consent/privacy-experience/new.html,sha256=QrlbG1lazHcKojoikJRZvN5N89arW640uQXZpxHrk2s,1910
|
|
1159
|
+
fides/ui-build/static/admin/consent/privacy-notices/[id].html,sha256=d35bpyT8duCLY_BiFvRXQBgRWTkhpMRiPXwTRwj-5T4,1910
|
|
1160
|
+
fides/ui-build/static/admin/consent/privacy-notices/new.html,sha256=th3Qo4tIaIPY4bQlZKYlKUzTAfOCv4RB2jPvaEwpdBg,1904
|
|
1161
|
+
fides/ui-build/static/admin/data-catalog/[systemId]/projects.html,sha256=KjOykmV9vq-O7-i_JIdpPw3ueVNQrVmMaSEJHYlG3p8,2077
|
|
1162
|
+
fides/ui-build/static/admin/data-catalog/[systemId]/resources.html,sha256=yXtMmhx0QbQ7yE14nEww8KF9mlb8WfB6mOVVl-e8jHo,1608
|
|
1163
|
+
fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html,sha256=X7l6CYWO2M30sn6b5BFP-5OPAOQErcT3zuhxCJHaGUw,1636
|
|
1164
|
+
fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html,sha256=TVqMA7gmQOBSeq339YMo9nocqa9FtGZT1tOUUF9dV9Q,2294
|
|
1165
|
+
fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html,sha256=1SbU--W19EerSCCpa9mRrPAzT746gBjLZxQ3TBhblrA,2266
|
|
1166
|
+
fides/ui-build/static/admin/data-discovery/action-center.html,sha256=QTxhoXolqZjKoNchx5tt-U4frnn9Moocy8T8SmtlGk8,1594
|
|
1167
|
+
fides/ui-build/static/admin/data-discovery/activity.html,sha256=zy_gt2jtXt6CuWYYFvSc0eAwoDC4FcbhATY2gk1jtG8,1661
|
|
1168
|
+
fides/ui-build/static/admin/data-discovery/detection.html,sha256=9Q5_z95eLYYRT5miHgoGbqtMpH7G6WbUimBmIVyEkw0,1819
|
|
1169
|
+
fides/ui-build/static/admin/data-discovery/discovery.html,sha256=w0OVXg97_PskOp2aLM4YOj2AYzg3p_2mRbAJcmGAkDc,2290
|
|
1170
|
+
fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html,sha256=XrVnRbTxcM-ohYBO7zL2pyIBCMpjXaFkXPE0Kr899Ho,2249
|
|
1171
|
+
fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html,sha256=n1mv078L7HCJSa64TEd9Lc9g8LTDKYfnKrxZ2tE4keI,2430
|
|
1172
|
+
fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html,sha256=V_AixX9BNKVzEe2iQumUVYraOY4Qx8lOjKHo01e3t3w,1851
|
|
1173
|
+
fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html,sha256=e3xCda5oC8dAWflCUqKGYzk40hGMD6R00BvaBhc5GFo,2322
|
|
1174
|
+
fides/ui-build/static/admin/dataset/[datasetId].html,sha256=ZCkNG-N-0s-tT3Wlc0j_ptD4ULB2gVT4OVnpbfFwMtc,1658
|
|
1175
|
+
fides/ui-build/static/admin/dataset/new.html,sha256=pQzJW6PtcxWduNnawpQ9pxvmPahyJ8SsUTZscLWGTjA,1715
|
|
1176
|
+
fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html,sha256=6LV-DG2jlTL-YLPf5AInzwJrzIKhYIXWd39qAxlXQhw,2166
|
|
1177
|
+
fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html,sha256=zerdzVTSZKlI_03qBcI2J6gKPq_QsbFAVxjApX5o8s0,2208
|
|
1178
|
+
fides/ui-build/static/admin/datastore-connection/[id].html,sha256=VUnvP8AWaOgg_CyNmc-S9lBTk2_kn0j0Ebevz5eldJE,2058
|
|
1179
|
+
fides/ui-build/static/admin/datastore-connection/new.html,sha256=sdvT8LyXCHRbAnNfAokBwEMaD5TqD8b31oLdFD-JBRM,2130
|
|
1180
1180
|
fides/ui-build/static/admin/images/DatabaseIcon.svg,sha256=gwl8_3APg_6J4ZwWgovOjxgk5AEPyvq3-qGjkF7R4og,8198
|
|
1181
1181
|
fides/ui-build/static/admin/images/SelectedDatabaseIcon.svg,sha256=L6YBuL-LiKzBXyt9gHZhtqpo2QopXdC7-oEvEWbvSNE,8198
|
|
1182
1182
|
fides/ui-build/static/admin/images/config_splash.svg,sha256=IH56T1jrG1y4FIKQZXMaePYESYZGot_4jkTaFvmwHl0,176040
|
|
@@ -1208,52 +1208,52 @@ fides/ui-build/static/admin/images/oauth-login/custom.svg,sha256=SW1i3Mez8XVMVGR
|
|
|
1208
1208
|
fides/ui-build/static/admin/images/oauth-login/github.svg,sha256=eg3RHjc4MKUaVl3p_tSphXB8Z8zTkPmuSUahUjA-pnY,963
|
|
1209
1209
|
fides/ui-build/static/admin/images/oauth-login/google.svg,sha256=oRdvveXEbNFZ4_xD6u-DxqNIPJh12o3XU2tITX6ghQU,988
|
|
1210
1210
|
fides/ui-build/static/admin/images/oauth-login/okta.svg,sha256=ymR7Rqk7syL52284jlure_i06-nVKwZbJwB6JXfdNwo,8076
|
|
1211
|
-
fides/ui-build/static/admin/integrations/[id].html,sha256=
|
|
1211
|
+
fides/ui-build/static/admin/integrations/[id].html,sha256=xwPFTOZmehxzEyDFUmzrsVh_SxYr0vkg_ieSAbcBp8I,2435
|
|
1212
1212
|
fides/ui-build/static/admin/lib/fides-ext-gpp.js,sha256=kW5tyCTk6NOVNFY3LmWDrqBuIFIQC16xsdTFk5BZdNg,192032
|
|
1213
1213
|
fides/ui-build/static/admin/lib/fides-headless.js,sha256=dgZEAyGT7juC4Dd9bfgixOhe6bypcnNyX0Ss92TgTr4,81302
|
|
1214
1214
|
fides/ui-build/static/admin/lib/fides-preview.js,sha256=y9rmuhN617iZGyNlDpR25mwmmvWigIwta3YrqTD9bhc,569408
|
|
1215
1215
|
fides/ui-build/static/admin/lib/fides-tcf.js,sha256=XMb2Ioas9jk-kWsqUrNPrAAkwKKir4_ssB7pAoQaYcc,388240
|
|
1216
1216
|
fides/ui-build/static/admin/lib/fides.js,sha256=i8ZcGqR7ta1F2oN3yYnLiL6Tb2POWAD0Eg9sWTd75CY,165851
|
|
1217
|
-
fides/ui-build/static/admin/login/[provider].html,sha256=
|
|
1218
|
-
fides/ui-build/static/admin/messaging/[id].html,sha256=
|
|
1219
|
-
fides/ui-build/static/admin/messaging/add-template.html,sha256=
|
|
1220
|
-
fides/ui-build/static/admin/poc/ant-components.html,sha256=
|
|
1221
|
-
fides/ui-build/static/admin/poc/forms.html,sha256=
|
|
1222
|
-
fides/ui-build/static/admin/poc/table-migration.html,sha256=
|
|
1223
|
-
fides/ui-build/static/admin/poc/form-experiments/AntForm.html,sha256=
|
|
1224
|
-
fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html,sha256=
|
|
1225
|
-
fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html,sha256=
|
|
1226
|
-
fides/ui-build/static/admin/poc/form-experiments/FormikField.html,sha256=
|
|
1227
|
-
fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html,sha256=
|
|
1228
|
-
fides/ui-build/static/admin/privacy-requests/[id].html,sha256=
|
|
1229
|
-
fides/ui-build/static/admin/privacy-requests/configure.html,sha256=
|
|
1230
|
-
fides/ui-build/static/admin/privacy-requests/configure/storage.html,sha256=
|
|
1231
|
-
fides/ui-build/static/admin/properties/[id].html,sha256=
|
|
1232
|
-
fides/ui-build/static/admin/properties/add-property.html,sha256=
|
|
1233
|
-
fides/ui-build/static/admin/reporting/datamap.html,sha256=
|
|
1234
|
-
fides/ui-build/static/admin/settings/about.html,sha256=
|
|
1235
|
-
fides/ui-build/static/admin/settings/consent.html,sha256=
|
|
1236
|
-
fides/ui-build/static/admin/settings/custom-fields.html,sha256=
|
|
1237
|
-
fides/ui-build/static/admin/settings/domain-records.html,sha256=
|
|
1238
|
-
fides/ui-build/static/admin/settings/domains.html,sha256=
|
|
1239
|
-
fides/ui-build/static/admin/settings/email-templates.html,sha256=
|
|
1240
|
-
fides/ui-build/static/admin/settings/locations.html,sha256=
|
|
1241
|
-
fides/ui-build/static/admin/settings/messaging-providers.html,sha256=
|
|
1242
|
-
fides/ui-build/static/admin/settings/organization.html,sha256=
|
|
1243
|
-
fides/ui-build/static/admin/settings/privacy-requests.html,sha256=
|
|
1244
|
-
fides/ui-build/static/admin/settings/regulations.html,sha256=
|
|
1245
|
-
fides/ui-build/static/admin/settings/about/alpha.html,sha256=
|
|
1246
|
-
fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html,sha256=
|
|
1247
|
-
fides/ui-build/static/admin/settings/custom-fields/[id].html,sha256=
|
|
1248
|
-
fides/ui-build/static/admin/settings/custom-fields/new.html,sha256=
|
|
1249
|
-
fides/ui-build/static/admin/settings/messaging-providers/[key].html,sha256=
|
|
1250
|
-
fides/ui-build/static/admin/settings/messaging-providers/new.html,sha256=
|
|
1251
|
-
fides/ui-build/static/admin/systems/configure/[id].html,sha256=
|
|
1252
|
-
fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html,sha256=
|
|
1253
|
-
fides/ui-build/static/admin/user-management/new.html,sha256=
|
|
1254
|
-
fides/ui-build/static/admin/user-management/profile/[id].html,sha256=
|
|
1255
|
-
ethyca_fides-2.71.
|
|
1256
|
-
ethyca_fides-2.71.
|
|
1257
|
-
ethyca_fides-2.71.
|
|
1258
|
-
ethyca_fides-2.71.
|
|
1259
|
-
ethyca_fides-2.71.
|
|
1217
|
+
fides/ui-build/static/admin/login/[provider].html,sha256=NVG4j2U4LAYLUDetfpgop70bLijU3g6gdw7OnMNq2u4,1496
|
|
1218
|
+
fides/ui-build/static/admin/messaging/[id].html,sha256=mjqkU7NDAXliGzx6dneqW9X4RtwDlQxq2wp61Gk6woU,1570
|
|
1219
|
+
fides/ui-build/static/admin/messaging/add-template.html,sha256=9yol6VUSQpBWncJ_vz8hy-QrpcqdTymtgI2Nv0yM3yg,1582
|
|
1220
|
+
fides/ui-build/static/admin/poc/ant-components.html,sha256=vF_3OBe1tBmQrgzRdxDEK4SEOvRcob43UBhPWd62wtM,1496
|
|
1221
|
+
fides/ui-build/static/admin/poc/forms.html,sha256=m7Ocv5nbBfUrRM3PB-JR5HfdLijfx9kkEgey5cjfXzc,1556
|
|
1222
|
+
fides/ui-build/static/admin/poc/table-migration.html,sha256=ImDTjaeNaw-gWLOSl5gMgfdD2CBZhbvAJT5dtoUbMwc,1653
|
|
1223
|
+
fides/ui-build/static/admin/poc/form-experiments/AntForm.html,sha256=YpIRFz4hL6FA-8gnWIg2HjicANOhCqZJzMXgADzcML8,1516
|
|
1224
|
+
fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html,sha256=LBZ1bEPDmz_y10B7RYcwvaqemSIRCkOg-OLT4D58HNg,1536
|
|
1225
|
+
fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html,sha256=V849yc3LXSgbiqcljlbAYpuzoXZ4ySM890jm2o1jwCo,1534
|
|
1226
|
+
fides/ui-build/static/admin/poc/form-experiments/FormikField.html,sha256=S-NXw7CPD7xjD94siznk3XpVM3--1hgegBYIba-oELQ,1524
|
|
1227
|
+
fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html,sha256=A6thgfrKFsXFTcAQkj5gfBmgiVEZygXgkQRsO-libzg,1614
|
|
1228
|
+
fides/ui-build/static/admin/privacy-requests/[id].html,sha256=puhrd75agJTObOR5NigoR3_k5aeflBNmCPpG3bi5xO4,1821
|
|
1229
|
+
fides/ui-build/static/admin/privacy-requests/configure.html,sha256=L4Jh_G-5DEX03ey9z9vCpTdFcEGesgu8vNao9npQAmc,1512
|
|
1230
|
+
fides/ui-build/static/admin/privacy-requests/configure/storage.html,sha256=KNASjl4S55U5wsOAUpcJdR7QmljiCNEQPzbo9P4PvaU,1605
|
|
1231
|
+
fides/ui-build/static/admin/properties/[id].html,sha256=XEiR3sczhcQU75YZYW8aciTYR_Tl50NEBlJdRNaN814,1650
|
|
1232
|
+
fides/ui-build/static/admin/properties/add-property.html,sha256=6v4uJzpvuYNy3WwIrdU4A_7ZsD7DMEfVF6P85ujmqcs,1662
|
|
1233
|
+
fides/ui-build/static/admin/reporting/datamap.html,sha256=bB7zm4h_H1ySISGKtFF5gcBmf3UWoFW12UOTK6LzE-M,2116
|
|
1234
|
+
fides/ui-build/static/admin/settings/about.html,sha256=tYe4D9w4mPEBs4Vi-7uk7c1hUUGGbwzzmSMrAwgDmG8,1566
|
|
1235
|
+
fides/ui-build/static/admin/settings/consent.html,sha256=DzIvk_4NWTCKhHJTAUFo0u9n8E7FfRmYB_j8CF-9ybQ,1492
|
|
1236
|
+
fides/ui-build/static/admin/settings/custom-fields.html,sha256=InaosJ3u9K6oD7pZtc-rXfu6iAB0YXIaEBzxKzHVOF8,1581
|
|
1237
|
+
fides/ui-build/static/admin/settings/domain-records.html,sha256=8AK5nU1R-qhWQOVWiWC9uGJR2E7LoA24i3nZmtqHPuM,1506
|
|
1238
|
+
fides/ui-build/static/admin/settings/domains.html,sha256=Hd6FSbV_F4zUVvpw_foSBE5AjozMlwMlMbj8dzRsSro,1492
|
|
1239
|
+
fides/ui-build/static/admin/settings/email-templates.html,sha256=Ot8p4fblDLJm9qp5GS2XEyFv2JcaDhDK7lalGPgMzek,1508
|
|
1240
|
+
fides/ui-build/static/admin/settings/locations.html,sha256=VtfsGGHp-8_rXEN7J7NPEU1wW_L-D_ll6HbNz0EyJ04,1734
|
|
1241
|
+
fides/ui-build/static/admin/settings/messaging-providers.html,sha256=asRifOnKU5Sm7gnKrv5SGydU62XfTCDlJeyVWocNS5o,1670
|
|
1242
|
+
fides/ui-build/static/admin/settings/organization.html,sha256=Vr6G_9BU6rSyQohuLD4qkHM1ZWIyxJFK3Wcm_Wrjalw,1502
|
|
1243
|
+
fides/ui-build/static/admin/settings/privacy-requests.html,sha256=KGHJC0wIimCYmVNaHBAB6QGwlWm5KY5RU7zp92ihWPQ,1587
|
|
1244
|
+
fides/ui-build/static/admin/settings/regulations.html,sha256=M7-x5adguOHl0LQIE4DUKHSpSs8eL0ChOwm4SENXNHw,1738
|
|
1245
|
+
fides/ui-build/static/admin/settings/about/alpha.html,sha256=sXpCriGsZJ7J1lVmSndS7kvjFZiXuRUrlCNDwV1VA3g,1578
|
|
1246
|
+
fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html,sha256=q35APmYSvPqxvrbPj0mqBVTZ2DEcTflr29UFqGnhzpQ,1564
|
|
1247
|
+
fides/ui-build/static/admin/settings/custom-fields/[id].html,sha256=TXsoAR5g6Awdzz3jBrz-CFYbILgt7VmbC8z71Szq0J8,1752
|
|
1248
|
+
fides/ui-build/static/admin/settings/custom-fields/new.html,sha256=QLqJ2w_ztr7jnuSDzSwaWV52PTG6BD2m0DhX0X5Lyzo,1746
|
|
1249
|
+
fides/ui-build/static/admin/settings/messaging-providers/[key].html,sha256=Hs5-bFqQIVDttsthxCqxz0I5gYp9A_VJbvy7WBypjIE,2076
|
|
1250
|
+
fides/ui-build/static/admin/settings/messaging-providers/new.html,sha256=6uXUzDRELFYuSeFuVheg6oVvxEzNuNH9U9e9A9n4fKQ,2068
|
|
1251
|
+
fides/ui-build/static/admin/systems/configure/[id].html,sha256=LFUBRuTUhBDtoRZtPTfowbHxZLpHna9odtmFMOaQQww,2678
|
|
1252
|
+
fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html,sha256=lEX-1TTDW6AgaYtlsLms87hc-nSPgBgU7O9L75VxfUQ,1614
|
|
1253
|
+
fides/ui-build/static/admin/user-management/new.html,sha256=Y7NKa0XGhcQlPj98p4jO2u9_erDqHdhG57xelpT0y_w,1654
|
|
1254
|
+
fides/ui-build/static/admin/user-management/profile/[id].html,sha256=bMJ5-XWbAEzRLqCocy3023G9_2cH5i9lGtDsLRp5S2I,1676
|
|
1255
|
+
ethyca_fides-2.71.0rc1.dist-info/METADATA,sha256=XY4yyGTE8OSWwMS5H-PMhIv_jFoR_v9x3EOByFTlSD4,11831
|
|
1256
|
+
ethyca_fides-2.71.0rc1.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
1257
|
+
ethyca_fides-2.71.0rc1.dist-info/entry_points.txt,sha256=edi4zfmx5sMDogB5GR5gdtOIwP3L1O--rmWb-QunSLE,40
|
|
1258
|
+
ethyca_fides-2.71.0rc1.dist-info/top_level.txt,sha256=vHQkcSYYOh4ECEGL1JSGUAxFWpwO05QGPV0M2aPxqNQ,6
|
|
1259
|
+
ethyca_fides-2.71.0rc1.dist-info/RECORD,,
|
fides/_version.py
CHANGED
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2025-09-
|
|
11
|
+
"date": "2025-09-25T15:27:31-0300",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "2.71.
|
|
14
|
+
"full-revisionid": "e4b6e9216148de661fa5b33dd5fd58ae3c073f08",
|
|
15
|
+
"version": "2.71.0rc1"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/64fac6fb884435c2.css" as="style"/><link rel="stylesheet" href="/_next/static/css/64fac6fb884435c2.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2766492c5dbceb0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-a77584f9ad3334af.js" defer=""></script><script src="/_next/static/chunks/pages/404-2eb8aed4939f1142.js" defer=""></script><script src="/_next/static/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/64fac6fb884435c2.css" as="style"/><link rel="stylesheet" href="/_next/static/css/64fac6fb884435c2.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2766492c5dbceb0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-a77584f9ad3334af.js" defer=""></script><script src="/_next/static/chunks/pages/404-2eb8aed4939f1142.js" defer=""></script><script src="/_next/static/jPG1zRWiCiEu5jt-DKkZA/_buildManifest.js" defer=""></script><script src="/_next/static/jPG1zRWiCiEu5jt-DKkZA/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/404","query":{},"buildId":"jPG1zRWiCiEu5jt-DKkZA","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9650],{6554:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/privacy-requests/[id]",function(){return i(50107)}])},77213:function(e,t,i){"use strict";i.d(t,{Z:function(){return h}});var s=i(24246),n=i(96306),a=i(88038),l=i.n(a),r=i(86677);i(27378);var o=i(25980),c=i(90867),d=i(42478),u=i(77830),m=()=>{let e=(0,r.useRouter)();return(0,s.jsx)(n.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,s.jsxs)(n.xuv,{children:[(0,s.jsxs)(n.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,s.jsx)(n.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,s.jsx)(n.wpx,{onClick:()=>{e.push(u.AD)},children:"Configure"})]}),(0,s.jsxs)(n.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},h=e=>{let{children:t,title:i,padded:a=!0,mainProps:u}=e,h=(0,o.hz)(),p=(0,r.useRouter)(),x="/privacy-requests"===p.pathname||"/datastore-connection"===p.pathname,g=!(h.flags.messagingConfiguration&&x),{data:v}=(0,d.JE)(void 0,{skip:g}),{data:j}=(0,c.PW)(void 0,{skip:g}),y=h.flags.messagingConfiguration&&(!v||!j)&&x;return(0,s.jsxs)(n.kCb,{"data-testid":i,direction:"column",h:"100vh",children:[(0,s.jsxs)(l(),{children:[(0,s.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,s.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,s.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,s.jsxs)(n.kCb,{as:"main",direction:"column",py:a?6:0,px:a?10:0,h:a?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...u,children:[y?(0,s.jsx)(m,{}):null,t]})]})}},50107:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return eK}});var s,n,a,l,r=i(24246),o=i(96306),c=i(86677),d=i(77213),u=i(77830),m=i(58754),h=i(99716),p=i(27378),x=i(21910),g=i(19904);(s=a||(a={})).IN_PROCESSING="in_processing",s.PENDING="pending",s.COMPLETE="complete",s.ERROR="error",s.PAUSED="paused",s.AWAITING_PROCESSING="awaiting_processing",s.RETRYING="retrying",s.SKIPPED="skipped";let v={in_processing:"In processing",pending:"Pending",complete:"Complete",error:"Error",paused:"Paused",awaiting_processing:"Awaiting input",retrying:"Retrying",skipped:"Skipped"},j={error:"error",skipped:"warning",awaiting_processing:"minos",in_processing:void 0,pending:void 0,complete:void 0,paused:void 0,retrying:void 0};(n=l||(l={})).REQUEST_UPDATE="Request update",n.INTERNAL_COMMENT="Internal comment",n.MANUAL_TASK="Manual task";let y={"Request update":"sandstone","Internal comment":"marble","Manual task":"nectar"};var f=i(90005),_=i.n(f),b=i(16394),T=i(38450),w=i.n(T);let E=e=>{let{attachments:t}=e;if(!t.length)return null;if(1===t.length){let e=t[0];return(0,r.jsx)("div",{className:"flex flex-wrap gap-2 text-sm text-gray-600","data-testid":"activity-timeline-attachments",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(o.PJP.PgN,{className:"mr-1 size-4"}),(0,r.jsx)(o.AntTypography.Text,{ellipsis:{tooltip:!0},className:"!max-w-[200px]",children:e.file_name})]})})}let i=(0,r.jsx)("ul",{className:"list-disc pl-4",children:t.map(e=>(0,r.jsx)("li",{children:e.file_name},e.id))});return(0,r.jsx)("div",{className:"flex flex-wrap gap-2 text-sm text-gray-600","data-testid":"activity-timeline-attachments",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(o.PJP.PgN,{className:"mr-1 size-4"}),(0,r.jsx)(o.esZ,{title:i,children:(0,r.jsxs)(o.AntTypography.Text,{ellipsis:!0,className:"!max-w-[200px]",children:[t.length," attachments"]})})]})})};var A=e=>{let{item:t}=e,{author:i,title:s,date:n,type:a,onClick:c,isError:d,isAwaitingInput:u,description:m,attachments:h,showViewLog:p}=t,x=(0,b.p6)(n),g=!!c,v=h&&h.length>0,j=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:w().header,children:[(0,r.jsxs)("span",{className:w().author,"data-testid":"activity-timeline-author",children:[i,":"]}),s&&(0,r.jsxs)(o.AntTypography.Text,{className:_()(w().title,{[w()["title--error"]]:d,[w()["title--awaiting-input"]]:u}),ellipsis:{tooltip:!0},"data-testid":"activity-timeline-title",children:[s,d&&" failed"]}),(0,r.jsx)("div",{className:"hidden xl:block",children:(0,r.jsx)(o.AntTypography.Text,{className:w().timestamp,"data-testid":"activity-timeline-timestamp",children:x})}),(0,r.jsx)("div",{className:"xl:hidden",children:(0,r.jsx)(o.esZ,{title:x,children:(0,r.jsx)(o.PJP.qpU,{"data-testid":"activity-timeline-timestamp-icon"})})}),(0,r.jsx)(o.j8w,{className:w().type,color:y[a],"data-testid":"activity-timeline-type",children:a}),p&&(0,r.jsx)("span",{className:w().viewLogs,"data-testid":"activity-timeline-view-logs",children:"View Log"})]}),(m||v)&&(0,r.jsxs)("div",{className:"mt-2 flex justify-between pl-2.5 align-top",children:[(0,r.jsx)(o.AntTypography.Paragraph,{className:"!mb-0 whitespace-pre-wrap","data-testid":"activity-timeline-description",children:m||""}),v&&(0,r.jsx)(E,{attachments:h})]})]}),f={className:_()(w().itemButton,{[w()["itemButton--error"]]:d,[w()["itemButton--awaiting-input"]]:u,[w()["itemButton--clickable"]]:g,[w()["itemButton--comment"]]:a===l.INTERNAL_COMMENT,[w()["itemButton--manual-task"]]:a===l.MANUAL_TASK}),"data-testid":"activity-timeline-item"};return g?(0,r.jsx)("button",{type:"button",onClick:c,...f,children:j}):(0,r.jsx)("div",{...f,children:j})},R=i(25980),C=i(54427),k=i(78780);let{useGetCommentsQuery:q,useCreateCommentMutation:S,useGetCommentDetailsQuery:N,useLazyGetCommentDetailsQuery:P}=k.u.injectEndpoints({endpoints:e=>({getComments:e.query({query:e=>{let{privacy_request_id:t,page:i=1,size:s}=e;return{url:"plus/privacy-request/".concat(t,"/comment"),method:"GET",params:{page:i,size:s}}},providesTags:["Privacy Request Comments"]}),createComment:e.mutation({query:e=>{let{privacy_request_id:t,comment_text:i,comment_type:s}=e,n=new FormData;return n.append("comment_text",i),n.append("comment_type",s),{url:"plus/privacy-request/".concat(t,"/comment"),method:"POST",body:n,formData:!0}},invalidatesTags:["Privacy Request Comments","Request"]}),getCommentDetails:e.query({query:e=>{let{privacy_request_id:t,comment_id:i}=e;return{url:"plus/privacy-request/".concat(t,"/comment/").concat(i),method:"GET"}}})})}),{reducer:I}=(0,C.oM)({name:"privacyRequestComments",initialState:{},reducers:{}}),D=e=>{let{plus:t}=(0,R.hz)(),{data:i,isLoading:s,error:n}=q({privacy_request_id:e,size:100},{skip:!t});return(0,p.useEffect)(()=>{n&&o.Pg3.error("Failed to fetch the request comments")},[n]),{commentItems:(null==i?void 0:i.items)?i.items.map(e=>({author:e.user_first_name&&e.user_last_name?"".concat(e.user_first_name," ").concat(e.user_last_name):e.username||"Unknown",date:new Date(e.created_at),type:l.INTERNAL_COMMENT,showViewLog:!1,description:e.comment_text,isError:!1,isSkipped:!1,isAwaitingInput:!1,id:"comment-".concat(e.id)})):[],isLoading:s}},O=(e,t)=>{if(0===e.length)return!1;let i=Array.from(e).sort((e,t)=>new Date(t.updated_at).getTime()-new Date(e.updated_at).getTime());if(!i[0].collection_name)return i[0].status===t;let s={};return i.forEach(e=>{e.collection_name&&!s[e.collection_name]&&(s[e.collection_name]=e)}),Object.values(s).some(e=>e.status===t)},M=e=>O(e,a.ERROR),U=e=>O(e,a.SKIPPED),z=e=>O(e,a.AWAITING_PROCESSING),L=e=>{let t=!e;return{eventItems:e?Object.entries(e).map(e=>{let[t,i]=e,s=M(i),n=U(i),a=z(i);return{author:"Fides",title:t,date:new Date(i[0].updated_at),type:l.REQUEST_UPDATE,showViewLog:s||n||a,onClick:()=>{},isError:s,isSkipped:n,isAwaitingInput:a,id:"request-".concat(t)}}):[],isLoading:t}};var W=i(91317),B=i(45116);let F=e=>{let{plus:t}=(0,R.hz)(),{data:i,isLoading:s,error:n}=(0,B.Ym)({page:1,size:100,privacyRequestId:e,status:void 0,includeFullSubmissionDetails:!0},{skip:!t});return(0,p.useEffect)(()=>{n&&o.Pg3.error("Failed to fetch manual tasks")},[n]),{manualTaskItems:i?i.items.filter(e=>e.status===x.OS.COMPLETED||e.status===x.OS.SKIPPED).map(e=>{var t,i;let s=e.submission_user?(0,b.gJ)(e.submission_user):"Unknown User";(0,W.PN)(null===(t=e.submission_user)||void 0===t?void 0:t.id)&&(s=(null===(i=e.submission_user)||void 0===i?void 0:i.id)||"Unknown User");let n=e.status===x.OS.SKIPPED,a="Task ".concat(n?"skipped":"completed"," - ").concat(e.name),r=e.comments&&e.comments.length>0?e.comments[e.comments.length-1].comment_text:void 0,o=e.attachments||[];return{author:s,title:a,date:new Date(e.updated_at),type:l.MANUAL_TASK,showViewLog:!1,description:r,isError:!1,isSkipped:n,isAwaitingInput:!1,id:"manual-task-".concat(e.manual_field_id),attachments:o}}):[],taskCommentIds:(0,p.useMemo)(()=>{let e=new Set;return(null==i?void 0:i.items)&&i.items.filter(e=>e.status===x.OS.COMPLETED||e.status===x.OS.SKIPPED).forEach(t=>{var i;null===(i=t.comments)||void 0===i||i.forEach(t=>{e.add(t.id)})}),e},[i]),isLoading:s}};var Z=i(88340),J=e=>{let{errorMessage:t,status:i=a.ERROR}=e;return(0,r.jsxs)(o.xuv,{height:"100%",id:"outer",children:[(0,r.jsxs)(o.kCb,{alignItems:"center",children:[(0,r.jsx)(o.xvT,{size:"sm",color:"gray.700",fontWeight:"medium",marginRight:"8px",lineHeight:"20px",children:"Status"}),(0,r.jsx)(o.j8w,{color:j[i],children:v[i]}),(0,r.jsx)(o.xuv,{padding:"0px",marginBottom:"3px",children:(0,r.jsx)(Z.Z,{copyText:t})})]}),(0,r.jsx)(o.izJ,{marginTop:"4px",marginBottom:"6px"}),(0,r.jsx)(o.xuv,{id:"errorWrapper",overflow:"auto",height:"100%",children:(0,r.jsx)(o.xvT,{children:t})})]})},G=i(3124),K=i.n(G);let H=e=>{switch(e){case x.Us.ACCESS:return"Data Retrieval";case x.Us.ERASURE:return"Data Deletion";case x.Us.CONSENT:return"Consent";case x.Us.UPDATE:return"Data Update";default:return e}},Y=e=>{if(e.status!==a.COMPLETE||!e.collection_name)return"-";let t=(e.message||"").match(/(?:retrieved|masked|processed)\s+(\d+)\s+records?$/i);return t?parseInt(t[1],10).toLocaleString():"-"},V=(e,t)=>{let i=e.filter(e=>e.action_type===t&&e.status===a.COMPLETE&&e.collection_name).sort((e,t)=>new Date(t.updated_at).getTime()-new Date(e.updated_at).getTime()),s={};i.forEach(e=>{let t=e.collection_name||"unknown";s[t]||(s[t]=e)});let n=0,l=!1,r=/(?:retrieved|masked|processed)\s+(\d+)\s+records?$/i;return Object.values(s).forEach(e=>{if(e.message){let t=e.message.match(r);if(t){l=!0;let e=parseInt(t[1],10);n+=e}}}),l?n:null},Q=(e,t,i)=>{if("finished"===e.status&&!e.collection_name&&i){let e=V(t,i);return null!==e?e.toLocaleString():"-"}return Y(e)};var $=e=>{var t,i,s;let{eventLogs:n,allEventLogs:l,onDetailPanel:c,privacyRequest:d}=e,u=(null==n?void 0:n.some(e=>e.collection_name))||(null==n?void 0:n.some(e=>"finished"===e.status&&!e.collection_name))||!1,m=null==n?void 0:n.every(e=>"finished"===e.status&&!e.collection_name),h=null==d?void 0:null===(s=d.policy)||void 0===s?void 0:null===(i=s.rules)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.action_type,p=e=>e?H(e):h?H(h):"-",x=null==n?void 0:n.map(e=>(0,r.jsxs)(o.Tr,{backgroundColor:e.status===a.ERROR||e.status===a.SKIPPED&&e.message||e.status===a.AWAITING_PROCESSING?K().FIDESUI_NEUTRAL_50:"unset",onClick:()=>{(e.status===a.ERROR||e.status===a.SKIPPED&&e.message||e.status===a.AWAITING_PROCESSING)&&c(e.message,e.status)},style:{cursor:e.message?"pointer":"unset"},_hover:{backgroundColor:K().FIDESUI_NEUTRAL_50},children:[(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:(0,b.p6)(e.updated_at)})}),(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:p(e.action_type)})}),(0,r.jsx)(o.Td,{children:v[e.status]?(0,r.jsx)(o.j8w,{color:j[e.status],children:v[e.status]}):(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:e.status})}),u&&(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:Q(e,l||n,h)})}),u&&!m&&(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"finished"===e.status?"Request completed":e.collection_name})})]},e.updated_at));return(0,r.jsx)(o.xuv,{width:"100%",paddingTop:"0px",height:"100%",children:(0,r.jsx)(o.xJi,{id:"tableContainer",height:"100%",style:{overflowY:"auto"},children:(0,r.jsxs)(o.iA_,{size:"sm",id:"table",position:"relative",children:[(0,r.jsx)(o.hrZ,{id:"tableHeader",position:"sticky",top:"0px",backgroundColor:"white",zIndex:10,children:(0,r.jsxs)(o.Tr,{children:[(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Time"})}),(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Action Type"})}),(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Status"})}),u&&(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Records"})}),u&&!m&&(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Collection"})})]})}),(0,r.jsx)(o.p3B,{id:"tableBody",children:x})]})})})},X=e=>{let{isOpen:t,onClose:i,currentLogs:s,allEventLogs:n,isViewingError:l,errorMessage:c,currentStatus:d=a.ERROR,onCloseErrorPanel:u,onOpenErrorPanel:m,privacyRequest:h}=e;return(0,r.jsxs)(o.dys,{isOpen:t,placement:"right",onClose:i,size:"full",autoFocus:!1,"data-testid":"log-drawer",children:[(0,r.jsx)(o.P1B,{}),(0,r.jsxs)(o.scA,{style:{width:"50%"},"data-testid":"log-drawer",children:[(0,r.jsx)(o.OXI,{style:{paddingBottom:"0px"},children:(0,r.jsxs)(o.kCb,{justifyContent:"space-between",alignItems:"center",height:"40px",children:[(0,r.jsxs)(o.kCb,{alignItems:"center",children:[l&&(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.Rpv,{}),"aria-label":"Close error logs",size:"small",onClick:u}),(0,r.jsx)(o.xvT,{color:"gray.900",fontSize:"md",lineHeight:"6",fontWeight:"medium",ml:1,children:l?"Event detail":"Event log"})]}),(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.LGN,{width:"17px"}),"aria-label":"Stop viewing error message",size:"small",onClick:i,"data-testid":"log-drawer-close"})]})}),(0,r.jsxs)(o.Ng0,{id:"drawerBody",overflow:"hidden",children:[s&&!l?(0,r.jsx)($,{eventLogs:s,allEventLogs:n,onDetailPanel:m,privacyRequest:h}):null,l?(0,r.jsx)(J,{errorMessage:c,status:d}):null]})]})]})},ee=e=>{let{subjectRequest:t}=e,{isOpen:i,onOpen:s,onClose:n}=(0,o.qY0)(),[c,d]=(0,p.useState)([]),[u,m]=(0,p.useState)(""),[h,x]=(0,p.useState)(!1),[g,v]=(0,p.useState)(""),[j,y]=(0,p.useState)(a.ERROR),{results:f,id:_}=t,{commentItems:b,isLoading:T}=D(_),{eventItems:E,isLoading:R}=L(f),{manualTaskItems:C,taskCommentIds:k,isLoading:q}=F(_);(0,p.useEffect)(()=>{u&&f&&f[u]&&d(f[u])},[f,u]);let S=()=>{x(!1)},N=(0,p.useCallback)((e,t)=>{m(e),d(t),s()},[s]),P=(0,p.useMemo)(()=>f?Object.values(f).flat():[],[f]),I=(0,p.useMemo)(()=>b.filter(e=>{let t=e.id.replace("comment-","");return!k.has(t)}),[b,k]),O=(0,p.useMemo)(()=>{let e=E.map(e=>{if("Request update"===e.type&&e.title&&f){let t=e.title;if(f[t])return{...e,onClick:()=>N(t,f[t])}}return e});return[{author:"Fides",title:"Access request received",date:new Date(t.created_at),type:l.REQUEST_UPDATE,showViewLog:!1,isError:!1,isSkipped:!1,isAwaitingInput:!1,id:"initial-request"},...e,...I,...C].sort((e,t)=>new Date(e.date).getTime()-new Date(t.date).getTime())},[E,I,C,f,N,t.created_at]);return(0,r.jsxs)(o.xuv,{width:"100%",children:[(0,r.jsx)(o.krs,{className:"!border-none",bordered:!1,split:!1,"data-testid":"activity-timeline-list",children:(0,r.jsx)("ul",{className:"!list-none",children:T||R||q?(0,r.jsx)("div",{className:w().itemButton,"data-testid":"timeline-skeleton",children:(0,r.jsx)(o.N_L,{paragraph:{rows:2},active:!0})}):O.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(A,{item:e})},e.id))})}),(0,r.jsx)(X,{isOpen:i,onClose:()=>{h&&S(),m(""),n()},currentLogs:c,allEventLogs:P,isViewingError:h,errorMessage:g,currentStatus:j,onOpenErrorPanel:(e,t)=>{v(e),t&&y(t),x(!0)},onCloseErrorPanel:S,privacyRequest:t})]})},et=i(66187);let ei=e=>{let{privacyRequestId:t,onCancel:i}=e,[s,n]=(0,p.useState)(""),a=(0,p.useRef)(null),[l,{isLoading:c}]=S();(0,p.useEffect)(()=>{a.current&&a.current.focus()},[]);let d=async()=>{if(s.trim())try{await l({privacy_request_id:t,comment_text:s,comment_type:et.i.NOTE}).unwrap(),n(""),i()}catch(e){console.error("Failed to add comment:",e),o.Pg3.error({content:"Failed to add comment",duration:5})}},u=[{key:"internal",label:"Internal comment",children:(0,r.jsx)(o.uFc.TextArea,{ref:a,value:s,onChange:e=>n(e.target.value),rows:3,className:"mb-3 h-[150px] w-full !resize-none","data-testid":"comment-input"})}];return(0,r.jsxs)("div",{children:[(0,r.jsx)(o.A5g,{items:u}),(0,r.jsxs)(o.jqI,{justify:"flex-end",className:"gap-2",children:[(0,r.jsx)(o.wpx,{onClick:i,"data-testid":"cancel-comment-button",children:"Cancel"}),(0,r.jsx)(o.wpx,{onClick:d,loading:c,disabled:!s.trim(),type:"primary",htmlType:"button","data-testid":"submit-comment-button",children:"Save"})]})]})};var es=e=>{let{subjectRequest:t}=e,[i,s]=(0,p.useState)(!1);return(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsx)(ee,{subjectRequest:t}),i?(0,r.jsx)(ei,{privacyRequestId:t.id,onCancel:()=>s(!1)}):(0,r.jsx)(g.ZP,{scopes:[x.Sh.COMMENT_CREATE],children:(0,r.jsx)(o.jqI,{justify:"flex-start",className:"mt-2",children:(0,r.jsxs)(o.wpx,{type:"default",onClick:()=>s(!0),className:"flex items-center","data-testid":"add-comment-button",children:["Add comment ",(0,r.jsx)("span",{className:"ml-1",children:"+"})]})})})]})},en=i(14207),ea=i(46238),el=i(72281),er=i(17245),eo=i(90867),ec=i(16134);let ed=e=>Array.from(new Set(e.filter(e=>Object.values(x.Us).includes(e.action_type)).map(e=>e.action_type)));var eu=e=>{let{rules:t}=e,i=ed(t).map(e=>(0,b.kC)(e)).map(e=>e);return(0,r.jsx)(o.AntTypography.Text,{children:i.join(" - ")})},em=i(34090),eh=i(55484),ep=e=>{let{connectorName:t,data:i,isSubmitting:s=!1,onSaveClick:n}=e,{isOpen:a,onOpen:l,onClose:c}=(0,o.qY0)(),d=(0,p.useRef)(null),u=async(e,t)=>{n({connection_key:i.connection_key,privacy_request_id:i.privacy_request_id,body:{...e}}),c()};return(0,r.jsxs)(r.Fragment,{children:[(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:l,size:"small",children:"Review"}),!(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:l,size:"small",type:"primary",children:"Begin manual input"}),(0,r.jsx)(em.J9,{enableReinitialize:!0,initialValues:{...i.fields},onSubmit:u,validateOnBlur:!1,validateOnChange:!1,validationSchema:eh.Ry().shape({}),children:e=>(0,r.jsxs)(o.dys,{isOpen:a,placement:"right",initialFocusRef:d,onClose:c,size:"lg",children:[(0,r.jsx)(o.P1B,{}),(0,r.jsxs)(o.scA,{children:[(0,r.jsx)(o.cCv,{}),(0,r.jsxs)(o.OXI,{color:"gray.900",children:[(0,r.jsx)(o.xvT,{fontSize:"xl",mb:8,children:t}),(0,r.jsx)(o.izJ,{}),(0,r.jsx)(o.xvT,{fontSize:"md",mt:"4",children:"Manual access"}),(0,r.jsx)(o.xuv,{mt:"8px",children:(0,r.jsx)(o.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"normal",children:"Please complete the following PII fields that have been collected for the selected subject."})})]}),(0,r.jsx)(o.Ng0,{children:(0,r.jsx)(em.l0,{id:"manual-detail-form",noValidate:!0,children:(0,r.jsx)(o.gCW,{align:"stretch",gap:"16px",children:Object.entries(i.fields).map((e,t)=>{let[i]=e;return(0,r.jsx)(o.Ugi,{children:(0,r.jsx)(em.gN,{id:i,name:i,children:e=>{let{field:s}=e;return(0,r.jsxs)(o.NIc,{alignItems:"baseline",display:"inline-flex",children:[(0,r.jsx)(o.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:i,w:"50%",children:i}),(0,r.jsx)(o.IIB,{...s,autoComplete:"off",color:"gray.700",placeholder:"Please enter ".concat(i),ref:0===t?d:void 0,size:"sm"})]})}})},i)})})})}),(0,r.jsx)(o.zeN,{justifyContent:"flex-start",children:(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(o.wpx,{onClick:c,children:"Cancel"}),(0,r.jsx)(o.wpx,{form:"manual-detail-form",loading:s,htmlType:"submit",children:"Save"})]})})]})]})})]})},ex=e=>{let{connectorName:t,data:i,isSubmitting:s=!1,onSaveClick:n}=e,{isOpen:a,onOpen:l,onClose:c}=(0,o.qY0)(),d=(0,p.useRef)(null),u=async(e,t)=>{n({connection_key:i.connection_key,privacy_request_id:i.privacy_request_id,body:{...e}}),c()};return(0,r.jsxs)(r.Fragment,{children:[(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:l,size:"small",children:"Review"}),!(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:l,size:"small",type:"primary",children:"Begin manual input"}),(0,r.jsx)(em.J9,{enableReinitialize:!0,initialValues:{...i.fields},onSubmit:u,validateOnBlur:!1,validateOnChange:!1,validationSchema:eh.Ry().shape({}),children:e=>(0,r.jsxs)(o.dys,{isOpen:a,placement:"right",initialFocusRef:d,onClose:c,size:"lg",children:[(0,r.jsx)(o.P1B,{}),(0,r.jsxs)(o.scA,{children:[(0,r.jsx)(o.cCv,{}),(0,r.jsxs)(o.OXI,{color:"gray.900",children:[(0,r.jsx)(o.xvT,{fontSize:"xl",mb:8,children:t}),(0,r.jsx)(o.izJ,{}),(0,r.jsx)(o.xvT,{fontSize:"md",mt:"4",children:"Manual erasure"}),(0,r.jsx)(o.xuv,{mt:"8px",children:(0,r.jsx)(o.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"normal",children:"Please delete the following PII fields associated with the selected subject if they are available. Once deleted, check the box to confirm the deletion."})})]}),(0,r.jsx)(o.Ng0,{children:(0,r.jsx)(em.l0,{id:"manual-detail-form",noValidate:!0,children:(0,r.jsx)(o.gCW,{align:"stretch",gap:"16px",children:Object.entries(i.fields).map(e=>{let[t]=e;return(0,r.jsx)(o.Ugi,{children:(0,r.jsx)(em.gN,{id:t,name:t,children:e=>{let{field:i}=e;return(0,r.jsxs)(o.NIc,{alignItems:"baseline",display:"inline-flex",children:[(0,r.jsx)(o.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:t,w:"50%",children:t}),(0,r.jsx)(o.XZJ,{...i,isChecked:!!i.value,onChange:i.onChange,name:t,id:t})]})}})},t)})})})}),(0,r.jsx)(o.zeN,{justifyContent:"flex-start",children:(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(o.wpx,{onClick:c,children:"Cancel"}),(0,r.jsx)(o.wpx,{form:"manual-detail-form",loading:s,htmlType:"submit",children:"Save"})]})})]})]})})]})};let eg=(e,t,i)=>e.includes(x.Us.ACCESS)?{ProcessingDetailComponent:ep,uploadMutation:t,getUploadedWebhookDataEndpoint:eo.$I.endpoints.getUploadedManualAccessWebhookData}:e.includes(x.Us.ERASURE)?{ProcessingDetailComponent:ex,uploadMutation:i,getUploadedWebhookDataEndpoint:eo.$I.endpoints.getUploadedManualErasureWebhookData}:null;var ev=e=>{let{subjectRequest:t,onComplete:i}=e,s=(0,ec.T)(),{errorAlert:n,successAlert:a}=(0,er.VY)(),{handleError:l}=(0,er.HK)(),[c,d]=(0,p.useState)([]),[u,m]=(0,p.useState)(!1),[h,g]=(0,p.useState)(!1),{data:v,isFetching:j,isLoading:y,isSuccess:f}=(0,en.W6)(),[_]=(0,eo.w3)(),b=ed(t.policy.rules),[T]=(0,eo.nL)(),[w]=(0,eo.UR)(),{ProcessingDetailComponent:E,uploadMutation:A,getUploadedWebhookDataEndpoint:R}=eg(b,T,w),C=async()=>{try{m(!0),await _(t.id).unwrap(),a("Manual request has been received. Request now processing."),i()}catch(e){l(e)}finally{m(!1)}},k=async e=>{try{g(!0),await A(e).unwrap();let t={connection_key:e.connection_key,fields:{}};Object.entries(e.body).forEach(e=>{let[i,s]=e;t.fields[i]=s||""});let i=c.map(e=>e.connection_key===t.connection_key?{...e,checked:!0,fields:{...t.fields}}:e);d(i),a("Manual input successfully saved!")}catch(e){l(e)}finally{g(!1)}};return((0,p.useEffect)(()=>(f&&v.length>0&&0===c.length&&(()=>{if(c.length>0)return;let e=[],i=null==v?void 0:v.map(e=>e.connection_config.key);null==i||i.every(i=>e.push(s(R.initiate({connection_key:i,privacy_request_id:t.id})))),Promise.allSettled(e).then(e=>{let t=[];e.forEach((e,i)=>{if("fulfilled"===e.status&&e.value.isSuccess&&e.value.data){let i={checked:e.value.data.checked,fields:{},connection_key:e.value.originalArgs.connection_key,privacy_request_id:e.value.originalArgs.privacy_request_id};Object.entries(e.value.data.fields).forEach(e=>{let[t,s]=e;i.fields[t]=s||""}),t.push(i)}else n("An error occurred while loading manual input data for ".concat(v[i].connection_config.name))}),d(t)})})(),()=>{}),[v,c.length,s,n,f,t.id,R]),b.includes(x.Us.ACCESS)||b.includes(x.Us.ERASURE))?(0,r.jsxs)(o.gCW,{align:"stretch",spacing:8,children:[(0,r.jsx)(o.xuv,{children:(0,r.jsx)(o.xvT,{color:"gray.700",fontSize:"sm",children:"The following table details the integrations that require manual input from you."})}),(0,r.jsxs)(o.xuv,{children:[(j||y)&&(0,r.jsx)(o.M5Y,{children:(0,r.jsx)(o.$jN,{})}),f&&v?(0,r.jsx)(o.xJi,{children:(0,r.jsxs)(o.iA_,{size:"sm",variant:"unstyled",children:[(0,r.jsx)(o.hrZ,{children:(0,r.jsxs)(o.Tr,{children:[(0,r.jsx)(o.Th,{fontSize:"sm",fontWeight:"semibold",pl:"0",textTransform:"none",children:"Integration Identifier"}),(0,r.jsx)(o.Th,{})]})}),(0,r.jsxs)(o.p3B,{children:[v.length>0&&v.map(e=>(0,r.jsxs)(o.Tr,{display:"block",children:[(0,r.jsx)(o.Td,{pl:"0",children:e.connection_config.key}),(0,r.jsx)(o.Td,{children:c.length>0?(0,r.jsx)(E,{connectorName:e.connection_config.name,data:c.find(t=>t.connection_key===e.connection_config.key),isSubmitting:h,onSaveClick:k}):null})]},e.id)),0===v.length&&(0,r.jsx)(o.Tr,{children:(0,r.jsx)(o.Td,{colSpan:3,pl:"0",children:(0,r.jsx)(o.M5Y,{children:(0,r.jsx)(o.xvT,{children:"You don‘t have any Manual Process connections set up yet."})})})})]}),c.length>0&&c.every(e=>e.checked)?(0,r.jsx)(o.$RU,{children:(0,r.jsx)(o.Tr,{children:(0,r.jsx)(o.Th,{pl:"0px",children:(0,r.jsx)(o.wpx,{type:"primary",loading:u,onClick:C,className:"mt-2",children:"Complete DSR"})})})}):null]})}):null]})]}):null},ej=e=>{let{subjectRequest:t,onComplete:i}=e,s=(0,c.useRouter)(),{data:n}=(0,en.AZ)({}),a=(0,p.useMemo)(()=>{var e;return(null==n?void 0:null===(e=n.items)||void 0===e?void 0:e.filter(e=>e.connection_type===x.Rj.MANUAL_TASK))||[]},[n]),{data:l}=(0,en.W6)(),d=(l||[]).length>0,{data:m}=(0,B.Ym)({page:1,size:100,privacyRequestId:t.id}),h=(null==m?void 0:m.items)||[],g=h.length,v=h.filter(e=>e.status===x.OS.NEW).length,j=a.length>0,y=h.length>0;return j||d||y?(0,r.jsxs)(o.Kqy,{spacing:6,children:[j&&(0,r.jsxs)(o.xuv,{children:[(0,r.jsx)(o.AntTypography.Title,{level:4,style:{marginBottom:12},children:"Manual tasks"}),(0,r.jsxs)(o.Kqy,{spacing:2,children:[(0,r.jsxs)(o.AntTypography.Text,{children:[(0,r.jsx)("strong",{children:g})," task",1!==g?"s":""," ","linked to this privacy request"]}),(0,r.jsxs)(o.AntTypography.Text,{children:[(0,r.jsx)("strong",{children:v})," pending task",1!==v?"s":""]}),g>0&&(0,r.jsx)("div",{className:"mt-2",children:(0,r.jsx)(o.wpx,{type:"primary",onClick:()=>{s.push({pathname:u.Jw,query:{privacy_request_id:t.id,tab:el.G.MANUAL_TASK}})},children:"View all tasks for this request →"})})]})]}),d&&(0,r.jsxs)(o.xuv,{children:[(0,r.jsxs)(o.kCb,{alignItems:"center",style:{marginBottom:12},children:[(0,r.jsx)(o.AntTypography.Title,{level:4,style:{margin:0,marginRight:8},children:"Manual steps (legacy)"}),(0,r.jsx)(ea.b,{label:"This is the legacy manual steps feature. The new manual tasks feature provides more advanced capabilities and better user experience."})]}),(0,r.jsx)(ev,{subjectRequest:t,onComplete:i||(()=>{})})]})]}):(0,r.jsx)(o.xuv,{p:4,children:(0,r.jsx)(o.AntTypography.Text,{type:"secondary",children:"No manual tasks or legacy manual steps configured for this request."})})},ey=i(59969);let ef={approved:{color:"success",label:"Approved"},complete:{color:"success",label:"Completed"},awaiting_email_send:{color:"marble",label:"Awaiting Email Send"},denied:{color:"warning",label:"Denied"},canceled:{color:"marble",label:"Canceled"},error:{color:"error",label:"Error"},in_processing:{color:"caution",label:"In Progress"},paused:{color:"marble",label:"Paused"},pending:{color:"info",label:"New"},identity_unverified:{color:"marble",label:"Unverified"},requires_input:{color:"minos",label:"Requires Input"},requires_manual_finalization:{color:"minos",label:"Requires Finalization"}};var e_=e=>{let{status:t}=e;return(0,r.jsx)(o.j8w,{color:ef[t].color,className:"justify-center","data-testid":"request-status-badge",children:ef[t].label})},eb=i(18225),eT=i(812),ew=i(7842);let{useGetAttachmentsQuery:eE,useUploadAttachmentMutation:eA,useGetAttachmentDetailsQuery:eR,useLazyGetAttachmentDetailsQuery:eC}=k.u.injectEndpoints({endpoints:e=>({getAttachments:e.query({query:e=>{let{privacy_request_id:t,page:i=1,size:s}=e;return{url:"plus/privacy-request/".concat(t,"/attachment"),method:"GET",params:{page:i,size:s}}},providesTags:["Privacy Request Attachments"]}),uploadAttachment:e.mutation({query:e=>{let{privacy_request_id:t,attachment_type:i,attachment_file:s}=e,n=new FormData;return n.append("attachment_type",i),n.append("attachment_file",s),{url:"plus/privacy-request/".concat(t,"/attachment"),method:"POST",body:n,params:{}}},invalidatesTags:["Privacy Request Attachments"]}),getAttachmentDetails:e.query({query:e=>{let{privacy_request_id:t,attachment_id:i}=e;return{url:"plus/privacy-request/".concat(t,"/attachment/").concat(i),method:"GET"}}})})}),{reducer:ek}=(0,C.oM)({name:"privacyRequestAttachments",initialState:{},reducers:{}}),eq=e=>{var t;let{file:i}=e,[s,n]=(0,p.useState)(!1),[a]=eC(),l=async()=>{var e,t,s;if((null===(e=i.customData)||void 0===e?void 0:e.attachment_id)&&(null===(t=i.customData)||void 0===t?void 0:t.privacy_request_id)){n(!0);try{let e=await a({privacy_request_id:i.customData.privacy_request_id,attachment_id:i.customData.attachment_id}),t=null===(s=e.data)||void 0===s?void 0:s.retrieved_attachment_url,n=null==t?void 0:t.startsWith("http");t&&n?window.open(t,"_blank"):t&&!n?o.Pg3.info("Download is not available when using local storage methods."):o.Pg3.error("No download URL available for ".concat(i.name))}catch(e){o.Pg3.error("Failed to fetch attachment download URL")}finally{n(!1)}}},c=(null===(t=i.customData)||void 0===t?void 0:t.attachment_type)===x.sf.INCLUDE_WITH_ACCESS_PACKAGE;return(0,r.jsxs)(o.jqI,{align:"center",gap:8,children:[(0,r.jsx)(o.PJP.PgN,{className:"shrink-0"}),(0,r.jsx)(o.lKn,{ellipsis:{tooltip:i.name},className:"grow",children:i.name}),c&&(0,r.jsx)(o.esZ,{title:"This attachment will be included in the access package.",children:(0,r.jsx)(o.PJP.wvC,{className:"shrink-0",title:"User icon"})}),(0,r.jsx)(o.wpx,{type:"text",icon:(0,r.jsx)(o.PJP.UWx,{}),onClick:l,loading:s,className:"shrink-0"})]})},eS=(e,t)=>(0,r.jsx)(eq,{file:t});var eN=e=>{let{subjectRequest:t}=e,[i,s]=(0,p.useState)(!1),n=(0,g.Tg)([x.Sh.ATTACHMENT_READ]),a=(0,g.Tg)([x.Sh.ATTACHMENT_CREATE]),[l]=eA(),{data:c,isLoading:d,error:u}=(0,eo.PW)(),{data:m,isLoading:h}=eE({privacy_request_id:t.id}),{refetch:v}=eE({privacy_request_id:t.id}),j=(null==m?void 0:m.items.map(e=>({uid:e.id,name:e.file_name,status:"done",customData:{attachment_id:e.id,privacy_request_id:t.id,attachment_type:e.attachment_type}})))||[],y=(0,p.useCallback)(()=>(0,r.jsx)(o.PJP.PgN,{}),[]);if(!n)return null;let f=a&&(null==c?void 0:c.key),_=[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv",".jpg",".jpeg",".png",".zip"];return(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"mt-6",children:[(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(o.lQT,{level:3,children:"Attachments"})}),d||h?(0,r.jsx)(eb.Z,{size:"md",alignment:"start"}):(0,r.jsx)(o.pMK,{name:"attachment_file",fileList:j,iconRender:y,showUploadList:{showRemoveIcon:!1,showDownloadIcon:!1},itemRender:eS,accept:_.join(","),customRequest:async e=>{let{file:i,onSuccess:n,onError:a}=e,r=i.name;try{s(!0),await l({privacy_request_id:t.id,attachment_file:i,attachment_type:ew.s.INTERNAL_USE_ONLY}).unwrap(),o.Pg3.success("".concat(r," file uploaded successfully")),v(),null==n||n(i)}catch(e){o.Pg3.error("".concat(r," file upload failed.")),null==a||a(e)}finally{s(!1)}},disabled:!f,children:a&&(0,r.jsx)(o.esZ,{title:u&&"Add attachment not available: ".concat((0,eT.e$)(u)),placement:"top",children:(0,r.jsxs)(o.jqI,{align:"center",gap:12,className:"mb-4",children:[(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.PJP.mm_,{}),iconPosition:"end",disabled:!f||i,loading:i,children:i?"Uploading":"Add"}),(0,r.jsx)(ea.b,{label:"Uploaded attachments are for internal use and won't be send as part of the request package.\n Accepted filetypes: ".concat(_.join(", ")),placement:"top"})]})})})]})})},eP=i(15709),eI=i.n(eP),eD=e=>{let{label:t,children:i}=e;return(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("div",{className:"shrink-0 grow-0 basis-1/2 pr-2 ".concat(eI().label),children:(0,r.jsxs)(o.AntTypography.Text,{children:[t,":"]})}),(0,r.jsx)("div",{className:"min-w-0 shrink grow ".concat(eI().value),"data-testid":"request-detail-value-".concat(t),children:i})]})},eO=e=>{let{subjectRequest:t}=e,{custom_privacy_request_fields:i}=t;return(0,r.jsx)("div",{className:"flex flex-col gap-2",children:i&&Object.keys(i).length>0&&Object.entries(i).filter(e=>{let[,t]=e;return t.value}).map(e=>{let[t,i]=e;return(0,r.jsx)(eD,{label:i.label,children:(0,r.jsx)(o.AntTypography.Text,{children:Array.isArray(i.value)?i.value.join(", "):i.value})},t)})})},eM=e=>{var t,i;let{subjectRequest:s}=e,{plus:n}=(0,R.hz)(),{id:a,status:l,policy:c,identity:d,identity_verified_at:u}=s;return(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(o.AntTypography.Title,{level:2,children:"Request details"})}),(0,r.jsxs)(o.jqI,{vertical:!0,gap:12,className:"mb-6",children:[(0,r.jsx)(eD,{label:"Status",children:(0,r.jsx)(e_,{status:l})}),(0,r.jsx)(eD,{label:"Time remaining",children:(0,r.jsx)(ey.Z,{daysLeft:s.days_left,includeText:!0,status:s.status})}),(0,r.jsx)(eD,{label:"Request type",children:(0,r.jsx)(eu,{rules:c.rules})}),(0,r.jsx)(eD,{label:"Source",children:n&&(0,r.jsx)(o.AntTypography.Text,{children:s.source||"-"})}),s.submitted_by&&(0,r.jsx)(eD,{label:"Created by",children:(0,r.jsx)(o.AntTypography.Text,{children:(null===(t=s.submitter)||void 0===t?void 0:t.username)||"-"})}),(0,r.jsx)(eD,{label:"Reviewed by",children:(0,r.jsx)(o.AntTypography.Text,{children:(null===(i=s.reviewer)||void 0===i?void 0:i.username)||"-"})}),Object.entries(d).filter(e=>{let[,{value:t}]=e;return null!==t}).map(e=>{let[t,{value:i="",label:s}]=e,n="".concat(i).concat(u?"":" (Unverified)");return(0,r.jsx)(eD,{label:"Subject ".concat(s.toLocaleLowerCase()),children:(0,r.jsx)(o.esZ,{title:n,trigger:"click",children:(0,r.jsx)(o.AntTypography.Text,{ellipsis:!0,children:n})})},t)}),(0,r.jsx)(eO,{subjectRequest:s})]}),(0,r.jsxs)(o.PPS,{layout:"vertical",children:[(0,r.jsx)(o.PPS.Item,{label:"Request ID:",className:"mb-4",children:(0,r.jsx)(o.jqI,{gap:1,children:(0,r.jsxs)(o.vyj.Compact,{style:{width:"100%"},children:[(0,r.jsx)(o.uFc,{readOnly:!0,value:a,"data-testid":"request-detail-value-id"}),(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(Z.Z,{copyText:a})})]})})}),(0,r.jsx)(o.PPS.Item,{label:"Policy key:",className:"mb-4",children:(0,r.jsx)(o.uFc,{readOnly:!0,value:s.policy.key,"data-testid":"request-detail-value-policy"})})]}),(0,r.jsx)(eN,{subjectRequest:s})]})};let eU=[x.q2.COMPLETE,x.q2.CANCELED,x.q2.DENIED,x.q2.ERROR];var ez=e=>{var t;let{data:i}=e,s=(0,p.useMemo)(()=>({id:i.id,verbose:!0}),[i.id]),{data:n}=(0,h.QA)(s,{pollingInterval:eU.includes(i.status)?0:2e3,skip:!i.id}),a=null!==(t=null==n?void 0:n.items[0])&&void 0!==t?t:i,l=a.status===x.q2.REQUIRES_INPUT,[c,d]=(0,p.useState)("activity"),u=(0,p.useMemo)(()=>[{key:"activity",label:"Activity",children:(0,r.jsx)(es,{subjectRequest:a})},{key:"manual-tasks",label:"Manual tasks",children:(0,r.jsx)(ej,{subjectRequest:a,onComplete:()=>d("activity")}),disabled:!l}],[l,a]);return(0,r.jsxs)("div",{className:"flex gap-8",children:[(0,r.jsx)("div",{className:"w-0 grow",children:(0,r.jsx)(o.A5g,{items:u,activeKey:c,onChange:d})}),(0,r.jsx)("div",{className:"w-1/3 2xl:w-[432px]","data-testid":"privacy-request-details",children:(0,r.jsx)(eM,{subjectRequest:a})})]})},eL=i(57526),eW=i(66548),eB=i(45489),eF=e=>{let{privacyRequest:t,action:i}=e,{handleApproveRequest:s,handleDenyRequest:n}=(0,eB.Z)({subjectRequest:t}),a=t.status===x.q2.PENDING,l=(0,o.qY0)(),r=async e=>{let{reason:t}=e,a=o.Pg3.loading({content:"approve"===i?"Approving request...":"Denying request..."});"deny"===i&&await n(t),"approve"===i&&await s(),a()};return{showAction:a,closeModal:l.onClose,performAction:r,openConfirmationModal:l.onOpen,isModalOpen:l.isOpen}},eZ=e=>{var t,i,s;let{privacyRequest:n}=e,a=null===(i=(0,R.hz)())||void 0===i?void 0:null===(t=i.flags)||void 0===t?void 0:t.downloadAccessRequestResults,l=n.status===x.q2.COMPLETE,r=ed(n.policy.rules).includes(x.Us.ACCESS),o=(0,g.Tg)([x.Sh.PRIVACY_REQUEST_ACCESS_RESULTS_READ]),{data:c,isLoading:d,isError:u,error:m}=(0,eo.br)({privacy_request_id:n.id}),h=null!==(s=null==c?void 0:c.access_result_urls[0])&&void 0!==s?s:"",p=!!h&&"your local fides_uploads folder"!==h,v=null;return u?v=(0,eT.e$)(m,"Unable to resolve download URL"):p||(v="Requests stored locally cannot be downloaded"),{showDownloadResults:a&&o&&r&&l,downloadResults:()=>{let e=document.createElement("a");e.href=h,e.target="_blank",e.rel="noopener noreferrer",e.click(),e.remove()},infoTooltip:v,isLoading:d,isDisabled:!p}},eJ=e=>{let{privacyRequest:t}=e,{errorAlert:i,successAlert:s}=(0,er.VY)(),n=t.status===x.q2.ERROR,[a]=(0,eo.Fq)();return{reprocessPrivacyRequest:async()=>{if(!t)return;let e=o.Pg3.loading("Reprocessing privacy request...",0),n=await a(t);"error"in n?i((0,eT.e$)(n.error),"DSR automation has failed for this privacy request due to the following:",{duration:null}):s("Privacy request is now being reprocessed."),e()},showReprocess:n}},eG=e=>{let{privacyRequest:t}=e,{showDownloadResults:i,downloadResults:s,infoTooltip:n,isDisabled:a}=eZ({privacyRequest:t}),{isModalOpen:l,closeModal:c,performAction:d,openConfirmationModal:u,showAction:m}=eF({privacyRequest:t,action:"approve"}),{isModalOpen:h,closeModal:g,performAction:v,openConfirmationModal:j,showAction:y}=eF({privacyRequest:t,action:"deny"}),{reprocessPrivacyRequest:f,showReprocess:_}=eJ({privacyRequest:t}),{handleFinalizeRequest:b,finalizeRequestResult:T}=(0,eB.Z)({subjectRequest:t}),w=(0,p.useMemo)(()=>{let e=[];return e.push({key:"approve",label:(0,r.jsx)("span",{"data-testid":"privacy-request-approve-btn",children:"Approve"}),onClick:u,disabled:!m}),e.push({key:"deny",label:(0,r.jsx)("span",{"data-testid":"privacy-request-deny-btn",children:"Deny"}),onClick:j,disabled:!y}),e.push({key:"reprocess",label:(0,r.jsx)("span",{"data-testid":"privacy-request-action-reprocess",children:"Reprocess"}),onClick:f,disabled:!_}),t.status===x.q2.REQUIRES_MANUAL_FINALIZATION&&e.push({key:"finalize",label:(0,r.jsx)("span",{"data-testid":"privacy-request-action-finalize",children:"Finalize"}),onClick:b,disabled:T.isLoading}),i&&e.push({key:"download",label:(0,r.jsx)(o.esZ,{title:a?n:null,placement:"bottom",children:(0,r.jsx)("span",{"data-testid":"download-results-btn",children:"Download request results"})}),onClick:s,disabled:a}),e},[i,s,n,a,m,y,u,j,_,f,t.status,b,T.isLoading]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.S0p,{menu:{items:w},trigger:["click"],overlayStyle:{minWidth:"160px"},children:(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.PJP.pO,{}),"data-testid":"privacy-request-actions-dropdown-btn",iconPosition:"end",type:"primary",disabled:!w.length,size:"large",children:"Actions"})}),(0,r.jsx)(eL.Z,{isOpen:l,isLoading:!1,onClose:c,onApproveRequest:()=>d({reason:""}),subjectRequest:t}),(0,r.jsx)(eW.Z,{isOpen:h,onClose:g,onDenyRequest:e=>v({reason:e})})]})},eK=()=>{let e=(0,c.useRouter)().query.id,{data:t,isLoading:i}=(0,h.QA)({id:e,verbose:!0},{skip:!e}),s=(null==t?void 0:t.items[0])||null;return(0,r.jsxs)(d.Z,{title:"Privacy Request - ".concat(e),children:[(0,r.jsx)(m.Z,{heading:"Privacy Requests",breadcrumbItems:[{title:"All requests",href:u.Jw},{title:"Request details"}],rightContent:!!s&&(0,r.jsx)(eG,{privacyRequest:s})}),i&&(0,r.jsx)(o.M5Y,{children:(0,r.jsx)(o.$jN,{})}),!i&&!s&&(0,r.jsx)(o.xvT,{children:"404 no privacy request found"}),!i&&s&&(0,r.jsx)(ez,{data:s})]})}},15709:function(e){e.exports={value:"RequestDetailsRow_value__WMXn3",label:"RequestDetailsRow_label__dn3CQ"}},38450:function(e){e.exports={container:"ActivityTimelineEntry_container__tCva0","container--open":"ActivityTimelineEntry_container--open__1d9mA",itemButton:"ActivityTimelineEntry_itemButton__MlmWS","itemButton--error":"ActivityTimelineEntry_itemButton--error__UizD2","itemButton--comment":"ActivityTimelineEntry_itemButton--comment__g98SH","itemButton--awaiting-input":"ActivityTimelineEntry_itemButton--awaiting-input__6lB5t",header:"ActivityTimelineEntry_header__GYibj",title:"ActivityTimelineEntry_title__rm_g0","title--error":"ActivityTimelineEntry_title--error__fOi0s","title--awaiting-input":"ActivityTimelineEntry_title--awaiting-input__3sPAo",timestamp:"ActivityTimelineEntry_timestamp__uMEMT",viewLogs:"ActivityTimelineEntry_viewLogs___T4jN",logs:"ActivityTimelineEntry_logs__T7R0J","logs--open":"ActivityTimelineEntry_logs--open__o_9Io"}}},function(e){e.O(0,[431,4558,2888,9774,179],function(){return e(e.s=6554)}),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9650],{6554:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/privacy-requests/[id]",function(){return i(50107)}])},77213:function(e,t,i){"use strict";i.d(t,{Z:function(){return h}});var s=i(24246),n=i(96306),a=i(88038),l=i.n(a),r=i(86677);i(27378);var o=i(25980),c=i(90867),d=i(42478),u=i(77830),m=()=>{let e=(0,r.useRouter)();return(0,s.jsx)(n.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,s.jsxs)(n.xuv,{children:[(0,s.jsxs)(n.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,s.jsx)(n.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,s.jsx)(n.wpx,{onClick:()=>{e.push(u.AD)},children:"Configure"})]}),(0,s.jsxs)(n.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},h=e=>{let{children:t,title:i,padded:a=!0,mainProps:u}=e,h=(0,o.hz)(),p=(0,r.useRouter)(),x="/privacy-requests"===p.pathname||"/datastore-connection"===p.pathname,g=!(h.flags.messagingConfiguration&&x),{data:v}=(0,d.JE)(void 0,{skip:g}),{data:j}=(0,c.PW)(void 0,{skip:g}),y=h.flags.messagingConfiguration&&(!v||!j)&&x;return(0,s.jsxs)(n.kCb,{"data-testid":i,direction:"column",h:"100vh",children:[(0,s.jsxs)(l(),{children:[(0,s.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,s.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,s.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,s.jsxs)(n.kCb,{as:"main",direction:"column",py:a?6:0,px:a?10:0,h:a?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...u,children:[y?(0,s.jsx)(m,{}):null,t]})]})}},50107:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return eK}});var s,n,a,l,r=i(24246),o=i(96306),c=i(86677),d=i(77213),u=i(77830),m=i(58754),h=i(99716),p=i(27378),x=i(21910),g=i(19904);(s=a||(a={})).IN_PROCESSING="in_processing",s.PENDING="pending",s.COMPLETE="complete",s.ERROR="error",s.PAUSED="paused",s.AWAITING_PROCESSING="awaiting_processing",s.RETRYING="retrying",s.SKIPPED="skipped";let v={in_processing:"In processing",pending:"Pending",complete:"Complete",error:"Error",paused:"Paused",awaiting_processing:"Awaiting input",retrying:"Retrying",skipped:"Skipped"},j={error:"error",skipped:"warning",awaiting_processing:"minos",in_processing:void 0,pending:void 0,complete:void 0,paused:void 0,retrying:void 0};(n=l||(l={})).REQUEST_UPDATE="Request update",n.INTERNAL_COMMENT="Internal comment",n.MANUAL_TASK="Manual task";let y={"Request update":"sandstone","Internal comment":"marble","Manual task":"nectar"};var f=i(90005),_=i.n(f),b=i(16394),T=i(38450),w=i.n(T);let E=e=>{let{attachments:t}=e;if(!t.length)return null;if(1===t.length){let e=t[0];return(0,r.jsx)("div",{className:"flex flex-wrap gap-2 text-sm text-gray-600","data-testid":"activity-timeline-attachments",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(o.PJP.PgN,{className:"mr-1 size-4"}),(0,r.jsx)(o.AntTypography.Text,{ellipsis:{tooltip:!0},className:"!max-w-[200px]",children:e.file_name})]})})}let i=(0,r.jsx)("ul",{className:"list-disc pl-4",children:t.map(e=>(0,r.jsx)("li",{children:e.file_name},e.id))});return(0,r.jsx)("div",{className:"flex flex-wrap gap-2 text-sm text-gray-600","data-testid":"activity-timeline-attachments",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(o.PJP.PgN,{className:"mr-1 size-4"}),(0,r.jsx)(o.esZ,{title:i,children:(0,r.jsxs)(o.AntTypography.Text,{ellipsis:!0,className:"!max-w-[200px]",children:[t.length," attachments"]})})]})})};var A=e=>{let{item:t}=e,{author:i,title:s,date:n,type:a,onClick:c,isError:d,isAwaitingInput:u,description:m,attachments:h,showViewLog:p}=t,x=(0,b.p6)(n),g=!!c,v=h&&h.length>0,j=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:w().header,children:[(0,r.jsxs)("span",{className:w().author,"data-testid":"activity-timeline-author",children:[i,":"]}),s&&(0,r.jsxs)(o.AntTypography.Text,{className:_()(w().title,{[w()["title--error"]]:d,[w()["title--awaiting-input"]]:u}),ellipsis:{tooltip:!0},"data-testid":"activity-timeline-title",children:[s,d&&" failed"]}),(0,r.jsx)("div",{className:"hidden xl:block",children:(0,r.jsx)(o.AntTypography.Text,{className:w().timestamp,"data-testid":"activity-timeline-timestamp",children:x})}),(0,r.jsx)("div",{className:"xl:hidden",children:(0,r.jsx)(o.esZ,{title:x,children:(0,r.jsx)(o.PJP.qpU,{"data-testid":"activity-timeline-timestamp-icon"})})}),(0,r.jsx)(o.j8w,{className:w().type,color:y[a],"data-testid":"activity-timeline-type",children:a}),p&&(0,r.jsx)("span",{className:w().viewLogs,"data-testid":"activity-timeline-view-logs",children:"View Log"})]}),(m||v)&&(0,r.jsxs)("div",{className:"mt-2 flex justify-between pl-2.5 align-top",children:[(0,r.jsx)(o.AntTypography.Paragraph,{className:"!mb-0 whitespace-pre-wrap","data-testid":"activity-timeline-description",children:m||""}),v&&(0,r.jsx)(E,{attachments:h})]})]}),f={className:_()(w().itemButton,{[w()["itemButton--error"]]:d,[w()["itemButton--awaiting-input"]]:u,[w()["itemButton--clickable"]]:g,[w()["itemButton--comment"]]:a===l.INTERNAL_COMMENT,[w()["itemButton--manual-task"]]:a===l.MANUAL_TASK}),"data-testid":"activity-timeline-item"};return g?(0,r.jsx)("button",{type:"button",onClick:c,...f,children:j}):(0,r.jsx)("div",{...f,children:j})},R=i(25980),C=i(54427),k=i(78780);let{useGetCommentsQuery:q,useCreateCommentMutation:S,useGetCommentDetailsQuery:N,useLazyGetCommentDetailsQuery:P}=k.u.injectEndpoints({endpoints:e=>({getComments:e.query({query:e=>{let{privacy_request_id:t,page:i=1,size:s}=e;return{url:"plus/privacy-request/".concat(t,"/comment"),method:"GET",params:{page:i,size:s}}},providesTags:["Privacy Request Comments"]}),createComment:e.mutation({query:e=>{let{privacy_request_id:t,comment_text:i,comment_type:s}=e,n=new FormData;return n.append("comment_text",i),n.append("comment_type",s),{url:"plus/privacy-request/".concat(t,"/comment"),method:"POST",body:n,formData:!0}},invalidatesTags:["Privacy Request Comments","Request"]}),getCommentDetails:e.query({query:e=>{let{privacy_request_id:t,comment_id:i}=e;return{url:"plus/privacy-request/".concat(t,"/comment/").concat(i),method:"GET"}}})})}),{reducer:I}=(0,C.oM)({name:"privacyRequestComments",initialState:{},reducers:{}}),D=e=>{let{plus:t}=(0,R.hz)(),{data:i,isLoading:s,error:n}=q({privacy_request_id:e,size:100},{skip:!t});return(0,p.useEffect)(()=>{n&&o.Pg3.error("Failed to fetch the request comments")},[n]),{commentItems:(null==i?void 0:i.items)?i.items.map(e=>({author:e.user_first_name&&e.user_last_name?"".concat(e.user_first_name," ").concat(e.user_last_name):e.username||"Unknown",date:new Date(e.created_at),type:l.INTERNAL_COMMENT,showViewLog:!1,description:e.comment_text,isError:!1,isSkipped:!1,isAwaitingInput:!1,id:"comment-".concat(e.id)})):[],isLoading:s}},O=(e,t)=>{if(0===e.length)return!1;let i=Array.from(e).sort((e,t)=>new Date(t.updated_at).getTime()-new Date(e.updated_at).getTime());if(!i[0].collection_name)return i[0].status===t;let s={};return i.forEach(e=>{e.collection_name&&!s[e.collection_name]&&(s[e.collection_name]=e)}),Object.values(s).some(e=>e.status===t)},M=e=>O(e,a.ERROR),U=e=>O(e,a.SKIPPED),z=e=>O(e,a.AWAITING_PROCESSING),L=e=>{let t=!e;return{eventItems:e?Object.entries(e).map(e=>{let[t,i]=e,s=M(i),n=U(i),a=z(i);return{author:"Fides",title:t,date:new Date(i[0].updated_at),type:l.REQUEST_UPDATE,showViewLog:s||n||a,onClick:()=>{},isError:s,isSkipped:n,isAwaitingInput:a,id:"request-".concat(t)}}):[],isLoading:t}};var W=i(91317),B=i(45116);let F=e=>{let{plus:t}=(0,R.hz)(),{data:i,isLoading:s,error:n}=(0,B.Ym)({page:1,size:100,privacyRequestId:e,status:void 0,includeFullSubmissionDetails:!0},{skip:!t});return(0,p.useEffect)(()=>{n&&o.Pg3.error("Failed to fetch manual tasks")},[n]),{manualTaskItems:i?i.items.filter(e=>e.status===x.OS.COMPLETED||e.status===x.OS.SKIPPED).map(e=>{var t,i;let s=e.submission_user?(0,b.gJ)(e.submission_user):"Unknown User";(0,W.PN)(null===(t=e.submission_user)||void 0===t?void 0:t.id)&&(s=(null===(i=e.submission_user)||void 0===i?void 0:i.id)||"Unknown User");let n=e.status===x.OS.SKIPPED,a="Task ".concat(n?"skipped":"completed"," - ").concat(e.name),r=e.comments&&e.comments.length>0?e.comments[e.comments.length-1].comment_text:void 0,o=e.attachments||[];return{author:s,title:a,date:new Date(e.updated_at),type:l.MANUAL_TASK,showViewLog:!1,description:r,isError:!1,isSkipped:n,isAwaitingInput:!1,id:"manual-task-".concat(e.manual_field_id),attachments:o}}):[],taskCommentIds:(0,p.useMemo)(()=>{let e=new Set;return(null==i?void 0:i.items)&&i.items.filter(e=>e.status===x.OS.COMPLETED||e.status===x.OS.SKIPPED).forEach(t=>{var i;null===(i=t.comments)||void 0===i||i.forEach(t=>{e.add(t.id)})}),e},[i]),isLoading:s}};var Z=i(88340),J=e=>{let{errorMessage:t,status:i=a.ERROR}=e;return(0,r.jsxs)(o.xuv,{height:"100%",id:"outer",children:[(0,r.jsxs)(o.kCb,{alignItems:"center",children:[(0,r.jsx)(o.xvT,{size:"sm",color:"gray.700",fontWeight:"medium",marginRight:"8px",lineHeight:"20px",children:"Status"}),(0,r.jsx)(o.j8w,{color:j[i],children:v[i]}),(0,r.jsx)(o.xuv,{padding:"0px",marginBottom:"3px",children:(0,r.jsx)(Z.Z,{copyText:t})})]}),(0,r.jsx)(o.izJ,{marginTop:"4px",marginBottom:"6px"}),(0,r.jsx)(o.xuv,{id:"errorWrapper",overflow:"auto",height:"100%",children:(0,r.jsx)(o.xvT,{children:t})})]})},G=i(3124),K=i.n(G);let H=e=>{switch(e){case x.Us.ACCESS:return"Data Retrieval";case x.Us.ERASURE:return"Data Deletion";case x.Us.CONSENT:return"Consent";case x.Us.UPDATE:return"Data Update";default:return e}},Y=e=>{if(e.status!==a.COMPLETE||!e.collection_name)return"-";let t=(e.message||"").match(/(?:retrieved|masked|processed)\s+(\d+)\s+records?$/i);return t?parseInt(t[1],10).toLocaleString():"-"},V=(e,t)=>{let i=e.filter(e=>e.action_type===t&&e.status===a.COMPLETE&&e.collection_name).sort((e,t)=>new Date(t.updated_at).getTime()-new Date(e.updated_at).getTime()),s={};i.forEach(e=>{let t=e.collection_name||"unknown";s[t]||(s[t]=e)});let n=0,l=!1,r=/(?:retrieved|masked|processed)\s+(\d+)\s+records?$/i;return Object.values(s).forEach(e=>{if(e.message){let t=e.message.match(r);if(t){l=!0;let e=parseInt(t[1],10);n+=e}}}),l?n:null},Q=(e,t,i)=>{if("finished"===e.status&&!e.collection_name&&i){let e=V(t,i);return null!==e?e.toLocaleString():"-"}return Y(e)};var $=e=>{var t,i,s;let{eventLogs:n,allEventLogs:l,onDetailPanel:c,privacyRequest:d}=e,u=(null==n?void 0:n.some(e=>e.collection_name))||(null==n?void 0:n.some(e=>"finished"===e.status&&!e.collection_name))||!1,m=null==n?void 0:n.every(e=>"finished"===e.status&&!e.collection_name),h=null==d?void 0:null===(s=d.policy)||void 0===s?void 0:null===(i=s.rules)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.action_type,p=e=>e?H(e):h?H(h):"-",x=null==n?void 0:n.map(e=>(0,r.jsxs)(o.Tr,{backgroundColor:e.status===a.ERROR||e.status===a.SKIPPED&&e.message||e.status===a.AWAITING_PROCESSING?K().FIDESUI_NEUTRAL_50:"unset",onClick:()=>{(e.status===a.ERROR||e.status===a.SKIPPED&&e.message||e.status===a.AWAITING_PROCESSING)&&c(e.message,e.status)},style:{cursor:e.message?"pointer":"unset"},_hover:{backgroundColor:K().FIDESUI_NEUTRAL_50},children:[(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:(0,b.p6)(e.updated_at)})}),(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:p(e.action_type)})}),(0,r.jsx)(o.Td,{children:v[e.status]?(0,r.jsx)(o.j8w,{color:j[e.status],children:v[e.status]}):(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:e.status})}),u&&(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:Q(e,l||n,h)})}),u&&!m&&(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"finished"===e.status?"Request completed":e.collection_name})})]},e.updated_at));return(0,r.jsx)(o.xuv,{width:"100%",paddingTop:"0px",height:"100%",children:(0,r.jsx)(o.xJi,{id:"tableContainer",height:"100%",style:{overflowY:"auto"},children:(0,r.jsxs)(o.iA_,{size:"sm",id:"table",position:"relative",children:[(0,r.jsx)(o.hrZ,{id:"tableHeader",position:"sticky",top:"0px",backgroundColor:"white",zIndex:10,children:(0,r.jsxs)(o.Tr,{children:[(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Time"})}),(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Action Type"})}),(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Status"})}),u&&(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Records"})}),u&&!m&&(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Collection"})})]})}),(0,r.jsx)(o.p3B,{id:"tableBody",children:x})]})})})},X=e=>{let{isOpen:t,onClose:i,currentLogs:s,allEventLogs:n,isViewingError:l,errorMessage:c,currentStatus:d=a.ERROR,onCloseErrorPanel:u,onOpenErrorPanel:m,privacyRequest:h}=e;return(0,r.jsxs)(o.dys,{isOpen:t,placement:"right",onClose:i,size:"full",autoFocus:!1,"data-testid":"log-drawer",children:[(0,r.jsx)(o.P1B,{}),(0,r.jsxs)(o.scA,{style:{width:"50%"},"data-testid":"log-drawer",children:[(0,r.jsx)(o.OXI,{style:{paddingBottom:"0px"},children:(0,r.jsxs)(o.kCb,{justifyContent:"space-between",alignItems:"center",height:"40px",children:[(0,r.jsxs)(o.kCb,{alignItems:"center",children:[l&&(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.Rpv,{}),"aria-label":"Close error logs",size:"small",onClick:u}),(0,r.jsx)(o.xvT,{color:"gray.900",fontSize:"md",lineHeight:"6",fontWeight:"medium",ml:1,children:l?"Event detail":"Event log"})]}),(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.LGN,{width:"17px"}),"aria-label":"Stop viewing error message",size:"small",onClick:i,"data-testid":"log-drawer-close"})]})}),(0,r.jsxs)(o.Ng0,{id:"drawerBody",overflow:"hidden",children:[s&&!l?(0,r.jsx)($,{eventLogs:s,allEventLogs:n,onDetailPanel:m,privacyRequest:h}):null,l?(0,r.jsx)(J,{errorMessage:c,status:d}):null]})]})]})},ee=e=>{let{subjectRequest:t}=e,{isOpen:i,onOpen:s,onClose:n}=(0,o.qY0)(),[c,d]=(0,p.useState)([]),[u,m]=(0,p.useState)(""),[h,x]=(0,p.useState)(!1),[g,v]=(0,p.useState)(""),[j,y]=(0,p.useState)(a.ERROR),{results:f,id:_}=t,{commentItems:b,isLoading:T}=D(_),{eventItems:E,isLoading:R}=L(f),{manualTaskItems:C,taskCommentIds:k,isLoading:q}=F(_);(0,p.useEffect)(()=>{u&&f&&f[u]&&d(f[u])},[f,u]);let S=()=>{x(!1)},N=(0,p.useCallback)((e,t)=>{m(e),d(t),s()},[s]),P=(0,p.useMemo)(()=>f?Object.values(f).flat():[],[f]),I=(0,p.useMemo)(()=>b.filter(e=>{let t=e.id.replace("comment-","");return!k.has(t)}),[b,k]),O=(0,p.useMemo)(()=>{let e=E.map(e=>{if("Request update"===e.type&&e.title&&f){let t=e.title;if(f[t])return{...e,onClick:()=>N(t,f[t])}}return e});return[{author:"Fides",title:"Access request received",date:new Date(t.created_at),type:l.REQUEST_UPDATE,showViewLog:!1,isError:!1,isSkipped:!1,isAwaitingInput:!1,id:"initial-request"},...e,...I,...C].sort((e,t)=>new Date(e.date).getTime()-new Date(t.date).getTime())},[E,I,C,f,N,t.created_at]);return(0,r.jsxs)(o.xuv,{width:"100%",children:[(0,r.jsx)(o.krs,{className:"!border-none",bordered:!1,split:!1,"data-testid":"activity-timeline-list",children:(0,r.jsx)("ul",{className:"!list-none",children:T||R||q?(0,r.jsx)("div",{className:w().itemButton,"data-testid":"timeline-skeleton",children:(0,r.jsx)(o.N_L,{paragraph:{rows:2},active:!0})}):O.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(A,{item:e})},e.id))})}),(0,r.jsx)(X,{isOpen:i,onClose:()=>{h&&S(),m(""),n()},currentLogs:c,allEventLogs:P,isViewingError:h,errorMessage:g,currentStatus:j,onOpenErrorPanel:(e,t)=>{v(e),t&&y(t),x(!0)},onCloseErrorPanel:S,privacyRequest:t})]})},et=i(66187);let ei=e=>{let{privacyRequestId:t,onCancel:i}=e,[s,n]=(0,p.useState)(""),a=(0,p.useRef)(null),[l,{isLoading:c}]=S();(0,p.useEffect)(()=>{a.current&&a.current.focus()},[]);let d=async()=>{if(s.trim())try{await l({privacy_request_id:t,comment_text:s,comment_type:et.i.NOTE}).unwrap(),n(""),i()}catch(e){console.error("Failed to add comment:",e),o.Pg3.error({content:"Failed to add comment",duration:5})}},u=[{key:"internal",label:"Internal comment",children:(0,r.jsx)(o.uFc.TextArea,{ref:a,value:s,onChange:e=>n(e.target.value),rows:3,className:"mb-3 h-[150px] w-full !resize-none","data-testid":"comment-input"})}];return(0,r.jsxs)("div",{children:[(0,r.jsx)(o.A5g,{items:u}),(0,r.jsxs)(o.jqI,{justify:"flex-end",className:"gap-2",children:[(0,r.jsx)(o.wpx,{onClick:i,"data-testid":"cancel-comment-button",children:"Cancel"}),(0,r.jsx)(o.wpx,{onClick:d,loading:c,disabled:!s.trim(),type:"primary",htmlType:"button","data-testid":"submit-comment-button",children:"Save"})]})]})};var es=e=>{let{subjectRequest:t}=e,[i,s]=(0,p.useState)(!1);return(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsx)(ee,{subjectRequest:t}),i?(0,r.jsx)(ei,{privacyRequestId:t.id,onCancel:()=>s(!1)}):(0,r.jsx)(g.ZP,{scopes:[x.Sh.COMMENT_CREATE],children:(0,r.jsx)(o.jqI,{justify:"flex-start",className:"mt-2",children:(0,r.jsxs)(o.wpx,{type:"default",onClick:()=>s(!0),className:"flex items-center","data-testid":"add-comment-button",children:["Add comment ",(0,r.jsx)("span",{className:"ml-1",children:"+"})]})})})]})},en=i(14207),ea=i(46238),el=i(72281),er=i(17245),eo=i(90867),ec=i(16134);let ed=e=>Array.from(new Set(e.filter(e=>Object.values(x.Us).includes(e.action_type)).map(e=>e.action_type)));var eu=e=>{let{rules:t}=e,i=ed(t).map(e=>(0,b.kC)(e)).map(e=>e);return(0,r.jsx)(o.AntTypography.Text,{children:i.join(" - ")})},em=i(34090),eh=i(55484),ep=e=>{let{connectorName:t,data:i,isSubmitting:s=!1,onSaveClick:n}=e,{isOpen:a,onOpen:l,onClose:c}=(0,o.qY0)(),d=(0,p.useRef)(null),u=async(e,t)=>{n({connection_key:i.connection_key,privacy_request_id:i.privacy_request_id,body:{...e}}),c()};return(0,r.jsxs)(r.Fragment,{children:[(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:l,size:"small",children:"Review"}),!(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:l,size:"small",type:"primary",children:"Begin manual input"}),(0,r.jsx)(em.J9,{enableReinitialize:!0,initialValues:{...i.fields},onSubmit:u,validateOnBlur:!1,validateOnChange:!1,validationSchema:eh.Ry().shape({}),children:e=>(0,r.jsxs)(o.dys,{isOpen:a,placement:"right",initialFocusRef:d,onClose:c,size:"lg",children:[(0,r.jsx)(o.P1B,{}),(0,r.jsxs)(o.scA,{children:[(0,r.jsx)(o.cCv,{}),(0,r.jsxs)(o.OXI,{color:"gray.900",children:[(0,r.jsx)(o.xvT,{fontSize:"xl",mb:8,children:t}),(0,r.jsx)(o.izJ,{}),(0,r.jsx)(o.xvT,{fontSize:"md",mt:"4",children:"Manual access"}),(0,r.jsx)(o.xuv,{mt:"8px",children:(0,r.jsx)(o.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"normal",children:"Please complete the following PII fields that have been collected for the selected subject."})})]}),(0,r.jsx)(o.Ng0,{children:(0,r.jsx)(em.l0,{id:"manual-detail-form",noValidate:!0,children:(0,r.jsx)(o.gCW,{align:"stretch",gap:"16px",children:Object.entries(i.fields).map((e,t)=>{let[i]=e;return(0,r.jsx)(o.Ugi,{children:(0,r.jsx)(em.gN,{id:i,name:i,children:e=>{let{field:s}=e;return(0,r.jsxs)(o.NIc,{alignItems:"baseline",display:"inline-flex",children:[(0,r.jsx)(o.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:i,w:"50%",children:i}),(0,r.jsx)(o.IIB,{...s,autoComplete:"off",color:"gray.700",placeholder:"Please enter ".concat(i),ref:0===t?d:void 0,size:"sm"})]})}})},i)})})})}),(0,r.jsx)(o.zeN,{justifyContent:"flex-start",children:(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(o.wpx,{onClick:c,children:"Cancel"}),(0,r.jsx)(o.wpx,{form:"manual-detail-form",loading:s,htmlType:"submit",children:"Save"})]})})]})]})})]})},ex=e=>{let{connectorName:t,data:i,isSubmitting:s=!1,onSaveClick:n}=e,{isOpen:a,onOpen:l,onClose:c}=(0,o.qY0)(),d=(0,p.useRef)(null),u=async(e,t)=>{n({connection_key:i.connection_key,privacy_request_id:i.privacy_request_id,body:{...e}}),c()};return(0,r.jsxs)(r.Fragment,{children:[(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:l,size:"small",children:"Review"}),!(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:l,size:"small",type:"primary",children:"Begin manual input"}),(0,r.jsx)(em.J9,{enableReinitialize:!0,initialValues:{...i.fields},onSubmit:u,validateOnBlur:!1,validateOnChange:!1,validationSchema:eh.Ry().shape({}),children:e=>(0,r.jsxs)(o.dys,{isOpen:a,placement:"right",initialFocusRef:d,onClose:c,size:"lg",children:[(0,r.jsx)(o.P1B,{}),(0,r.jsxs)(o.scA,{children:[(0,r.jsx)(o.cCv,{}),(0,r.jsxs)(o.OXI,{color:"gray.900",children:[(0,r.jsx)(o.xvT,{fontSize:"xl",mb:8,children:t}),(0,r.jsx)(o.izJ,{}),(0,r.jsx)(o.xvT,{fontSize:"md",mt:"4",children:"Manual erasure"}),(0,r.jsx)(o.xuv,{mt:"8px",children:(0,r.jsx)(o.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"normal",children:"Please delete the following PII fields associated with the selected subject if they are available. Once deleted, check the box to confirm the deletion."})})]}),(0,r.jsx)(o.Ng0,{children:(0,r.jsx)(em.l0,{id:"manual-detail-form",noValidate:!0,children:(0,r.jsx)(o.gCW,{align:"stretch",gap:"16px",children:Object.entries(i.fields).map(e=>{let[t]=e;return(0,r.jsx)(o.Ugi,{children:(0,r.jsx)(em.gN,{id:t,name:t,children:e=>{let{field:i}=e;return(0,r.jsxs)(o.NIc,{alignItems:"baseline",display:"inline-flex",children:[(0,r.jsx)(o.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:t,w:"50%",children:t}),(0,r.jsx)(o.XZJ,{...i,isChecked:!!i.value,onChange:i.onChange,name:t,id:t})]})}})},t)})})})}),(0,r.jsx)(o.zeN,{justifyContent:"flex-start",children:(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(o.wpx,{onClick:c,children:"Cancel"}),(0,r.jsx)(o.wpx,{form:"manual-detail-form",loading:s,htmlType:"submit",children:"Save"})]})})]})]})})]})};let eg=(e,t,i)=>e.includes(x.Us.ACCESS)?{ProcessingDetailComponent:ep,uploadMutation:t,getUploadedWebhookDataEndpoint:eo.$I.endpoints.getUploadedManualAccessWebhookData}:e.includes(x.Us.ERASURE)?{ProcessingDetailComponent:ex,uploadMutation:i,getUploadedWebhookDataEndpoint:eo.$I.endpoints.getUploadedManualErasureWebhookData}:null;var ev=e=>{let{subjectRequest:t,onComplete:i}=e,s=(0,ec.T)(),{errorAlert:n,successAlert:a}=(0,er.VY)(),{handleError:l}=(0,er.HK)(),[c,d]=(0,p.useState)([]),[u,m]=(0,p.useState)(!1),[h,g]=(0,p.useState)(!1),{data:v,isFetching:j,isLoading:y,isSuccess:f}=(0,en.W6)(),[_]=(0,eo.w3)(),b=ed(t.policy.rules),[T]=(0,eo.nL)(),[w]=(0,eo.UR)(),{ProcessingDetailComponent:E,uploadMutation:A,getUploadedWebhookDataEndpoint:R}=eg(b,T,w),C=async()=>{try{m(!0),await _(t.id).unwrap(),a("Manual request has been received. Request now processing."),i()}catch(e){l(e)}finally{m(!1)}},k=async e=>{try{g(!0),await A(e).unwrap();let t={connection_key:e.connection_key,fields:{}};Object.entries(e.body).forEach(e=>{let[i,s]=e;t.fields[i]=s||""});let i=c.map(e=>e.connection_key===t.connection_key?{...e,checked:!0,fields:{...t.fields}}:e);d(i),a("Manual input successfully saved!")}catch(e){l(e)}finally{g(!1)}};return((0,p.useEffect)(()=>(f&&v.length>0&&0===c.length&&(()=>{if(c.length>0)return;let e=[],i=null==v?void 0:v.map(e=>e.connection_config.key);null==i||i.every(i=>e.push(s(R.initiate({connection_key:i,privacy_request_id:t.id})))),Promise.allSettled(e).then(e=>{let t=[];e.forEach((e,i)=>{if("fulfilled"===e.status&&e.value.isSuccess&&e.value.data){let i={checked:e.value.data.checked,fields:{},connection_key:e.value.originalArgs.connection_key,privacy_request_id:e.value.originalArgs.privacy_request_id};Object.entries(e.value.data.fields).forEach(e=>{let[t,s]=e;i.fields[t]=s||""}),t.push(i)}else n("An error occurred while loading manual input data for ".concat(v[i].connection_config.name))}),d(t)})})(),()=>{}),[v,c.length,s,n,f,t.id,R]),b.includes(x.Us.ACCESS)||b.includes(x.Us.ERASURE))?(0,r.jsxs)(o.gCW,{align:"stretch",spacing:8,children:[(0,r.jsx)(o.xuv,{children:(0,r.jsx)(o.xvT,{color:"gray.700",fontSize:"sm",children:"The following table details the integrations that require manual input from you."})}),(0,r.jsxs)(o.xuv,{children:[(j||y)&&(0,r.jsx)(o.M5Y,{children:(0,r.jsx)(o.$jN,{})}),f&&v?(0,r.jsx)(o.xJi,{children:(0,r.jsxs)(o.iA_,{size:"sm",variant:"unstyled",children:[(0,r.jsx)(o.hrZ,{children:(0,r.jsxs)(o.Tr,{children:[(0,r.jsx)(o.Th,{fontSize:"sm",fontWeight:"semibold",pl:"0",textTransform:"none",children:"Integration Identifier"}),(0,r.jsx)(o.Th,{})]})}),(0,r.jsxs)(o.p3B,{children:[v.length>0&&v.map(e=>(0,r.jsxs)(o.Tr,{display:"block",children:[(0,r.jsx)(o.Td,{pl:"0",children:e.connection_config.key}),(0,r.jsx)(o.Td,{children:c.length>0?(0,r.jsx)(E,{connectorName:e.connection_config.name,data:c.find(t=>t.connection_key===e.connection_config.key),isSubmitting:h,onSaveClick:k}):null})]},e.id)),0===v.length&&(0,r.jsx)(o.Tr,{children:(0,r.jsx)(o.Td,{colSpan:3,pl:"0",children:(0,r.jsx)(o.M5Y,{children:(0,r.jsx)(o.xvT,{children:"You don‘t have any Manual Process connections set up yet."})})})})]}),c.length>0&&c.every(e=>e.checked)?(0,r.jsx)(o.$RU,{children:(0,r.jsx)(o.Tr,{children:(0,r.jsx)(o.Th,{pl:"0px",children:(0,r.jsx)(o.wpx,{type:"primary",loading:u,onClick:C,className:"mt-2",children:"Complete DSR"})})})}):null]})}):null]})]}):null},ej=e=>{let{subjectRequest:t,onComplete:i}=e,s=(0,c.useRouter)(),{data:n}=(0,en.AZ)({}),a=(0,p.useMemo)(()=>{var e;return(null==n?void 0:null===(e=n.items)||void 0===e?void 0:e.filter(e=>e.connection_type===x.Rj.MANUAL_TASK))||[]},[n]),{data:l}=(0,en.W6)(),d=(l||[]).length>0,{data:m}=(0,B.Ym)({page:1,size:100,privacyRequestId:t.id}),h=(null==m?void 0:m.items)||[],g=h.length,v=h.filter(e=>e.status===x.OS.NEW).length,j=a.length>0,y=h.length>0,f=j||y;return f||d?(0,r.jsxs)(o.Kqy,{spacing:6,children:[f&&(0,r.jsxs)(o.xuv,{children:[(0,r.jsx)(o.AntTypography.Title,{level:4,style:{marginBottom:12},children:"Manual tasks"}),(0,r.jsxs)(o.Kqy,{spacing:2,children:[(0,r.jsxs)(o.AntTypography.Text,{children:[(0,r.jsx)("strong",{children:g})," task",1!==g?"s":""," ","linked to this privacy request"]}),(0,r.jsxs)(o.AntTypography.Text,{children:[(0,r.jsx)("strong",{children:v})," pending task",1!==v?"s":""]}),g>0&&(0,r.jsx)("div",{className:"mt-2",children:(0,r.jsx)(o.wpx,{type:"primary",onClick:()=>{s.push({pathname:u.Jw,query:{privacy_request_id:t.id,tab:el.G.MANUAL_TASK}})},children:"View all tasks for this request →"})})]})]}),d&&(0,r.jsxs)(o.xuv,{children:[(0,r.jsxs)(o.kCb,{alignItems:"center",style:{marginBottom:12},children:[(0,r.jsx)(o.AntTypography.Title,{level:4,style:{margin:0,marginRight:8},children:"Manual steps (legacy)"}),(0,r.jsx)(ea.b,{label:"This is the legacy manual steps feature. The new manual tasks feature provides more advanced capabilities and better user experience."})]}),(0,r.jsx)(ev,{subjectRequest:t,onComplete:i||(()=>{})})]})]}):(0,r.jsx)(o.xuv,{p:4,children:(0,r.jsx)(o.AntTypography.Text,{type:"secondary",children:"No manual tasks or legacy manual steps configured for this request."})})},ey=i(59969);let ef={approved:{color:"success",label:"Approved"},complete:{color:"success",label:"Completed"},awaiting_email_send:{color:"marble",label:"Awaiting Email Send"},denied:{color:"warning",label:"Denied"},canceled:{color:"marble",label:"Canceled"},error:{color:"error",label:"Error"},in_processing:{color:"caution",label:"In Progress"},paused:{color:"marble",label:"Paused"},pending:{color:"info",label:"New"},identity_unverified:{color:"marble",label:"Unverified"},requires_input:{color:"minos",label:"Requires Input"},requires_manual_finalization:{color:"minos",label:"Requires Finalization"}};var e_=e=>{let{status:t}=e;return(0,r.jsx)(o.j8w,{color:ef[t].color,className:"justify-center","data-testid":"request-status-badge",children:ef[t].label})},eb=i(18225),eT=i(812),ew=i(7842);let{useGetAttachmentsQuery:eE,useUploadAttachmentMutation:eA,useGetAttachmentDetailsQuery:eR,useLazyGetAttachmentDetailsQuery:eC}=k.u.injectEndpoints({endpoints:e=>({getAttachments:e.query({query:e=>{let{privacy_request_id:t,page:i=1,size:s}=e;return{url:"plus/privacy-request/".concat(t,"/attachment"),method:"GET",params:{page:i,size:s}}},providesTags:["Privacy Request Attachments"]}),uploadAttachment:e.mutation({query:e=>{let{privacy_request_id:t,attachment_type:i,attachment_file:s}=e,n=new FormData;return n.append("attachment_type",i),n.append("attachment_file",s),{url:"plus/privacy-request/".concat(t,"/attachment"),method:"POST",body:n,params:{}}},invalidatesTags:["Privacy Request Attachments"]}),getAttachmentDetails:e.query({query:e=>{let{privacy_request_id:t,attachment_id:i}=e;return{url:"plus/privacy-request/".concat(t,"/attachment/").concat(i),method:"GET"}}})})}),{reducer:ek}=(0,C.oM)({name:"privacyRequestAttachments",initialState:{},reducers:{}}),eq=e=>{var t;let{file:i}=e,[s,n]=(0,p.useState)(!1),[a]=eC(),l=async()=>{var e,t,s;if((null===(e=i.customData)||void 0===e?void 0:e.attachment_id)&&(null===(t=i.customData)||void 0===t?void 0:t.privacy_request_id)){n(!0);try{let e=await a({privacy_request_id:i.customData.privacy_request_id,attachment_id:i.customData.attachment_id}),t=null===(s=e.data)||void 0===s?void 0:s.retrieved_attachment_url,n=null==t?void 0:t.startsWith("http");t&&n?window.open(t,"_blank"):t&&!n?o.Pg3.info("Download is not available when using local storage methods."):o.Pg3.error("No download URL available for ".concat(i.name))}catch(e){o.Pg3.error("Failed to fetch attachment download URL")}finally{n(!1)}}},c=(null===(t=i.customData)||void 0===t?void 0:t.attachment_type)===x.sf.INCLUDE_WITH_ACCESS_PACKAGE;return(0,r.jsxs)(o.jqI,{align:"center",gap:8,children:[(0,r.jsx)(o.PJP.PgN,{className:"shrink-0"}),(0,r.jsx)(o.lKn,{ellipsis:{tooltip:i.name},className:"grow",children:i.name}),c&&(0,r.jsx)(o.esZ,{title:"This attachment will be included in the access package.",children:(0,r.jsx)(o.PJP.wvC,{className:"shrink-0",title:"User icon"})}),(0,r.jsx)(o.wpx,{type:"text",icon:(0,r.jsx)(o.PJP.UWx,{}),onClick:l,loading:s,className:"shrink-0"})]})},eS=(e,t)=>(0,r.jsx)(eq,{file:t});var eN=e=>{let{subjectRequest:t}=e,[i,s]=(0,p.useState)(!1),n=(0,g.Tg)([x.Sh.ATTACHMENT_READ]),a=(0,g.Tg)([x.Sh.ATTACHMENT_CREATE]),[l]=eA(),{data:c,isLoading:d,error:u}=(0,eo.PW)(),{data:m,isLoading:h}=eE({privacy_request_id:t.id}),{refetch:v}=eE({privacy_request_id:t.id}),j=(null==m?void 0:m.items.map(e=>({uid:e.id,name:e.file_name,status:"done",customData:{attachment_id:e.id,privacy_request_id:t.id,attachment_type:e.attachment_type}})))||[],y=(0,p.useCallback)(()=>(0,r.jsx)(o.PJP.PgN,{}),[]);if(!n)return null;let f=a&&(null==c?void 0:c.key),_=[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv",".jpg",".jpeg",".png",".zip"];return(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"mt-6",children:[(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(o.lQT,{level:3,children:"Attachments"})}),d||h?(0,r.jsx)(eb.Z,{size:"md",alignment:"start"}):(0,r.jsx)(o.pMK,{name:"attachment_file",fileList:j,iconRender:y,showUploadList:{showRemoveIcon:!1,showDownloadIcon:!1},itemRender:eS,accept:_.join(","),customRequest:async e=>{let{file:i,onSuccess:n,onError:a}=e,r=i.name;try{s(!0),await l({privacy_request_id:t.id,attachment_file:i,attachment_type:ew.s.INTERNAL_USE_ONLY}).unwrap(),o.Pg3.success("".concat(r," file uploaded successfully")),v(),null==n||n(i)}catch(e){o.Pg3.error("".concat(r," file upload failed.")),null==a||a(e)}finally{s(!1)}},disabled:!f,children:a&&(0,r.jsx)(o.esZ,{title:u&&"Add attachment not available: ".concat((0,eT.e$)(u)),placement:"top",children:(0,r.jsxs)(o.jqI,{align:"center",gap:12,className:"mb-4",children:[(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.PJP.mm_,{}),iconPosition:"end",disabled:!f||i,loading:i,children:i?"Uploading":"Add"}),(0,r.jsx)(ea.b,{label:"Uploaded attachments are for internal use and won't be send as part of the request package.\n Accepted filetypes: ".concat(_.join(", ")),placement:"top"})]})})})]})})},eP=i(15709),eI=i.n(eP),eD=e=>{let{label:t,children:i}=e;return(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("div",{className:"shrink-0 grow-0 basis-1/2 pr-2 ".concat(eI().label),children:(0,r.jsxs)(o.AntTypography.Text,{children:[t,":"]})}),(0,r.jsx)("div",{className:"min-w-0 shrink grow ".concat(eI().value),"data-testid":"request-detail-value-".concat(t),children:i})]})},eO=e=>{let{subjectRequest:t}=e,{custom_privacy_request_fields:i}=t;return(0,r.jsx)("div",{className:"flex flex-col gap-2",children:i&&Object.keys(i).length>0&&Object.entries(i).filter(e=>{let[,t]=e;return t.value}).map(e=>{let[t,i]=e;return(0,r.jsx)(eD,{label:i.label,children:(0,r.jsx)(o.AntTypography.Text,{children:Array.isArray(i.value)?i.value.join(", "):i.value})},t)})})},eM=e=>{var t,i;let{subjectRequest:s}=e,{plus:n}=(0,R.hz)(),{id:a,status:l,policy:c,identity:d,identity_verified_at:u}=s;return(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(o.AntTypography.Title,{level:2,children:"Request details"})}),(0,r.jsxs)(o.jqI,{vertical:!0,gap:12,className:"mb-6",children:[(0,r.jsx)(eD,{label:"Status",children:(0,r.jsx)(e_,{status:l})}),(0,r.jsx)(eD,{label:"Time remaining",children:(0,r.jsx)(ey.Z,{daysLeft:s.days_left,includeText:!0,status:s.status})}),(0,r.jsx)(eD,{label:"Request type",children:(0,r.jsx)(eu,{rules:c.rules})}),(0,r.jsx)(eD,{label:"Source",children:n&&(0,r.jsx)(o.AntTypography.Text,{children:s.source||"-"})}),s.submitted_by&&(0,r.jsx)(eD,{label:"Created by",children:(0,r.jsx)(o.AntTypography.Text,{children:(null===(t=s.submitter)||void 0===t?void 0:t.username)||"-"})}),(0,r.jsx)(eD,{label:"Reviewed by",children:(0,r.jsx)(o.AntTypography.Text,{children:(null===(i=s.reviewer)||void 0===i?void 0:i.username)||"-"})}),Object.entries(d).filter(e=>{let[,{value:t}]=e;return null!==t}).map(e=>{let[t,{value:i="",label:s}]=e,n="".concat(i).concat(u?"":" (Unverified)");return(0,r.jsx)(eD,{label:"Subject ".concat(s.toLocaleLowerCase()),children:(0,r.jsx)(o.esZ,{title:n,trigger:"click",children:(0,r.jsx)(o.AntTypography.Text,{ellipsis:!0,children:n})})},t)}),(0,r.jsx)(eO,{subjectRequest:s})]}),(0,r.jsxs)(o.PPS,{layout:"vertical",children:[(0,r.jsx)(o.PPS.Item,{label:"Request ID:",className:"mb-4",children:(0,r.jsx)(o.jqI,{gap:1,children:(0,r.jsxs)(o.vyj.Compact,{style:{width:"100%"},children:[(0,r.jsx)(o.uFc,{readOnly:!0,value:a,"data-testid":"request-detail-value-id"}),(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(Z.Z,{copyText:a})})]})})}),(0,r.jsx)(o.PPS.Item,{label:"Policy key:",className:"mb-4",children:(0,r.jsx)(o.uFc,{readOnly:!0,value:s.policy.key,"data-testid":"request-detail-value-policy"})})]}),(0,r.jsx)(eN,{subjectRequest:s})]})};let eU=[x.q2.COMPLETE,x.q2.CANCELED,x.q2.DENIED,x.q2.ERROR];var ez=e=>{var t;let{data:i}=e,s=(0,p.useMemo)(()=>({id:i.id,verbose:!0}),[i.id]),{data:n}=(0,h.QA)(s,{pollingInterval:eU.includes(i.status)?0:2e3,skip:!i.id}),a=null!==(t=null==n?void 0:n.items[0])&&void 0!==t?t:i,l=a.status===x.q2.REQUIRES_INPUT,[c,d]=(0,p.useState)("activity"),u=(0,p.useMemo)(()=>[{key:"activity",label:"Activity",children:(0,r.jsx)(es,{subjectRequest:a})},{key:"manual-tasks",label:"Manual tasks",children:(0,r.jsx)(ej,{subjectRequest:a,onComplete:()=>d("activity")}),disabled:!l}],[l,a]);return(0,r.jsxs)("div",{className:"flex gap-8",children:[(0,r.jsx)("div",{className:"w-0 grow",children:(0,r.jsx)(o.A5g,{items:u,activeKey:c,onChange:d})}),(0,r.jsx)("div",{className:"w-1/3 2xl:w-[432px]","data-testid":"privacy-request-details",children:(0,r.jsx)(eM,{subjectRequest:a})})]})},eL=i(57526),eW=i(66548),eB=i(45489),eF=e=>{let{privacyRequest:t,action:i}=e,{handleApproveRequest:s,handleDenyRequest:n}=(0,eB.Z)({subjectRequest:t}),a=t.status===x.q2.PENDING,l=(0,o.qY0)(),r=async e=>{let{reason:t}=e,a=o.Pg3.loading({content:"approve"===i?"Approving request...":"Denying request..."});"deny"===i&&await n(t),"approve"===i&&await s(),a()};return{showAction:a,closeModal:l.onClose,performAction:r,openConfirmationModal:l.onOpen,isModalOpen:l.isOpen}},eZ=e=>{var t,i,s;let{privacyRequest:n}=e,a=null===(i=(0,R.hz)())||void 0===i?void 0:null===(t=i.flags)||void 0===t?void 0:t.downloadAccessRequestResults,l=n.status===x.q2.COMPLETE,r=ed(n.policy.rules).includes(x.Us.ACCESS),o=(0,g.Tg)([x.Sh.PRIVACY_REQUEST_ACCESS_RESULTS_READ]),{data:c,isLoading:d,isError:u,error:m}=(0,eo.br)({privacy_request_id:n.id}),h=null!==(s=null==c?void 0:c.access_result_urls[0])&&void 0!==s?s:"",p=!!h&&"your local fides_uploads folder"!==h,v=null;return u?v=(0,eT.e$)(m,"Unable to resolve download URL"):p||(v="Requests stored locally cannot be downloaded"),{showDownloadResults:a&&o&&r&&l,downloadResults:()=>{let e=document.createElement("a");e.href=h,e.target="_blank",e.rel="noopener noreferrer",e.click(),e.remove()},infoTooltip:v,isLoading:d,isDisabled:!p}},eJ=e=>{let{privacyRequest:t}=e,{errorAlert:i,successAlert:s}=(0,er.VY)(),n=t.status===x.q2.ERROR,[a]=(0,eo.Fq)();return{reprocessPrivacyRequest:async()=>{if(!t)return;let e=o.Pg3.loading("Reprocessing privacy request...",0),n=await a(t);"error"in n?i((0,eT.e$)(n.error),"DSR automation has failed for this privacy request due to the following:",{duration:null}):s("Privacy request is now being reprocessed."),e()},showReprocess:n}},eG=e=>{let{privacyRequest:t}=e,{showDownloadResults:i,downloadResults:s,infoTooltip:n,isDisabled:a}=eZ({privacyRequest:t}),{isModalOpen:l,closeModal:c,performAction:d,openConfirmationModal:u,showAction:m}=eF({privacyRequest:t,action:"approve"}),{isModalOpen:h,closeModal:g,performAction:v,openConfirmationModal:j,showAction:y}=eF({privacyRequest:t,action:"deny"}),{reprocessPrivacyRequest:f,showReprocess:_}=eJ({privacyRequest:t}),{handleFinalizeRequest:b,finalizeRequestResult:T}=(0,eB.Z)({subjectRequest:t}),w=(0,p.useMemo)(()=>{let e=[];return e.push({key:"approve",label:(0,r.jsx)("span",{"data-testid":"privacy-request-approve-btn",children:"Approve"}),onClick:u,disabled:!m}),e.push({key:"deny",label:(0,r.jsx)("span",{"data-testid":"privacy-request-deny-btn",children:"Deny"}),onClick:j,disabled:!y}),e.push({key:"reprocess",label:(0,r.jsx)("span",{"data-testid":"privacy-request-action-reprocess",children:"Reprocess"}),onClick:f,disabled:!_}),t.status===x.q2.REQUIRES_MANUAL_FINALIZATION&&e.push({key:"finalize",label:(0,r.jsx)("span",{"data-testid":"privacy-request-action-finalize",children:"Finalize"}),onClick:b,disabled:T.isLoading}),i&&e.push({key:"download",label:(0,r.jsx)(o.esZ,{title:a?n:null,placement:"bottom",children:(0,r.jsx)("span",{"data-testid":"download-results-btn",children:"Download request results"})}),onClick:s,disabled:a}),e},[i,s,n,a,m,y,u,j,_,f,t.status,b,T.isLoading]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.S0p,{menu:{items:w},trigger:["click"],overlayStyle:{minWidth:"160px"},children:(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.PJP.pO,{}),"data-testid":"privacy-request-actions-dropdown-btn",iconPosition:"end",type:"primary",disabled:!w.length,size:"large",children:"Actions"})}),(0,r.jsx)(eL.Z,{isOpen:l,isLoading:!1,onClose:c,onApproveRequest:()=>d({reason:""}),subjectRequest:t}),(0,r.jsx)(eW.Z,{isOpen:h,onClose:g,onDenyRequest:e=>v({reason:e})})]})},eK=()=>{let e=(0,c.useRouter)().query.id,{data:t,isLoading:i}=(0,h.QA)({id:e,verbose:!0},{skip:!e}),s=(null==t?void 0:t.items[0])||null;return(0,r.jsxs)(d.Z,{title:"Privacy Request - ".concat(e),children:[(0,r.jsx)(m.Z,{heading:"Privacy Requests",breadcrumbItems:[{title:"All requests",href:u.Jw},{title:"Request details"}],rightContent:!!s&&(0,r.jsx)(eG,{privacyRequest:s})}),i&&(0,r.jsx)(o.M5Y,{children:(0,r.jsx)(o.$jN,{})}),!i&&!s&&(0,r.jsx)(o.xvT,{children:"404 no privacy request found"}),!i&&s&&(0,r.jsx)(ez,{data:s})]})}},15709:function(e){e.exports={value:"RequestDetailsRow_value__WMXn3",label:"RequestDetailsRow_label__dn3CQ"}},38450:function(e){e.exports={container:"ActivityTimelineEntry_container__tCva0","container--open":"ActivityTimelineEntry_container--open__1d9mA",itemButton:"ActivityTimelineEntry_itemButton__MlmWS","itemButton--error":"ActivityTimelineEntry_itemButton--error__UizD2","itemButton--comment":"ActivityTimelineEntry_itemButton--comment__g98SH","itemButton--awaiting-input":"ActivityTimelineEntry_itemButton--awaiting-input__6lB5t",header:"ActivityTimelineEntry_header__GYibj",title:"ActivityTimelineEntry_title__rm_g0","title--error":"ActivityTimelineEntry_title--error__fOi0s","title--awaiting-input":"ActivityTimelineEntry_title--awaiting-input__3sPAo",timestamp:"ActivityTimelineEntry_timestamp__uMEMT",viewLogs:"ActivityTimelineEntry_viewLogs___T4jN",logs:"ActivityTimelineEntry_logs__T7R0J","logs--open":"ActivityTimelineEntry_logs--open__o_9Io"}}},function(e){e.O(0,[431,4558,2888,9774,179],function(){return e(e.s=6554)}),_N_E=e.O()}]);
|