@yuno-payments/dashboard-api-mfe 0.36.4 → 0.36.5
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 +7 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +3 -132
- package/build/cjs/types/mutations/accounts/accounts.mutation.d.ts +7 -63
- package/build/cjs/types/mutations/accounts/index.d.ts +0 -1
- package/build/cjs/types/mutations/batch-refunds/batch-refunds.mutation.d.ts +0 -3
- package/build/cjs/types/mutations/checkouts/checkouts.mutation.d.ts +0 -4
- package/build/cjs/types/mutations/connections/connections.mutation.d.ts +0 -15
- package/build/cjs/types/mutations/developers/developers.mutation.d.ts +0 -1
- package/build/cjs/types/mutations/fraud-screening/fraud-screening.mutation.d.ts +0 -2
- package/build/cjs/types/mutations/multi-factor-authentication/multi-factor-authentication.mutation.d.ts +0 -7
- package/build/cjs/types/mutations/notifications/notifications.mutation.d.ts +0 -2
- package/build/cjs/types/mutations/payment-links/payment-links.mutation.d.ts +0 -4
- package/build/cjs/types/mutations/reports/reports.mutation.d.ts +0 -1
- package/build/cjs/types/mutations/security/security.mutation.d.ts +0 -1
- package/build/cjs/types/mutations/smart-routing/smart-routing.mutation.d.ts +0 -7
- package/build/cjs/types/mutations/team/team.mutation.d.ts +0 -2
- package/build/cjs/types/mutations/users/users.mutation.d.ts +0 -5
- package/build/cjs/types/mutations/velocity-rules/velocity-rules.mutation.d.ts +0 -1
- package/build/cjs/types/queries/accounts/accounts.query.d.ts +1 -10
- package/build/cjs/types/queries/accounts/index.d.ts +0 -1
- package/build/cjs/types/queries/data-report/data-report.query.d.ts +0 -3
- package/build/cjs/types/queries/data-report/index.d.ts +0 -1
- package/build/cjs/types/queries/developers/developers.query.d.ts +0 -3
- package/build/cjs/types/queries/fraud-screening/fraud-screening.query.d.ts +0 -1
- package/build/cjs/types/queries/notifications/notifications.query.d.ts +0 -2
- package/build/cjs/types/queries/organizations/organizations.query.d.ts +0 -4
- package/build/cjs/types/queries/payment-links/payment-links.query.d.ts +1 -7
- package/build/cjs/types/queries/payments/payments.query.d.ts +3 -13
- package/build/cjs/types/queries/reconciliations/reconciliations.query.d.ts +0 -2
- package/build/cjs/types/queries/smart-routing/smart-routing.query.d.ts +0 -1
- package/build/cjs/types/queries/team/team.query.d.ts +0 -18
- package/build/cjs/types/queries/users/users.query.d.ts +2 -1
- package/build/cjs/types/types/reconciliation/reconciliation-fees.d.ts +5 -7
- package/build/cjs/types/types/user/user.d.ts +15 -0
- package/build/esm/index.js +7 -7
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +3 -132
- package/build/esm/types/mutations/accounts/accounts.mutation.d.ts +7 -63
- package/build/esm/types/mutations/accounts/index.d.ts +0 -1
- package/build/esm/types/mutations/batch-refunds/batch-refunds.mutation.d.ts +0 -3
- package/build/esm/types/mutations/checkouts/checkouts.mutation.d.ts +0 -4
- package/build/esm/types/mutations/connections/connections.mutation.d.ts +0 -15
- package/build/esm/types/mutations/developers/developers.mutation.d.ts +0 -1
- package/build/esm/types/mutations/fraud-screening/fraud-screening.mutation.d.ts +0 -2
- package/build/esm/types/mutations/multi-factor-authentication/multi-factor-authentication.mutation.d.ts +0 -7
- package/build/esm/types/mutations/notifications/notifications.mutation.d.ts +0 -2
- package/build/esm/types/mutations/payment-links/payment-links.mutation.d.ts +0 -4
- package/build/esm/types/mutations/reports/reports.mutation.d.ts +0 -1
- package/build/esm/types/mutations/security/security.mutation.d.ts +0 -1
- package/build/esm/types/mutations/smart-routing/smart-routing.mutation.d.ts +0 -7
- package/build/esm/types/mutations/team/team.mutation.d.ts +0 -2
- package/build/esm/types/mutations/users/users.mutation.d.ts +0 -5
- package/build/esm/types/mutations/velocity-rules/velocity-rules.mutation.d.ts +0 -1
- package/build/esm/types/queries/accounts/accounts.query.d.ts +1 -10
- package/build/esm/types/queries/accounts/index.d.ts +0 -1
- package/build/esm/types/queries/data-report/data-report.query.d.ts +0 -3
- package/build/esm/types/queries/data-report/index.d.ts +0 -1
- package/build/esm/types/queries/developers/developers.query.d.ts +0 -3
- package/build/esm/types/queries/fraud-screening/fraud-screening.query.d.ts +0 -1
- package/build/esm/types/queries/notifications/notifications.query.d.ts +0 -2
- package/build/esm/types/queries/organizations/organizations.query.d.ts +0 -4
- package/build/esm/types/queries/payment-links/payment-links.query.d.ts +1 -7
- package/build/esm/types/queries/payments/payments.query.d.ts +3 -13
- package/build/esm/types/queries/reconciliations/reconciliations.query.d.ts +0 -2
- package/build/esm/types/queries/smart-routing/smart-routing.query.d.ts +0 -1
- package/build/esm/types/queries/team/team.query.d.ts +0 -18
- package/build/esm/types/queries/users/users.query.d.ts +2 -1
- package/build/esm/types/types/reconciliation/reconciliation-fees.d.ts +5 -7
- package/build/esm/types/types/user/user.d.ts +15 -0
- package/build/index.d.ts +33 -363
- package/package.json +1 -1
- package/build/cjs/types/mutations/accounts/types.d.ts +0 -25
- package/build/cjs/types/queries/accounts/types.d.ts +0 -21
- package/build/cjs/types/queries/data-report/conversion-rate/conversion-rate.query.d.ts +0 -5
- package/build/esm/types/mutations/accounts/types.d.ts +0 -25
- package/build/esm/types/queries/accounts/types.d.ts +0 -21
- package/build/esm/types/queries/data-report/conversion-rate/conversion-rate.query.d.ts +0 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import { HttpClient } from '../lib/http-client';
|
|
3
|
-
import { GetPaymentsParams,
|
|
3
|
+
import { GetPaymentsParams, GetReconciliationMetricParams, FirebaseUserSubscribe, PathNotification, TimeZoneCatalog, GetTransactionDetailsV2Params, MfaUserSubscribe, UserInviteMultiaccountPayload, GetTransactionsParams, PaymentsSettings, GetPayoutDetail, GetPayoutTransactionDetail, PinnedSections, ThemeSettings } from './api.types';
|
|
4
4
|
import { Audit, OperationTransaction, Organization, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, Payment, InsightsFraudParams, InsightsFraudBody } from '../types';
|
|
5
5
|
import { ConversionRateParams, ConversionRateBody, ConversionRateOverview, ConversionRateOverviewFraud3ds } from '../types/data-report/conversion-rate.types';
|
|
6
6
|
import { RoutingMonitors } from '../types/routing-monitors';
|
|
@@ -10,8 +10,6 @@ import { AllowedList } from '../types/allowed-list';
|
|
|
10
10
|
import { Cost } from '../types/connection/costs';
|
|
11
11
|
import { Styling } from '../types/checkout/styling/styling';
|
|
12
12
|
import { FeatureFlags } from '../types/feature-flags/intex';
|
|
13
|
-
import { DuplicateAccountBody, DuplicateAccountResponse, RetryDuplicateAccountResponse } from '../mutations/accounts/types';
|
|
14
|
-
import { PendingDuplicateAccountsResponse } from '../queries/accounts/types';
|
|
15
13
|
import { FeatureFlagsResult } from '../queries';
|
|
16
14
|
interface S3Payload {
|
|
17
15
|
payload: S3Client.PayloadV2;
|
|
@@ -24,8 +22,6 @@ export declare class Api extends HttpClient {
|
|
|
24
22
|
createReconciliationReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
25
23
|
getReconciliationTransactions<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
26
24
|
getReconciliationSettlements<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
27
|
-
getReconciliationSettlementsHeader<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
28
|
-
getReconciliationSettlementsBody<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
29
25
|
getReconciliationMetrics<T>(params: GetReconciliationMetricParams): Promise<AxiosResponse<T, unknown>>;
|
|
30
26
|
getReconciliationFilters<T>(): Promise<AxiosResponse<T, unknown>>;
|
|
31
27
|
getReconciliationsReportColumns<T>(templateType: TemplateType, reportType: ReconciliationReportType): Promise<AxiosResponse<T, any>>;
|
|
@@ -41,16 +37,11 @@ export declare class Api extends HttpClient {
|
|
|
41
37
|
getReconciliationSales<T>(body: ReconciliationSales.FiltersRequestBody, params: ReconciliationSales.FiltersRequestParams): Promise<AxiosResponse<T>>;
|
|
42
38
|
getReconciliationAdvancements<T>(body: ReconciliationAdvancements.FiltersRequestBody, params: ReconciliationAdvancements.FiltersRequestParams): Promise<AxiosResponse<T>>;
|
|
43
39
|
getReconciliationFees<T>(body: ReconciliationFees.FiltersRequestBody, params: ReconciliationFees.FiltersRequestParams): Promise<AxiosResponse<T>>;
|
|
44
|
-
getPayments<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
|
|
45
40
|
postPaymentsLazy<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
|
|
46
41
|
postPayouts<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
|
|
47
42
|
getPayoutsFilters<T>(organizationCode: any): Promise<AxiosResponse<T>>;
|
|
48
43
|
postPaymentsEvaluated<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
|
|
49
|
-
getPayment<T>(params: GetPaymentParams): Promise<AxiosResponse<T, any>>;
|
|
50
44
|
getPaymentV2<T>(paymentCode: string): Promise<AxiosResponse<T, any>>;
|
|
51
|
-
getPaymentTransactions<T>(payment_code: string, params: GetPaymentTransactionsParams & GetPaymentParams): Promise<AxiosResponse<T, any>>;
|
|
52
|
-
getPaymentTransactionsLazy<T>(payment_code: string): Promise<AxiosResponse<T, any>>;
|
|
53
|
-
getTransactions<T>(params: GetTransactionsParams): Promise<AxiosResponse<T, any>>;
|
|
54
45
|
postTransactions<T>(params: GetTransactionsParams): Promise<AxiosResponse<T, any>>;
|
|
55
46
|
postFraudTransactions<T>(params: GetTransactionsParams): Promise<AxiosResponse<T, any>>;
|
|
56
47
|
getPayoutDetails<T>(params: GetPayoutDetail): Promise<AxiosResponse<T, any>>;
|
|
@@ -59,17 +50,10 @@ export declare class Api extends HttpClient {
|
|
|
59
50
|
getPaymentMethodsByCountry<T>({ provider_id, country }: Organization.PaymentMethods, organizationCodeFromAccount: any): Promise<AxiosResponse<T, any>>;
|
|
60
51
|
getOrgByName<T>(name: any): Promise<AxiosResponse<T, any>>;
|
|
61
52
|
createOperationTransaction<T>(payload: OperationTransaction.Request, transactionId: string, paymentId: string, action: OperationTransaction.Actions): Promise<AxiosResponse<T, any>>;
|
|
62
|
-
getPaymentMethodsByProvider<T>(params: GetPaymentMethodsByProviderParams): Promise<AxiosResponse<T, any>>;
|
|
63
|
-
getPaymentMethodsAndProvidersActive<T>(): Promise<AxiosResponse<T, any>>;
|
|
64
53
|
getPaymentMethodsAndProviders<T>(): Promise<AxiosResponse<T, any>>;
|
|
65
|
-
useGetPaymentAndTrxStatuses<T>(): Promise<AxiosResponse<T, any>>;
|
|
66
|
-
getTransactionDetails<T>(params: GetTransactionDetailsParams): Promise<AxiosResponse<T, any>>;
|
|
67
54
|
getTransactionDetailsV2<T>(params: GetTransactionDetailsV2Params): Promise<AxiosResponse<T, any>>;
|
|
68
55
|
getTransactionRawResponse<T>(params: GetTransactionDetailsV2Params): Promise<AxiosResponse<T, any>>;
|
|
69
56
|
uploadChargebacks<T>(payload: Payment.UploadRequest, paymentId: string, transactionId: string, handleSetProgress: (progress: number) => void): Promise<AxiosResponse<T, any>>;
|
|
70
|
-
getTransactionHistory<T>({ transaction_code, }: {
|
|
71
|
-
transaction_code: any;
|
|
72
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
73
57
|
getPaymentTransactionsDetails<T>({ transaction_code, }: {
|
|
74
58
|
transaction_code: any;
|
|
75
59
|
}): Promise<AxiosResponse<T, any>>;
|
|
@@ -83,10 +67,6 @@ export declare class Api extends HttpClient {
|
|
|
83
67
|
getOrganization<T>(): Promise<AxiosResponse<T, any>>;
|
|
84
68
|
getAllOrganization<T>(): Promise<AxiosResponse<T, any>>;
|
|
85
69
|
getProviderParams<T>(param: any, organizationCodeFromAccount: any): Promise<AxiosResponse<T, any>>;
|
|
86
|
-
getIntegrationByAccount<T>({ accountCode, organizationCode, }: {
|
|
87
|
-
accountCode: string;
|
|
88
|
-
organizationCode: string;
|
|
89
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
90
70
|
getIntegrationByAccountV2<T>({ accountCode, organizationCode, }: {
|
|
91
71
|
accountCode: string;
|
|
92
72
|
organizationCode: string;
|
|
@@ -111,27 +91,14 @@ export declare class Api extends HttpClient {
|
|
|
111
91
|
payload: any;
|
|
112
92
|
accountCode: any;
|
|
113
93
|
}): Promise<AxiosResponse<T, any>>;
|
|
114
|
-
postConnection<T>({ payload, accountCode, }: {
|
|
115
|
-
payload: any;
|
|
116
|
-
accountCode: any;
|
|
117
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
118
94
|
postMultiConnection<T>({ payload }: {
|
|
119
95
|
payload: any;
|
|
120
96
|
}): Promise<AxiosResponse<T, any>>;
|
|
121
97
|
postMultiConnectionValidate<T>(): Promise<AxiosResponse<T, any>>;
|
|
122
|
-
newPostConnection<T>({ payload, accountCode, }: {
|
|
123
|
-
payload: any;
|
|
124
|
-
accountCode: any;
|
|
125
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
126
98
|
patchConnection<T>({ payload, connectionCode, }: {
|
|
127
99
|
payload: any;
|
|
128
100
|
connectionCode: any;
|
|
129
101
|
}): Promise<AxiosResponse<T, any>>;
|
|
130
|
-
deleteConnection<T>(connectionCode: any): Promise<AxiosResponse<T, any>>;
|
|
131
|
-
postArchiveConnection<T>({ payload, connectionCode, }: {
|
|
132
|
-
payload: any;
|
|
133
|
-
connectionCode: any;
|
|
134
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
135
102
|
postDefaultRoutes<T>({ payload, }: {
|
|
136
103
|
payload: {
|
|
137
104
|
provider_id: string;
|
|
@@ -139,20 +106,7 @@ export declare class Api extends HttpClient {
|
|
|
139
106
|
};
|
|
140
107
|
}): Promise<AxiosResponse<T, any>>;
|
|
141
108
|
getDialogs<T>(): Promise<AxiosResponse<T, any>>;
|
|
142
|
-
getWebhookParams<T>(): Promise<AxiosResponse<T, any>>;
|
|
143
|
-
getWebhooks<T>({ accountCode }: {
|
|
144
|
-
accountCode: any;
|
|
145
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
146
|
-
postWebhook<T>({ payload, accountCode, }: {
|
|
147
|
-
payload: any;
|
|
148
|
-
accountCode: string;
|
|
149
|
-
}): Promise<AxiosResponse<T>>;
|
|
150
|
-
deleteWebhook<T>(code: string): Promise<AxiosResponse<T>>;
|
|
151
|
-
updateWebhook<T>(code: string, payload: any): Promise<AxiosResponse<T>>;
|
|
152
109
|
getWebhookParamsV2<T>(): Promise<AxiosResponse<T, Webhook.ParamV2[]>>;
|
|
153
|
-
getWebhooksV2<T>({ accountCode, }: {
|
|
154
|
-
accountCode: any;
|
|
155
|
-
}): Promise<AxiosResponse<T, Webhook.WebHookV2[]>>;
|
|
156
110
|
getWebhooksV3<T>({ accountCode, name, }: {
|
|
157
111
|
accountCode: string;
|
|
158
112
|
name?: string;
|
|
@@ -160,10 +114,6 @@ export declare class Api extends HttpClient {
|
|
|
160
114
|
getWebhooksV2Detail<T>({ accountCode, }: {
|
|
161
115
|
accountCode: any;
|
|
162
116
|
}): Promise<AxiosResponse<T, Webhook.WebHookV2[]>>;
|
|
163
|
-
postWebhookV2<T>({ payload, accountCode, }: {
|
|
164
|
-
payload: Webhook.WebHookV2;
|
|
165
|
-
accountCode: string;
|
|
166
|
-
}): Promise<AxiosResponse<T>>;
|
|
167
117
|
postWebhookV2MultiAccount<T>({ payload, }: {
|
|
168
118
|
payload: Webhook.WebHookV2MultiAccount;
|
|
169
119
|
}): Promise<AxiosResponse<T>>;
|
|
@@ -193,14 +143,11 @@ export declare class Api extends HttpClient {
|
|
|
193
143
|
}): Promise<AxiosResponse<T, any>>;
|
|
194
144
|
postSmartRoutingCreateWorkflow<T>(accountCode: string, data: any): Promise<AxiosResponse<T, any>>;
|
|
195
145
|
postSmartRoutingPublishVersion<T>(accountCode: string, versionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
196
|
-
postSmartRoutingValidateConnection<T>(accountIntegrationCode: string): Promise<AxiosResponse<T, any>>;
|
|
197
146
|
deleteSmartRoutingVersion<T>(accountCode: string, versionCode: string): Promise<AxiosResponse<T, any>>;
|
|
198
147
|
postSmartRoutingDuplicateVersion<T>(accountCode: string, versionCode: string): Promise<AxiosResponse<T, any>>;
|
|
199
148
|
getSmartRoutingDeclinedGroup<T>(accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
200
149
|
updateSmartRoutingDeclinedGroup<T>(accountCode: string, declineId: string, payload: any): Promise<AxiosResponse<T, any>>;
|
|
201
150
|
createSmartRoutingDeclinedGroup<T>(accountCode: string, payload: any): Promise<AxiosResponse<T, any>>;
|
|
202
|
-
getSmartRoutingTutorial<T>(accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
203
|
-
updateSmartRoutingTutorial<T>(accountCode: string, key: string): Promise<AxiosResponse<T, any>>;
|
|
204
151
|
getSmartRoutingPaymentRoute<T>(accountCode: string, paymentId: string): Promise<AxiosResponse<T, SmartRouting.PaymentRoutes>>;
|
|
205
152
|
updateSmartRoutingFavorite<T>(accountCode: string, versionCode: string, favorite: boolean): Promise<AxiosResponse<T, any>>;
|
|
206
153
|
getSmartRoutingSimulateConditionTypeValues<T>(accountCode: string): Promise<AxiosResponse<T, SmartRouting.ConditionTypeValues[]>>;
|
|
@@ -218,8 +165,6 @@ export declare class Api extends HttpClient {
|
|
|
218
165
|
getSmartRoutingDataReport<T>(params: {
|
|
219
166
|
[key: string]: number;
|
|
220
167
|
}): Promise<AxiosResponse<T, any>>;
|
|
221
|
-
getDashboardInsights<T>(params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
222
|
-
getInsightsMetricsConversionRate<T>(params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
223
168
|
getInsightsMetricsConversionRateV2<T>(params: DataReport.InsightMetricParams, path: string): Promise<AxiosResponse<T, any>>;
|
|
224
169
|
getInsightsMetricsConversionRateViewMore<T>(params: DataReport.InsightMetricParams, type: string): Promise<AxiosResponse<T, any>>;
|
|
225
170
|
getInsightFallbackMetrics<T>(params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
@@ -261,7 +206,6 @@ export declare class Api extends HttpClient {
|
|
|
261
206
|
accountCode: any;
|
|
262
207
|
template: any;
|
|
263
208
|
}): Promise<AxiosResponse<T>>;
|
|
264
|
-
updateIsActivePaymentMethod<T>(checkoutCode: any, paymentMethods: any): Promise<AxiosResponse<T>>;
|
|
265
209
|
updateIsActiveCheckout(args: Checkout.UpdateIsActiveCheckoutParams): Promise<AxiosResponse>;
|
|
266
210
|
getStylingTheme({ accountCode }: {
|
|
267
211
|
accountCode: string;
|
|
@@ -270,10 +214,7 @@ export declare class Api extends HttpClient {
|
|
|
270
214
|
getStylingSettings({ accountCode }: {
|
|
271
215
|
accountCode: any;
|
|
272
216
|
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
273
|
-
changePassword<T>(params: any): Promise<AxiosResponse<T>>;
|
|
274
217
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
275
|
-
/** @deprecated */
|
|
276
|
-
createReport<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
277
218
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
278
219
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
279
220
|
getTotalRowsForExport<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -287,18 +228,15 @@ export declare class Api extends HttpClient {
|
|
|
287
228
|
getReportColumns<T>(templateType: TemplateType, reportType: ReportType): Promise<any>;
|
|
288
229
|
getRefundPdf<T>(transactionCode: any, organizationCode: any): Promise<AxiosResponse<T, any>>;
|
|
289
230
|
getProofOfCancel<T>(transactionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
231
|
+
getProofOfPayment<T>(transactionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
290
232
|
getScheduledReport<T>(reportType: any): Promise<AxiosResponse<T>>;
|
|
291
233
|
postScheduledReport<T>(payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|
|
292
234
|
updateScheduledReport<T>(reportCode: string, payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|
|
293
235
|
deleteScheduledReport<T>(reportCode: string): Promise<AxiosResponse<T>>;
|
|
294
236
|
getProfile<T>(): Promise<AxiosResponse<T, any>>;
|
|
237
|
+
getImpersonationUsers<T>(): Promise<AxiosResponse<T, any>>;
|
|
295
238
|
updateProfile<T>(payload: User.UserRequestPayload): Promise<AxiosResponse<T>>;
|
|
296
|
-
inviteUsers<T>(data: User.UserInvitePayload): Promise<AxiosResponse<T>>;
|
|
297
|
-
inviteUsersV2<T>(data: UserInviteMultiaccountPayload, organizationCode: string): Promise<AxiosResponse<T>>;
|
|
298
239
|
inviteUsersMassive<T>(data: UserInviteMultiaccountPayload, organizationCode: string): Promise<AxiosResponse<T>>;
|
|
299
|
-
unInviteUsers<T>({ userCode }: {
|
|
300
|
-
userCode: any;
|
|
301
|
-
}): Promise<AxiosResponse<T>>;
|
|
302
240
|
unInviteUsersV2<T>({ userCode, organizationCode, }: {
|
|
303
241
|
userCode: any;
|
|
304
242
|
organizationCode: any;
|
|
@@ -306,18 +244,9 @@ export declare class Api extends HttpClient {
|
|
|
306
244
|
getAccounts<T>(organizationCode: any): Promise<AxiosResponse<T, any>>;
|
|
307
245
|
getAccountsV2<T>(): Promise<AxiosResponse<T, any>>;
|
|
308
246
|
getAccountsByUser<T>(userCode: string): Promise<AxiosResponse<T, any>>;
|
|
309
|
-
putAccountsUser<T>(organizationCode: any, userCode: any, payload: any): Promise<AxiosResponse<T, any>>;
|
|
310
247
|
putAccountsUserMassive<T>(organizationCode: any, userCode: any, payload: any): Promise<AxiosResponse<T, any>>;
|
|
311
248
|
deleteAccountsUserMassive<T, K>(organizationCode: string, userCode: string, payload: any): Promise<AxiosResponse<T, K>>;
|
|
312
249
|
postAccount<T>(name: string, principal: boolean): Promise<AxiosResponse<T>>;
|
|
313
|
-
duplicateAccount(body: DuplicateAccountBody): Promise<AxiosResponse<DuplicateAccountResponse>>;
|
|
314
|
-
retryDuplicateAccount(account_code: string): Promise<AxiosResponse<RetryDuplicateAccountResponse>>;
|
|
315
|
-
getPendingDuplicateAccounts(): Promise<AxiosResponse<PendingDuplicateAccountsResponse>>;
|
|
316
|
-
patchAccount<T>({ name, code, principal, }: {
|
|
317
|
-
name: string;
|
|
318
|
-
code: string;
|
|
319
|
-
principal: boolean;
|
|
320
|
-
}): Promise<AxiosResponse<T>>;
|
|
321
250
|
patchAccountV2<T>({ name, code, principal, }: {
|
|
322
251
|
name: string;
|
|
323
252
|
code: string;
|
|
@@ -326,39 +255,18 @@ export declare class Api extends HttpClient {
|
|
|
326
255
|
putAccountPrincipal<T>({ account_code }: {
|
|
327
256
|
account_code: any;
|
|
328
257
|
}): Promise<AxiosResponse<T>>;
|
|
329
|
-
createNotificacion<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
330
258
|
getMergedNotifications<T>(): Promise<AxiosResponse<T>>;
|
|
331
259
|
getNotificationsCustomer<T>(customer: any): Promise<AxiosResponse<T>>;
|
|
332
260
|
getValidateOpsgenieKey<T>(key: any): Promise<AxiosResponse<T>>;
|
|
333
|
-
getNotificationsAccount<T>(account: any): Promise<AxiosResponse<T>>;
|
|
334
|
-
getNotification<T>(): Promise<AxiosResponse<T>>;
|
|
335
261
|
postSlackMessageChannel<T>(payload: {
|
|
336
262
|
channel: string;
|
|
337
263
|
text: string;
|
|
338
264
|
}): Promise<AxiosResponse<T>>;
|
|
339
265
|
pathNotification<T>(payload: PathNotification): Promise<AxiosResponse<T>>;
|
|
340
266
|
getNotificationsNumber<T>(customer: any): Promise<AxiosResponse<T>>;
|
|
341
|
-
getMembers<T>(organizationCode: any): Promise<AxiosResponse<T, any>>;
|
|
342
|
-
getMembersV3<T>({ organizationCode }: {
|
|
343
|
-
organizationCode: any;
|
|
344
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
345
267
|
teamsFiltersMembers<T>({ organizationCode, }: {
|
|
346
268
|
organizationCode: any;
|
|
347
269
|
}): Promise<AxiosResponse<T, any>>;
|
|
348
|
-
getMembersV4<T>({ organizationCode, accountCodes, }: {
|
|
349
|
-
organizationCode: any;
|
|
350
|
-
accountCodes: any;
|
|
351
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
352
|
-
postMembersV4<T>({ organizationCode, accountCodes, }: {
|
|
353
|
-
organizationCode: any;
|
|
354
|
-
accountCodes: any;
|
|
355
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
356
|
-
postMembersPaginated<T>({ organizationCode, accountCodes, page, pageSize, }: {
|
|
357
|
-
organizationCode: any;
|
|
358
|
-
accountCodes: any;
|
|
359
|
-
page: any;
|
|
360
|
-
pageSize: any;
|
|
361
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
362
270
|
postMembersPaginatedV2<T>({ organizationCode, accountCodes, email, page, pageSize, }: {
|
|
363
271
|
organizationCode: any;
|
|
364
272
|
accountCodes: any;
|
|
@@ -367,11 +275,7 @@ export declare class Api extends HttpClient {
|
|
|
367
275
|
pageSize: any;
|
|
368
276
|
}): Promise<AxiosResponse<T, any>>;
|
|
369
277
|
getRoles<T>(): Promise<AxiosResponse<T, any>>;
|
|
370
|
-
setRoles<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
371
278
|
setCustodian<T>(): Promise<AxiosResponse<T>>;
|
|
372
|
-
deleteUserTeam<T>({ userCode }: {
|
|
373
|
-
userCode: any;
|
|
374
|
-
}): Promise<AxiosResponse<T>>;
|
|
375
279
|
deleteUserTeamV2<T>({ userCode, organizationCode, }: {
|
|
376
280
|
userCode: any;
|
|
377
281
|
organizationCode: any;
|
|
@@ -408,18 +312,9 @@ export declare class Api extends HttpClient {
|
|
|
408
312
|
accountCode: any;
|
|
409
313
|
paymentLinkCode: any;
|
|
410
314
|
}): Promise<AxiosResponse<T, any>>;
|
|
411
|
-
postCreateProducts<T>({ payload }: {
|
|
412
|
-
payload: any;
|
|
413
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
414
315
|
postDeletePaymentLink<T>({ code }: {
|
|
415
316
|
code: any;
|
|
416
317
|
}): Promise<AxiosResponse<T, any>>;
|
|
417
|
-
getProductsByAccount<T>({ accountCode, }: {
|
|
418
|
-
accountCode: any;
|
|
419
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
420
|
-
getPaymentsByPaymentLink<T>(params: {
|
|
421
|
-
payment_link_code: string;
|
|
422
|
-
}, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
423
318
|
getTimezone<T>(organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
424
319
|
firebaseUserSubscribe<T>(payload: FirebaseUserSubscribe): Promise<AxiosResponse<T>>;
|
|
425
320
|
postUserSettings<T>(payload: TimeZoneCatalog | PaymentsSettings): Promise<AxiosResponse<T>>;
|
|
@@ -427,19 +322,13 @@ export declare class Api extends HttpClient {
|
|
|
427
322
|
postUserSettingsPinned<T>(payload: PinnedSections): Promise<AxiosResponse<T>>;
|
|
428
323
|
postUserThemeSettings<T>(payload: ThemeSettings): Promise<AxiosResponse<T>>;
|
|
429
324
|
getMfaTokenValidation<T>(password: string, otp: string): Promise<AxiosResponse<T, any>>;
|
|
430
|
-
getMfaToken<T>(password: string): Promise<AxiosResponse<T, any>>;
|
|
431
325
|
getEmailOtp<T>(): Promise<AxiosResponse<T, any>>;
|
|
432
|
-
validateOtp<T>(otp: string): Promise<AxiosResponse<T, any>>;
|
|
433
326
|
confirmMfaOtp<T>(payload: MfaUserSubscribe): Promise<AxiosResponse<T>>;
|
|
434
|
-
confirmOtp<T>(payload: MfaUserPayload): Promise<AxiosResponse<T>>;
|
|
435
327
|
unrollMfa<T>(password: any): Promise<AxiosResponse<T, any>>;
|
|
436
328
|
sendOTPForMFA(): Promise<AxiosResponse<void>>;
|
|
437
|
-
getMFAStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
438
|
-
postValidatePassword<T>(password: string): Promise<AxiosResponse<T, any>>;
|
|
439
329
|
getConfigAllowlist<T>(accountCode: any): Promise<AxiosResponse<T, any>>;
|
|
440
330
|
getBlackListType<T>(accountCode: any): Promise<AxiosResponse<T, any>>;
|
|
441
331
|
postBlockList<T>(accountCodes: string[], listName: string, page: number, size: number): Promise<AxiosResponse<T, any>>;
|
|
442
|
-
getOneBlackListType<T>(black_list_code: string): Promise<AxiosResponse<T, any>>;
|
|
443
332
|
getBlackListSummary<T>(black_list_code: string, account?: string | null): Promise<AxiosResponse<T, any>>;
|
|
444
333
|
getBlacklistDetail<T>(black_list_code: string, offset: number, limit?: number, account?: string | null, search?: string | null): Promise<AxiosResponse<T, any>>;
|
|
445
334
|
getAllowlistDetail<T>(code: string, account?: string | null): Promise<AxiosResponse<T, any>>;
|
|
@@ -473,9 +362,6 @@ export declare class Api extends HttpClient {
|
|
|
473
362
|
postBlackListMultiAccount<T>({ payload, }: {
|
|
474
363
|
payload: any;
|
|
475
364
|
}): Promise<AxiosResponse<T, any>>;
|
|
476
|
-
postBlackListType<T>({ payload }: {
|
|
477
|
-
payload: any;
|
|
478
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
479
365
|
putBlackListType<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
480
366
|
changeBlackListStatus<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
481
367
|
changeBlackListStatusItem<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -499,14 +385,6 @@ export declare class Api extends HttpClient {
|
|
|
499
385
|
valiateBlockListItems<T>({ payload, }: {
|
|
500
386
|
payload: any;
|
|
501
387
|
}): Promise<AxiosResponse<T, unknown>>;
|
|
502
|
-
getGeographicCoordinates<T>({ params, }: {
|
|
503
|
-
params: any;
|
|
504
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
505
|
-
deleteBlackListItem<T>({ black_list_code, account_code, item, }: {
|
|
506
|
-
black_list_code: any;
|
|
507
|
-
account_code: any;
|
|
508
|
-
item: any;
|
|
509
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
510
388
|
getVelocityRules<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
511
389
|
postChangePaymentsWebhook<T>({ status, paymentCode, }: ChangePaymentsWebhook): Promise<AxiosResponse<T, any>>;
|
|
512
390
|
uploadFileS3ClientBatchRefunds<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
@@ -523,10 +401,6 @@ export declare class Api extends HttpClient {
|
|
|
523
401
|
uploadBatchRefundsV2<T>({ payload }: {
|
|
524
402
|
payload: any;
|
|
525
403
|
}): Promise<AxiosResponse<T, any>>;
|
|
526
|
-
uploadBatchRefunds<T>({ payload, handleSetProgress, }: {
|
|
527
|
-
payload: any;
|
|
528
|
-
handleSetProgress: any;
|
|
529
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
530
404
|
getBatchRefunds<T>(limit: any, offset: any): Promise<AxiosResponse<T, any>>;
|
|
531
405
|
getBatchRefundProcessedFileDownload<T>(batchRefundId: string, organizationCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
532
406
|
getBatchRefundUserFileDownload<T>(batchRefundId: string, organizationCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
@@ -543,7 +417,6 @@ export declare class Api extends HttpClient {
|
|
|
543
417
|
getConditionalConfigRules<T>(conditional: any): Promise<AxiosResponse<T, any>>;
|
|
544
418
|
getRule<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
545
419
|
postCreateRuleMultiAccount<T>(payload: any, accountCode: any): Promise<AxiosResponse<T, any>>;
|
|
546
|
-
postCreateRule<T>(payload: any, accountCode: any): Promise<AxiosResponse<T, any>>;
|
|
547
420
|
postEditRule<T>(payload: any, ruleId: any, accountCode: any): Promise<AxiosResponse<T, any>>;
|
|
548
421
|
postApiKeysRoll<T>(payload: any, keyCode: any, password: any): Promise<AxiosResponse<T, any>>;
|
|
549
422
|
patchApiKeysEditNote<T>(payload: any, keyCode: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -555,8 +428,6 @@ export declare class Api extends HttpClient {
|
|
|
555
428
|
getCustomizedApiKeysProducts<T>(): Promise<AxiosResponse<T, any>>;
|
|
556
429
|
getCustomizedApiKeysToken<T>(code: any, password: any): Promise<AxiosResponse<T, any>>;
|
|
557
430
|
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
558
|
-
getCustomizedApiKeysShowToken<T>(code: any): Promise<AxiosResponse<T, any>>;
|
|
559
|
-
getLoginSSO<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
560
431
|
deleteCustomizedApiKeys<T>(code: any): Promise<AxiosResponse<T, any>>;
|
|
561
432
|
postCreateInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
562
433
|
getInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -1,65 +1,24 @@
|
|
|
1
1
|
import { Organization, Webhook } from '../../types';
|
|
2
|
-
import { UseMutationResult } from '@tanstack/react-query';
|
|
3
2
|
import { DeleteMutation } from './delete-mutation';
|
|
4
|
-
import { DuplicateAccountResponse, RetryDuplicateAccountResponse } from './types';
|
|
5
|
-
import { AxiosError, AxiosResponse } from 'axios';
|
|
6
|
-
export declare function usePostWebhook({ onSuccessCallback, }: {
|
|
7
|
-
onSuccessCallback?: (data?: any) => void;
|
|
8
|
-
}): UseMutationResult<AxiosResponse<{
|
|
9
|
-
code: string;
|
|
10
|
-
}, any>, unknown, {
|
|
11
|
-
payload: Webhook.WebhookRequestPayload;
|
|
12
|
-
accountCode: string;
|
|
13
|
-
}, {
|
|
14
|
-
payload: Webhook.WebhookRequestPayload;
|
|
15
|
-
accountCode: string;
|
|
16
|
-
}>;
|
|
17
|
-
export declare function usePostWebhookV2({ onSuccessCallback, }: {
|
|
18
|
-
onSuccessCallback?: (data: any) => void;
|
|
19
|
-
}): UseMutationResult<AxiosResponse<{
|
|
20
|
-
code: string;
|
|
21
|
-
}, any>, unknown, {
|
|
22
|
-
payload: Webhook.WebHookV2;
|
|
23
|
-
accountCode: string;
|
|
24
|
-
}, {
|
|
25
|
-
payload: Webhook.WebHookV2;
|
|
26
|
-
accountCode: string;
|
|
27
|
-
}>;
|
|
28
3
|
export declare function usePostWebhookMultiAccount({ onSuccessCallback, }: {
|
|
29
4
|
onSuccessCallback?: (data: any) => void;
|
|
30
|
-
}): UseMutationResult<AxiosResponse<unknown, any>, unknown, {
|
|
5
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
31
6
|
payload: Webhook.WebHookV2MultiAccount;
|
|
32
7
|
}, {
|
|
33
8
|
payload: Webhook.WebHookV2MultiAccount;
|
|
34
9
|
}>;
|
|
35
|
-
export declare function useDeleteWebhook({ onSuccessCallback, }: {
|
|
36
|
-
onSuccessCallback?: (data?: any) => void;
|
|
37
|
-
}): UseMutationResult<AxiosResponse<any, any>, unknown, {
|
|
38
|
-
code: string;
|
|
39
|
-
}, {
|
|
40
|
-
code: string;
|
|
41
|
-
}>;
|
|
42
10
|
export declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
43
11
|
onSuccessCallback?: (data: any) => void;
|
|
44
|
-
}): UseMutationResult<AxiosResponse<null, any>, unknown, {
|
|
12
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<null, any>, unknown, {
|
|
45
13
|
code: string;
|
|
46
14
|
accountCode: string;
|
|
47
15
|
}, {
|
|
48
16
|
code: string;
|
|
49
17
|
accountCode: string;
|
|
50
18
|
}>;
|
|
51
|
-
export declare function useUpdateWebhook({ onSuccessCallback, }: {
|
|
52
|
-
onSuccessCallback?: (data?: any) => void;
|
|
53
|
-
}): UseMutationResult<AxiosResponse<any, any>, unknown, {
|
|
54
|
-
code: string;
|
|
55
|
-
payload: any;
|
|
56
|
-
}, {
|
|
57
|
-
code: string;
|
|
58
|
-
payload: any;
|
|
59
|
-
}>;
|
|
60
19
|
export declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
61
20
|
onSuccessCallback?: (data: any) => void;
|
|
62
|
-
}): UseMutationResult<AxiosResponse<Webhook.WebHookV2, any>, unknown, {
|
|
21
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Webhook.WebHookV2, any>, unknown, {
|
|
63
22
|
code: string;
|
|
64
23
|
payload: any;
|
|
65
24
|
accountCode: string;
|
|
@@ -68,34 +27,19 @@ export declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
|
68
27
|
payload: any;
|
|
69
28
|
accountCode: string;
|
|
70
29
|
}>;
|
|
71
|
-
export declare function usePostAccount(): UseMutationResult<AxiosResponse<Organization.Account, any>, unknown, {
|
|
30
|
+
export declare function usePostAccount(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
72
31
|
name: string;
|
|
73
32
|
principal: boolean;
|
|
74
33
|
}, unknown>;
|
|
75
|
-
export declare function
|
|
76
|
-
export declare function useRetryDuplicateAccount(): UseMutationResult<AxiosResponse<RetryDuplicateAccountResponse>, AxiosError>;
|
|
77
|
-
export declare function usePatchAccount(): UseMutationResult<AxiosResponse<Organization.Account, any>, unknown, {
|
|
34
|
+
export declare function usePatchAccountV2(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
78
35
|
name: string;
|
|
79
36
|
code: string;
|
|
80
37
|
principal: boolean;
|
|
81
38
|
}, unknown>;
|
|
82
|
-
export declare function
|
|
83
|
-
name: string;
|
|
84
|
-
code: string;
|
|
85
|
-
principal: boolean;
|
|
86
|
-
}, unknown>;
|
|
87
|
-
export declare function usePutAccountPrincipal(): UseMutationResult<AxiosResponse<Organization.Account, any>, unknown, {
|
|
39
|
+
export declare function usePutAccountPrincipal(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
88
40
|
account_code: string;
|
|
89
41
|
}, unknown>;
|
|
90
|
-
export declare function
|
|
91
|
-
organizationCode: string;
|
|
92
|
-
userCode: string;
|
|
93
|
-
payload: {
|
|
94
|
-
role_id: string;
|
|
95
|
-
account_code: string;
|
|
96
|
-
};
|
|
97
|
-
}, unknown>;
|
|
98
|
-
export declare function usePutAccountsUserMassive(): UseMutationResult<AxiosResponse<Organization.Account, any>, unknown, {
|
|
42
|
+
export declare function usePutAccountsUserMassive(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
99
43
|
organizationCode: string;
|
|
100
44
|
userCode: string;
|
|
101
45
|
payload: {
|
|
@@ -13,9 +13,6 @@ export declare function useUploadBatchRefundsFileV2({ fileName, onSuccess, onErr
|
|
|
13
13
|
cancelRequest: () => void;
|
|
14
14
|
progress: number;
|
|
15
15
|
};
|
|
16
|
-
export declare function useUploadBatchRefundsFile({ handleSetProgress, }: {
|
|
17
|
-
handleSetProgress: (progress: number) => void;
|
|
18
|
-
}): UseMutationResult<any, unknown, BatchRefunds.UploadRequest, unknown>;
|
|
19
16
|
export declare function useUploadBatchRefundsV2(): UseMutationResult<BatchRefunds.ListBatchRefunds[], AxiosError<{
|
|
20
17
|
data: {
|
|
21
18
|
code: string;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import { Checkout } from '../../types';
|
|
3
3
|
import { AxiosResponse } from 'axios';
|
|
4
|
-
export declare function useUpdateCheckoutPaymentMethods(): import("@tanstack/react-query").UseMutationResult<Checkout.PaymentMethodsPayload[], unknown, {
|
|
5
|
-
paymentMethod: Checkout.PaymentMethodsPayload[];
|
|
6
|
-
checkoutCode: string;
|
|
7
|
-
}, unknown>;
|
|
8
4
|
export declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): import("@tanstack/react-query").UseMutationResult<AxiosResponse<any, any>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
9
5
|
/**
|
|
10
6
|
* @deprecated since version 0.28.6. use useUpdateStylingTheme instead
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { Connection } from '../../types';
|
|
2
2
|
import { Cost } from '../../types/connection/costs';
|
|
3
3
|
import { CustomAxiosResponse } from '../../utils/handler-error';
|
|
4
|
-
type PostConnection = {
|
|
5
|
-
payload: Connection.ConnectionPayload;
|
|
6
|
-
accountCode: string;
|
|
7
|
-
};
|
|
8
4
|
type PatchConnection = {
|
|
9
5
|
payload: Connection.ConnectionPayload;
|
|
10
6
|
connectionCode: string;
|
|
@@ -16,28 +12,17 @@ type ChangeValidateStatusConnections = {
|
|
|
16
12
|
};
|
|
17
13
|
accountCode: string;
|
|
18
14
|
};
|
|
19
|
-
type PostArchiveConnections = {
|
|
20
|
-
payload: {
|
|
21
|
-
archive: boolean;
|
|
22
|
-
should_validate: boolean;
|
|
23
|
-
};
|
|
24
|
-
connectionCode: string;
|
|
25
|
-
};
|
|
26
15
|
export declare function usePostValideStatusConnection(): import("@tanstack/react-query").UseMutationResult<any, unknown, ChangeValidateStatusConnections, unknown>;
|
|
27
16
|
export declare function usePostChangeStatusConnection(): import("@tanstack/react-query").UseMutationResult<any, unknown, ChangeValidateStatusConnections, unknown>;
|
|
28
17
|
export declare function usePutCosts(): import("@tanstack/react-query").UseMutationResult<any, unknown, {
|
|
29
18
|
integration_code: string;
|
|
30
19
|
costs: Cost[];
|
|
31
20
|
}, unknown>;
|
|
32
|
-
export declare function usePostConnection(): import("@tanstack/react-query").UseMutationResult<any, unknown, PostConnection, unknown>;
|
|
33
21
|
export declare function usePostConnectionMultiAccount(): import("@tanstack/react-query").UseMutationResult<any, unknown, {
|
|
34
22
|
payload: Connection.ConnectionPayload;
|
|
35
23
|
}, unknown>;
|
|
36
|
-
export declare function useNewPostConnection(): import("@tanstack/react-query").UseMutationResult<any, unknown, PostConnection, unknown>;
|
|
37
24
|
export declare function useNewPostConnectionValidate(): import("@tanstack/react-query").UseMutationResult<string[], CustomAxiosResponse<null>, void, unknown>;
|
|
38
25
|
export declare function usePatchConnection(): import("@tanstack/react-query").UseMutationResult<any, unknown, PatchConnection, unknown>;
|
|
39
|
-
export declare function useDeleteConnection(): import("@tanstack/react-query").UseMutationResult<unknown, unknown, string, unknown>;
|
|
40
|
-
export declare function useArchiveConnection(): import("@tanstack/react-query").UseMutationResult<PostArchiveConnections, unknown, PostArchiveConnections, unknown>;
|
|
41
26
|
export declare function usePostDefaultRoutes(): import("@tanstack/react-query").UseMutationResult<any, CustomAxiosResponse<null>, Connection.PostDefaultRoutes, unknown>;
|
|
42
27
|
export declare function useValidateCredentials(): import("@tanstack/react-query").UseMutationResult<any, CustomAxiosResponse<null>, {
|
|
43
28
|
payload: {
|
|
@@ -3,7 +3,6 @@ export declare function usePostCreateCustomizedApiKeys(): UseMutationResult<unkn
|
|
|
3
3
|
export declare function usePathCreateCustomizedApiKeys(): UseMutationResult<unknown>;
|
|
4
4
|
export declare function useGetCustomizedApiKeysToken(): UseMutationResult<unknown>;
|
|
5
5
|
export declare function usePostCredentialsValidatePassword(): UseMutationResult<unknown>;
|
|
6
|
-
export declare function useGetCustomizedApiKeysShowToken(): UseMutationResult<unknown>;
|
|
7
6
|
export declare function useDeleteCustomizedApiKeys(): UseMutationResult<unknown>;
|
|
8
7
|
export declare function usePatchApiKeysEditNote(): UseMutationResult<unknown>;
|
|
9
8
|
export declare function usePostApiKeysRoll(): UseMutationResult<unknown>;
|
|
@@ -36,13 +36,11 @@ export declare function usePatchChangeStatusAllowlistItem(): import("@tanstack/r
|
|
|
36
36
|
export declare function usePatchAddAllowlistItems(): import("@tanstack/react-query").UseMutationResult<any, unknown, PostBlackListItems, unknown>;
|
|
37
37
|
export declare function usePatchAllowlist(): import("@tanstack/react-query").UseMutationResult<any, unknown, PostBlackList, unknown>;
|
|
38
38
|
export declare function usePostBlackListMultiAccount(): import("@tanstack/react-query").UseMutationResult<any, unknown, PostBlackList, unknown>;
|
|
39
|
-
export declare function usePostBlackListType(): import("@tanstack/react-query").UseMutationResult<any, unknown, PostBlackList, unknown>;
|
|
40
39
|
export declare function usePutBlackListType(): import("@tanstack/react-query").UseMutationResult<any, unknown, FraudScreening.EditBlackListPayload, unknown>;
|
|
41
40
|
export declare function useChangeStatusBlackList(): import("@tanstack/react-query").UseMutationResult<any, unknown, FraudScreening.EditBlackListPayload, unknown>;
|
|
42
41
|
export declare function useChangeStatusItemBlackList(): import("@tanstack/react-query").UseMutationResult<any, unknown, FraudScreening.EditBlackListPayload, unknown>;
|
|
43
42
|
export declare function usePostBlackListItems(): import("@tanstack/react-query").UseMutationResult<any, unknown, PostBlackListItems, unknown>;
|
|
44
43
|
export declare function useDeleteBlackListType(): import("@tanstack/react-query").UseMutationResult<any, unknown, FraudScreening.DeleteBlackList, unknown>;
|
|
45
|
-
export declare function useDeleteBlackListItem(): import("@tanstack/react-query").UseMutationResult<any, unknown, FraudScreening.DeleteBlackList, unknown>;
|
|
46
44
|
export declare function usePostBlackListBatch({ handleSetProgress }: {
|
|
47
45
|
handleSetProgress: any;
|
|
48
46
|
}): import("@tanstack/react-query").UseMutationResult<any, unknown, PostBlackListBatch, unknown>;
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
2
|
import { MfaUserPayload } from '../../api';
|
|
3
|
-
import { MFA } from '../../types';
|
|
4
3
|
interface PropsGetEnrollment {
|
|
5
4
|
secret: string;
|
|
6
5
|
barcode_uri: string;
|
|
7
6
|
}
|
|
8
7
|
export declare function useGetTokenValidation(): UseMutationResult<PropsGetEnrollment>;
|
|
9
|
-
export declare function useGetTokenForEnrollment(password: string): UseMutationResult<PropsGetEnrollment, unknown, void, unknown>;
|
|
10
8
|
export declare function useGetEmailOtp(): UseMutationResult<unknown, unknown, void, unknown>;
|
|
11
|
-
export declare function usePostValidateOtp(otp: string): UseMutationResult<unknown, unknown, void, unknown>;
|
|
12
9
|
export declare function useConfirmedOtpMfa(): UseMutationResult<unknown, unknown, MfaUserPayload, unknown>;
|
|
13
|
-
export declare function useConfirmedOtpForEnrollment(payload: any): UseMutationResult<unknown, unknown, void, unknown>;
|
|
14
|
-
export declare function useUnrollUser(password: any): UseMutationResult<unknown, unknown, void, unknown>;
|
|
15
10
|
export declare function useUnrollUserV2(): UseMutationResult<unknown, unknown, string, unknown>;
|
|
16
|
-
export declare function useSendOTPForMFA(): UseMutationResult<void, unknown, void, unknown>;
|
|
17
|
-
export declare function useGetIndividualMFAStatus(): UseMutationResult<MFA.MFAStatusResponse, unknown, void, unknown>;
|
|
18
11
|
export declare function useValidatePasswordStatus(): UseMutationResult<unknown, unknown, void, unknown>;
|
|
19
12
|
export {};
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare function useCreateNotification(payload: any): import("@tanstack/react-query").UseMutationResult<unknown, unknown, void, unknown>;
|
|
2
|
-
export declare function useChangeState(): import("@tanstack/react-query").UseMutationResult<unknown, unknown, void, unknown>;
|
|
3
1
|
export declare function usePostSlackMessageChannel(): import("@tanstack/react-query").UseMutationResult<unknown, unknown, {
|
|
4
2
|
payload: {
|
|
5
3
|
channel: string;
|
|
@@ -2,9 +2,6 @@ export declare function useCreatePaymentLinks(): import("@tanstack/react-query")
|
|
|
2
2
|
payload: any;
|
|
3
3
|
accountCode: string;
|
|
4
4
|
}, unknown>;
|
|
5
|
-
export declare function useCreateProductsByAccount(): import("@tanstack/react-query").UseMutationResult<any, unknown, {
|
|
6
|
-
payload: any;
|
|
7
|
-
}, unknown>;
|
|
8
5
|
export declare function useDeletePaymentLink(): import("@tanstack/react-query").UseMutationResult<any, unknown, {
|
|
9
6
|
code: string;
|
|
10
7
|
}, unknown>;
|
|
@@ -13,4 +10,3 @@ export declare function useEditPaymentLinks(): import("@tanstack/react-query").U
|
|
|
13
10
|
accountCode: string;
|
|
14
11
|
paymentLinkCode: string;
|
|
15
12
|
}, unknown>;
|
|
16
|
-
export declare function usePostValidatePassword(password: any): import("@tanstack/react-query").UseMutationResult<unknown, unknown, void, unknown>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Reports } from '../../types';
|
|
2
2
|
import { UseMutationResult } from '@tanstack/react-query';
|
|
3
|
-
export declare function useCreateReport(): UseMutationResult<Reports.ICreateReportsResponse, unknown>;
|
|
4
3
|
export declare function useCreateReconciliationsReportV2(): UseMutationResult<Reports.ICreateReportsResponse, unknown>;
|
|
5
4
|
export declare function useCreateReportV2(): UseMutationResult<Reports.ICreateReportsResponse, unknown>;
|
|
6
5
|
export declare function useCountRowsForReport(): UseMutationResult<Reports.CountRowsReportsResponse, unknown>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { User } from '../../types';
|
|
2
2
|
import { UseMutationResult } from '@tanstack/react-query';
|
|
3
|
-
export declare function useChangePassword(params: any): UseMutationResult<User.UserResponsePayload, unknown>;
|
|
4
3
|
export declare function useChangePasswordV2(): UseMutationResult<User.ChangePasswordResponse, User.FailureReason>;
|
|
@@ -7,9 +7,6 @@ export declare function usePublishVersion<T = SmartRouting.WorkflowVersion>({ ve
|
|
|
7
7
|
accountCode: any;
|
|
8
8
|
organizationCode: any;
|
|
9
9
|
}, options?: any): UseMutationResult<SmartRouting.WorkflowVersion, unknown>;
|
|
10
|
-
export declare function useValidateConnection(): UseMutationResult<unknown, unknown, {
|
|
11
|
-
connectionCode: string;
|
|
12
|
-
}, unknown>;
|
|
13
10
|
export declare function useSaveVersion({ data, accountCode }: {
|
|
14
11
|
data: any;
|
|
15
12
|
accountCode: any;
|
|
@@ -35,10 +32,6 @@ export declare function useSmartRoutingCreateDeclinedGroup({ accountCode, option
|
|
|
35
32
|
accountCode: any;
|
|
36
33
|
options: any;
|
|
37
34
|
}): UseMutationResult<SmartRouting.PaymentMethods, unknown>;
|
|
38
|
-
export declare function useSmartRoutingUpdateTutorial({ accountCode, options, }: {
|
|
39
|
-
accountCode: any;
|
|
40
|
-
options: any;
|
|
41
|
-
}): UseMutationResult<SmartRouting.PaymentMethods, unknown>;
|
|
42
35
|
export declare function useSmartRoutingToggleFavorite({ versionCode, accountCode }: {
|
|
43
36
|
versionCode: string;
|
|
44
37
|
accountCode: string;
|