@yuno-payments/dashboard-api-mfe 0.34.21 → 0.34.22
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.
- package/build/cjs/index.js +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/queries/feature-flags/index.d.ts +13 -8
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/queries/feature-flags/index.d.ts +13 -8
- package/build/index.d.ts +14 -9
- package/package.json +1 -1
|
@@ -5,15 +5,14 @@ export interface FeatureFlagsResult {
|
|
|
5
5
|
}
|
|
6
6
|
export declare function useFeatureFlags(data: FeatureFlags.Request): UseQueryResult<FeatureFlagsResult, unknown>;
|
|
7
7
|
export declare function useFeatureFlagsAll(names: string[], body: FeatureFlags.RequestAll): UseQueryResult<FeatureFlagsResult, unknown>;
|
|
8
|
-
export interface CachedFeatureFlagResult {
|
|
9
|
-
data: boolean;
|
|
10
|
-
}
|
|
11
8
|
export declare function useCachedFeatureFlag(name: string): {
|
|
12
9
|
data: {
|
|
13
10
|
result: any;
|
|
14
|
-
};
|
|
11
|
+
} | undefined;
|
|
15
12
|
} | {
|
|
16
|
-
data:
|
|
13
|
+
data: {
|
|
14
|
+
result: any;
|
|
15
|
+
} | undefined;
|
|
17
16
|
error: unknown;
|
|
18
17
|
isError: true;
|
|
19
18
|
isLoading: false;
|
|
@@ -39,7 +38,9 @@ export declare function useCachedFeatureFlag(name: string): {
|
|
|
39
38
|
remove: () => void;
|
|
40
39
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
41
40
|
} | {
|
|
42
|
-
data:
|
|
41
|
+
data: {
|
|
42
|
+
result: any;
|
|
43
|
+
} | undefined;
|
|
43
44
|
error: null;
|
|
44
45
|
isError: false;
|
|
45
46
|
isLoading: false;
|
|
@@ -65,7 +66,9 @@ export declare function useCachedFeatureFlag(name: string): {
|
|
|
65
66
|
remove: () => void;
|
|
66
67
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
67
68
|
} | {
|
|
68
|
-
data:
|
|
69
|
+
data: {
|
|
70
|
+
result: any;
|
|
71
|
+
} | undefined;
|
|
69
72
|
error: unknown;
|
|
70
73
|
isError: true;
|
|
71
74
|
isLoading: false;
|
|
@@ -91,7 +94,9 @@ export declare function useCachedFeatureFlag(name: string): {
|
|
|
91
94
|
remove: () => void;
|
|
92
95
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
93
96
|
} | {
|
|
94
|
-
data:
|
|
97
|
+
data: {
|
|
98
|
+
result: any;
|
|
99
|
+
} | undefined;
|
|
95
100
|
error: null;
|
|
96
101
|
isError: false;
|
|
97
102
|
isLoading: true;
|
package/build/index.d.ts
CHANGED
|
@@ -4460,15 +4460,14 @@ interface FeatureFlagsResult {
|
|
|
4460
4460
|
}
|
|
4461
4461
|
declare function useFeatureFlags(data: FeatureFlags.Request): UseQueryResult<FeatureFlagsResult, unknown>;
|
|
4462
4462
|
declare function useFeatureFlagsAll(names: string[], body: FeatureFlags.RequestAll): UseQueryResult<FeatureFlagsResult, unknown>;
|
|
4463
|
-
interface CachedFeatureFlagResult {
|
|
4464
|
-
data: boolean;
|
|
4465
|
-
}
|
|
4466
4463
|
declare function useCachedFeatureFlag(name: string): {
|
|
4467
4464
|
data: {
|
|
4468
4465
|
result: any;
|
|
4469
|
-
};
|
|
4466
|
+
} | undefined;
|
|
4470
4467
|
} | {
|
|
4471
|
-
data:
|
|
4468
|
+
data: {
|
|
4469
|
+
result: any;
|
|
4470
|
+
} | undefined;
|
|
4472
4471
|
error: unknown;
|
|
4473
4472
|
isError: true;
|
|
4474
4473
|
isLoading: false;
|
|
@@ -4494,7 +4493,9 @@ declare function useCachedFeatureFlag(name: string): {
|
|
|
4494
4493
|
remove: () => void;
|
|
4495
4494
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
4496
4495
|
} | {
|
|
4497
|
-
data:
|
|
4496
|
+
data: {
|
|
4497
|
+
result: any;
|
|
4498
|
+
} | undefined;
|
|
4498
4499
|
error: null;
|
|
4499
4500
|
isError: false;
|
|
4500
4501
|
isLoading: false;
|
|
@@ -4520,7 +4521,9 @@ declare function useCachedFeatureFlag(name: string): {
|
|
|
4520
4521
|
remove: () => void;
|
|
4521
4522
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
4522
4523
|
} | {
|
|
4523
|
-
data:
|
|
4524
|
+
data: {
|
|
4525
|
+
result: any;
|
|
4526
|
+
} | undefined;
|
|
4524
4527
|
error: unknown;
|
|
4525
4528
|
isError: true;
|
|
4526
4529
|
isLoading: false;
|
|
@@ -4546,7 +4549,9 @@ declare function useCachedFeatureFlag(name: string): {
|
|
|
4546
4549
|
remove: () => void;
|
|
4547
4550
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
4548
4551
|
} | {
|
|
4549
|
-
data:
|
|
4552
|
+
data: {
|
|
4553
|
+
result: any;
|
|
4554
|
+
} | undefined;
|
|
4550
4555
|
error: null;
|
|
4551
4556
|
isError: false;
|
|
4552
4557
|
isLoading: true;
|
|
@@ -5212,4 +5217,4 @@ declare enum ApiErrorCodes {
|
|
|
5212
5217
|
}
|
|
5213
5218
|
|
|
5214
5219
|
export { Accounts, Api, ApiErrorCodes, ApiProvider, ApiSingleton, Audit, BatchRefunds, Checkout, Cms, Connection, Country, DataReport, Developer, FraudScreening, MFA, Notifications, OperationTransaction, Organization, OrganizationSettings, Payment, PaymentLinks, Payouts, Reconciliation, ReconciliationAdvancements, ReconciliationAgenda, ReconciliationAgendaInsight, ReconciliationAlerts, ReconciliationFees, ReconciliationReportType, ReconciliationSales, ReportType, Reports, RoutingMonitors, S3Client, SamlConfig, SendPaymentNotification, SmartRouting, Team, TemplateType, User, VelocityRules, Webhook, getQueryKeyGetNameAndIcon, getQueryKeyRequiredFields, queryCache, queryClient, useAICreateWorkflow, useAllowListDetail, useArchiveConnection, useBlackListDetail, useCachedFeatureFlag, useCancelReport, useChangePassword, useChangePasswordV2, useChangePaymentsWebhook, useChangeState, useChangeStatusBlackList, useChangeStatusItemBlackList, useChargebacksUpload, useConfirmedOtpForEnrollment, useConfirmedOtpMfa, useConversionRateOverview, useConversionRateOverviewFraud3ds, useCountRowsForReport, useCreateMonitorTemplate, useCreateMonitorThreshold, useCreateNotification, useCreateOperationTransaction, useCreatePaymentLinks, useCreateProductsByAccount, useCreateReconciliationAlert, useCreateReconciliationReportTemplate, useCreateReconciliationsReportV2, useCreateReport, useCreateReportTemplate, useCreateReportV2, useCreateRoles, useCreateSamlConfig, useCreateScheduledReport, useCreateUserAuth0, useCreateWorkflow, useDashboardInsights, useDashboardInsightsIsolated, useDeleteAccountsUserMassive, useDeleteAllowlistItem, useDeleteBlackListItem, useDeleteBlackListType, useDeleteBlockListItem, useDeleteConnection, useDeleteCustomizedApiKeys, useDeletePaymentLink, useDeleteReconciliationAlert, useDeleteRoles, useDeleteSamlConfig, useDeleteScheduledReport, useDeleteUserTeam, useDeleteUserTeamV2, useDeleteVersion, useDeleteWebhook, useDeleteWebhookV2, useDuplicateVersion, useEditPaymentLinks, useEditRoles, useEmailVerification, useExcludeUsers, useFeatureFlags, useFeatureFlagsAll, useFirebaseUserSubscribe, useGetAccounts, useGetAccountsByUser, useGetAccountsV2, useGetAllConfigRules, useGetAllOrganizations, useGetAllReconciliationsAdvancements, useGetAllReconciliationsAgenda, useGetAllReconciliationsAlerts, useGetAllReconciliationsFees, useGetAllReconciliationsSales, useGetAllTableColumns, useGetAllowedIps, useGetAuditEvents, useGetAuditLogsFilters, useGetAuditMonitorEventDetail, useGetBatchRefunds, useGetBlackList, useGetBlockListSummary, useGetCardBrands, useGetCheckoutTemplate, useGetCheckouts, useGetConditionalConfigRules, useGetConfigAllowlist, useGetConnections, useGetConnectionsByPaymentMethod, useGetCountriesConfigPaymentLink, useGetCredentials, useGetCredentialsMFA, useGetCredentialsValidatePassword, useGetCustomizedApiKeys, useGetCustomizedApiKeysAccounts, useGetCustomizedApiKeysMembers, useGetCustomizedApiKeysProducts, useGetCustomizedApiKeysShowToken, useGetCustomizedApiKeysToken, useGetDashboardStaticContents, useGetDialogs, useGetDownloadReport, useGetEmailOtp, useGetHashPylon, useGetIndividualMFAStatus, useGetInsightsReport, useGetInsightsReportAgain, useGetIntegrationByAccount, useGetIntegrationByAccountV2, useGetIntegrationParams, useGetLocales, useGetLoginMethods, useGetMFAConfig, useGetMFAExcludedUsers, useGetMFAStatus, useGetMembers, useGetMembersV3, useGetMembersV4, useGetMenu, useGetMergedNotifications, useGetNameAndIcon, useGetNotificationsAccount, useGetNotificationsCustomer, useGetNotificationsNumber, useGetNotificationsNumberMutation, useGetOrganization, useGetPayment, useGetPaymentAndTrxStatuses, useGetPaymentFilters, useGetPaymentLinkByCode, useGetPaymentLinks, useGetPaymentMethodsAndProviders, useGetPaymentMethodsAndProvidersActive, useGetPaymentMethodsByProvider, useGetPaymentMetricsFilters, useGetPaymentStatusesStyles, useGetPaymentTransactions, useGetPaymentTransactionsDetails, useGetPaymentTransactionsLazy, useGetPaymentV2, useGetPaymentsByPaymentLink, useGetPaymentsMethodsByCountry, useGetPayoutDetail, useGetPayoutHistoryDetail, useGetPayoutTransactionDetail, useGetPermissions, useGetPermissionsCatalog, useGetProductsByAccount, useGetProfile, useGetProofOfCancel, useGetProviderParams, useGetReconciliationActive, useGetReconciliationAgendaInsightsByKey, useGetReconciliationFilters, useGetReconciliationMetrics, useGetReconciliationTransactionStatusesStyles, useGetReconciliationTransactions, useGetReconciliationsReportColumns, useGetReconciliationsReportTemplates, useGetRefundPdf, useGetReportColumns, useGetReportTemplates, useGetReportsList, useGetReportsListMultiEnv, useGetRequiredFields, useGetRoles, useGetRolesPermissions, useGetRoutingMonitorsTemplate, useGetRoutingMonitorsTemplates, useGetRule, useGetSamlConfig, useGetScheduledReportsList, useGetSettlements, useGetSettlementsBody, useGetSettlementsHeader, useGetSmartRoutingConditionPaymentMethod, useGetSmartRoutingConditionTypes, useGetSmartRoutingConditionTypesValues, useGetSmartRoutingDataReport, useGetSmartRoutingDeclineGroups, useGetSmartRoutingMethods, useGetSmartRoutingNextRoute, useGetSmartRoutingPaymentRoute, useGetSmartRoutingSearchConditionValues, useGetSmartRoutingSimulateConditionTypeValues, useGetSmartRoutingTutorial, useGetSmartRoutingWorkflow, useGetSmartRoutingWorkflowVersion, useGetStylingSettings, useGetStylingTheme, useGetTeamsFiltersMembers, useGetTimeZoneCatalog, useGetTimezonePaymentLink, useGetTokenForEnrollment, useGetTokenValidation, useGetTransactionDetails, useGetTransactionDetailsV2, useGetTransactionHistory, useGetTransactionHistoryByPaymentCode, useGetTransactionStatusesStyles, useGetTransactions, useGetValidateOpsgenieKey, useGetWebhookParams, useGetWebhookParamsV2, useGetWebhooks, useGetWebhooksV2, useGetWebhooksV2Detail, useGetWebhooksV3, useInsights3dsConversionRateAndEvolution, useInsights3dsDeclineReasons, useInsights3dsFrictionlessVsChallenge, useInsights3dsVolumeAndCountTx, useInsightsChargebacksByCardBrand, useInsightsChargebacksByProviderAndCardBrand, useInsightsChargebacksDisputed, useInsightsChargebacksReasonsDistribution, useInsightsChargebacksStatusDistribution, useInsightsChargebacksVolumeAndCountTx, useInsightsChargebacksWinRate, useInsightsConversionRateMetrics, useInsightsConversionRateMetricsV2, useInsightsCustomerPaymentsAndFraudMetrics, useInsightsFallbackMetrics, useInsightsFraudScreeningConversionRate, useInsightsFraudScreeningVolumeAndCountTx, useInsightsHomeMetrics, useInsightsOverviewMetrics, useInsightsOverviewMetricsV3, useInsightsTotalPaymentsAndFraudMetrics, useInsightsVolumeMetrics, useInsightsVolumeMetricsV2, useInviteUsers, useInviteUsersMultiaccount, useInviteUsersMultiaccountMassive, useIsTesting, useLoginMethods, useLoginSSO, useNewPostConnection, useNewPostConnectionValidate, useOneBlackList, usePatchAccount, usePatchAccountV2, usePatchAddAllowlistItems, usePatchAllowedIps, usePatchAllowlist, usePatchApiKeysEditNote, usePatchChangeStatusAllowlist, usePatchChangeStatusAllowlistItem, usePatchConnection, usePathCreateCustomizedApiKeys, usePathNotifications, usePayoutsFilters, usePayoutsList, usePostAccount, usePostAllowlistMultiAccount, usePostApiKeysRoll, usePostAuditMonitors, usePostBatchRefundByFile, usePostBlackListBatch, usePostBlackListItems, usePostBlackListMultiAccount, usePostBlackListType, usePostBlockList, usePostCall, usePostChangeStatusConnection, usePostConnection, usePostConnectionMultiAccount, usePostCreateAllowlistMultiAccount, usePostCreateCustomizedApiKeys, usePostCreateInsightsReport, usePostCreateRule, usePostCreateRuleMultiAccount, usePostCredentialsValidatePassword, usePostDefaultRoutes, usePostEditRule, usePostFraudTransactions, usePostGetAllowlistItems, usePostGetAllowlistMultiAccount, usePostMembersPaginated, usePostMembersPaginatedV2, usePostMembersV4, usePostPaymentsEvaluated, usePostPaymentsLazy, usePostSlackMessageChannel, usePostTransactions, usePostUserSettings, usePostUserSettingsPinned, usePostUserSettingsTables, usePostUserThemeSettings, usePostValidateOtp, usePostValidatePassword, usePostValideStatusConnection, usePostVelocityRules, usePostWebhook, usePostWebhookMultiAccount, usePostWebhookV2, useProviderConversionRatesData, usePublishVersion, usePutAccountPrincipal, usePutAccountsUser, usePutAccountsUserMassive, usePutBlackListType, usePutCosts, useSaveVersion, useSendOTPForMFA, useSendPaymentNotification, useSetCustodian, useSetRoles, useSmartRoutingCreateDeclinedGroup, useSmartRoutingEditWorkflowName, useSmartRoutingMultiAccountDeclinedGroupCreate, useSmartRoutingRemoveDeclinedGroup, useSmartRoutingSimulateTransaction, useSmartRoutingToggleFavorite, useSmartRoutingUpdateDeclinedGroup, useSmartRoutingUpdateMonitorRedistribution, useSmartRoutingUpdateTutorial, useToggleMethod, useUnInviteUsers, useUnInviteUsersV2, useUnrollUser, useUnrollUserV2, useUpdateCheckoutPaymentMethods, useUpdateCheckoutTemplate, useUpdateIsActiveCheckout, useUpdateMFAConfig, useUpdateOrganizationStatus, useUpdateProfile, useUpdateReconciliationAlert, useUpdateReconciliationReportTemplate, useUpdateReportTemplate, useUpdateSamlConfig, useUpdateScheduledReport, useUpdateStylingTheme, useUpdateWebhook, useUpdateWebhookV2, useUploadBatchRefundsFile, useUploadBatchRefundsFileV2, useUploadBatchRefundsV2, useUploadFileS3ClientBatchRefunds, useValiateAllowlistItems, useValidateBlockListItems, useValidateConnection, useValidateCredentials, useValidateOrgName, useValidatePasswordStatus, useViewMoreMetrics };
|
|
5215
|
-
export type { AccountRoles, AllowlistMultiAccount, BFFErrorResponse, Blacklist,
|
|
5220
|
+
export type { AccountRoles, AllowlistMultiAccount, BFFErrorResponse, Blacklist, ChangePaymentsWebhook, ChargebacksCount, ChargebacksVolume, Condition, ConversionRateBody, ConversionRateOverview, ConversionRateOverviewFraud3ds, ConversionRateParams, ConversionRatePeriodicityRecord, Cost, CostPayload, Countries, ErrorProp, ErrorRoutingAIResponse, ErrorRoutingAIResponseData, FeatureFlagsResult, FirebaseUserSubscribe, Fraud3dsCount, Fraud3dsVolume, FraudScreeningCount, FraudScreeningVolume, GetApiLogsParams, GetPaymentMethodsByProviderParams, GetPaymentParams, GetPaymentTransactionsParams, GetPaymentsEvaluatedParams, GetPaymentsParams, GetPayoutDetail, GetPayoutTransactionDetail, GetReconciliationMetricParams, GetTransactionDetailsParams, GetTransactionDetailsV2Params, GetTransactionsParams, IChangePassword, ICreateReportsRequest, IKeyRoll, IListScheduledReportsResponse, InsightMetricParams, Insights3dsConversionRate, Insights3dsDeclineReasons, Insights3dsFrictionlessVsChallenge, Insights3dsResumeResponse, InsightsChargebacksByCardBrand, InsightsChargebacksByProviderAndCardBrand, InsightsChargebacksByReason, InsightsChargebacksDisputed, InsightsChargebacksResumeResponse, InsightsChargebacksStatusDistribution, InsightsChargebacksWinRate, InsightsFraudBody, InsightsFraudConversionRateResponse, InsightsFraudParams, InsightsFraudScreeningResumeResponse, MfaUserPayload, MfaUserSubscribe, PathNotification, PaymentMethodStyled, PaymentsSettings, PeriodicityRecord, PinnedSections, PostBlackList, ProviderStyled, ReconAgendaProps, RefundPdfResponse, ThemeSettings, TimeZoneCatalog, TotalTimeline, TransactionHistory, UseGetAllReconciliationsAdvancementsProps, UseGetAllReconciliationsAlertsProps, UseGetAllReconciliationsFeesProps, UseGetAllReconciliationsSalesProps, UserInviteMultiaccountPayload };
|