@yuno-payments/dashboard-api-mfe 0.36.57-beta.4 → 0.36.58

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 (46) hide show
  1. package/build/cjs/index.js +201 -36
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/types/api/api.d.ts +10 -10
  4. package/build/cjs/types/mutations/accounts/accounts.mutation.d.ts +7 -7
  5. package/build/cjs/types/mutations/audit/audit.mutation.d.ts +1 -1
  6. package/build/cjs/types/mutations/chartgpt/chartgpt.mutation.d.ts +5 -3
  7. package/build/cjs/types/mutations/checkouts/checkouts.mutation.d.ts +1 -1
  8. package/build/cjs/types/mutations/organization-settings/organization-settings.mutations.d.ts +2 -2
  9. package/build/cjs/types/mutations/payments/payments.mutation.d.ts +2 -2
  10. package/build/cjs/types/mutations/saml-config/saml-config.query.d.ts +3 -3
  11. package/build/cjs/types/mutations/settings/settings.mutation.d.ts +4 -4
  12. package/build/cjs/types/mutations/users/users.mutation.d.ts +6 -6
  13. package/build/cjs/types/queries/firebase/firebase.query.d.ts +1 -1
  14. package/build/cjs/types/queries/index.d.ts +0 -1
  15. package/build/cjs/types/types/index.d.ts +0 -1
  16. package/build/cjs/types/websockets/index.d.ts +1 -0
  17. package/build/cjs/types/websockets/use-chart-assistant-socket.d.ts +17 -0
  18. package/build/cjs/types/yuno-dashboard-api-mfe.d.ts +1 -0
  19. package/build/esm/index.js +201 -36
  20. package/build/esm/index.js.map +1 -1
  21. package/build/esm/types/api/api.d.ts +10 -10
  22. package/build/esm/types/mutations/accounts/accounts.mutation.d.ts +7 -7
  23. package/build/esm/types/mutations/audit/audit.mutation.d.ts +1 -1
  24. package/build/esm/types/mutations/chartgpt/chartgpt.mutation.d.ts +5 -3
  25. package/build/esm/types/mutations/checkouts/checkouts.mutation.d.ts +1 -1
  26. package/build/esm/types/mutations/organization-settings/organization-settings.mutations.d.ts +2 -2
  27. package/build/esm/types/mutations/payments/payments.mutation.d.ts +2 -2
  28. package/build/esm/types/mutations/saml-config/saml-config.query.d.ts +3 -3
  29. package/build/esm/types/mutations/settings/settings.mutation.d.ts +4 -4
  30. package/build/esm/types/mutations/users/users.mutation.d.ts +6 -6
  31. package/build/esm/types/queries/firebase/firebase.query.d.ts +1 -1
  32. package/build/esm/types/queries/index.d.ts +0 -1
  33. package/build/esm/types/types/index.d.ts +0 -1
  34. package/build/esm/types/websockets/index.d.ts +1 -0
  35. package/build/esm/types/websockets/use-chart-assistant-socket.d.ts +17 -0
  36. package/build/esm/types/yuno-dashboard-api-mfe.d.ts +1 -0
  37. package/build/index.d.ts +61 -142
  38. package/package.json +1 -1
  39. package/build/cjs/types/queries/smart-recovery/index.d.ts +0 -1
  40. package/build/cjs/types/queries/smart-recovery/smart-recovery-overview.query.d.ts +0 -9
  41. package/build/cjs/types/types/smart-recovery/index.d.ts +0 -1
  42. package/build/cjs/types/types/smart-recovery/smart-recovery-overview.types.d.ts +0 -93
  43. package/build/esm/types/queries/smart-recovery/index.d.ts +0 -1
  44. package/build/esm/types/queries/smart-recovery/smart-recovery-overview.query.d.ts +0 -9
  45. package/build/esm/types/types/smart-recovery/index.d.ts +0 -1
  46. package/build/esm/types/types/smart-recovery/smart-recovery-overview.types.d.ts +0 -93
@@ -1,93 +0,0 @@
1
- export interface CommunicationDistribution {
2
- key: string;
3
- total: number;
4
- percentage?: number;
5
- current_label?: string;
6
- current_amount?: number;
7
- past_amount?: number;
8
- }
9
- export interface CommunicationStatusDistribution {
10
- key: 'CREATED' | 'SUCCEEDED' | 'PENDING' | 'DECLINED';
11
- total: number;
12
- percentage: number;
13
- amount?: number;
14
- }
15
- export interface DailyCommunicationsAndConversionRate {
16
- communications: {
17
- distribution: CommunicationDistribution[];
18
- total: number;
19
- };
20
- conversion_rate: {
21
- distribution: CommunicationDistribution[];
22
- total: number;
23
- };
24
- completed_communications: {
25
- distribution: CommunicationDistribution[];
26
- total: number;
27
- };
28
- }
29
- export interface CommunicationsBySubStatus {
30
- distribution: CommunicationStatusDistribution[];
31
- total: number;
32
- }
33
- export interface DailyCommunicationsSubStatusDistribution {
34
- [key: string]: CommunicationDistribution[];
35
- }
36
- export interface RecoveredPayments {
37
- distribution: CommunicationDistribution[];
38
- total: number;
39
- total_amount: number;
40
- }
41
- export interface RecoveredTPV {
42
- distribution: CommunicationDistribution[];
43
- total: number;
44
- total_amount: number;
45
- }
46
- export interface SmartRecoveryOverviewFilters {
47
- date?: string;
48
- start_date?: string;
49
- end_date?: string;
50
- account_code?: string[];
51
- countries?: string[];
52
- channels?: string[];
53
- focuses?: string[];
54
- communication_type?: string[];
55
- sub_status?: string[];
56
- }
57
- export interface SmartRecoveryOverviewQueryParams extends SmartRecoveryOverviewFilters {
58
- organization_code: string;
59
- }
60
- export interface PlotRow {
61
- date?: string;
62
- label?: string;
63
- value: string;
64
- }
65
- export interface Plot {
66
- type: 'BAR' | 'LINE' | 'TABLE';
67
- label: string;
68
- value: string;
69
- unit: 'NUMERIC' | 'PERCENTAGE' | 'MONETARY' | 'CURRENCY';
70
- currency?: string;
71
- percentage?: string;
72
- rows?: PlotRow[] | null;
73
- }
74
- export interface CommunicationsByDayResponse {
75
- title: string;
76
- plots: Plot[];
77
- }
78
- export interface CommunicationsBySubstatusResponse {
79
- title: string;
80
- plots: Plot[];
81
- }
82
- export interface CommunicationsSubstatusByDayResponse {
83
- title: string;
84
- plots: Plot[];
85
- }
86
- export interface RecoveredTPVByDayResponse {
87
- title: string;
88
- plots: Plot[];
89
- }
90
- export interface RecoveredPaymentsByDayResponse {
91
- title: string;
92
- plots: Plot[];
93
- }