@redacto.io/consent-sdk-react 3.6.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/index.d.mts +4 -4
  3. package/dist/index.d.ts +4 -4
  4. package/dist/index.js +36 -7
  5. package/dist/index.mjs +36 -7
  6. package/dist/privacy-center.d.mts +134 -51
  7. package/dist/privacy-center.d.ts +134 -51
  8. package/dist/privacy-center.js +6391 -2741
  9. package/dist/privacy-center.mjs +6135 -2482
  10. package/package.json +1 -1
  11. package/src/RedactoNoticeConsent/RedactoNoticeConsent.tsx +5 -5
  12. package/src/RedactoNoticeConsent/language-codes.ts +37 -1
  13. package/src/RedactoNoticeConsentInline/RedactoNoticeConsentInline.tsx +0 -3
  14. package/src/RedactoNoticeConsentInline/api/index.ts +0 -1
  15. package/src/RedactoPrivacyCenter/PrivacyCenterCaseDetailsPage.tsx +154 -0
  16. package/src/RedactoPrivacyCenter/PrivacyCenterHomePage.tsx +3 -0
  17. package/src/RedactoPrivacyCenter/PrivacyCenterLayout.tsx +81 -50
  18. package/src/RedactoPrivacyCenter/RedactoPrivacyCenter.tsx +4 -0
  19. package/src/RedactoPrivacyCenter/api/actions.ts +68 -36
  20. package/src/RedactoPrivacyCenter/api/client.ts +125 -14
  21. package/src/RedactoPrivacyCenter/components/CaseDetails/AttachmentCard.tsx +38 -0
  22. package/src/RedactoPrivacyCenter/components/CaseDetails/ChatBubble.tsx +31 -0
  23. package/src/RedactoPrivacyCenter/components/CaseDetails/DocumentRequestCard.tsx +73 -0
  24. package/src/RedactoPrivacyCenter/components/CaseDetails/MessageComposer.tsx +87 -0
  25. package/src/RedactoPrivacyCenter/components/CaseDetails/MessageItem.tsx +95 -0
  26. package/src/RedactoPrivacyCenter/components/CaseDetails/MessagesTab.tsx +147 -0
  27. package/src/RedactoPrivacyCenter/components/CaseDetails/RequestDetailsTab.tsx +171 -0
  28. package/src/RedactoPrivacyCenter/components/CaseDetails/StatusEvent.tsx +23 -0
  29. package/src/RedactoPrivacyCenter/components/CaseDetails/useFileUpload.ts +116 -0
  30. package/src/RedactoPrivacyCenter/components/CaseDetails/useMessagePolling.ts +36 -0
  31. package/src/RedactoPrivacyCenter/components/CaseDetails/utils.ts +56 -0
  32. package/src/RedactoPrivacyCenter/components/CaseDetailsModal.tsx +1 -0
  33. package/src/RedactoPrivacyCenter/components/CaseHistory.tsx +6 -13
  34. package/src/RedactoPrivacyCenter/components/ConsentManager.tsx +6 -0
  35. package/src/RedactoPrivacyCenter/components/ConsentManagerColumns.tsx +0 -1
  36. package/src/RedactoPrivacyCenter/components/DataRequest/CorrectionDataSection.tsx +2 -2
  37. package/src/RedactoPrivacyCenter/components/DataRequest/PurposeSelectionSection.tsx +2 -3
  38. package/src/RedactoPrivacyCenter/components/Form.tsx +152 -11
  39. package/src/RedactoPrivacyCenter/components/GrievanceTable.tsx +4 -6
  40. package/src/RedactoPrivacyCenter/components/GrievanceTablePagination.tsx +9 -2
  41. package/src/RedactoPrivacyCenter/components/ModifyConsentModal.tsx +1 -0
  42. package/src/RedactoPrivacyCenter/components/Pagination.tsx +12 -12
  43. package/src/RedactoPrivacyCenter/components/PrivacyCenterLayout.tsx +3 -1
  44. package/src/RedactoPrivacyCenter/components/RequestSubmit.tsx +15 -1
  45. package/src/RedactoPrivacyCenter/components/SideMenuBarPC/SideBarPC.tsx +8 -8
  46. package/src/RedactoPrivacyCenter/components/SideMenuBarPC/SideMenuPC.tsx +7 -11
  47. package/src/RedactoPrivacyCenter/components/SideMenuBarPC/types.ts +1 -1
  48. package/src/RedactoPrivacyCenter/components/activitiesColumns.tsx +1 -1
  49. package/src/RedactoPrivacyCenter/components/caseHistoryColumns.tsx +4 -24
  50. package/src/RedactoPrivacyCenter/components/constant.ts +3 -7
  51. package/src/RedactoPrivacyCenter/components/types.ts +12 -4
  52. package/src/RedactoPrivacyCenter/context/AuthContext.tsx +30 -16
  53. package/src/RedactoPrivacyCenter/context/BaseUrlContext.tsx +3 -6
  54. package/src/RedactoPrivacyCenter/context/NavigationContext.tsx +35 -3
  55. package/src/RedactoPrivacyCenter/context/OrganizationContext.tsx +1 -1
  56. package/src/RedactoPrivacyCenter/context/types.ts +14 -0
  57. package/src/RedactoPrivacyCenter/lib/api.ts +101 -3
  58. package/src/RedactoPrivacyCenter/lib/constants.ts +46 -1
  59. package/src/RedactoPrivacyCenter/lib/i18n.ts +1 -1
  60. package/src/RedactoPrivacyCenter/lib/queries.ts +106 -2
  61. package/src/RedactoPrivacyCenter/lib/types.ts +186 -1
  62. package/src/RedactoPrivacyCenter/lib/utils.ts +1 -0
  63. package/src/RedactoPrivacyCenter/locales/as/translation.json +93 -1
  64. package/src/RedactoPrivacyCenter/locales/bho/translation.json +93 -1
  65. package/src/RedactoPrivacyCenter/locales/bn/translation.json +93 -1
  66. package/src/RedactoPrivacyCenter/locales/brx/translation.json +93 -1
  67. package/src/RedactoPrivacyCenter/locales/doi/translation.json +93 -1
  68. package/src/RedactoPrivacyCenter/locales/en/translation.json +69 -2
  69. package/src/RedactoPrivacyCenter/locales/gom/translation.json +93 -1
  70. package/src/RedactoPrivacyCenter/locales/gu/translation.json +93 -1
  71. package/src/RedactoPrivacyCenter/locales/hi/translation.json +93 -1
  72. package/src/RedactoPrivacyCenter/locales/kn/translation.json +93 -1
  73. package/src/RedactoPrivacyCenter/locales/ks/translation.json +93 -1
  74. package/src/RedactoPrivacyCenter/locales/mai/translation.json +93 -1
  75. package/src/RedactoPrivacyCenter/locales/ml/translation.json +93 -1
  76. package/src/RedactoPrivacyCenter/locales/mni-Mtei/translation.json +93 -1
  77. package/src/RedactoPrivacyCenter/locales/mr/translation.json +93 -1
  78. package/src/RedactoPrivacyCenter/locales/ne/translation.json +93 -1
  79. package/src/RedactoPrivacyCenter/locales/or/translation.json +93 -1
  80. package/src/RedactoPrivacyCenter/locales/pa/translation.json +93 -1
  81. package/src/RedactoPrivacyCenter/locales/sa/translation.json +93 -1
  82. package/src/RedactoPrivacyCenter/locales/sat/translation.json +93 -1
  83. package/src/RedactoPrivacyCenter/locales/sd/translation.json +93 -1
  84. package/src/RedactoPrivacyCenter/locales/ta/translation.json +93 -1
  85. package/src/RedactoPrivacyCenter/locales/te/translation.json +93 -1
  86. package/src/RedactoPrivacyCenter/locales/ur/translation.json +93 -1
  87. package/src/RedactoPrivacyCenter/styles/injectStyles.ts +725 -0
  88. package/src/RedactoPrivacyCenter/styles/pcStyles.ts +0 -6
  89. package/src/RedactoPrivacyCenter/table/AdvancedTable.tsx +5 -3
  90. package/src/RedactoPrivacyCenter/table/AdvancedTablePagination.tsx +9 -12
  91. package/src/RedactoPrivacyCenter/ui/Footer.tsx +4 -2
  92. package/src/RedactoPrivacyCenter/ui/PCAccordion.tsx +24 -18
  93. package/src/RedactoPrivacyCenter/ui/PCCollapse.tsx +30 -20
  94. package/src/RedactoPrivacyCenter/ui/PCInput.tsx +17 -13
  95. package/src/RedactoPrivacyCenter/ui/PCLoader.tsx +3 -2
  96. package/src/RedactoPrivacyCenter/ui/PCModal.tsx +3 -1
  97. package/src/RedactoPrivacyCenter/ui/PCPopover.tsx +0 -2
  98. package/src/RedactoPrivacyCenter/ui/PCSelect.tsx +10 -4
  99. package/src/RedactoPrivacyCenter/ui/PCTable.tsx +44 -32
  100. package/src/RedactoPrivacyCenter/ui/PCText.tsx +5 -3
  101. package/src/RedactoPrivacyCenter/ui/StatusBadge.tsx +0 -2
  102. package/src/RedactoPrivacyCenter/ui/ThemeToggle.tsx +4 -2
  103. package/src/privacy-center.ts +1 -0
@@ -2,45 +2,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
3
  import * as _tanstack_react_query from '@tanstack/react-query';
4
4
 
5
- type InternalPage = 'consent-manager' | 'form' | 'activity';
6
- interface NavigationContextType {
7
- currentPage: InternalPage;
8
- navigateTo: (page: InternalPage) => void;
9
- }
10
- declare const NavigationProvider: ({ children, initialPage }: {
11
- children: ReactNode;
12
- initialPage?: InternalPage;
13
- }) => react_jsx_runtime.JSX.Element;
14
- declare const useInternalNavigation: () => NavigationContextType;
15
-
16
- interface RedactoPrivacyCenterProps {
17
- baseUrl: string;
18
- slug: string;
19
- theme?: 'light' | 'dark';
20
- accessToken: string;
21
- refreshToken: string;
22
- onError: (error: Error) => boolean;
23
- initialPage?: InternalPage;
24
- onBack?: 'back' | 'signout';
25
- }
26
- declare function RedactoPrivacyCenter({ baseUrl, slug, theme, accessToken, refreshToken, onError, initialPage, onBack, }: RedactoPrivacyCenterProps): react_jsx_runtime.JSX.Element;
27
-
28
- interface PrivacyCenterLayoutProps {
29
- children: ReactNode;
30
- defaultTheme?: 'light' | 'dark';
31
- slug: string;
32
- onBack?: 'back' | 'signout';
33
- }
34
- declare function PrivacyCenterLayout({ children, defaultTheme, slug, onBack }: PrivacyCenterLayoutProps): react_jsx_runtime.JSX.Element;
35
-
36
- declare function PrivacyCenterHomePage(): react_jsx_runtime.JSX.Element;
37
-
38
- declare function PrivacyCenterConsentManagerPage(): react_jsx_runtime.JSX.Element;
39
-
40
- declare function PrivacyCenterFormPage(): react_jsx_runtime.JSX.Element;
41
-
42
- declare function PrivacyCenterActivityPage(): react_jsx_runtime.JSX.Element;
43
-
44
5
  /**
45
6
  * Options for apiFetch function
46
7
  */
@@ -120,7 +81,27 @@ declare function createConsentClient(baseUrl: string): {
120
81
  /**
121
82
  * Get case history (privacy center)
122
83
  */
123
- getCaseHistory(baseRequest: BaseRequest, contact: string, offset?: number, limit?: number, language?: string, authToken?: string, options?: Omit<ApiFetchOptions, "getAuthToken">): Promise<unknown>;
84
+ getCaseHistory(baseRequest: BaseRequest, _contact: string, offset?: number, limit?: number, language?: string, authToken?: string, options?: Omit<ApiFetchOptions, "getAuthToken">): Promise<unknown>;
85
+ /**
86
+ * Get messages for a case (privacy center)
87
+ */
88
+ getCaseMessages(baseRequest: BaseRequest, caseUuid: string, authToken?: string): Promise<CaseMessage[]>;
89
+ /**
90
+ * Send a message on a case (privacy center)
91
+ */
92
+ sendCaseMessage(baseRequest: BaseRequest, caseUuid: string, body: string, documentUuids: string[], authToken?: string): Promise<CaseMessage>;
93
+ /**
94
+ * Upload a document on a case (multipart/form-data, privacy center)
95
+ */
96
+ uploadCaseDocument(baseRequest: BaseRequest, caseUuid: string, file: File, authToken?: string): Promise<UploadDocumentResponse>;
97
+ /**
98
+ * Submit a document against a handler document request (privacy center)
99
+ */
100
+ submitDocumentForRequest(baseRequest: BaseRequest, caseUuid: string, requestEventUuid: string, documentUuid: string, body: string, authToken?: string): Promise<CaseMessage>;
101
+ /**
102
+ * Get document info/download URL for a case document (privacy center)
103
+ */
104
+ getCaseDocument(baseRequest: BaseRequest, caseUuid: string, documentUuid: string, authToken?: string): Promise<MessageDocument>;
124
105
  };
125
106
 
126
107
  type Workspace = {
@@ -238,6 +219,7 @@ type UserDataRequest = {
238
219
  };
239
220
  time_period: number | null;
240
221
  requestor_note: string;
222
+ revoke_consent_on_fulfilment?: boolean;
241
223
  };
242
224
  type CreateCaseResponse = {
243
225
  code: number;
@@ -382,6 +364,12 @@ type ActivityResponse = {
382
364
  detail: ActivityDetail;
383
365
  };
384
366
  type ActivityBadgeStatus$1 = 'success' | 'warning' | 'error' | 'info' | 'pending';
367
+ type CaseRequestDetails = {
368
+ purposes: RawPurposeWrapper[];
369
+ correction_data: UpdateCorrectionDataItem[];
370
+ grievance_types?: GrievanceTypeElement[];
371
+ nomination_data?: NominationData;
372
+ };
385
373
  type CaseRequest = {
386
374
  uuid: string;
387
375
  case_id: string;
@@ -394,7 +382,7 @@ type CaseRequest = {
394
382
  created_at: string;
395
383
  completed_at?: string;
396
384
  due_date?: string;
397
- request_details?: any;
385
+ request_details?: CaseRequestDetails;
398
386
  };
399
387
  type CaseHistoryDetail = {
400
388
  data: CaseRequest[];
@@ -405,16 +393,117 @@ type CaseHistoryResponse = {
405
393
  status: string;
406
394
  detail: CaseRequest[];
407
395
  };
396
+ type MessageType = 'message_sent' | 'document_requested' | 'document_submitted' | 'document_replaced' | 'document_replacement_requested' | 'document_approved' | 'document_rejected';
397
+ type DocumentRequestStatus = 'pending' | 'under_review' | 'approved' | 'rejected' | 'replacement_requested';
398
+ type FileUrlMap = {
399
+ url?: string;
400
+ download_url?: string;
401
+ };
402
+ type MessageDocument = {
403
+ uuid: string;
404
+ file_name: string | null;
405
+ content_type: string | null;
406
+ file_size: number | null;
407
+ file_url: FileUrlMap | null;
408
+ };
409
+ type DocumentRequestMetadata = {
410
+ title: string;
411
+ accepted_document: string;
412
+ document_request_status: DocumentRequestStatus;
413
+ document_request_uuid: string | null;
414
+ rejection_reason: string;
415
+ };
416
+ type CaseMessage = {
417
+ uuid: string;
418
+ case_uuid: string;
419
+ sender_role: 'data_fiduciary' | 'data_principal';
420
+ triggered_by_email: string;
421
+ created_at: string;
422
+ body: string;
423
+ document_uuids: string[];
424
+ documents: MessageDocument[];
425
+ message_type: MessageType;
426
+ document_request_metadata: DocumentRequestMetadata | null;
427
+ };
428
+ type UploadDocumentResponse = {
429
+ uuid: string;
430
+ suid: string;
431
+ file_name: string;
432
+ file_type: string;
433
+ content_type: string;
434
+ file_size: number;
435
+ created_at: string;
436
+ is_public: boolean;
437
+ file: string;
438
+ file_hash: string | null;
439
+ status: string;
440
+ allow_ai_processing: boolean;
441
+ metadata: Record<string, string> | null;
442
+ };
443
+
444
+ type InternalPage = 'consent-manager' | 'form' | 'activity' | 'case-details';
445
+ interface NavigationContextType {
446
+ currentPage: InternalPage;
447
+ navigateTo: (page: InternalPage) => void;
448
+ selectedCase: CaseRequest | null;
449
+ setSelectedCase: (c: CaseRequest | null) => void;
450
+ pendingCaseUuid: string | null;
451
+ }
452
+ declare const NavigationProvider: ({ children, initialPage }: {
453
+ children: ReactNode;
454
+ initialPage?: InternalPage;
455
+ }) => react_jsx_runtime.JSX.Element;
456
+ declare const useInternalNavigation: () => NavigationContextType;
408
457
 
409
- interface BaseUrlContextValue {
458
+ interface RedactoPrivacyCenterProps {
410
459
  baseUrl: string;
411
- consentClient: ReturnType<typeof createConsentClient>;
460
+ slug: string;
461
+ theme?: 'light' | 'dark';
462
+ accessToken: string;
463
+ refreshToken: string;
464
+ onError: (error: Error) => boolean;
465
+ initialPage?: InternalPage;
466
+ onBack?: 'back' | 'signout';
412
467
  }
468
+ declare function RedactoPrivacyCenter({ baseUrl, slug, theme, accessToken, refreshToken, onError, initialPage, onBack, }: RedactoPrivacyCenterProps): react_jsx_runtime.JSX.Element;
469
+
470
+ interface PrivacyCenterLayoutProps {
471
+ children: ReactNode;
472
+ defaultTheme?: 'light' | 'dark';
473
+ slug: string;
474
+ onBack?: 'back' | 'signout';
475
+ }
476
+ declare function PrivacyCenterLayout({ children, defaultTheme, slug, onBack }: PrivacyCenterLayoutProps): react_jsx_runtime.JSX.Element;
477
+
478
+ declare function PrivacyCenterHomePage(): react_jsx_runtime.JSX.Element;
479
+
480
+ declare function PrivacyCenterConsentManagerPage(): react_jsx_runtime.JSX.Element;
481
+
482
+ declare function PrivacyCenterFormPage(): react_jsx_runtime.JSX.Element;
483
+
484
+ declare function PrivacyCenterActivityPage(): react_jsx_runtime.JSX.Element;
485
+
486
+ declare const PrivacyCenterCaseDetailsPage: () => react_jsx_runtime.JSX.Element | null;
487
+
488
+ type AuthContextValue = Readonly<{
489
+ accessToken: string;
490
+ refreshToken: string;
491
+ onError: (error: Error) => boolean;
492
+ updateTokens: (accessToken: string, refreshToken?: string) => void;
493
+ }>;
494
+ type BaseUrlContextValue = Readonly<{
495
+ baseUrl: string;
496
+ consentClient: ReturnType<typeof createConsentClient>;
497
+ }>;
498
+
413
499
  declare const BaseUrlProvider: ({ children, baseUrl, }: {
414
500
  children: ReactNode;
415
501
  baseUrl: string;
416
502
  }) => react_jsx_runtime.JSX.Element;
417
- declare const useBaseUrl: () => BaseUrlContextValue;
503
+ declare const useBaseUrl: () => Readonly<{
504
+ baseUrl: string;
505
+ consentClient: ReturnType<typeof createConsentClient>;
506
+ }>;
418
507
 
419
508
  declare function createOtpServer(email: string, organizationId: string, workspaceId: string, consentClient?: ReturnType<typeof createConsentClient>): Promise<OtpResponse>;
420
509
  declare function verifyOtpServer(otpId: string, otp: string, organizationId: string, workspaceId: string, consentClient?: ReturnType<typeof createConsentClient>): Promise<OtpVerificationResponse>;
@@ -537,12 +626,6 @@ declare const fetchCaseHistory: (organizationId: string, workspaceId: string, co
537
626
 
538
627
  declare const useCaseHistory: (organizationId: string | undefined, workspaceId: string | undefined, contact: string | undefined, authContext?: AuthContext) => _tanstack_react_query.UseQueryResult<CaseRequest[], Error>;
539
628
 
540
- interface AuthContextValue {
541
- accessToken: string;
542
- refreshToken: string;
543
- onError: (error: Error) => boolean;
544
- updateTokens: (accessToken: string, refreshToken?: string) => void;
545
- }
546
629
  interface AuthProviderProps {
547
630
  children: ReactNode;
548
631
  accessToken: string;
@@ -563,4 +646,4 @@ declare const useAuth: () => AuthContextValue;
563
646
  */
564
647
  declare const injectPCStyles: () => void;
565
648
 
566
- export { type Activity, type ActivityBadgeStatus$1 as ActivityBadgeStatus, type ActivityDetail, type ActivityResponse, type ApiFetchOptions, type ApiResponse, type AuthContext, AuthProvider, type BaseRequest, BaseUrlProvider, type CaseHistoryDetail, type CaseHistoryResponse, type CaseRequest, type ConsentAction, type ConsentDataElement, type ConsentHistoryStatusSummary, ConsentStatusEnum, type CreateCaseResponse, type DataElement, type FetchOrgParams, type FormData, type FormDataResponse, type GrievanceOptions, type GrievanceTypeElement, GrievanceTypeEnum, type GrievanceValue, type InternalPage, type ManageConsentParams, type ManageConsentResponse, NavigationProvider, type NominatedPurposesGroup, type NominationData, type NominatorInfo, type OrganizationDetail, type OrganizationResponse, type OtpResponse, type OtpVerificationResponse, type Pagination, PrivacyCenterActivityPage, PrivacyCenterConsentManagerPage, PrivacyCenterFormPage, PrivacyCenterHomePage, PrivacyCenterLayout, type ProductConsentHistoryGroup, type Purpose, type RawPurposeWrapper, RedactoPrivacyCenter, RequestTypeEnum, type TokenExchangeResponse, type UpdateCorrectionDataItem, type UpdatePurpose, type UpdateRequestDetails, type UserConsent, type UserConsentDetail, type UserConsentResponse, type UserDataRequest, type Workspace, checkAndRefreshAuth, compareEmails, createCaseRequest, createConsentClient, createOtpServer as createOtp, decodeJwtToken, ensureValidToken, exchangeTokenServer as exchangeToken, fetchActivities, fetchCaseHistory, fetchProducts, fetchUserConsents, formatActivityType, getActivityTypeStatus, getCookieValue, getFormData, getInitialState, injectPCStyles, isJwtExpired, isUserAuthenticated, manageConsent, setRefreshTokenCookie, signOutPrivacyCenter, useAuth, useBaseUrl, useCaseHistory, useInternalNavigation, verifyOtpServer as verifyOtp };
649
+ export { type Activity, type ActivityBadgeStatus$1 as ActivityBadgeStatus, type ActivityDetail, type ActivityResponse, type ApiFetchOptions, type ApiResponse, type AuthContext, AuthProvider, type BaseRequest, BaseUrlProvider, type CaseHistoryDetail, type CaseHistoryResponse, type CaseRequest, type ConsentAction, type ConsentDataElement, type ConsentHistoryStatusSummary, ConsentStatusEnum, type CreateCaseResponse, type DataElement, type FetchOrgParams, type FormData, type FormDataResponse, type GrievanceOptions, type GrievanceTypeElement, GrievanceTypeEnum, type GrievanceValue, type InternalPage, type ManageConsentParams, type ManageConsentResponse, NavigationProvider, type NominatedPurposesGroup, type NominationData, type NominatorInfo, type OrganizationDetail, type OrganizationResponse, type OtpResponse, type OtpVerificationResponse, type Pagination, PrivacyCenterActivityPage, PrivacyCenterCaseDetailsPage, PrivacyCenterConsentManagerPage, PrivacyCenterFormPage, PrivacyCenterHomePage, PrivacyCenterLayout, type ProductConsentHistoryGroup, type Purpose, type RawPurposeWrapper, RedactoPrivacyCenter, RequestTypeEnum, type TokenExchangeResponse, type UpdateCorrectionDataItem, type UpdatePurpose, type UpdateRequestDetails, type UserConsent, type UserConsentDetail, type UserConsentResponse, type UserDataRequest, type Workspace, checkAndRefreshAuth, compareEmails, createCaseRequest, createConsentClient, createOtpServer as createOtp, decodeJwtToken, ensureValidToken, exchangeTokenServer as exchangeToken, fetchActivities, fetchCaseHistory, fetchProducts, fetchUserConsents, formatActivityType, getActivityTypeStatus, getCookieValue, getFormData, getInitialState, injectPCStyles, isJwtExpired, isUserAuthenticated, manageConsent, setRefreshTokenCookie, signOutPrivacyCenter, useAuth, useBaseUrl, useCaseHistory, useInternalNavigation, verifyOtpServer as verifyOtp };