@yuno-payments/dashboard-api-mfe 1.10.6 → 1.10.9

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 (84) hide show
  1. package/build/cjs/index.js +6 -6
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/types/api/api.d.ts +7 -10
  4. package/build/cjs/types/msw/handlers/mfa.d.ts +1 -0
  5. package/build/cjs/types/mutations/recipients/recipients.mutation.d.ts +14 -7
  6. package/build/cjs/types/queries/checkouts/checkouts.query.d.ts +105 -1
  7. package/build/cjs/types/queries/index.d.ts +0 -2
  8. package/build/cjs/types/queries/mfa/organization-settings.query.d.ts +4 -1
  9. package/build/cjs/types/queries/payment-links/payment-links.query.d.ts +0 -1
  10. package/build/cjs/types/queries/recipients/recipients.query.d.ts +6 -1
  11. package/build/cjs/types/types/index.d.ts +0 -1
  12. package/build/cjs/types/types/installments/installments.d.ts +4 -0
  13. package/build/cjs/types/types/mfa/mfa.d.ts +4 -0
  14. package/build/cjs/types/types/recipients/index.d.ts +1 -0
  15. package/build/cjs/types/types/recipients/recipients-export.d.ts +52 -0
  16. package/build/cjs/types/types/reports/reports.d.ts +1 -0
  17. package/build/cjs/types/types/subscriptions/subscriptions.d.ts +7 -0
  18. package/build/cjs/types/types/template-reporting/template.types.d.ts +4 -0
  19. package/build/cjs/types/utils/enums.d.ts +0 -143
  20. package/build/esm/index.js +6 -6
  21. package/build/esm/index.js.map +1 -1
  22. package/build/esm/types/api/api.d.ts +7 -10
  23. package/build/esm/types/msw/handlers/mfa.d.ts +1 -0
  24. package/build/esm/types/mutations/recipients/recipients.mutation.d.ts +14 -7
  25. package/build/esm/types/queries/checkouts/checkouts.query.d.ts +105 -1
  26. package/build/esm/types/queries/index.d.ts +0 -2
  27. package/build/esm/types/queries/mfa/organization-settings.query.d.ts +4 -1
  28. package/build/esm/types/queries/payment-links/payment-links.query.d.ts +0 -1
  29. package/build/esm/types/queries/recipients/recipients.query.d.ts +6 -1
  30. package/build/esm/types/types/index.d.ts +0 -1
  31. package/build/esm/types/types/installments/installments.d.ts +4 -0
  32. package/build/esm/types/types/mfa/mfa.d.ts +4 -0
  33. package/build/esm/types/types/recipients/index.d.ts +1 -0
  34. package/build/esm/types/types/recipients/recipients-export.d.ts +52 -0
  35. package/build/esm/types/types/reports/reports.d.ts +1 -0
  36. package/build/esm/types/types/subscriptions/subscriptions.d.ts +7 -0
  37. package/build/esm/types/types/template-reporting/template.types.d.ts +4 -0
  38. package/build/esm/types/utils/enums.d.ts +0 -143
  39. package/build/index.d.ts +200 -82
  40. package/package.json +1 -1
  41. package/build/cjs/types/queries/cms/cms.query.d.ts +0 -14
  42. package/build/cjs/types/queries/cms/index.d.ts +0 -1
  43. package/build/cjs/types/queries/dialogs/dialogs.query.d.ts +0 -2
  44. package/build/cjs/types/queries/dialogs/index.d.ts +0 -1
  45. package/build/cjs/types/types/cms/cms.d.ts +0 -47
  46. package/build/cjs/types/types/cms/index.d.ts +0 -1
  47. package/build/esm/types/queries/cms/cms.query.d.ts +0 -14
  48. package/build/esm/types/queries/cms/index.d.ts +0 -1
  49. package/build/esm/types/queries/dialogs/dialogs.query.d.ts +0 -2
  50. package/build/esm/types/queries/dialogs/index.d.ts +0 -1
  51. package/build/esm/types/types/cms/cms.d.ts +0 -47
  52. package/build/esm/types/types/cms/index.d.ts +0 -1
  53. package/build/main.31b800bdfc7bcf66.hot-update.js +0 -23
  54. package/build/main.31b800bdfc7bcf66.hot-update.js.map +0 -1
  55. package/build/main.31b800bdfc7bcf66.hot-update.json +0 -1
  56. package/build/main.31ef41183a0357fd.hot-update.js +0 -23
  57. package/build/main.31ef41183a0357fd.hot-update.js.map +0 -1
  58. package/build/main.31ef41183a0357fd.hot-update.json +0 -1
  59. package/build/main.5231ec959bfdd54a.hot-update.js +0 -823
  60. package/build/main.5231ec959bfdd54a.hot-update.js.map +0 -1
  61. package/build/main.5231ec959bfdd54a.hot-update.json +0 -1
  62. package/build/main.60642e2056d40cbc.hot-update.js +0 -23
  63. package/build/main.60642e2056d40cbc.hot-update.js.map +0 -1
  64. package/build/main.60642e2056d40cbc.hot-update.json +0 -1
  65. package/build/main.7734f96d14c3c07a.hot-update.js +0 -10
  66. package/build/main.7734f96d14c3c07a.hot-update.js.map +0 -1
  67. package/build/main.7734f96d14c3c07a.hot-update.json +0 -1
  68. package/build/main.9a70cae7efc29065.hot-update.js +0 -39
  69. package/build/main.9a70cae7efc29065.hot-update.js.map +0 -1
  70. package/build/main.9a70cae7efc29065.hot-update.json +0 -1
  71. package/build/main.9c87c39ff7873bca.hot-update.js +0 -10
  72. package/build/main.9c87c39ff7873bca.hot-update.js.map +0 -1
  73. package/build/main.9c87c39ff7873bca.hot-update.json +0 -1
  74. package/build/main.a0a0faaf03061b21.hot-update.js +0 -23
  75. package/build/main.a0a0faaf03061b21.hot-update.js.map +0 -1
  76. package/build/main.a0a0faaf03061b21.hot-update.json +0 -1
  77. package/build/main.d62d5a57d5bc6614.hot-update.js +0 -4236
  78. package/build/main.d62d5a57d5bc6614.hot-update.js.map +0 -1
  79. package/build/main.d62d5a57d5bc6614.hot-update.json +0 -1
  80. package/build/main.ecc2159bd4dc7d54.hot-update.js +0 -23
  81. package/build/main.ecc2159bd4dc7d54.hot-update.js.map +0 -1
  82. package/build/main.ecc2159bd4dc7d54.hot-update.json +0 -1
  83. package/build/yuno-dashboard-api-mfe.js +0 -57105
  84. package/build/yuno-dashboard-api-mfe.js.map +0 -1
@@ -140,7 +140,6 @@ export declare class Api extends HttpClient {
140
140
  connections: [integration_code: string, account_code: string];
141
141
  };
142
142
  }): Promise<AxiosResponse<T, any>>;
143
- getDialogs<T>(): Promise<AxiosResponse<T, any>>;
144
143
  getWebhookParamsV2<T>(): Promise<AxiosResponse<T, Webhook.ParamV2[]>>;
145
144
  getWebhooksV3<T>({ accountCode, name, }: {
146
145
  accountCode: string;
@@ -154,7 +153,6 @@ export declare class Api extends HttpClient {
154
153
  }): Promise<AxiosResponse<T>>;
155
154
  deleteWebhookV2<T>(code: string, accountCode: string): Promise<AxiosResponse<T>>;
156
155
  updateWebhookV2<T>(code: string, payload: any, accountCode: string): Promise<AxiosResponse<T>>;
157
- getMenu<T>(): Promise<AxiosResponse<T>>;
158
156
  postWebhookLogs<T>({ payload: { account_code, ...rest }, }: {
159
157
  payload: Audit.AuditWebhooksParams;
160
158
  }): Promise<AxiosResponse<T>>;
@@ -181,15 +179,8 @@ export declare class Api extends HttpClient {
181
179
  postApiLogsStatsErrorsByEndpoint<T>(payload: Audit.ApiLogsStatsParams): Promise<AxiosResponse<T>>;
182
180
  postApiLogsList<T>(payload: Audit.ApiLogsListParams): Promise<AxiosResponse<T>>;
183
181
  getApiLogsV3ByPaymentCode<T>(paymentCode: string, createdAtFrom?: string): Promise<AxiosResponse<T>>;
184
- useGetPaymentStatusesStyles<T>(): Promise<AxiosResponse<T, any>>;
185
- useGetTransactionStatusesStyles<T>(): Promise<AxiosResponse<T, any>>;
186
- useGetReconciliationTransactionStatusesStyles<T>(): Promise<AxiosResponse<T, any>>;
187
182
  useGetCountriesConfig<T>(): Promise<AxiosResponse<T, any>>;
188
183
  useGetCountriesConfigV2<T>(acceptLanguage?: string): Promise<AxiosResponse<T, any>>;
189
- useGetTimeZoneCatalog<T>(): Promise<AxiosResponse<T, any>>;
190
- useGetAuditLogsFilters<T>(): Promise<AxiosResponse<T, any>>;
191
- getDashboardStaticContents<T>(): Promise<AxiosResponse<T, any>>;
192
- getLocales<T>(): Promise<AxiosResponse<T, any>>;
193
184
  getSmartRoutingMethods<T>(accountCode: string, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
194
185
  putSmartRoutingToggleMethod<T>(accountCode: string, paymentMethod: string, active: boolean, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
195
186
  getSmartRoutingConditionTypes<T>(accountCode: string, paymentMethod: string, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
@@ -464,7 +455,6 @@ export declare class Api extends HttpClient {
464
455
  postRescheduleSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
465
456
  getSubscriptionPayments<T>(subscriptionCode: string, page?: number, size?: number): Promise<AxiosResponse<T, any>>;
466
457
  postListSubscriptions<T>(payload: ListSubscriptionsParams): Promise<AxiosResponse<T, any>>;
467
- getTimezone<T>(organizationCode: string): Promise<AxiosResponse<T, any>>;
468
458
  getInstallmentPlans(params?: Installments.GetInstallmentsPlansParams): Promise<AxiosResponse<Installments.GetInstallmentsPlansResponse>>;
469
459
  createInstallmentsPlan<T, P = unknown>(payload: P): Promise<AxiosResponse<T>>;
470
460
  updateInstallmentsPlan<T, P = unknown>(code: string, payload: P): Promise<AxiosResponse<T>>;
@@ -567,6 +557,7 @@ export declare class Api extends HttpClient {
567
557
  organizationCode: any;
568
558
  }): Promise<AxiosResponse<T, any>>;
569
559
  getMFAEnforcementStatus<T>(): Promise<AxiosResponse<T, any>>;
560
+ getWorkOsMfaStatus<T>(): Promise<AxiosResponse<T, any>>;
570
561
  updateMFAConfig<T>(payload: OrganizationSettings.MfaConfigRequest, organizationCode: string): Promise<AxiosResponse<T, any>>;
571
562
  mfaExcludeUsers<T>(users: OrganizationSettings.MfaUserExcluded[], organizationCode: string): Promise<AxiosResponse<T, any>>;
572
563
  getAllConfigRules<T>(): Promise<AxiosResponse<T, any>>;
@@ -669,6 +660,12 @@ export declare class Api extends HttpClient {
669
660
  getRecipientById<T>(organizationCode: string, recipientId: string): Promise<AxiosResponse<T, any>>;
670
661
  getOnboardingDetail<T>(organizationCode: string, recipientId: string, onboardingId: string): Promise<AxiosResponse<T, any>>;
671
662
  getOnboardingTimeline<T>(organizationCode: string, onboardingId: string): Promise<AxiosResponse<T, any>>;
663
+ createRecipientExport<T>(payload: unknown, accountCode: string): Promise<AxiosResponse<T, any>>;
664
+ getRecipientExports<T>(params: {
665
+ page?: number;
666
+ size?: number;
667
+ }, accountCode: string): Promise<AxiosResponse<T, any>>;
668
+ downloadRecipientExport<T>(exportCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
672
669
  createRecipient<T>(organizationCode: string, payload: CreateRecipientPayload): Promise<AxiosResponse<T, any>>;
673
670
  updateRecipient<T>(organizationCode: string, recipientId: string, payload: UpdateRecipientPayload): Promise<AxiosResponse<T, any>>;
674
671
  deleteRecipient<T>(organizationCode: string, recipientId: string): Promise<AxiosResponse<T, any>>;
@@ -0,0 +1 @@
1
+ export declare const mfaHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
@@ -1,11 +1,18 @@
1
1
  import { AxiosError } from 'axios';
2
+ import { UseMutationResult } from '@tanstack/react-query';
3
+ import { RecipientsExport } from '../../types/recipients';
2
4
  import { CreateRecipientParams, UpdateRecipientParams, DeleteRecipientParams, CreateOnboardingParams, UpdateOnboardingParams, BlockOnboardingParams, UnblockOnboardingParams } from '../../types/recipients/recipients-mutations';
3
5
  import { Recipients } from '../../types/recipients/recipients';
4
6
  import { BFFErrorResponse } from '../smart-routing/smart-routing.mutation';
5
- export declare function useCreateRecipient(): import("@tanstack/react-query").UseMutationResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse, any>, CreateRecipientParams, unknown>;
6
- export declare function useUpdateRecipient(): import("@tanstack/react-query").UseMutationResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse, any>, UpdateRecipientParams, unknown>;
7
- export declare function useDeleteRecipient(): import("@tanstack/react-query").UseMutationResult<void, AxiosError<BFFErrorResponse, any>, DeleteRecipientParams, unknown>;
8
- export declare function useCreateOnboarding(): import("@tanstack/react-query").UseMutationResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse, any>, CreateOnboardingParams, unknown>;
9
- export declare function useUpdateOnboarding(): import("@tanstack/react-query").UseMutationResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse, any>, UpdateOnboardingParams, unknown>;
10
- export declare function useBlockOnboarding(): import("@tanstack/react-query").UseMutationResult<void, AxiosError<BFFErrorResponse, any>, BlockOnboardingParams, unknown>;
11
- export declare function useUnblockOnboarding(): import("@tanstack/react-query").UseMutationResult<void, AxiosError<BFFErrorResponse, any>, UnblockOnboardingParams, unknown>;
7
+ export declare function useCreateRecipientExport(): UseMutationResult<RecipientsExport.ExportItem, unknown>;
8
+ export declare function useDownloadRecipientExport(): UseMutationResult<{
9
+ download_url: string;
10
+ expires_in_seconds: number;
11
+ }, unknown>;
12
+ export declare function useCreateRecipient(): UseMutationResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse, any>, CreateRecipientParams, unknown>;
13
+ export declare function useUpdateRecipient(): UseMutationResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse, any>, UpdateRecipientParams, unknown>;
14
+ export declare function useDeleteRecipient(): UseMutationResult<void, AxiosError<BFFErrorResponse, any>, DeleteRecipientParams, unknown>;
15
+ export declare function useCreateOnboarding(): UseMutationResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse, any>, CreateOnboardingParams, unknown>;
16
+ export declare function useUpdateOnboarding(): UseMutationResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse, any>, UpdateOnboardingParams, unknown>;
17
+ export declare function useBlockOnboarding(): UseMutationResult<void, AxiosError<BFFErrorResponse, any>, BlockOnboardingParams, unknown>;
18
+ export declare function useUnblockOnboarding(): UseMutationResult<void, AxiosError<BFFErrorResponse, any>, UnblockOnboardingParams, unknown>;
@@ -2,7 +2,111 @@ import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { Checkout } from '../../types';
3
3
  export declare function useGetCheckouts({ accountCode }: {
4
4
  accountCode: any;
5
- }, options?: UseQueryOptions<Checkout.CheckoutList[], unknown, Checkout.CheckoutList[]>): import("@tanstack/react-query").UseQueryResult<Checkout.CheckoutList[], unknown>;
5
+ }, options?: UseQueryOptions<Checkout.CheckoutList[], unknown, Checkout.CheckoutList[]>): {
6
+ refetch: <TPageData>(options?: (import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<Checkout.CheckoutList[], unknown>>;
7
+ data: Checkout.CheckoutList[];
8
+ error: unknown;
9
+ isError: true;
10
+ isLoading: false;
11
+ isLoadingError: false;
12
+ isRefetchError: true;
13
+ isSuccess: false;
14
+ status: "error";
15
+ dataUpdatedAt: number;
16
+ errorUpdatedAt: number;
17
+ failureCount: number;
18
+ failureReason: unknown;
19
+ errorUpdateCount: number;
20
+ isFetched: boolean;
21
+ isFetchedAfterMount: boolean;
22
+ isFetching: boolean;
23
+ isInitialLoading: boolean;
24
+ isPaused: boolean;
25
+ isPlaceholderData: boolean;
26
+ isPreviousData: boolean;
27
+ isRefetching: boolean;
28
+ isStale: boolean;
29
+ remove: () => void;
30
+ fetchStatus: import("@tanstack/react-query").FetchStatus;
31
+ } | {
32
+ refetch: <TPageData>(options?: (import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<Checkout.CheckoutList[], unknown>>;
33
+ data: Checkout.CheckoutList[];
34
+ error: null;
35
+ isError: false;
36
+ isLoading: false;
37
+ isLoadingError: false;
38
+ isRefetchError: false;
39
+ isSuccess: true;
40
+ status: "success";
41
+ dataUpdatedAt: number;
42
+ errorUpdatedAt: number;
43
+ failureCount: number;
44
+ failureReason: unknown;
45
+ errorUpdateCount: number;
46
+ isFetched: boolean;
47
+ isFetchedAfterMount: boolean;
48
+ isFetching: boolean;
49
+ isInitialLoading: boolean;
50
+ isPaused: boolean;
51
+ isPlaceholderData: boolean;
52
+ isPreviousData: boolean;
53
+ isRefetching: boolean;
54
+ isStale: boolean;
55
+ remove: () => void;
56
+ fetchStatus: import("@tanstack/react-query").FetchStatus;
57
+ } | {
58
+ refetch: <TPageData>(options?: (import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<Checkout.CheckoutList[], unknown>>;
59
+ data: undefined;
60
+ error: unknown;
61
+ isError: true;
62
+ isLoading: false;
63
+ isLoadingError: true;
64
+ isRefetchError: false;
65
+ isSuccess: false;
66
+ status: "error";
67
+ dataUpdatedAt: number;
68
+ errorUpdatedAt: number;
69
+ failureCount: number;
70
+ failureReason: unknown;
71
+ errorUpdateCount: number;
72
+ isFetched: boolean;
73
+ isFetchedAfterMount: boolean;
74
+ isFetching: boolean;
75
+ isInitialLoading: boolean;
76
+ isPaused: boolean;
77
+ isPlaceholderData: boolean;
78
+ isPreviousData: boolean;
79
+ isRefetching: boolean;
80
+ isStale: boolean;
81
+ remove: () => void;
82
+ fetchStatus: import("@tanstack/react-query").FetchStatus;
83
+ } | {
84
+ refetch: <TPageData>(options?: (import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<Checkout.CheckoutList[], unknown>>;
85
+ data: undefined;
86
+ error: null;
87
+ isError: false;
88
+ isLoading: true;
89
+ isLoadingError: false;
90
+ isRefetchError: false;
91
+ isSuccess: false;
92
+ status: "loading";
93
+ dataUpdatedAt: number;
94
+ errorUpdatedAt: number;
95
+ failureCount: number;
96
+ failureReason: unknown;
97
+ errorUpdateCount: number;
98
+ isFetched: boolean;
99
+ isFetchedAfterMount: boolean;
100
+ isFetching: boolean;
101
+ isInitialLoading: boolean;
102
+ isPaused: boolean;
103
+ isPlaceholderData: boolean;
104
+ isPreviousData: boolean;
105
+ isRefetching: boolean;
106
+ isStale: boolean;
107
+ remove: () => void;
108
+ fetchStatus: import("@tanstack/react-query").FetchStatus;
109
+ };
6
110
  export declare const getQueryKeyGetNameAndIcon: ({ paymentMethodType, type, }: Checkout.GetNameAndIconArgs) => string[];
7
111
  export declare const useGetNameAndIcon: ({ paymentMethodType, type }: Checkout.GetNameAndIconArgs, option?: UseQueryOptions<Checkout.GetNameAndIconResponse, unknown, Checkout.GetNameAndIconResponse>) => import("@tanstack/react-query").UseQueryResult<Checkout.GetNameAndIconResponse, unknown>;
8
112
  export declare const getQueryKeyRequiredFields: ({ paymentMethodType, type, }: Checkout.GetRequiredFieldsArgs) => string[];
@@ -2,9 +2,7 @@ export * from './payments';
2
2
  export * from './developers';
3
3
  export * from './organizations';
4
4
  export * from './connections';
5
- export * from './dialogs';
6
5
  export * from './accounts';
7
- export * from './cms';
8
6
  export * from './smart-routing';
9
7
  export * from './routing-monitors';
10
8
  export * from './checkouts';
@@ -1,5 +1,5 @@
1
1
  import { UseQueryResult } from '@tanstack/react-query';
2
- import { OrganizationSettings } from '../../types';
2
+ import { MFA, OrganizationSettings } from '../../types';
3
3
  export declare function useGetMFAExcludedUsers({ organizationCode, }: {
4
4
  organizationCode: string;
5
5
  }, enabled: boolean): UseQueryResult<OrganizationSettings.MfaConfig[], unknown>;
@@ -9,3 +9,6 @@ export declare function useGetMFAConfig({ organizationCode, }: {
9
9
  export declare function useGetMFAStatus({ accountCode, }: {
10
10
  accountCode: string;
11
11
  }, enabled: boolean): UseQueryResult<OrganizationSettings.MfaConfig, unknown>;
12
+ export declare function useGetWorkOsMfaStatus({ enabled, }: {
13
+ enabled: boolean;
14
+ }): UseQueryResult<MFA.WorkOsMfaStatus, unknown>;
@@ -4,4 +4,3 @@ export declare function useGetPaymentLinks(params: any, accountCode: any): UseQu
4
4
  export declare function useGetPaymentLinkByCode(paymentLinkCode: any): UseQueryResult<any, unknown>;
5
5
  export declare function useGetCountriesConfigPaymentLink(enabled?: boolean): UseQueryResult<PaymentLinks.GetCountriesConfig, unknown>;
6
6
  export declare function useGetCountriesConfigPaymentLinkV2(acceptLanguage?: string): UseQueryResult<PaymentLinks.GetCountriesConfig, unknown>;
7
- export declare function useGetTimezonePaymentLink(organizationCode: string): UseQueryResult<any, unknown>;
@@ -1,8 +1,13 @@
1
1
  import { AxiosError } from 'axios';
2
2
  import { UseQueryResult } from '@tanstack/react-query';
3
- import { Recipients, GetRecipientsParams, GetRecipientByIdParams, GetOnboardingDetailParams, GetOnboardingTimelineParams } from '../../types/recipients';
3
+ import { Recipients, GetRecipientsParams, GetRecipientByIdParams, GetOnboardingDetailParams, GetOnboardingTimelineParams, RecipientsExport, GetRecipientExportsParams } from '../../types/recipients';
4
4
  import { BFFErrorResponse } from '../../mutations';
5
5
  export declare function useGetRecipients(organizationCode: string, params: GetRecipientsParams, enabled?: boolean): UseQueryResult<Recipients.RecipientListResponse, AxiosError<BFFErrorResponse>>;
6
6
  export declare function useGetRecipientById(organizationCode: string, params: GetRecipientByIdParams, enabled?: boolean): UseQueryResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse>>;
7
7
  export declare function useGetOnboardingDetail(organizationCode: string, params: GetOnboardingDetailParams, enabled?: boolean): UseQueryResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse>>;
8
8
  export declare function useGetOnboardingTimeline(organizationCode: string, params: GetOnboardingTimelineParams, enabled?: boolean): UseQueryResult<Recipients.OnboardingTimeline, AxiosError<BFFErrorResponse>>;
9
+ export declare function useGetRecipientExports(accountCode: string, params: GetRecipientExportsParams, enabled?: boolean): UseQueryResult<RecipientsExport.ExportListResponse, AxiosError<BFFErrorResponse>>;
10
+ export declare function useGetRecipientExportDownload(accountCode: string, exportCode: string, enabled?: boolean): UseQueryResult<{
11
+ download_url: string;
12
+ expires_in_seconds: number;
13
+ }, AxiosError<BFFErrorResponse>>;
@@ -8,7 +8,6 @@ export * from './connection';
8
8
  export * from './webhook';
9
9
  export * from './user';
10
10
  export * from './country';
11
- export * from './cms';
12
11
  export * from './checkout';
13
12
  export * from './reports';
14
13
  export * from './notifications';
@@ -50,6 +50,7 @@ export declare namespace Installments {
50
50
  amount: PlanAmount;
51
51
  availability?: Availability;
52
52
  types_list?: string[] | null;
53
+ payment_method_type?: string;
53
54
  created_at?: string;
54
55
  updated_at?: string;
55
56
  }
@@ -61,6 +62,7 @@ export declare namespace Installments {
61
62
  amount?: PlanAmount;
62
63
  installments_plan?: InstallmentPlanItem[];
63
64
  availability?: Availability;
65
+ payment_method_type?: string;
64
66
  }
65
67
  interface CreateInstallmentsPlanResponse extends InstallmentsPlan {
66
68
  }
@@ -70,6 +72,7 @@ export declare namespace Installments {
70
72
  amount?: PlanAmount;
71
73
  installments_plan?: InstallmentPlanItem[];
72
74
  availability?: Availability;
75
+ payment_method_type?: string;
73
76
  }
74
77
  interface UpdateInstallmentsPlanResponse extends InstallmentsPlan {
75
78
  }
@@ -105,6 +108,7 @@ export declare namespace Installments {
105
108
  amount?: PlanAmount;
106
109
  installments_plan?: InstallmentPlanItem[];
107
110
  availability?: Availability;
111
+ payment_method_type?: string;
108
112
  }
109
113
  interface BulkCreateInstallmentsPlansResponse {
110
114
  created: InstallmentsPlan[];
@@ -3,4 +3,8 @@ export declare namespace MFA {
3
3
  interface MFAStatusResponse {
4
4
  status: MFAStatus;
5
5
  }
6
+ interface WorkOsMfaStatus {
7
+ mfa_active: boolean;
8
+ factor_id: string | null;
9
+ }
6
10
  }
@@ -1,2 +1,3 @@
1
1
  export * from './recipients';
2
+ export * from './recipients-export';
2
3
  export * from './recipients-mutations';
@@ -0,0 +1,52 @@
1
+ export declare namespace RecipientsExport {
2
+ interface ExportFilters {
3
+ type?: string;
4
+ countries?: string[];
5
+ entity_types?: string[];
6
+ sort_by?: string;
7
+ sort_order?: string;
8
+ columns?: string[];
9
+ }
10
+ interface CreateExportRequest {
11
+ export_name: string;
12
+ filters: ExportFilters;
13
+ }
14
+ interface ExportItem {
15
+ code: string;
16
+ export_name: string;
17
+ status: 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED';
18
+ download_url: string | null;
19
+ error_message: string | null;
20
+ created_at: string;
21
+ }
22
+ interface ExportListResponse {
23
+ content: ExportItem[];
24
+ empty: boolean;
25
+ first: boolean;
26
+ last: boolean;
27
+ number: number;
28
+ number_of_elements: number;
29
+ size: number;
30
+ pageable: {
31
+ offset: number;
32
+ page_number: number;
33
+ page_size: number;
34
+ paged: boolean;
35
+ sort: {
36
+ empty: boolean;
37
+ sorted: boolean;
38
+ unsorted: boolean;
39
+ };
40
+ unpaged: boolean;
41
+ };
42
+ sort: {
43
+ empty: boolean;
44
+ sorted: boolean;
45
+ unsorted: boolean;
46
+ };
47
+ }
48
+ }
49
+ export interface GetRecipientExportsParams {
50
+ page?: number;
51
+ size?: number;
52
+ }
@@ -133,6 +133,7 @@ export interface ICreateReportsRequest {
133
133
  export interface ICreateReconciliationsReportV3Request {
134
134
  accounts: string[];
135
135
  columns: string[];
136
+ columns_metadata?: string[];
136
137
  filters: Record<string, unknown>;
137
138
  }
138
139
  export interface IListScheduledReportsResponse {
@@ -36,9 +36,16 @@ export interface SubscriptionAvailability {
36
36
  start_at: string;
37
37
  finish_at: string;
38
38
  }
39
+ export interface SubscriptionRetryScheduleItem {
40
+ attempt: number;
41
+ delay_seconds: number;
42
+ }
39
43
  export interface SubscriptionRetries {
40
44
  retry_on_decline: boolean;
41
45
  amount: number;
46
+ strategy?: string;
47
+ schedule?: SubscriptionRetryScheduleItem[];
48
+ stop_on_hard_decline?: boolean;
42
49
  }
43
50
  export interface SubscriptionMetadata {
44
51
  key: string;
@@ -5,6 +5,9 @@ export interface TemplateMetadata {
5
5
  timezone: {
6
6
  enabled: boolean;
7
7
  };
8
+ columns_metadata?: {
9
+ enabled: boolean;
10
+ };
8
11
  }
9
12
  export interface TemplateSelection {
10
13
  version: number;
@@ -14,6 +17,7 @@ export interface TemplateSelection {
14
17
  mode: ColumnModeType;
15
18
  keys?: string[];
16
19
  };
20
+ columns_metadata?: string[];
17
21
  }
18
22
  export interface ReportTemplateMetadata {
19
23
  id: number;
@@ -17,146 +17,3 @@ export declare const typesInsightsExport: {
17
17
  CR_FALLBACK: string;
18
18
  };
19
19
  export declare const dataIsNull: (res: any) => boolean;
20
- export declare const cmsStatusPaymentStyles: {
21
- status: string;
22
- sub_status: string;
23
- icon: string;
24
- type: string;
25
- label: string;
26
- sub_status_icon: string;
27
- sub_status_label: string;
28
- }[];
29
- export declare const cmsStatusTransactionsStyles: {
30
- status: string;
31
- icon: string;
32
- type: string;
33
- label: string;
34
- }[];
35
- export declare const cmsStatusReconciliationsTransactionsStyles: {
36
- id: number;
37
- status: string;
38
- sub_status: string;
39
- type: string;
40
- label: string;
41
- icon: string;
42
- sub_status_label: string;
43
- sub_status_icon: string;
44
- }[];
45
- export declare const cmsTimezoneCatalog: {
46
- identifier: string;
47
- utc_offset: {
48
- dst: string;
49
- std: string;
50
- };
51
- abbreviation: {
52
- dst: string;
53
- std: string;
54
- };
55
- }[];
56
- export declare const cmsAuditFilters: {
57
- id: number;
58
- value: string;
59
- type: string;
60
- }[];
61
- export declare const cmsStaticContents: {
62
- docs_url: string;
63
- };
64
- export declare const cmsMenu: {
65
- en: ({
66
- text: string;
67
- pathname: string;
68
- position: number;
69
- icon: string;
70
- type: null;
71
- target: null;
72
- permission: string;
73
- locale: string;
74
- submenues: null;
75
- } | {
76
- text: string;
77
- pathname: null;
78
- position: number;
79
- icon: string;
80
- type: string;
81
- target: null;
82
- permission: string;
83
- locale: string;
84
- submenues: null;
85
- } | {
86
- text: string;
87
- pathname: string;
88
- position: number;
89
- icon: string;
90
- type: null;
91
- target: string;
92
- permission: string;
93
- locale: string;
94
- submenues: null;
95
- })[];
96
- pt: ({
97
- text: string;
98
- pathname: string;
99
- position: number;
100
- icon: string;
101
- type: null;
102
- target: null;
103
- permission: string;
104
- locale: string;
105
- submenues: null;
106
- } | {
107
- text: string;
108
- pathname: null;
109
- position: number;
110
- icon: string;
111
- type: string;
112
- target: null;
113
- permission: string;
114
- locale: string;
115
- submenues: null;
116
- } | {
117
- text: string;
118
- pathname: string;
119
- position: number;
120
- icon: string;
121
- type: null;
122
- target: string;
123
- permission: string;
124
- locale: string;
125
- submenues: null;
126
- })[];
127
- es: ({
128
- text: string;
129
- pathname: string;
130
- position: number;
131
- icon: string;
132
- type: null;
133
- target: null;
134
- permission: string;
135
- locale: string;
136
- submenues: null;
137
- } | {
138
- text: string;
139
- pathname: null;
140
- position: number;
141
- icon: string;
142
- type: string;
143
- target: null;
144
- permission: string;
145
- locale: string;
146
- submenues: null;
147
- } | {
148
- text: string;
149
- pathname: string;
150
- position: number;
151
- icon: string;
152
- type: null;
153
- target: string;
154
- permission: string;
155
- locale: string;
156
- submenues: null;
157
- })[];
158
- };
159
- export declare const cmsLocales: {
160
- code: string;
161
- name: string;
162
- }[];