@yuno-payments/dashboard-api-mfe 0.36.4-REC-3350.0 → 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 +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +3 -127
- package/build/cjs/types/mutations/accounts/accounts.mutation.d.ts +0 -51
- 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 +0 -7
- 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/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 -127
- package/build/esm/types/mutations/accounts/accounts.mutation.d.ts +0 -51
- 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 +0 -7
- 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/user/user.d.ts +15 -0
- package/build/index.d.ts +20 -294
- package/package.json +1 -1
- package/build/cjs/types/queries/data-report/conversion-rate/conversion-rate.query.d.ts +0 -5
- 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';
|
|
@@ -22,8 +22,6 @@ export declare class Api extends HttpClient {
|
|
|
22
22
|
createReconciliationReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
23
23
|
getReconciliationTransactions<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
24
24
|
getReconciliationSettlements<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
25
|
-
getReconciliationSettlementsHeader<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
26
|
-
getReconciliationSettlementsBody<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
27
25
|
getReconciliationMetrics<T>(params: GetReconciliationMetricParams): Promise<AxiosResponse<T, unknown>>;
|
|
28
26
|
getReconciliationFilters<T>(): Promise<AxiosResponse<T, unknown>>;
|
|
29
27
|
getReconciliationsReportColumns<T>(templateType: TemplateType, reportType: ReconciliationReportType): Promise<AxiosResponse<T, any>>;
|
|
@@ -39,16 +37,11 @@ export declare class Api extends HttpClient {
|
|
|
39
37
|
getReconciliationSales<T>(body: ReconciliationSales.FiltersRequestBody, params: ReconciliationSales.FiltersRequestParams): Promise<AxiosResponse<T>>;
|
|
40
38
|
getReconciliationAdvancements<T>(body: ReconciliationAdvancements.FiltersRequestBody, params: ReconciliationAdvancements.FiltersRequestParams): Promise<AxiosResponse<T>>;
|
|
41
39
|
getReconciliationFees<T>(body: ReconciliationFees.FiltersRequestBody, params: ReconciliationFees.FiltersRequestParams): Promise<AxiosResponse<T>>;
|
|
42
|
-
getPayments<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
|
|
43
40
|
postPaymentsLazy<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
|
|
44
41
|
postPayouts<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
|
|
45
42
|
getPayoutsFilters<T>(organizationCode: any): Promise<AxiosResponse<T>>;
|
|
46
43
|
postPaymentsEvaluated<T>(params: GetPaymentsParams): Promise<AxiosResponse<T, any>>;
|
|
47
|
-
getPayment<T>(params: GetPaymentParams): Promise<AxiosResponse<T, any>>;
|
|
48
44
|
getPaymentV2<T>(paymentCode: string): Promise<AxiosResponse<T, any>>;
|
|
49
|
-
getPaymentTransactions<T>(payment_code: string, params: GetPaymentTransactionsParams & GetPaymentParams): Promise<AxiosResponse<T, any>>;
|
|
50
|
-
getPaymentTransactionsLazy<T>(payment_code: string): Promise<AxiosResponse<T, any>>;
|
|
51
|
-
getTransactions<T>(params: GetTransactionsParams): Promise<AxiosResponse<T, any>>;
|
|
52
45
|
postTransactions<T>(params: GetTransactionsParams): Promise<AxiosResponse<T, any>>;
|
|
53
46
|
postFraudTransactions<T>(params: GetTransactionsParams): Promise<AxiosResponse<T, any>>;
|
|
54
47
|
getPayoutDetails<T>(params: GetPayoutDetail): Promise<AxiosResponse<T, any>>;
|
|
@@ -57,17 +50,10 @@ export declare class Api extends HttpClient {
|
|
|
57
50
|
getPaymentMethodsByCountry<T>({ provider_id, country }: Organization.PaymentMethods, organizationCodeFromAccount: any): Promise<AxiosResponse<T, any>>;
|
|
58
51
|
getOrgByName<T>(name: any): Promise<AxiosResponse<T, any>>;
|
|
59
52
|
createOperationTransaction<T>(payload: OperationTransaction.Request, transactionId: string, paymentId: string, action: OperationTransaction.Actions): Promise<AxiosResponse<T, any>>;
|
|
60
|
-
getPaymentMethodsByProvider<T>(params: GetPaymentMethodsByProviderParams): Promise<AxiosResponse<T, any>>;
|
|
61
|
-
getPaymentMethodsAndProvidersActive<T>(): Promise<AxiosResponse<T, any>>;
|
|
62
53
|
getPaymentMethodsAndProviders<T>(): Promise<AxiosResponse<T, any>>;
|
|
63
|
-
useGetPaymentAndTrxStatuses<T>(): Promise<AxiosResponse<T, any>>;
|
|
64
|
-
getTransactionDetails<T>(params: GetTransactionDetailsParams): Promise<AxiosResponse<T, any>>;
|
|
65
54
|
getTransactionDetailsV2<T>(params: GetTransactionDetailsV2Params): Promise<AxiosResponse<T, any>>;
|
|
66
55
|
getTransactionRawResponse<T>(params: GetTransactionDetailsV2Params): Promise<AxiosResponse<T, any>>;
|
|
67
56
|
uploadChargebacks<T>(payload: Payment.UploadRequest, paymentId: string, transactionId: string, handleSetProgress: (progress: number) => void): Promise<AxiosResponse<T, any>>;
|
|
68
|
-
getTransactionHistory<T>({ transaction_code, }: {
|
|
69
|
-
transaction_code: any;
|
|
70
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
71
57
|
getPaymentTransactionsDetails<T>({ transaction_code, }: {
|
|
72
58
|
transaction_code: any;
|
|
73
59
|
}): Promise<AxiosResponse<T, any>>;
|
|
@@ -81,10 +67,6 @@ export declare class Api extends HttpClient {
|
|
|
81
67
|
getOrganization<T>(): Promise<AxiosResponse<T, any>>;
|
|
82
68
|
getAllOrganization<T>(): Promise<AxiosResponse<T, any>>;
|
|
83
69
|
getProviderParams<T>(param: any, organizationCodeFromAccount: any): Promise<AxiosResponse<T, any>>;
|
|
84
|
-
getIntegrationByAccount<T>({ accountCode, organizationCode, }: {
|
|
85
|
-
accountCode: string;
|
|
86
|
-
organizationCode: string;
|
|
87
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
88
70
|
getIntegrationByAccountV2<T>({ accountCode, organizationCode, }: {
|
|
89
71
|
accountCode: string;
|
|
90
72
|
organizationCode: string;
|
|
@@ -109,27 +91,14 @@ export declare class Api extends HttpClient {
|
|
|
109
91
|
payload: any;
|
|
110
92
|
accountCode: any;
|
|
111
93
|
}): Promise<AxiosResponse<T, any>>;
|
|
112
|
-
postConnection<T>({ payload, accountCode, }: {
|
|
113
|
-
payload: any;
|
|
114
|
-
accountCode: any;
|
|
115
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
116
94
|
postMultiConnection<T>({ payload }: {
|
|
117
95
|
payload: any;
|
|
118
96
|
}): Promise<AxiosResponse<T, any>>;
|
|
119
97
|
postMultiConnectionValidate<T>(): Promise<AxiosResponse<T, any>>;
|
|
120
|
-
newPostConnection<T>({ payload, accountCode, }: {
|
|
121
|
-
payload: any;
|
|
122
|
-
accountCode: any;
|
|
123
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
124
98
|
patchConnection<T>({ payload, connectionCode, }: {
|
|
125
99
|
payload: any;
|
|
126
100
|
connectionCode: any;
|
|
127
101
|
}): Promise<AxiosResponse<T, any>>;
|
|
128
|
-
deleteConnection<T>(connectionCode: any): Promise<AxiosResponse<T, any>>;
|
|
129
|
-
postArchiveConnection<T>({ payload, connectionCode, }: {
|
|
130
|
-
payload: any;
|
|
131
|
-
connectionCode: any;
|
|
132
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
133
102
|
postDefaultRoutes<T>({ payload, }: {
|
|
134
103
|
payload: {
|
|
135
104
|
provider_id: string;
|
|
@@ -137,20 +106,7 @@ export declare class Api extends HttpClient {
|
|
|
137
106
|
};
|
|
138
107
|
}): Promise<AxiosResponse<T, any>>;
|
|
139
108
|
getDialogs<T>(): Promise<AxiosResponse<T, any>>;
|
|
140
|
-
getWebhookParams<T>(): Promise<AxiosResponse<T, any>>;
|
|
141
|
-
getWebhooks<T>({ accountCode }: {
|
|
142
|
-
accountCode: any;
|
|
143
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
144
|
-
postWebhook<T>({ payload, accountCode, }: {
|
|
145
|
-
payload: any;
|
|
146
|
-
accountCode: string;
|
|
147
|
-
}): Promise<AxiosResponse<T>>;
|
|
148
|
-
deleteWebhook<T>(code: string): Promise<AxiosResponse<T>>;
|
|
149
|
-
updateWebhook<T>(code: string, payload: any): Promise<AxiosResponse<T>>;
|
|
150
109
|
getWebhookParamsV2<T>(): Promise<AxiosResponse<T, Webhook.ParamV2[]>>;
|
|
151
|
-
getWebhooksV2<T>({ accountCode, }: {
|
|
152
|
-
accountCode: any;
|
|
153
|
-
}): Promise<AxiosResponse<T, Webhook.WebHookV2[]>>;
|
|
154
110
|
getWebhooksV3<T>({ accountCode, name, }: {
|
|
155
111
|
accountCode: string;
|
|
156
112
|
name?: string;
|
|
@@ -158,10 +114,6 @@ export declare class Api extends HttpClient {
|
|
|
158
114
|
getWebhooksV2Detail<T>({ accountCode, }: {
|
|
159
115
|
accountCode: any;
|
|
160
116
|
}): Promise<AxiosResponse<T, Webhook.WebHookV2[]>>;
|
|
161
|
-
postWebhookV2<T>({ payload, accountCode, }: {
|
|
162
|
-
payload: Webhook.WebHookV2;
|
|
163
|
-
accountCode: string;
|
|
164
|
-
}): Promise<AxiosResponse<T>>;
|
|
165
117
|
postWebhookV2MultiAccount<T>({ payload, }: {
|
|
166
118
|
payload: Webhook.WebHookV2MultiAccount;
|
|
167
119
|
}): Promise<AxiosResponse<T>>;
|
|
@@ -191,14 +143,11 @@ export declare class Api extends HttpClient {
|
|
|
191
143
|
}): Promise<AxiosResponse<T, any>>;
|
|
192
144
|
postSmartRoutingCreateWorkflow<T>(accountCode: string, data: any): Promise<AxiosResponse<T, any>>;
|
|
193
145
|
postSmartRoutingPublishVersion<T>(accountCode: string, versionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
194
|
-
postSmartRoutingValidateConnection<T>(accountIntegrationCode: string): Promise<AxiosResponse<T, any>>;
|
|
195
146
|
deleteSmartRoutingVersion<T>(accountCode: string, versionCode: string): Promise<AxiosResponse<T, any>>;
|
|
196
147
|
postSmartRoutingDuplicateVersion<T>(accountCode: string, versionCode: string): Promise<AxiosResponse<T, any>>;
|
|
197
148
|
getSmartRoutingDeclinedGroup<T>(accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
198
149
|
updateSmartRoutingDeclinedGroup<T>(accountCode: string, declineId: string, payload: any): Promise<AxiosResponse<T, any>>;
|
|
199
150
|
createSmartRoutingDeclinedGroup<T>(accountCode: string, payload: any): Promise<AxiosResponse<T, any>>;
|
|
200
|
-
getSmartRoutingTutorial<T>(accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
201
|
-
updateSmartRoutingTutorial<T>(accountCode: string, key: string): Promise<AxiosResponse<T, any>>;
|
|
202
151
|
getSmartRoutingPaymentRoute<T>(accountCode: string, paymentId: string): Promise<AxiosResponse<T, SmartRouting.PaymentRoutes>>;
|
|
203
152
|
updateSmartRoutingFavorite<T>(accountCode: string, versionCode: string, favorite: boolean): Promise<AxiosResponse<T, any>>;
|
|
204
153
|
getSmartRoutingSimulateConditionTypeValues<T>(accountCode: string): Promise<AxiosResponse<T, SmartRouting.ConditionTypeValues[]>>;
|
|
@@ -216,8 +165,6 @@ export declare class Api extends HttpClient {
|
|
|
216
165
|
getSmartRoutingDataReport<T>(params: {
|
|
217
166
|
[key: string]: number;
|
|
218
167
|
}): Promise<AxiosResponse<T, any>>;
|
|
219
|
-
getDashboardInsights<T>(params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
220
|
-
getInsightsMetricsConversionRate<T>(params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
221
168
|
getInsightsMetricsConversionRateV2<T>(params: DataReport.InsightMetricParams, path: string): Promise<AxiosResponse<T, any>>;
|
|
222
169
|
getInsightsMetricsConversionRateViewMore<T>(params: DataReport.InsightMetricParams, type: string): Promise<AxiosResponse<T, any>>;
|
|
223
170
|
getInsightFallbackMetrics<T>(params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
@@ -259,7 +206,6 @@ export declare class Api extends HttpClient {
|
|
|
259
206
|
accountCode: any;
|
|
260
207
|
template: any;
|
|
261
208
|
}): Promise<AxiosResponse<T>>;
|
|
262
|
-
updateIsActivePaymentMethod<T>(checkoutCode: any, paymentMethods: any): Promise<AxiosResponse<T>>;
|
|
263
209
|
updateIsActiveCheckout(args: Checkout.UpdateIsActiveCheckoutParams): Promise<AxiosResponse>;
|
|
264
210
|
getStylingTheme({ accountCode }: {
|
|
265
211
|
accountCode: string;
|
|
@@ -268,10 +214,7 @@ export declare class Api extends HttpClient {
|
|
|
268
214
|
getStylingSettings({ accountCode }: {
|
|
269
215
|
accountCode: any;
|
|
270
216
|
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
271
|
-
changePassword<T>(params: any): Promise<AxiosResponse<T>>;
|
|
272
217
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
273
|
-
/** @deprecated */
|
|
274
|
-
createReport<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
275
218
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
276
219
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
277
220
|
getTotalRowsForExport<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -285,18 +228,15 @@ export declare class Api extends HttpClient {
|
|
|
285
228
|
getReportColumns<T>(templateType: TemplateType, reportType: ReportType): Promise<any>;
|
|
286
229
|
getRefundPdf<T>(transactionCode: any, organizationCode: any): Promise<AxiosResponse<T, any>>;
|
|
287
230
|
getProofOfCancel<T>(transactionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
231
|
+
getProofOfPayment<T>(transactionCode: string, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
288
232
|
getScheduledReport<T>(reportType: any): Promise<AxiosResponse<T>>;
|
|
289
233
|
postScheduledReport<T>(payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|
|
290
234
|
updateScheduledReport<T>(reportCode: string, payload: IListScheduledReportsResponse): Promise<AxiosResponse<T>>;
|
|
291
235
|
deleteScheduledReport<T>(reportCode: string): Promise<AxiosResponse<T>>;
|
|
292
236
|
getProfile<T>(): Promise<AxiosResponse<T, any>>;
|
|
237
|
+
getImpersonationUsers<T>(): Promise<AxiosResponse<T, any>>;
|
|
293
238
|
updateProfile<T>(payload: User.UserRequestPayload): Promise<AxiosResponse<T>>;
|
|
294
|
-
inviteUsers<T>(data: User.UserInvitePayload): Promise<AxiosResponse<T>>;
|
|
295
|
-
inviteUsersV2<T>(data: UserInviteMultiaccountPayload, organizationCode: string): Promise<AxiosResponse<T>>;
|
|
296
239
|
inviteUsersMassive<T>(data: UserInviteMultiaccountPayload, organizationCode: string): Promise<AxiosResponse<T>>;
|
|
297
|
-
unInviteUsers<T>({ userCode }: {
|
|
298
|
-
userCode: any;
|
|
299
|
-
}): Promise<AxiosResponse<T>>;
|
|
300
240
|
unInviteUsersV2<T>({ userCode, organizationCode, }: {
|
|
301
241
|
userCode: any;
|
|
302
242
|
organizationCode: any;
|
|
@@ -304,15 +244,9 @@ export declare class Api extends HttpClient {
|
|
|
304
244
|
getAccounts<T>(organizationCode: any): Promise<AxiosResponse<T, any>>;
|
|
305
245
|
getAccountsV2<T>(): Promise<AxiosResponse<T, any>>;
|
|
306
246
|
getAccountsByUser<T>(userCode: string): Promise<AxiosResponse<T, any>>;
|
|
307
|
-
putAccountsUser<T>(organizationCode: any, userCode: any, payload: any): Promise<AxiosResponse<T, any>>;
|
|
308
247
|
putAccountsUserMassive<T>(organizationCode: any, userCode: any, payload: any): Promise<AxiosResponse<T, any>>;
|
|
309
248
|
deleteAccountsUserMassive<T, K>(organizationCode: string, userCode: string, payload: any): Promise<AxiosResponse<T, K>>;
|
|
310
249
|
postAccount<T>(name: string, principal: boolean): Promise<AxiosResponse<T>>;
|
|
311
|
-
patchAccount<T>({ name, code, principal, }: {
|
|
312
|
-
name: string;
|
|
313
|
-
code: string;
|
|
314
|
-
principal: boolean;
|
|
315
|
-
}): Promise<AxiosResponse<T>>;
|
|
316
250
|
patchAccountV2<T>({ name, code, principal, }: {
|
|
317
251
|
name: string;
|
|
318
252
|
code: string;
|
|
@@ -321,39 +255,18 @@ export declare class Api extends HttpClient {
|
|
|
321
255
|
putAccountPrincipal<T>({ account_code }: {
|
|
322
256
|
account_code: any;
|
|
323
257
|
}): Promise<AxiosResponse<T>>;
|
|
324
|
-
createNotificacion<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
325
258
|
getMergedNotifications<T>(): Promise<AxiosResponse<T>>;
|
|
326
259
|
getNotificationsCustomer<T>(customer: any): Promise<AxiosResponse<T>>;
|
|
327
260
|
getValidateOpsgenieKey<T>(key: any): Promise<AxiosResponse<T>>;
|
|
328
|
-
getNotificationsAccount<T>(account: any): Promise<AxiosResponse<T>>;
|
|
329
|
-
getNotification<T>(): Promise<AxiosResponse<T>>;
|
|
330
261
|
postSlackMessageChannel<T>(payload: {
|
|
331
262
|
channel: string;
|
|
332
263
|
text: string;
|
|
333
264
|
}): Promise<AxiosResponse<T>>;
|
|
334
265
|
pathNotification<T>(payload: PathNotification): Promise<AxiosResponse<T>>;
|
|
335
266
|
getNotificationsNumber<T>(customer: any): Promise<AxiosResponse<T>>;
|
|
336
|
-
getMembers<T>(organizationCode: any): Promise<AxiosResponse<T, any>>;
|
|
337
|
-
getMembersV3<T>({ organizationCode }: {
|
|
338
|
-
organizationCode: any;
|
|
339
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
340
267
|
teamsFiltersMembers<T>({ organizationCode, }: {
|
|
341
268
|
organizationCode: any;
|
|
342
269
|
}): Promise<AxiosResponse<T, any>>;
|
|
343
|
-
getMembersV4<T>({ organizationCode, accountCodes, }: {
|
|
344
|
-
organizationCode: any;
|
|
345
|
-
accountCodes: any;
|
|
346
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
347
|
-
postMembersV4<T>({ organizationCode, accountCodes, }: {
|
|
348
|
-
organizationCode: any;
|
|
349
|
-
accountCodes: any;
|
|
350
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
351
|
-
postMembersPaginated<T>({ organizationCode, accountCodes, page, pageSize, }: {
|
|
352
|
-
organizationCode: any;
|
|
353
|
-
accountCodes: any;
|
|
354
|
-
page: any;
|
|
355
|
-
pageSize: any;
|
|
356
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
357
270
|
postMembersPaginatedV2<T>({ organizationCode, accountCodes, email, page, pageSize, }: {
|
|
358
271
|
organizationCode: any;
|
|
359
272
|
accountCodes: any;
|
|
@@ -362,11 +275,7 @@ export declare class Api extends HttpClient {
|
|
|
362
275
|
pageSize: any;
|
|
363
276
|
}): Promise<AxiosResponse<T, any>>;
|
|
364
277
|
getRoles<T>(): Promise<AxiosResponse<T, any>>;
|
|
365
|
-
setRoles<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
366
278
|
setCustodian<T>(): Promise<AxiosResponse<T>>;
|
|
367
|
-
deleteUserTeam<T>({ userCode }: {
|
|
368
|
-
userCode: any;
|
|
369
|
-
}): Promise<AxiosResponse<T>>;
|
|
370
279
|
deleteUserTeamV2<T>({ userCode, organizationCode, }: {
|
|
371
280
|
userCode: any;
|
|
372
281
|
organizationCode: any;
|
|
@@ -403,18 +312,9 @@ export declare class Api extends HttpClient {
|
|
|
403
312
|
accountCode: any;
|
|
404
313
|
paymentLinkCode: any;
|
|
405
314
|
}): Promise<AxiosResponse<T, any>>;
|
|
406
|
-
postCreateProducts<T>({ payload }: {
|
|
407
|
-
payload: any;
|
|
408
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
409
315
|
postDeletePaymentLink<T>({ code }: {
|
|
410
316
|
code: any;
|
|
411
317
|
}): Promise<AxiosResponse<T, any>>;
|
|
412
|
-
getProductsByAccount<T>({ accountCode, }: {
|
|
413
|
-
accountCode: any;
|
|
414
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
415
|
-
getPaymentsByPaymentLink<T>(params: {
|
|
416
|
-
payment_link_code: string;
|
|
417
|
-
}, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
418
318
|
getTimezone<T>(organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
419
319
|
firebaseUserSubscribe<T>(payload: FirebaseUserSubscribe): Promise<AxiosResponse<T>>;
|
|
420
320
|
postUserSettings<T>(payload: TimeZoneCatalog | PaymentsSettings): Promise<AxiosResponse<T>>;
|
|
@@ -422,19 +322,13 @@ export declare class Api extends HttpClient {
|
|
|
422
322
|
postUserSettingsPinned<T>(payload: PinnedSections): Promise<AxiosResponse<T>>;
|
|
423
323
|
postUserThemeSettings<T>(payload: ThemeSettings): Promise<AxiosResponse<T>>;
|
|
424
324
|
getMfaTokenValidation<T>(password: string, otp: string): Promise<AxiosResponse<T, any>>;
|
|
425
|
-
getMfaToken<T>(password: string): Promise<AxiosResponse<T, any>>;
|
|
426
325
|
getEmailOtp<T>(): Promise<AxiosResponse<T, any>>;
|
|
427
|
-
validateOtp<T>(otp: string): Promise<AxiosResponse<T, any>>;
|
|
428
326
|
confirmMfaOtp<T>(payload: MfaUserSubscribe): Promise<AxiosResponse<T>>;
|
|
429
|
-
confirmOtp<T>(payload: MfaUserPayload): Promise<AxiosResponse<T>>;
|
|
430
327
|
unrollMfa<T>(password: any): Promise<AxiosResponse<T, any>>;
|
|
431
328
|
sendOTPForMFA(): Promise<AxiosResponse<void>>;
|
|
432
|
-
getMFAStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
433
|
-
postValidatePassword<T>(password: string): Promise<AxiosResponse<T, any>>;
|
|
434
329
|
getConfigAllowlist<T>(accountCode: any): Promise<AxiosResponse<T, any>>;
|
|
435
330
|
getBlackListType<T>(accountCode: any): Promise<AxiosResponse<T, any>>;
|
|
436
331
|
postBlockList<T>(accountCodes: string[], listName: string, page: number, size: number): Promise<AxiosResponse<T, any>>;
|
|
437
|
-
getOneBlackListType<T>(black_list_code: string): Promise<AxiosResponse<T, any>>;
|
|
438
332
|
getBlackListSummary<T>(black_list_code: string, account?: string | null): Promise<AxiosResponse<T, any>>;
|
|
439
333
|
getBlacklistDetail<T>(black_list_code: string, offset: number, limit?: number, account?: string | null, search?: string | null): Promise<AxiosResponse<T, any>>;
|
|
440
334
|
getAllowlistDetail<T>(code: string, account?: string | null): Promise<AxiosResponse<T, any>>;
|
|
@@ -468,9 +362,6 @@ export declare class Api extends HttpClient {
|
|
|
468
362
|
postBlackListMultiAccount<T>({ payload, }: {
|
|
469
363
|
payload: any;
|
|
470
364
|
}): Promise<AxiosResponse<T, any>>;
|
|
471
|
-
postBlackListType<T>({ payload }: {
|
|
472
|
-
payload: any;
|
|
473
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
474
365
|
putBlackListType<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
475
366
|
changeBlackListStatus<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
476
367
|
changeBlackListStatusItem<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -494,14 +385,6 @@ export declare class Api extends HttpClient {
|
|
|
494
385
|
valiateBlockListItems<T>({ payload, }: {
|
|
495
386
|
payload: any;
|
|
496
387
|
}): Promise<AxiosResponse<T, unknown>>;
|
|
497
|
-
getGeographicCoordinates<T>({ params, }: {
|
|
498
|
-
params: any;
|
|
499
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
500
|
-
deleteBlackListItem<T>({ black_list_code, account_code, item, }: {
|
|
501
|
-
black_list_code: any;
|
|
502
|
-
account_code: any;
|
|
503
|
-
item: any;
|
|
504
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
505
388
|
getVelocityRules<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
506
389
|
postChangePaymentsWebhook<T>({ status, paymentCode, }: ChangePaymentsWebhook): Promise<AxiosResponse<T, any>>;
|
|
507
390
|
uploadFileS3ClientBatchRefunds<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
@@ -518,10 +401,6 @@ export declare class Api extends HttpClient {
|
|
|
518
401
|
uploadBatchRefundsV2<T>({ payload }: {
|
|
519
402
|
payload: any;
|
|
520
403
|
}): Promise<AxiosResponse<T, any>>;
|
|
521
|
-
uploadBatchRefunds<T>({ payload, handleSetProgress, }: {
|
|
522
|
-
payload: any;
|
|
523
|
-
handleSetProgress: any;
|
|
524
|
-
}): Promise<AxiosResponse<T, any>>;
|
|
525
404
|
getBatchRefunds<T>(limit: any, offset: any): Promise<AxiosResponse<T, any>>;
|
|
526
405
|
getBatchRefundProcessedFileDownload<T>(batchRefundId: string, organizationCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
527
406
|
getBatchRefundUserFileDownload<T>(batchRefundId: string, organizationCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
@@ -538,7 +417,6 @@ export declare class Api extends HttpClient {
|
|
|
538
417
|
getConditionalConfigRules<T>(conditional: any): Promise<AxiosResponse<T, any>>;
|
|
539
418
|
getRule<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
540
419
|
postCreateRuleMultiAccount<T>(payload: any, accountCode: any): Promise<AxiosResponse<T, any>>;
|
|
541
|
-
postCreateRule<T>(payload: any, accountCode: any): Promise<AxiosResponse<T, any>>;
|
|
542
420
|
postEditRule<T>(payload: any, ruleId: any, accountCode: any): Promise<AxiosResponse<T, any>>;
|
|
543
421
|
postApiKeysRoll<T>(payload: any, keyCode: any, password: any): Promise<AxiosResponse<T, any>>;
|
|
544
422
|
patchApiKeysEditNote<T>(payload: any, keyCode: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -550,8 +428,6 @@ export declare class Api extends HttpClient {
|
|
|
550
428
|
getCustomizedApiKeysProducts<T>(): Promise<AxiosResponse<T, any>>;
|
|
551
429
|
getCustomizedApiKeysToken<T>(code: any, password: any): Promise<AxiosResponse<T, any>>;
|
|
552
430
|
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
553
|
-
getCustomizedApiKeysShowToken<T>(code: any): Promise<AxiosResponse<T, any>>;
|
|
554
|
-
getLoginSSO<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
555
431
|
deleteCustomizedApiKeys<T>(code: any): Promise<AxiosResponse<T, any>>;
|
|
556
432
|
postCreateInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
557
433
|
getInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -1,27 +1,5 @@
|
|
|
1
1
|
import { Organization, Webhook } from '../../types';
|
|
2
2
|
import { DeleteMutation } from './delete-mutation';
|
|
3
|
-
export declare function usePostWebhook({ onSuccessCallback, }: {
|
|
4
|
-
onSuccessCallback?: (data?: any) => void;
|
|
5
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<{
|
|
6
|
-
code: string;
|
|
7
|
-
}, any>, unknown, {
|
|
8
|
-
payload: Webhook.WebhookRequestPayload;
|
|
9
|
-
accountCode: string;
|
|
10
|
-
}, {
|
|
11
|
-
payload: Webhook.WebhookRequestPayload;
|
|
12
|
-
accountCode: string;
|
|
13
|
-
}>;
|
|
14
|
-
export declare function usePostWebhookV2({ onSuccessCallback, }: {
|
|
15
|
-
onSuccessCallback?: (data: any) => void;
|
|
16
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<{
|
|
17
|
-
code: string;
|
|
18
|
-
}, any>, unknown, {
|
|
19
|
-
payload: Webhook.WebHookV2;
|
|
20
|
-
accountCode: string;
|
|
21
|
-
}, {
|
|
22
|
-
payload: Webhook.WebHookV2;
|
|
23
|
-
accountCode: string;
|
|
24
|
-
}>;
|
|
25
3
|
export declare function usePostWebhookMultiAccount({ onSuccessCallback, }: {
|
|
26
4
|
onSuccessCallback?: (data: any) => void;
|
|
27
5
|
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
@@ -29,13 +7,6 @@ export declare function usePostWebhookMultiAccount({ onSuccessCallback, }: {
|
|
|
29
7
|
}, {
|
|
30
8
|
payload: Webhook.WebHookV2MultiAccount;
|
|
31
9
|
}>;
|
|
32
|
-
export declare function useDeleteWebhook({ onSuccessCallback, }: {
|
|
33
|
-
onSuccessCallback?: (data?: any) => void;
|
|
34
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<any, any>, unknown, {
|
|
35
|
-
code: string;
|
|
36
|
-
}, {
|
|
37
|
-
code: string;
|
|
38
|
-
}>;
|
|
39
10
|
export declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
40
11
|
onSuccessCallback?: (data: any) => void;
|
|
41
12
|
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<null, any>, unknown, {
|
|
@@ -45,15 +16,6 @@ export declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
|
45
16
|
code: string;
|
|
46
17
|
accountCode: string;
|
|
47
18
|
}>;
|
|
48
|
-
export declare function useUpdateWebhook({ onSuccessCallback, }: {
|
|
49
|
-
onSuccessCallback?: (data?: any) => void;
|
|
50
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<any, any>, unknown, {
|
|
51
|
-
code: string;
|
|
52
|
-
payload: any;
|
|
53
|
-
}, {
|
|
54
|
-
code: string;
|
|
55
|
-
payload: any;
|
|
56
|
-
}>;
|
|
57
19
|
export declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
58
20
|
onSuccessCallback?: (data: any) => void;
|
|
59
21
|
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Webhook.WebHookV2, any>, unknown, {
|
|
@@ -69,11 +31,6 @@ export declare function usePostAccount(): import("@tanstack/react-query").UseMut
|
|
|
69
31
|
name: string;
|
|
70
32
|
principal: boolean;
|
|
71
33
|
}, unknown>;
|
|
72
|
-
export declare function usePatchAccount(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
73
|
-
name: string;
|
|
74
|
-
code: string;
|
|
75
|
-
principal: boolean;
|
|
76
|
-
}, unknown>;
|
|
77
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;
|
|
@@ -82,14 +39,6 @@ export declare function usePatchAccountV2(): import("@tanstack/react-query").Use
|
|
|
82
39
|
export declare function usePutAccountPrincipal(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
83
40
|
account_code: string;
|
|
84
41
|
}, unknown>;
|
|
85
|
-
export declare function usePutAccountsUser(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
86
|
-
organizationCode: string;
|
|
87
|
-
userCode: string;
|
|
88
|
-
payload: {
|
|
89
|
-
role_id: string;
|
|
90
|
-
account_code: string;
|
|
91
|
-
};
|
|
92
|
-
}, unknown>;
|
|
93
42
|
export declare function usePutAccountsUserMassive(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
94
43
|
organizationCode: string;
|
|
95
44
|
userCode: string;
|
|
@@ -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;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Team } from '../../types';
|
|
2
2
|
import { UseMutationResult } from '@tanstack/react-query';
|
|
3
3
|
import { AxiosError } from 'axios';
|
|
4
|
-
export declare function useSetRoles(): UseMutationResult<Team.SetRoleResponse, unknown>;
|
|
5
|
-
export declare function useDeleteUserTeam(): UseMutationResult<void, unknown>;
|
|
6
4
|
export declare function useDeleteUserTeamV2(): UseMutationResult<void, unknown>;
|
|
7
5
|
export declare function useSetCustodian(): UseMutationResult<Team.SetRoleResponse, unknown>;
|
|
8
6
|
export declare function useCreateRoles(): UseMutationResult<Team.NewRoleResponse, AxiosError>;
|
|
@@ -3,12 +3,7 @@ import { UserInviteMultiaccountPayload } from '../../api';
|
|
|
3
3
|
export declare function useUpdateProfile({ onSuccessCallback, }: {
|
|
4
4
|
onSuccessCallback?: () => void;
|
|
5
5
|
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any>, unknown, User.UserRequestPayload, User.UserRequestPayload>;
|
|
6
|
-
export declare function useInviteUsers(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any>, unknown, User.UserInvitePayload, unknown>;
|
|
7
|
-
export declare function useInviteUsersMultiaccount(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any>, unknown, UserInviteMultiaccountPayload, unknown>;
|
|
8
6
|
export declare function useInviteUsersMultiaccountMassive(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponseInviteUser, any>, unknown, UserInviteMultiaccountPayload, unknown>;
|
|
9
|
-
export declare function useUnInviteUsers(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any>, unknown, {
|
|
10
|
-
userCode: string;
|
|
11
|
-
}, unknown>;
|
|
12
7
|
export declare function useUnInviteUsersV2(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any>, unknown, {
|
|
13
8
|
userCode: string;
|
|
14
9
|
organizationCode: string;
|
|
@@ -2,5 +2,4 @@ import { UseMutationResult } from '@tanstack/react-query';
|
|
|
2
2
|
export declare function useGetConditionalConfigRules(): UseMutationResult<unknown>;
|
|
3
3
|
export declare function useGetRule(): UseMutationResult<unknown>;
|
|
4
4
|
export declare function usePostCreateRuleMultiAccount(): UseMutationResult<unknown>;
|
|
5
|
-
export declare function usePostCreateRule(): UseMutationResult<unknown>;
|
|
6
5
|
export declare function usePostEditRule(): UseMutationResult<unknown>;
|