@yuno-payments/dashboard-api-mfe 1.11.4 → 1.11.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 +20 -18
- package/build/cjs/types/msw/handlers/accounts.d.ts +1 -0
- package/build/cjs/types/msw/handlers/mfa.d.ts +1 -0
- package/build/cjs/types/mutations/accounts/accounts.mutation.d.ts +2 -0
- package/build/cjs/types/mutations/index.d.ts +1 -0
- package/build/cjs/types/mutations/notifications/notifications.mutation.d.ts +2 -3
- package/build/cjs/types/mutations/playground/index.d.ts +1 -0
- package/build/cjs/types/mutations/playground/playground.mutation.d.ts +7 -0
- package/build/cjs/types/mutations/recipients/recipients.mutation.d.ts +14 -7
- package/build/cjs/types/queries/accounts/accounts.query.d.ts +3 -0
- package/build/cjs/types/queries/checkouts/checkouts.query.d.ts +105 -1
- package/build/cjs/types/queries/data-report/data-report.query.d.ts +0 -4
- package/build/cjs/types/queries/index.d.ts +0 -2
- package/build/cjs/types/queries/mfa/organization-settings.query.d.ts +4 -1
- package/build/cjs/types/queries/payment-links/payment-links.query.d.ts +0 -1
- package/build/cjs/types/queries/recipients/recipients.query.d.ts +6 -1
- package/build/cjs/types/queries/security/security.query.d.ts +15 -0
- package/build/cjs/types/types/audit/audit.d.ts +2 -0
- package/build/cjs/types/types/data-report/data-report.d.ts +4 -1
- package/build/cjs/types/types/index.d.ts +1 -1
- package/build/cjs/types/types/installments/installments.d.ts +4 -0
- package/build/cjs/types/types/mfa/mfa.d.ts +4 -0
- package/build/cjs/types/types/organization/organization.d.ts +4 -0
- package/build/cjs/types/types/playground/index.d.ts +1 -0
- package/build/cjs/types/types/playground/playground.d.ts +33 -0
- package/build/cjs/types/types/recipients/index.d.ts +1 -0
- package/build/cjs/types/types/recipients/recipients-export.d.ts +52 -0
- package/build/cjs/types/types/reports/reports.d.ts +1 -0
- package/build/cjs/types/types/subscriptions/subscriptions.d.ts +7 -0
- package/build/cjs/types/types/template-reporting/template.types.d.ts +4 -0
- package/build/cjs/types/utils/enums.d.ts +0 -143
- package/build/esm/index.js +6 -6
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +20 -18
- package/build/esm/types/msw/handlers/accounts.d.ts +1 -0
- package/build/esm/types/msw/handlers/mfa.d.ts +1 -0
- package/build/esm/types/mutations/accounts/accounts.mutation.d.ts +2 -0
- package/build/esm/types/mutations/index.d.ts +1 -0
- package/build/esm/types/mutations/notifications/notifications.mutation.d.ts +2 -3
- package/build/esm/types/mutations/playground/index.d.ts +1 -0
- package/build/esm/types/mutations/playground/playground.mutation.d.ts +7 -0
- package/build/esm/types/mutations/recipients/recipients.mutation.d.ts +14 -7
- package/build/esm/types/queries/accounts/accounts.query.d.ts +3 -0
- package/build/esm/types/queries/checkouts/checkouts.query.d.ts +105 -1
- package/build/esm/types/queries/data-report/data-report.query.d.ts +0 -4
- package/build/esm/types/queries/index.d.ts +0 -2
- package/build/esm/types/queries/mfa/organization-settings.query.d.ts +4 -1
- package/build/esm/types/queries/payment-links/payment-links.query.d.ts +0 -1
- package/build/esm/types/queries/recipients/recipients.query.d.ts +6 -1
- package/build/esm/types/queries/security/security.query.d.ts +15 -0
- package/build/esm/types/types/audit/audit.d.ts +2 -0
- package/build/esm/types/types/data-report/data-report.d.ts +4 -1
- package/build/esm/types/types/index.d.ts +1 -1
- package/build/esm/types/types/installments/installments.d.ts +4 -0
- package/build/esm/types/types/mfa/mfa.d.ts +4 -0
- package/build/esm/types/types/organization/organization.d.ts +4 -0
- package/build/esm/types/types/playground/index.d.ts +1 -0
- package/build/esm/types/types/playground/playground.d.ts +33 -0
- package/build/esm/types/types/recipients/index.d.ts +1 -0
- package/build/esm/types/types/recipients/recipients-export.d.ts +52 -0
- package/build/esm/types/types/reports/reports.d.ts +1 -0
- package/build/esm/types/types/subscriptions/subscriptions.d.ts +7 -0
- package/build/esm/types/types/template-reporting/template.types.d.ts +4 -0
- package/build/esm/types/utils/enums.d.ts +0 -143
- package/build/index.d.ts +282 -97
- package/package.json +1 -1
- package/build/cjs/types/queries/cms/cms.query.d.ts +0 -14
- package/build/cjs/types/queries/cms/index.d.ts +0 -1
- package/build/cjs/types/queries/dialogs/dialogs.query.d.ts +0 -2
- package/build/cjs/types/queries/dialogs/index.d.ts +0 -1
- package/build/cjs/types/types/cms/cms.d.ts +0 -47
- package/build/cjs/types/types/cms/index.d.ts +0 -1
- package/build/esm/types/queries/cms/cms.query.d.ts +0 -14
- package/build/esm/types/queries/cms/index.d.ts +0 -1
- package/build/esm/types/queries/dialogs/dialogs.query.d.ts +0 -2
- package/build/esm/types/queries/dialogs/index.d.ts +0 -1
- package/build/esm/types/types/cms/cms.d.ts +0 -47
- package/build/esm/types/types/cms/index.d.ts +0 -1
- package/build/main.0ef469d30ac1f73e.hot-update.js +0 -46
- package/build/main.0ef469d30ac1f73e.hot-update.js.map +0 -1
- package/build/main.0ef469d30ac1f73e.hot-update.json +0 -1
- package/build/main.12ba9763a5af2867.hot-update.js +0 -4178
- package/build/main.12ba9763a5af2867.hot-update.js.map +0 -1
- package/build/main.12ba9763a5af2867.hot-update.json +0 -1
- package/build/main.2f0bb65f361bc9aa.hot-update.js +0 -2575
- package/build/main.2f0bb65f361bc9aa.hot-update.js.map +0 -1
- package/build/main.2f0bb65f361bc9aa.hot-update.json +0 -1
- package/build/main.31b800bdfc7bcf66.hot-update.js +0 -23
- package/build/main.31b800bdfc7bcf66.hot-update.js.map +0 -1
- package/build/main.31b800bdfc7bcf66.hot-update.json +0 -1
- package/build/main.31ef41183a0357fd.hot-update.js +0 -23
- package/build/main.31ef41183a0357fd.hot-update.js.map +0 -1
- package/build/main.31ef41183a0357fd.hot-update.json +0 -1
- package/build/main.39b804b4f223333f.hot-update.js +0 -142
- package/build/main.39b804b4f223333f.hot-update.js.map +0 -1
- package/build/main.39b804b4f223333f.hot-update.json +0 -1
- package/build/main.3ca3490681942ed0.hot-update.js +0 -10
- package/build/main.3ca3490681942ed0.hot-update.js.map +0 -1
- package/build/main.3ca3490681942ed0.hot-update.json +0 -1
- package/build/main.3e4059ad01b911d5.hot-update.js +0 -10
- package/build/main.3e4059ad01b911d5.hot-update.js.map +0 -1
- package/build/main.3e4059ad01b911d5.hot-update.json +0 -1
- package/build/main.4ead4321633f87fd.hot-update.js +0 -10
- package/build/main.4ead4321633f87fd.hot-update.js.map +0 -1
- package/build/main.4ead4321633f87fd.hot-update.json +0 -1
- package/build/main.5231ec959bfdd54a.hot-update.js +0 -823
- package/build/main.5231ec959bfdd54a.hot-update.js.map +0 -1
- package/build/main.5231ec959bfdd54a.hot-update.json +0 -1
- package/build/main.60642e2056d40cbc.hot-update.js +0 -23
- package/build/main.60642e2056d40cbc.hot-update.js.map +0 -1
- package/build/main.60642e2056d40cbc.hot-update.json +0 -1
- package/build/main.7504b5e28de88b4d.hot-update.js +0 -10
- package/build/main.7504b5e28de88b4d.hot-update.js.map +0 -1
- package/build/main.7504b5e28de88b4d.hot-update.json +0 -1
- package/build/main.75fac631457c8400.hot-update.js +0 -937
- package/build/main.75fac631457c8400.hot-update.js.map +0 -1
- package/build/main.75fac631457c8400.hot-update.json +0 -1
- package/build/main.7654b5e519accc5a.hot-update.js +0 -10
- package/build/main.7654b5e519accc5a.hot-update.js.map +0 -1
- package/build/main.7654b5e519accc5a.hot-update.json +0 -1
- package/build/main.7734f96d14c3c07a.hot-update.js +0 -10
- package/build/main.7734f96d14c3c07a.hot-update.js.map +0 -1
- package/build/main.7734f96d14c3c07a.hot-update.json +0 -1
- package/build/main.79d0dd0a059cf3d2.hot-update.js +0 -10
- package/build/main.79d0dd0a059cf3d2.hot-update.js.map +0 -1
- package/build/main.79d0dd0a059cf3d2.hot-update.json +0 -1
- package/build/main.9a3105c0515511e6.hot-update.js +0 -952
- package/build/main.9a3105c0515511e6.hot-update.js.map +0 -1
- package/build/main.9a3105c0515511e6.hot-update.json +0 -1
- package/build/main.9a70cae7efc29065.hot-update.js +0 -39
- package/build/main.9a70cae7efc29065.hot-update.js.map +0 -1
- package/build/main.9a70cae7efc29065.hot-update.json +0 -1
- package/build/main.9b33c6fcc8fd3f57.hot-update.js +0 -10
- package/build/main.9b33c6fcc8fd3f57.hot-update.js.map +0 -1
- package/build/main.9b33c6fcc8fd3f57.hot-update.json +0 -1
- package/build/main.9c87c39ff7873bca.hot-update.js +0 -10
- package/build/main.9c87c39ff7873bca.hot-update.js.map +0 -1
- package/build/main.9c87c39ff7873bca.hot-update.json +0 -1
- package/build/main.9f7159d52fd04a7d.hot-update.js +0 -3749
- package/build/main.9f7159d52fd04a7d.hot-update.js.map +0 -1
- package/build/main.9f7159d52fd04a7d.hot-update.json +0 -1
- package/build/main.a0a0faaf03061b21.hot-update.js +0 -23
- package/build/main.a0a0faaf03061b21.hot-update.js.map +0 -1
- package/build/main.a0a0faaf03061b21.hot-update.json +0 -1
- package/build/main.b58cc596e947fb5b.hot-update.js +0 -34
- package/build/main.b58cc596e947fb5b.hot-update.js.map +0 -1
- package/build/main.b58cc596e947fb5b.hot-update.json +0 -1
- package/build/main.b659381d4f13795e.hot-update.js +0 -10
- package/build/main.b659381d4f13795e.hot-update.js.map +0 -1
- package/build/main.b659381d4f13795e.hot-update.json +0 -1
- package/build/main.bbb650ecadb0a13b.hot-update.js +0 -61
- package/build/main.bbb650ecadb0a13b.hot-update.js.map +0 -1
- package/build/main.bbb650ecadb0a13b.hot-update.json +0 -1
- package/build/main.bf97cc6dbbb3cdb1.hot-update.js +0 -10
- package/build/main.bf97cc6dbbb3cdb1.hot-update.js.map +0 -1
- package/build/main.bf97cc6dbbb3cdb1.hot-update.json +0 -1
- package/build/main.d62d5a57d5bc6614.hot-update.js +0 -4236
- package/build/main.d62d5a57d5bc6614.hot-update.js.map +0 -1
- package/build/main.d62d5a57d5bc6614.hot-update.json +0 -1
- package/build/main.e0010fdb661814be.hot-update.js +0 -10
- package/build/main.e0010fdb661814be.hot-update.js.map +0 -1
- package/build/main.e0010fdb661814be.hot-update.json +0 -1
- package/build/main.ecc2159bd4dc7d54.hot-update.js +0 -23
- package/build/main.ecc2159bd4dc7d54.hot-update.js.map +0 -1
- package/build/main.ecc2159bd4dc7d54.hot-update.json +0 -1
- package/build/main.f921adce709bfd01.hot-update.js +0 -50871
- package/build/main.f921adce709bfd01.hot-update.js.map +0 -1
- package/build/main.f921adce709bfd01.hot-update.json +0 -1
- package/build/yuno-dashboard-api-mfe.js +0 -55915
- package/build/yuno-dashboard-api-mfe.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import { HttpClient } from '../lib/http-client';
|
|
3
3
|
import { GetPaymentsParams, GetReconciliationMetricParams, FirebaseUserSubscribe, PathNotification, TimeZoneCatalog, GetTransactionDetailsV2Params, MfaUserSubscribe, UserInviteMultiaccountPayload, GetTransactionsParams, PaymentsSettings, GetPayoutDetail, GetPayoutTransactionDetail, PinnedSections, ThemeSettings, ListSubscriptionsParams } from './api.types';
|
|
4
|
-
import { Audit, OperationTransaction, Organization, OrganizationConfig, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, ReconciliationInsights, Payment, AddToRiskListRequest, InsightsFraudParams, InsightsFraudBody, AI, PaymentFiltersSection, Installments, Connection, TemplateReporting, GetUserFullResponse, Team, ConciergeAlerts } from '../types';
|
|
4
|
+
import { Audit, OperationTransaction, Organization, OrganizationConfig, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, ReconciliationInsights, Payment, AddToRiskListRequest, InsightsFraudParams, InsightsFraudBody, AI, PaymentFiltersSection, Installments, Connection, TemplateReporting, GetUserFullResponse, Team, ConciergeAlerts, Playground } from '../types';
|
|
5
5
|
import { ConversionRateParams, ConversionRateBody, ConversionRateOverview, ConversionRateOverviewFraud3ds } from '../types/data-report/conversion-rate.types';
|
|
6
6
|
import { RoutingMonitors } from '../types/routing-monitors';
|
|
7
7
|
import { ChangePaymentsWebhook } from '../mutations';
|
|
@@ -140,7 +140,6 @@ export declare class Api extends HttpClient {
|
|
|
140
140
|
connections: [integration_code: string, account_code: string];
|
|
141
141
|
};
|
|
142
142
|
}): Promise<AxiosResponse<T, any>>;
|
|
143
|
-
getDialogs<T>(): Promise<AxiosResponse<T, any>>;
|
|
144
143
|
getWebhookParamsV2<T>(): Promise<AxiosResponse<T, Webhook.ParamV2[]>>;
|
|
145
144
|
getWebhooksV3<T>({ accountCode, name, }: {
|
|
146
145
|
accountCode: string;
|
|
@@ -154,7 +153,6 @@ export declare class Api extends HttpClient {
|
|
|
154
153
|
}): Promise<AxiosResponse<T>>;
|
|
155
154
|
deleteWebhookV2<T>(code: string, accountCode: string): Promise<AxiosResponse<T>>;
|
|
156
155
|
updateWebhookV2<T>(code: string, payload: any, accountCode: string): Promise<AxiosResponse<T>>;
|
|
157
|
-
getMenu<T>(): Promise<AxiosResponse<T>>;
|
|
158
156
|
postWebhookLogs<T>({ payload: { account_code, ...rest }, }: {
|
|
159
157
|
payload: Audit.AuditWebhooksParams;
|
|
160
158
|
}): Promise<AxiosResponse<T>>;
|
|
@@ -181,15 +179,8 @@ export declare class Api extends HttpClient {
|
|
|
181
179
|
postApiLogsStatsErrorsByEndpoint<T>(payload: Audit.ApiLogsStatsParams): Promise<AxiosResponse<T>>;
|
|
182
180
|
postApiLogsList<T>(payload: Audit.ApiLogsListParams): Promise<AxiosResponse<T>>;
|
|
183
181
|
getApiLogsV3ByPaymentCode<T>(paymentCode: string, createdAtFrom?: string): Promise<AxiosResponse<T>>;
|
|
184
|
-
useGetPaymentStatusesStyles<T>(): Promise<AxiosResponse<T, any>>;
|
|
185
|
-
useGetTransactionStatusesStyles<T>(): Promise<AxiosResponse<T, any>>;
|
|
186
|
-
useGetReconciliationTransactionStatusesStyles<T>(): Promise<AxiosResponse<T, any>>;
|
|
187
182
|
useGetCountriesConfig<T>(): Promise<AxiosResponse<T, any>>;
|
|
188
183
|
useGetCountriesConfigV2<T>(acceptLanguage?: string): Promise<AxiosResponse<T, any>>;
|
|
189
|
-
useGetTimeZoneCatalog<T>(): Promise<AxiosResponse<T, any>>;
|
|
190
|
-
useGetAuditLogsFilters<T>(): Promise<AxiosResponse<T, any>>;
|
|
191
|
-
getDashboardStaticContents<T>(): Promise<AxiosResponse<T, any>>;
|
|
192
|
-
getLocales<T>(): Promise<AxiosResponse<T, any>>;
|
|
193
184
|
getSmartRoutingMethods<T>(accountCode: string, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
194
185
|
putSmartRoutingToggleMethod<T>(accountCode: string, paymentMethod: string, active: boolean, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
195
186
|
getSmartRoutingConditionTypes<T>(accountCode: string, paymentMethod: string, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
@@ -233,7 +224,6 @@ export declare class Api extends HttpClient {
|
|
|
233
224
|
getInsightsMetricsConversionRateV2<T>(params: DataReport.InsightMetricParams, path: string): Promise<AxiosResponse<T, any>>;
|
|
234
225
|
getInsightsMetricsConversionRateViewMore<T>(params: DataReport.InsightMetricParams, type: string): Promise<AxiosResponse<T, any>>;
|
|
235
226
|
getInsightFallbackMetrics<T>(params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
236
|
-
getInsightsMetricsVolume<T>(account_codes: string, params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
237
227
|
getInsightsMetricsVolumeV2<T>(account_codes: string, path: DataReport.InsightsVolumeMetricsV2Path, params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
238
228
|
getInsightsFraudScreeningVolumeAndCountTx(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
239
229
|
getInsightsFraudScreeningConversionRate(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
@@ -249,11 +239,8 @@ export declare class Api extends HttpClient {
|
|
|
249
239
|
getInsightsChargebacksReasonsDistribution(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
250
240
|
getInsightsChargebacksStatusDistribution(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
251
241
|
getInsightsChargebacksByCardBrand(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
252
|
-
getInsightOverview<T>(params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
253
242
|
getInsightOverviewV3<T>(params: DataReport.InsightMetricParams, type: DataReport.OverviewMetricType): Promise<AxiosResponse<T, any>>;
|
|
254
243
|
getInsighstHomeMetrics<T>(params: DataReport.InsightsHomeMetrics): Promise<AxiosResponse<T, any>>;
|
|
255
|
-
getInsightsMetricsTotalPaymentsAndFraud<T>(account_codes: string, params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
256
|
-
getInsightsMetricsCustomerPaymentsAndFraud<T>(account_codes: string, params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
257
244
|
getCheckouts({ accountCode, }: {
|
|
258
245
|
accountCode: any;
|
|
259
246
|
}): Promise<AxiosResponse<Checkout.CheckoutList[]>>;
|
|
@@ -362,12 +349,19 @@ export declare class Api extends HttpClient {
|
|
|
362
349
|
putAccountPrincipal<T>({ account_code }: {
|
|
363
350
|
account_code: any;
|
|
364
351
|
}): Promise<AxiosResponse<T>>;
|
|
352
|
+
bulkDisableAccounts(payload: Organization.BulkToggleAccountsRequest): Promise<AxiosResponse<Organization.BulkToggleAccountsResponse>>;
|
|
353
|
+
bulkEnableAccounts(payload: Organization.BulkToggleAccountsRequest): Promise<AxiosResponse<Organization.BulkToggleAccountsResponse>>;
|
|
354
|
+
getAccountsByOrganization<T>(params?: {
|
|
355
|
+
includeDisabled?: boolean;
|
|
356
|
+
}): Promise<AxiosResponse<T, any>>;
|
|
357
|
+
getAccountsByOrganizationCode<T>(organizationCode: string, params?: {
|
|
358
|
+
includeDisabled?: boolean;
|
|
359
|
+
}): Promise<AxiosResponse<T, any>>;
|
|
365
360
|
getMergedNotifications<T>(): Promise<AxiosResponse<T>>;
|
|
366
361
|
getNotificationsCustomer<T>(customer: any): Promise<AxiosResponse<T>>;
|
|
367
362
|
getValidateOpsgenieKey<T>(key: any): Promise<AxiosResponse<T>>;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
text: string;
|
|
363
|
+
postSlackFeatureNotification<T>(payload: {
|
|
364
|
+
feature: string;
|
|
371
365
|
}): Promise<AxiosResponse<T>>;
|
|
372
366
|
pathNotification<T>(payload: PathNotification): Promise<AxiosResponse<T>>;
|
|
373
367
|
getNotificationsNumber<T>(customer: any): Promise<AxiosResponse<T>>;
|
|
@@ -427,6 +421,7 @@ export declare class Api extends HttpClient {
|
|
|
427
421
|
workosAdminPortal<T>(): Promise<AxiosResponse<T>>;
|
|
428
422
|
workosDomainVerificationPortal<T>(): Promise<AxiosResponse<T>>;
|
|
429
423
|
workosDomainStatus<T>(): Promise<AxiosResponse<T>>;
|
|
424
|
+
workosSsoConfigStatus<T>(): Promise<AxiosResponse<T>>;
|
|
430
425
|
workosVerifyMfa<T>(body: any): Promise<AxiosResponse<T>>;
|
|
431
426
|
getCardBrands<T>(): Promise<AxiosResponse<T>>;
|
|
432
427
|
getPaymentFilters<T>(section: PaymentFiltersSection): Promise<AxiosResponse<T>>;
|
|
@@ -464,7 +459,6 @@ export declare class Api extends HttpClient {
|
|
|
464
459
|
postRescheduleSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
465
460
|
getSubscriptionPayments<T>(subscriptionCode: string, page?: number, size?: number): Promise<AxiosResponse<T, any>>;
|
|
466
461
|
postListSubscriptions<T>(payload: ListSubscriptionsParams): Promise<AxiosResponse<T, any>>;
|
|
467
|
-
getTimezone<T>(organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
468
462
|
getInstallmentPlans(params?: Installments.GetInstallmentsPlansParams): Promise<AxiosResponse<Installments.GetInstallmentsPlansResponse>>;
|
|
469
463
|
createInstallmentsPlan<T, P = unknown>(payload: P): Promise<AxiosResponse<T>>;
|
|
470
464
|
updateInstallmentsPlan<T, P = unknown>(code: string, payload: P): Promise<AxiosResponse<T>>;
|
|
@@ -567,6 +561,7 @@ export declare class Api extends HttpClient {
|
|
|
567
561
|
organizationCode: any;
|
|
568
562
|
}): Promise<AxiosResponse<T, any>>;
|
|
569
563
|
getMFAEnforcementStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
564
|
+
getWorkOsMfaStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
570
565
|
updateMFAConfig<T>(payload: OrganizationSettings.MfaConfigRequest, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
571
566
|
mfaExcludeUsers<T>(users: OrganizationSettings.MfaUserExcluded[], organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
572
567
|
getAllConfigRules<T>(): Promise<AxiosResponse<T, any>>;
|
|
@@ -669,6 +664,12 @@ export declare class Api extends HttpClient {
|
|
|
669
664
|
getRecipientById<T>(organizationCode: string, recipientId: string): Promise<AxiosResponse<T, any>>;
|
|
670
665
|
getOnboardingDetail<T>(organizationCode: string, recipientId: string, onboardingId: string): Promise<AxiosResponse<T, any>>;
|
|
671
666
|
getOnboardingTimeline<T>(organizationCode: string, onboardingId: string): Promise<AxiosResponse<T, any>>;
|
|
667
|
+
createRecipientExport<T>(payload: unknown, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
668
|
+
getRecipientExports<T>(params: {
|
|
669
|
+
page?: number;
|
|
670
|
+
size?: number;
|
|
671
|
+
}, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
672
|
+
downloadRecipientExport<T>(exportCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
672
673
|
createRecipient<T>(organizationCode: string, payload: CreateRecipientPayload): Promise<AxiosResponse<T, any>>;
|
|
673
674
|
updateRecipient<T>(organizationCode: string, recipientId: string, payload: UpdateRecipientPayload): Promise<AxiosResponse<T, any>>;
|
|
674
675
|
deleteRecipient<T>(organizationCode: string, recipientId: string): Promise<AxiosResponse<T, any>>;
|
|
@@ -681,5 +682,6 @@ export declare class Api extends HttpClient {
|
|
|
681
682
|
createConciergeAlert<T>(payload: ConciergeAlerts.CreateAlertPayload): Promise<AxiosResponse<T>>;
|
|
682
683
|
deleteConciergeAlert<T>(alertId: string): Promise<AxiosResponse<T>>;
|
|
683
684
|
enableConciergeAlert<T>(alertId: string, payload: ConciergeAlerts.EnableAlertPayload): Promise<AxiosResponse<T>>;
|
|
685
|
+
postPlaygroundExecuteFlow<T>(payload: Playground.ExecuteFlowPayload): Promise<AxiosResponse<T, unknown>>;
|
|
684
686
|
}
|
|
685
687
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const accountsHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const mfaHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -44,6 +44,8 @@ export declare function usePatchAccountV2(): UseMutationResult<AxiosResponse<Org
|
|
|
44
44
|
export declare function usePutAccountPrincipal(): UseMutationResult<AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
45
45
|
account_code: string;
|
|
46
46
|
}, unknown>;
|
|
47
|
+
export declare function useBulkDisableAccounts(): UseMutationResult<AxiosResponse<Organization.BulkToggleAccountsResponse>, AxiosError, Organization.BulkToggleAccountsRequest>;
|
|
48
|
+
export declare function useBulkEnableAccounts(): UseMutationResult<AxiosResponse<Organization.BulkToggleAccountsResponse>, AxiosError, Organization.BulkToggleAccountsRequest>;
|
|
47
49
|
export declare function usePutAccountsUserMassive(): UseMutationResult<AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
48
50
|
organizationCode: string;
|
|
49
51
|
userCode: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function usePostSlackFeatureNotification(): import("@tanstack/react-query").UseMutationResult<unknown, unknown, {
|
|
2
2
|
payload: {
|
|
3
|
-
|
|
4
|
-
text: string;
|
|
3
|
+
feature: string;
|
|
5
4
|
};
|
|
6
5
|
}, unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './playground.mutation';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { AxiosError } from 'axios';
|
|
3
|
+
import { Playground } from '../../types';
|
|
4
|
+
import { BFFErrorResponse } from '../smart-routing';
|
|
5
|
+
export declare function usePostPlaygroundExecuteFlow(): UseMutationResult<Playground.ExecuteFlowResponse, AxiosError<BFFErrorResponse>, {
|
|
6
|
+
payload: Playground.ExecuteFlowPayload;
|
|
7
|
+
}>;
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
3
|
+
import { RecipientsExport } from '../../types/recipients';
|
|
2
4
|
import { CreateRecipientParams, UpdateRecipientParams, DeleteRecipientParams, CreateOnboardingParams, UpdateOnboardingParams, BlockOnboardingParams, UnblockOnboardingParams } from '../../types/recipients/recipients-mutations';
|
|
3
5
|
import { Recipients } from '../../types/recipients/recipients';
|
|
4
6
|
import { BFFErrorResponse } from '../smart-routing/smart-routing.mutation';
|
|
5
|
-
export declare function
|
|
6
|
-
export declare function
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare function
|
|
11
|
-
export declare function
|
|
7
|
+
export declare function useCreateRecipientExport(): UseMutationResult<RecipientsExport.ExportItem, unknown>;
|
|
8
|
+
export declare function useDownloadRecipientExport(): UseMutationResult<{
|
|
9
|
+
download_url: string;
|
|
10
|
+
expires_in_seconds: number;
|
|
11
|
+
}, unknown>;
|
|
12
|
+
export declare function useCreateRecipient(): UseMutationResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse, any>, CreateRecipientParams, unknown>;
|
|
13
|
+
export declare function useUpdateRecipient(): UseMutationResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse, any>, UpdateRecipientParams, unknown>;
|
|
14
|
+
export declare function useDeleteRecipient(): UseMutationResult<void, AxiosError<BFFErrorResponse, any>, DeleteRecipientParams, unknown>;
|
|
15
|
+
export declare function useCreateOnboarding(): UseMutationResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse, any>, CreateOnboardingParams, unknown>;
|
|
16
|
+
export declare function useUpdateOnboarding(): UseMutationResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse, any>, UpdateOnboardingParams, unknown>;
|
|
17
|
+
export declare function useBlockOnboarding(): UseMutationResult<void, AxiosError<BFFErrorResponse, any>, BlockOnboardingParams, unknown>;
|
|
18
|
+
export declare function useUnblockOnboarding(): UseMutationResult<void, AxiosError<BFFErrorResponse, any>, UnblockOnboardingParams, unknown>;
|
|
@@ -13,6 +13,9 @@ export declare function useGetWebhooksV2Detail({ accountCode, enabled, }: {
|
|
|
13
13
|
}): UseQueryResult<Webhook.WebHookV2[], unknown>;
|
|
14
14
|
export declare function useGetAccounts(organizationCode?: string): UseQueryResult<Organization.Account[], unknown>;
|
|
15
15
|
export declare function useGetAccountsV2(organizationCode: string): UseQueryResult<Organization.Account[], unknown>;
|
|
16
|
+
export declare function useGetAccountsByOrganization(params?: {
|
|
17
|
+
includeDisabled?: boolean;
|
|
18
|
+
}): UseQueryResult<Organization.Account[], unknown>;
|
|
16
19
|
export declare function useGetAccountsByUser(userCode: string): UseQueryResult<{
|
|
17
20
|
accountsV2ByUser: Organization.Account[];
|
|
18
21
|
error?: AxiosError;
|
|
@@ -2,7 +2,111 @@ import { UseQueryOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { Checkout } from '../../types';
|
|
3
3
|
export declare function useGetCheckouts({ accountCode }: {
|
|
4
4
|
accountCode: any;
|
|
5
|
-
}, options?: UseQueryOptions<Checkout.CheckoutList[], unknown, Checkout.CheckoutList[]>):
|
|
5
|
+
}, options?: UseQueryOptions<Checkout.CheckoutList[], unknown, Checkout.CheckoutList[]>): {
|
|
6
|
+
refetch: <TPageData>(options?: (import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<Checkout.CheckoutList[], unknown>>;
|
|
7
|
+
data: Checkout.CheckoutList[];
|
|
8
|
+
error: unknown;
|
|
9
|
+
isError: true;
|
|
10
|
+
isLoading: false;
|
|
11
|
+
isLoadingError: false;
|
|
12
|
+
isRefetchError: true;
|
|
13
|
+
isSuccess: false;
|
|
14
|
+
status: "error";
|
|
15
|
+
dataUpdatedAt: number;
|
|
16
|
+
errorUpdatedAt: number;
|
|
17
|
+
failureCount: number;
|
|
18
|
+
failureReason: unknown;
|
|
19
|
+
errorUpdateCount: number;
|
|
20
|
+
isFetched: boolean;
|
|
21
|
+
isFetchedAfterMount: boolean;
|
|
22
|
+
isFetching: boolean;
|
|
23
|
+
isInitialLoading: boolean;
|
|
24
|
+
isPaused: boolean;
|
|
25
|
+
isPlaceholderData: boolean;
|
|
26
|
+
isPreviousData: boolean;
|
|
27
|
+
isRefetching: boolean;
|
|
28
|
+
isStale: boolean;
|
|
29
|
+
remove: () => void;
|
|
30
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
31
|
+
} | {
|
|
32
|
+
refetch: <TPageData>(options?: (import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<Checkout.CheckoutList[], unknown>>;
|
|
33
|
+
data: Checkout.CheckoutList[];
|
|
34
|
+
error: null;
|
|
35
|
+
isError: false;
|
|
36
|
+
isLoading: false;
|
|
37
|
+
isLoadingError: false;
|
|
38
|
+
isRefetchError: false;
|
|
39
|
+
isSuccess: true;
|
|
40
|
+
status: "success";
|
|
41
|
+
dataUpdatedAt: number;
|
|
42
|
+
errorUpdatedAt: number;
|
|
43
|
+
failureCount: number;
|
|
44
|
+
failureReason: unknown;
|
|
45
|
+
errorUpdateCount: number;
|
|
46
|
+
isFetched: boolean;
|
|
47
|
+
isFetchedAfterMount: boolean;
|
|
48
|
+
isFetching: boolean;
|
|
49
|
+
isInitialLoading: boolean;
|
|
50
|
+
isPaused: boolean;
|
|
51
|
+
isPlaceholderData: boolean;
|
|
52
|
+
isPreviousData: boolean;
|
|
53
|
+
isRefetching: boolean;
|
|
54
|
+
isStale: boolean;
|
|
55
|
+
remove: () => void;
|
|
56
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
57
|
+
} | {
|
|
58
|
+
refetch: <TPageData>(options?: (import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<Checkout.CheckoutList[], unknown>>;
|
|
59
|
+
data: undefined;
|
|
60
|
+
error: unknown;
|
|
61
|
+
isError: true;
|
|
62
|
+
isLoading: false;
|
|
63
|
+
isLoadingError: true;
|
|
64
|
+
isRefetchError: false;
|
|
65
|
+
isSuccess: false;
|
|
66
|
+
status: "error";
|
|
67
|
+
dataUpdatedAt: number;
|
|
68
|
+
errorUpdatedAt: number;
|
|
69
|
+
failureCount: number;
|
|
70
|
+
failureReason: unknown;
|
|
71
|
+
errorUpdateCount: number;
|
|
72
|
+
isFetched: boolean;
|
|
73
|
+
isFetchedAfterMount: boolean;
|
|
74
|
+
isFetching: boolean;
|
|
75
|
+
isInitialLoading: boolean;
|
|
76
|
+
isPaused: boolean;
|
|
77
|
+
isPlaceholderData: boolean;
|
|
78
|
+
isPreviousData: boolean;
|
|
79
|
+
isRefetching: boolean;
|
|
80
|
+
isStale: boolean;
|
|
81
|
+
remove: () => void;
|
|
82
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
83
|
+
} | {
|
|
84
|
+
refetch: <TPageData>(options?: (import("@tanstack/react-query").RefetchOptions & import("@tanstack/react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<Checkout.CheckoutList[], unknown>>;
|
|
85
|
+
data: undefined;
|
|
86
|
+
error: null;
|
|
87
|
+
isError: false;
|
|
88
|
+
isLoading: true;
|
|
89
|
+
isLoadingError: false;
|
|
90
|
+
isRefetchError: false;
|
|
91
|
+
isSuccess: false;
|
|
92
|
+
status: "loading";
|
|
93
|
+
dataUpdatedAt: number;
|
|
94
|
+
errorUpdatedAt: number;
|
|
95
|
+
failureCount: number;
|
|
96
|
+
failureReason: unknown;
|
|
97
|
+
errorUpdateCount: number;
|
|
98
|
+
isFetched: boolean;
|
|
99
|
+
isFetchedAfterMount: boolean;
|
|
100
|
+
isFetching: boolean;
|
|
101
|
+
isInitialLoading: boolean;
|
|
102
|
+
isPaused: boolean;
|
|
103
|
+
isPlaceholderData: boolean;
|
|
104
|
+
isPreviousData: boolean;
|
|
105
|
+
isRefetching: boolean;
|
|
106
|
+
isStale: boolean;
|
|
107
|
+
remove: () => void;
|
|
108
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
109
|
+
};
|
|
6
110
|
export declare const getQueryKeyGetNameAndIcon: ({ paymentMethodType, type, }: Checkout.GetNameAndIconArgs) => string[];
|
|
7
111
|
export declare const useGetNameAndIcon: ({ paymentMethodType, type }: Checkout.GetNameAndIconArgs, option?: UseQueryOptions<Checkout.GetNameAndIconResponse, unknown, Checkout.GetNameAndIconResponse>) => import("@tanstack/react-query").UseQueryResult<Checkout.GetNameAndIconResponse, unknown>;
|
|
8
112
|
export declare const getQueryKeyRequiredFields: ({ paymentMethodType, type, }: Checkout.GetRequiredFieldsArgs) => string[];
|
|
@@ -9,11 +9,7 @@ export declare function useInsightsConversionRateMetricsV2(params: DataReport.In
|
|
|
9
9
|
}): UseQueryResult<any, unknown>;
|
|
10
10
|
export declare function useViewMoreMetrics(params: DataReport.InsightMetricParams, type: any): UseQueryResult<any, unknown>;
|
|
11
11
|
export declare function useInsightsFallbackMetrics(params: DataReport.InsightMetricParams): UseQueryResult<any, unknown>;
|
|
12
|
-
export declare function useInsightsVolumeMetrics(account_codes: string, params: DataReport.InsightMetricParams, enabled?: boolean): UseQueryResult<any, unknown>;
|
|
13
12
|
export declare function useInsightsVolumeMetricsV2(account_codes: string, params: DataReport.InsightMetricParams, path: DataReport.InsightsVolumeMetricsV2Path, enabled?: boolean): UseQueryResult<any, unknown>;
|
|
14
|
-
export declare function useInsightsTotalPaymentsAndFraudMetrics(account_codes: string, params: DataReport.InsightMetricParams, enabled?: boolean): UseQueryResult<any, unknown>;
|
|
15
|
-
export declare function useInsightsCustomerPaymentsAndFraudMetrics(account_codes: string, params: DataReport.InsightMetricParams, enabled?: boolean): UseQueryResult<any, unknown>;
|
|
16
|
-
export declare function useInsightsOverviewMetrics(params: DataReport.InsightMetricParams): UseQueryResult<any, unknown>;
|
|
17
13
|
export declare function useInsightsOverviewMetricsV3(params: DataReport.InsightMetricParams, type: DataReport.OverviewMetricType): UseQueryResult<any, unknown>;
|
|
18
14
|
export declare function useInsightsHomeMetrics(params: DataReport.InsightsHomeMetrics): UseQueryResult<any, unknown>;
|
|
19
15
|
export declare function useGetInsightsReport(params: DataReport.InsightExportParams): UseQueryResult<any, unknown>;
|
|
@@ -2,9 +2,7 @@ export * from './payments';
|
|
|
2
2
|
export * from './developers';
|
|
3
3
|
export * from './organizations';
|
|
4
4
|
export * from './connections';
|
|
5
|
-
export * from './dialogs';
|
|
6
5
|
export * from './accounts';
|
|
7
|
-
export * from './cms';
|
|
8
6
|
export * from './smart-routing';
|
|
9
7
|
export * from './routing-monitors';
|
|
10
8
|
export * from './checkouts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import { OrganizationSettings } from '../../types';
|
|
2
|
+
import { MFA, OrganizationSettings } from '../../types';
|
|
3
3
|
export declare function useGetMFAExcludedUsers({ organizationCode, }: {
|
|
4
4
|
organizationCode: string;
|
|
5
5
|
}, enabled: boolean): UseQueryResult<OrganizationSettings.MfaConfig[], unknown>;
|
|
@@ -9,3 +9,6 @@ export declare function useGetMFAConfig({ organizationCode, }: {
|
|
|
9
9
|
export declare function useGetMFAStatus({ accountCode, }: {
|
|
10
10
|
accountCode: string;
|
|
11
11
|
}, enabled: boolean): UseQueryResult<OrganizationSettings.MfaConfig, unknown>;
|
|
12
|
+
export declare function useGetWorkOsMfaStatus({ enabled, }: {
|
|
13
|
+
enabled: boolean;
|
|
14
|
+
}): UseQueryResult<MFA.WorkOsMfaStatus, unknown>;
|
|
@@ -4,4 +4,3 @@ export declare function useGetPaymentLinks(params: any, accountCode: any): UseQu
|
|
|
4
4
|
export declare function useGetPaymentLinkByCode(paymentLinkCode: any): UseQueryResult<any, unknown>;
|
|
5
5
|
export declare function useGetCountriesConfigPaymentLink(enabled?: boolean): UseQueryResult<PaymentLinks.GetCountriesConfig, unknown>;
|
|
6
6
|
export declare function useGetCountriesConfigPaymentLinkV2(acceptLanguage?: string): UseQueryResult<PaymentLinks.GetCountriesConfig, unknown>;
|
|
7
|
-
export declare function useGetTimezonePaymentLink(organizationCode: string): UseQueryResult<any, unknown>;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
2
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
3
|
-
import { Recipients, GetRecipientsParams, GetRecipientByIdParams, GetOnboardingDetailParams, GetOnboardingTimelineParams } from '../../types/recipients';
|
|
3
|
+
import { Recipients, GetRecipientsParams, GetRecipientByIdParams, GetOnboardingDetailParams, GetOnboardingTimelineParams, RecipientsExport, GetRecipientExportsParams } from '../../types/recipients';
|
|
4
4
|
import { BFFErrorResponse } from '../../mutations';
|
|
5
5
|
export declare function useGetRecipients(organizationCode: string, params: GetRecipientsParams, enabled?: boolean): UseQueryResult<Recipients.RecipientListResponse, AxiosError<BFFErrorResponse>>;
|
|
6
6
|
export declare function useGetRecipientById(organizationCode: string, params: GetRecipientByIdParams, enabled?: boolean): UseQueryResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse>>;
|
|
7
7
|
export declare function useGetOnboardingDetail(organizationCode: string, params: GetOnboardingDetailParams, enabled?: boolean): UseQueryResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse>>;
|
|
8
8
|
export declare function useGetOnboardingTimeline(organizationCode: string, params: GetOnboardingTimelineParams, enabled?: boolean): UseQueryResult<Recipients.OnboardingTimeline, AxiosError<BFFErrorResponse>>;
|
|
9
|
+
export declare function useGetRecipientExports(accountCode: string, params: GetRecipientExportsParams, enabled?: boolean): UseQueryResult<RecipientsExport.ExportListResponse, AxiosError<BFFErrorResponse>>;
|
|
10
|
+
export declare function useGetRecipientExportDownload(accountCode: string, exportCode: string, enabled?: boolean): UseQueryResult<{
|
|
11
|
+
download_url: string;
|
|
12
|
+
expires_in_seconds: number;
|
|
13
|
+
}, AxiosError<BFFErrorResponse>>;
|
|
@@ -6,3 +6,18 @@ export interface WorkosDomainStatusResponse {
|
|
|
6
6
|
has_verified_domain: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare function useWorkosDomainStatus(): import("@tanstack/react-query").UseQueryResult<WorkosDomainStatusResponse, unknown>;
|
|
9
|
+
export interface WorkosSsoConnection {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
connectionType: string;
|
|
13
|
+
state: string;
|
|
14
|
+
}
|
|
15
|
+
export interface WorkosSsoConfigStatusResponse {
|
|
16
|
+
hasWorkosOrg: boolean;
|
|
17
|
+
domainVerified: boolean;
|
|
18
|
+
domainState: string | null;
|
|
19
|
+
connectionActive: boolean;
|
|
20
|
+
connections: WorkosSsoConnection[];
|
|
21
|
+
readyToMigrate: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare function useWorkosSsoConfigStatus(): import("@tanstack/react-query").UseQueryResult<WorkosSsoConfigStatusResponse, unknown>;
|
|
@@ -68,6 +68,7 @@ export declare namespace Audit {
|
|
|
68
68
|
time_zone: string;
|
|
69
69
|
account_codes?: string[] | null;
|
|
70
70
|
}
|
|
71
|
+
type MonitorType = 'CREATED TRANSACTIONS' | 'SUCCEEDED TRANSACTIONS';
|
|
71
72
|
interface AuditMonitorData {
|
|
72
73
|
alert_id: number;
|
|
73
74
|
status: string;
|
|
@@ -86,6 +87,7 @@ export declare namespace Audit {
|
|
|
86
87
|
condition_set_id: number;
|
|
87
88
|
approval_rate: number;
|
|
88
89
|
account_code: string;
|
|
90
|
+
monitor_type?: MonitorType | null;
|
|
89
91
|
}
|
|
90
92
|
interface AuditMonitors {
|
|
91
93
|
page: number;
|
|
@@ -6,7 +6,10 @@ export declare namespace DataReport {
|
|
|
6
6
|
PROVIDERS = "providers",
|
|
7
7
|
COUNTRIES = "countries",
|
|
8
8
|
UNIQUE_CUSTOMER_PAYMENTS = "unique-customer-payments",
|
|
9
|
-
TOTAL_PAYMENTS = "total-payments"
|
|
9
|
+
TOTAL_PAYMENTS = "total-payments",
|
|
10
|
+
CARD_TYPES = "card-types",
|
|
11
|
+
CARD_BRANDS = "card-brands",
|
|
12
|
+
ISSUERS = "issuers"
|
|
10
13
|
}
|
|
11
14
|
export interface SmartRouting {
|
|
12
15
|
version: string;
|
|
@@ -8,7 +8,6 @@ export * from './connection';
|
|
|
8
8
|
export * from './webhook';
|
|
9
9
|
export * from './user';
|
|
10
10
|
export * from './country';
|
|
11
|
-
export * from './cms';
|
|
12
11
|
export * from './checkout';
|
|
13
12
|
export * from './reports';
|
|
14
13
|
export * from './notifications';
|
|
@@ -36,3 +35,4 @@ export * from './onboarding';
|
|
|
36
35
|
export * from './recipients';
|
|
37
36
|
export * from './installments';
|
|
38
37
|
export * from './concierge';
|
|
38
|
+
export * from './playground';
|
|
@@ -50,6 +50,7 @@ export declare namespace Installments {
|
|
|
50
50
|
amount: PlanAmount;
|
|
51
51
|
availability?: Availability;
|
|
52
52
|
types_list?: string[] | null;
|
|
53
|
+
payment_method_type?: string;
|
|
53
54
|
created_at?: string;
|
|
54
55
|
updated_at?: string;
|
|
55
56
|
}
|
|
@@ -61,6 +62,7 @@ export declare namespace Installments {
|
|
|
61
62
|
amount?: PlanAmount;
|
|
62
63
|
installments_plan?: InstallmentPlanItem[];
|
|
63
64
|
availability?: Availability;
|
|
65
|
+
payment_method_type?: string;
|
|
64
66
|
}
|
|
65
67
|
interface CreateInstallmentsPlanResponse extends InstallmentsPlan {
|
|
66
68
|
}
|
|
@@ -70,6 +72,7 @@ export declare namespace Installments {
|
|
|
70
72
|
amount?: PlanAmount;
|
|
71
73
|
installments_plan?: InstallmentPlanItem[];
|
|
72
74
|
availability?: Availability;
|
|
75
|
+
payment_method_type?: string;
|
|
73
76
|
}
|
|
74
77
|
interface UpdateInstallmentsPlanResponse extends InstallmentsPlan {
|
|
75
78
|
}
|
|
@@ -105,6 +108,7 @@ export declare namespace Installments {
|
|
|
105
108
|
amount?: PlanAmount;
|
|
106
109
|
installments_plan?: InstallmentPlanItem[];
|
|
107
110
|
availability?: Availability;
|
|
111
|
+
payment_method_type?: string;
|
|
108
112
|
}
|
|
109
113
|
interface BulkCreateInstallmentsPlansResponse {
|
|
110
114
|
created: InstallmentsPlan[];
|
|
@@ -73,6 +73,10 @@ export declare namespace Organization {
|
|
|
73
73
|
user_account_code: string;
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
|
+
interface BulkToggleAccountsRequest {
|
|
77
|
+
accountCodes: string[];
|
|
78
|
+
}
|
|
79
|
+
type BulkToggleAccountsResponse = Account[];
|
|
76
80
|
interface Integration {
|
|
77
81
|
code: string;
|
|
78
82
|
provider_id: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './playground';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare namespace Playground {
|
|
2
|
+
type FlowType = 'DIRECT';
|
|
3
|
+
type FlowStatus = 'SUCCESS' | 'PARTIAL_FAILURE' | 'FAILURE';
|
|
4
|
+
type StepStatus = 'SUCCESS' | 'FAILED' | 'SKIPPED';
|
|
5
|
+
type StepName = 'CREATE_CUSTOMER' | 'CREATE_CHECKOUT_SESSION' | 'CREATE_PAYMENT';
|
|
6
|
+
interface ExecuteFlowPayload {
|
|
7
|
+
flow_type: FlowType;
|
|
8
|
+
config: {
|
|
9
|
+
capture: boolean;
|
|
10
|
+
};
|
|
11
|
+
customer: Record<string, unknown>;
|
|
12
|
+
payment_method: Record<string, unknown>;
|
|
13
|
+
country: string;
|
|
14
|
+
amount: Record<string, unknown>;
|
|
15
|
+
account_id: string;
|
|
16
|
+
payment_description: string;
|
|
17
|
+
}
|
|
18
|
+
interface StepResult {
|
|
19
|
+
step: StepName;
|
|
20
|
+
status: StepStatus;
|
|
21
|
+
http_status: number | null;
|
|
22
|
+
response: Record<string, unknown> | null;
|
|
23
|
+
error_message: string | null;
|
|
24
|
+
duration_ms: number;
|
|
25
|
+
}
|
|
26
|
+
interface ExecuteFlowResponse {
|
|
27
|
+
status: FlowStatus;
|
|
28
|
+
failed_step: string | null;
|
|
29
|
+
error_message: string | null;
|
|
30
|
+
steps: StepResult[];
|
|
31
|
+
total_duration_ms: number;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare namespace RecipientsExport {
|
|
2
|
+
interface ExportFilters {
|
|
3
|
+
type?: string;
|
|
4
|
+
countries?: string[];
|
|
5
|
+
entity_types?: string[];
|
|
6
|
+
sort_by?: string;
|
|
7
|
+
sort_order?: string;
|
|
8
|
+
columns?: string[];
|
|
9
|
+
}
|
|
10
|
+
interface CreateExportRequest {
|
|
11
|
+
export_name: string;
|
|
12
|
+
filters: ExportFilters;
|
|
13
|
+
}
|
|
14
|
+
interface ExportItem {
|
|
15
|
+
code: string;
|
|
16
|
+
export_name: string;
|
|
17
|
+
status: 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED';
|
|
18
|
+
download_url: string | null;
|
|
19
|
+
error_message: string | null;
|
|
20
|
+
created_at: string;
|
|
21
|
+
}
|
|
22
|
+
interface ExportListResponse {
|
|
23
|
+
content: ExportItem[];
|
|
24
|
+
empty: boolean;
|
|
25
|
+
first: boolean;
|
|
26
|
+
last: boolean;
|
|
27
|
+
number: number;
|
|
28
|
+
number_of_elements: number;
|
|
29
|
+
size: number;
|
|
30
|
+
pageable: {
|
|
31
|
+
offset: number;
|
|
32
|
+
page_number: number;
|
|
33
|
+
page_size: number;
|
|
34
|
+
paged: boolean;
|
|
35
|
+
sort: {
|
|
36
|
+
empty: boolean;
|
|
37
|
+
sorted: boolean;
|
|
38
|
+
unsorted: boolean;
|
|
39
|
+
};
|
|
40
|
+
unpaged: boolean;
|
|
41
|
+
};
|
|
42
|
+
sort: {
|
|
43
|
+
empty: boolean;
|
|
44
|
+
sorted: boolean;
|
|
45
|
+
unsorted: boolean;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
export interface GetRecipientExportsParams {
|
|
50
|
+
page?: number;
|
|
51
|
+
size?: number;
|
|
52
|
+
}
|
|
@@ -133,6 +133,7 @@ export interface ICreateReportsRequest {
|
|
|
133
133
|
export interface ICreateReconciliationsReportV3Request {
|
|
134
134
|
accounts: string[];
|
|
135
135
|
columns: string[];
|
|
136
|
+
columns_metadata?: string[];
|
|
136
137
|
filters: Record<string, unknown>;
|
|
137
138
|
}
|
|
138
139
|
export interface IListScheduledReportsResponse {
|
|
@@ -36,9 +36,16 @@ export interface SubscriptionAvailability {
|
|
|
36
36
|
start_at: string;
|
|
37
37
|
finish_at: string;
|
|
38
38
|
}
|
|
39
|
+
export interface SubscriptionRetryScheduleItem {
|
|
40
|
+
attempt: number;
|
|
41
|
+
delay_seconds: number;
|
|
42
|
+
}
|
|
39
43
|
export interface SubscriptionRetries {
|
|
40
44
|
retry_on_decline: boolean;
|
|
41
45
|
amount: number;
|
|
46
|
+
strategy?: string;
|
|
47
|
+
schedule?: SubscriptionRetryScheduleItem[];
|
|
48
|
+
stop_on_hard_decline?: boolean;
|
|
42
49
|
}
|
|
43
50
|
export interface SubscriptionMetadata {
|
|
44
51
|
key: string;
|