@yuno-payments/dashboard-api-mfe 1.11.2 → 1.11.4
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 +15 -9
- package/build/cjs/types/mutations/index.d.ts +0 -1
- package/build/cjs/types/mutations/recipients/recipients.mutation.d.ts +7 -14
- package/build/cjs/types/queries/checkouts/checkouts.query.d.ts +1 -105
- package/build/cjs/types/queries/cms/cms.query.d.ts +14 -0
- package/build/cjs/types/queries/cms/index.d.ts +1 -0
- package/build/cjs/types/queries/data-report/data-report.query.d.ts +4 -0
- package/build/cjs/types/queries/dialogs/dialogs.query.d.ts +2 -0
- package/build/cjs/types/queries/dialogs/index.d.ts +1 -0
- package/build/cjs/types/queries/index.d.ts +2 -0
- package/build/cjs/types/queries/mfa/organization-settings.query.d.ts +1 -4
- package/build/cjs/types/queries/payment-links/payment-links.query.d.ts +1 -0
- package/build/cjs/types/queries/recipients/recipients.query.d.ts +1 -6
- package/build/cjs/types/types/audit/audit.d.ts +0 -2
- package/build/cjs/types/types/cms/cms.d.ts +47 -0
- package/build/cjs/types/types/cms/index.d.ts +1 -0
- package/build/cjs/types/types/data-report/data-report.d.ts +1 -4
- package/build/cjs/types/types/index.d.ts +1 -1
- package/build/cjs/types/types/installments/installments.d.ts +0 -4
- package/build/cjs/types/types/mfa/mfa.d.ts +0 -4
- package/build/cjs/types/types/recipients/index.d.ts +0 -1
- package/build/cjs/types/types/reports/reports.d.ts +0 -1
- package/build/cjs/types/types/subscriptions/subscriptions.d.ts +0 -7
- package/build/cjs/types/types/template-reporting/template.types.d.ts +0 -4
- package/build/cjs/types/utils/enums.d.ts +143 -0
- package/build/esm/index.js +6 -6
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +15 -9
- package/build/esm/types/mutations/index.d.ts +0 -1
- package/build/esm/types/mutations/recipients/recipients.mutation.d.ts +7 -14
- package/build/esm/types/queries/checkouts/checkouts.query.d.ts +1 -105
- package/build/esm/types/queries/cms/cms.query.d.ts +14 -0
- package/build/esm/types/queries/cms/index.d.ts +1 -0
- package/build/esm/types/queries/data-report/data-report.query.d.ts +4 -0
- package/build/esm/types/queries/dialogs/dialogs.query.d.ts +2 -0
- package/build/esm/types/queries/dialogs/index.d.ts +1 -0
- package/build/esm/types/queries/index.d.ts +2 -0
- package/build/esm/types/queries/mfa/organization-settings.query.d.ts +1 -4
- package/build/esm/types/queries/payment-links/payment-links.query.d.ts +1 -0
- package/build/esm/types/queries/recipients/recipients.query.d.ts +1 -6
- package/build/esm/types/types/audit/audit.d.ts +0 -2
- package/build/esm/types/types/cms/cms.d.ts +47 -0
- package/build/esm/types/types/cms/index.d.ts +1 -0
- package/build/esm/types/types/data-report/data-report.d.ts +1 -4
- package/build/esm/types/types/index.d.ts +1 -1
- package/build/esm/types/types/installments/installments.d.ts +0 -4
- package/build/esm/types/types/mfa/mfa.d.ts +0 -4
- package/build/esm/types/types/recipients/index.d.ts +0 -1
- package/build/esm/types/types/reports/reports.d.ts +0 -1
- package/build/esm/types/types/subscriptions/subscriptions.d.ts +0 -7
- package/build/esm/types/types/template-reporting/template.types.d.ts +0 -4
- package/build/esm/types/utils/enums.d.ts +143 -0
- package/build/index.d.ts +91 -245
- package/build/main.0ef469d30ac1f73e.hot-update.js +46 -0
- package/build/main.0ef469d30ac1f73e.hot-update.js.map +1 -0
- package/build/main.0ef469d30ac1f73e.hot-update.json +1 -0
- package/build/main.12ba9763a5af2867.hot-update.js +4178 -0
- package/build/main.12ba9763a5af2867.hot-update.js.map +1 -0
- package/build/main.12ba9763a5af2867.hot-update.json +1 -0
- package/build/main.2f0bb65f361bc9aa.hot-update.js +2575 -0
- package/build/main.2f0bb65f361bc9aa.hot-update.js.map +1 -0
- package/build/main.2f0bb65f361bc9aa.hot-update.json +1 -0
- package/build/main.31b800bdfc7bcf66.hot-update.js +23 -0
- package/build/main.31b800bdfc7bcf66.hot-update.js.map +1 -0
- package/build/main.31b800bdfc7bcf66.hot-update.json +1 -0
- package/build/main.31ef41183a0357fd.hot-update.js +23 -0
- package/build/main.31ef41183a0357fd.hot-update.js.map +1 -0
- package/build/main.31ef41183a0357fd.hot-update.json +1 -0
- package/build/main.39b804b4f223333f.hot-update.js +142 -0
- package/build/main.39b804b4f223333f.hot-update.js.map +1 -0
- package/build/main.39b804b4f223333f.hot-update.json +1 -0
- package/build/main.3ca3490681942ed0.hot-update.js +10 -0
- package/build/main.3ca3490681942ed0.hot-update.js.map +1 -0
- package/build/main.3ca3490681942ed0.hot-update.json +1 -0
- package/build/main.3e4059ad01b911d5.hot-update.js +10 -0
- package/build/main.3e4059ad01b911d5.hot-update.js.map +1 -0
- package/build/main.3e4059ad01b911d5.hot-update.json +1 -0
- package/build/main.4ead4321633f87fd.hot-update.js +10 -0
- package/build/main.4ead4321633f87fd.hot-update.js.map +1 -0
- package/build/main.4ead4321633f87fd.hot-update.json +1 -0
- package/build/main.5231ec959bfdd54a.hot-update.js +823 -0
- package/build/main.5231ec959bfdd54a.hot-update.js.map +1 -0
- package/build/main.5231ec959bfdd54a.hot-update.json +1 -0
- package/build/main.60642e2056d40cbc.hot-update.js +23 -0
- package/build/main.60642e2056d40cbc.hot-update.js.map +1 -0
- package/build/main.60642e2056d40cbc.hot-update.json +1 -0
- package/build/main.7504b5e28de88b4d.hot-update.js +10 -0
- package/build/main.7504b5e28de88b4d.hot-update.js.map +1 -0
- package/build/main.7504b5e28de88b4d.hot-update.json +1 -0
- package/build/main.75fac631457c8400.hot-update.js +937 -0
- package/build/main.75fac631457c8400.hot-update.js.map +1 -0
- package/build/main.75fac631457c8400.hot-update.json +1 -0
- package/build/main.7654b5e519accc5a.hot-update.js +10 -0
- package/build/main.7654b5e519accc5a.hot-update.js.map +1 -0
- package/build/main.7654b5e519accc5a.hot-update.json +1 -0
- package/build/main.7734f96d14c3c07a.hot-update.js +10 -0
- package/build/main.7734f96d14c3c07a.hot-update.js.map +1 -0
- package/build/main.7734f96d14c3c07a.hot-update.json +1 -0
- package/build/main.79d0dd0a059cf3d2.hot-update.js +10 -0
- package/build/main.79d0dd0a059cf3d2.hot-update.js.map +1 -0
- package/build/main.79d0dd0a059cf3d2.hot-update.json +1 -0
- package/build/main.9a3105c0515511e6.hot-update.js +952 -0
- package/build/main.9a3105c0515511e6.hot-update.js.map +1 -0
- package/build/main.9a3105c0515511e6.hot-update.json +1 -0
- package/build/main.9a70cae7efc29065.hot-update.js +39 -0
- package/build/main.9a70cae7efc29065.hot-update.js.map +1 -0
- package/build/main.9a70cae7efc29065.hot-update.json +1 -0
- package/build/main.9b33c6fcc8fd3f57.hot-update.js +10 -0
- package/build/main.9b33c6fcc8fd3f57.hot-update.js.map +1 -0
- package/build/main.9b33c6fcc8fd3f57.hot-update.json +1 -0
- package/build/main.9c87c39ff7873bca.hot-update.js +10 -0
- package/build/main.9c87c39ff7873bca.hot-update.js.map +1 -0
- package/build/main.9c87c39ff7873bca.hot-update.json +1 -0
- package/build/main.9f7159d52fd04a7d.hot-update.js +3749 -0
- package/build/main.9f7159d52fd04a7d.hot-update.js.map +1 -0
- package/build/main.9f7159d52fd04a7d.hot-update.json +1 -0
- package/build/main.a0a0faaf03061b21.hot-update.js +23 -0
- package/build/main.a0a0faaf03061b21.hot-update.js.map +1 -0
- package/build/main.a0a0faaf03061b21.hot-update.json +1 -0
- package/build/main.b58cc596e947fb5b.hot-update.js +34 -0
- package/build/main.b58cc596e947fb5b.hot-update.js.map +1 -0
- package/build/main.b58cc596e947fb5b.hot-update.json +1 -0
- package/build/main.b659381d4f13795e.hot-update.js +10 -0
- package/build/main.b659381d4f13795e.hot-update.js.map +1 -0
- package/build/main.b659381d4f13795e.hot-update.json +1 -0
- package/build/main.bbb650ecadb0a13b.hot-update.js +61 -0
- package/build/main.bbb650ecadb0a13b.hot-update.js.map +1 -0
- package/build/main.bbb650ecadb0a13b.hot-update.json +1 -0
- package/build/main.bf97cc6dbbb3cdb1.hot-update.js +10 -0
- package/build/main.bf97cc6dbbb3cdb1.hot-update.js.map +1 -0
- package/build/main.bf97cc6dbbb3cdb1.hot-update.json +1 -0
- package/build/main.d62d5a57d5bc6614.hot-update.js +4236 -0
- package/build/main.d62d5a57d5bc6614.hot-update.js.map +1 -0
- package/build/main.d62d5a57d5bc6614.hot-update.json +1 -0
- package/build/main.e0010fdb661814be.hot-update.js +10 -0
- package/build/main.e0010fdb661814be.hot-update.js.map +1 -0
- package/build/main.e0010fdb661814be.hot-update.json +1 -0
- package/build/main.ecc2159bd4dc7d54.hot-update.js +23 -0
- package/build/main.ecc2159bd4dc7d54.hot-update.js.map +1 -0
- package/build/main.ecc2159bd4dc7d54.hot-update.json +1 -0
- package/build/main.f921adce709bfd01.hot-update.js +50871 -0
- package/build/main.f921adce709bfd01.hot-update.js.map +1 -0
- package/build/main.f921adce709bfd01.hot-update.json +1 -0
- package/build/yuno-dashboard-api-mfe.js +55915 -0
- package/build/yuno-dashboard-api-mfe.js.map +1 -0
- package/package.json +6 -6
- package/build/cjs/types/msw/handlers/mfa.d.ts +0 -1
- package/build/cjs/types/mutations/playground/index.d.ts +0 -1
- package/build/cjs/types/mutations/playground/playground.mutation.d.ts +0 -7
- package/build/cjs/types/types/playground/index.d.ts +0 -1
- package/build/cjs/types/types/playground/playground.d.ts +0 -33
- package/build/cjs/types/types/recipients/recipients-export.d.ts +0 -52
- package/build/esm/types/msw/handlers/mfa.d.ts +0 -1
- package/build/esm/types/mutations/playground/index.d.ts +0 -1
- package/build/esm/types/mutations/playground/playground.mutation.d.ts +0 -7
- package/build/esm/types/types/playground/index.d.ts +0 -1
- package/build/esm/types/types/playground/playground.d.ts +0 -33
- package/build/esm/types/types/recipients/recipients-export.d.ts +0 -52
|
@@ -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
|
|
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';
|
|
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,6 +140,7 @@ 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>>;
|
|
143
144
|
getWebhookParamsV2<T>(): Promise<AxiosResponse<T, Webhook.ParamV2[]>>;
|
|
144
145
|
getWebhooksV3<T>({ accountCode, name, }: {
|
|
145
146
|
accountCode: string;
|
|
@@ -153,6 +154,7 @@ export declare class Api extends HttpClient {
|
|
|
153
154
|
}): Promise<AxiosResponse<T>>;
|
|
154
155
|
deleteWebhookV2<T>(code: string, accountCode: string): Promise<AxiosResponse<T>>;
|
|
155
156
|
updateWebhookV2<T>(code: string, payload: any, accountCode: string): Promise<AxiosResponse<T>>;
|
|
157
|
+
getMenu<T>(): Promise<AxiosResponse<T>>;
|
|
156
158
|
postWebhookLogs<T>({ payload: { account_code, ...rest }, }: {
|
|
157
159
|
payload: Audit.AuditWebhooksParams;
|
|
158
160
|
}): Promise<AxiosResponse<T>>;
|
|
@@ -179,8 +181,15 @@ export declare class Api extends HttpClient {
|
|
|
179
181
|
postApiLogsStatsErrorsByEndpoint<T>(payload: Audit.ApiLogsStatsParams): Promise<AxiosResponse<T>>;
|
|
180
182
|
postApiLogsList<T>(payload: Audit.ApiLogsListParams): Promise<AxiosResponse<T>>;
|
|
181
183
|
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>>;
|
|
182
187
|
useGetCountriesConfig<T>(): Promise<AxiosResponse<T, any>>;
|
|
183
188
|
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>>;
|
|
184
193
|
getSmartRoutingMethods<T>(accountCode: string, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
185
194
|
putSmartRoutingToggleMethod<T>(accountCode: string, paymentMethod: string, active: boolean, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
186
195
|
getSmartRoutingConditionTypes<T>(accountCode: string, paymentMethod: string, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
@@ -224,6 +233,7 @@ export declare class Api extends HttpClient {
|
|
|
224
233
|
getInsightsMetricsConversionRateV2<T>(params: DataReport.InsightMetricParams, path: string): Promise<AxiosResponse<T, any>>;
|
|
225
234
|
getInsightsMetricsConversionRateViewMore<T>(params: DataReport.InsightMetricParams, type: string): Promise<AxiosResponse<T, any>>;
|
|
226
235
|
getInsightFallbackMetrics<T>(params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
236
|
+
getInsightsMetricsVolume<T>(account_codes: string, params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
227
237
|
getInsightsMetricsVolumeV2<T>(account_codes: string, path: DataReport.InsightsVolumeMetricsV2Path, params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
228
238
|
getInsightsFraudScreeningVolumeAndCountTx(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
229
239
|
getInsightsFraudScreeningConversionRate(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
@@ -239,8 +249,11 @@ export declare class Api extends HttpClient {
|
|
|
239
249
|
getInsightsChargebacksReasonsDistribution(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
240
250
|
getInsightsChargebacksStatusDistribution(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
241
251
|
getInsightsChargebacksByCardBrand(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
252
|
+
getInsightOverview<T>(params: DataReport.InsightMetricParams): Promise<AxiosResponse<T, any>>;
|
|
242
253
|
getInsightOverviewV3<T>(params: DataReport.InsightMetricParams, type: DataReport.OverviewMetricType): Promise<AxiosResponse<T, any>>;
|
|
243
254
|
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>>;
|
|
244
257
|
getCheckouts({ accountCode, }: {
|
|
245
258
|
accountCode: any;
|
|
246
259
|
}): Promise<AxiosResponse<Checkout.CheckoutList[]>>;
|
|
@@ -451,6 +464,7 @@ export declare class Api extends HttpClient {
|
|
|
451
464
|
postRescheduleSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
452
465
|
getSubscriptionPayments<T>(subscriptionCode: string, page?: number, size?: number): Promise<AxiosResponse<T, any>>;
|
|
453
466
|
postListSubscriptions<T>(payload: ListSubscriptionsParams): Promise<AxiosResponse<T, any>>;
|
|
467
|
+
getTimezone<T>(organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
454
468
|
getInstallmentPlans(params?: Installments.GetInstallmentsPlansParams): Promise<AxiosResponse<Installments.GetInstallmentsPlansResponse>>;
|
|
455
469
|
createInstallmentsPlan<T, P = unknown>(payload: P): Promise<AxiosResponse<T>>;
|
|
456
470
|
updateInstallmentsPlan<T, P = unknown>(code: string, payload: P): Promise<AxiosResponse<T>>;
|
|
@@ -553,7 +567,6 @@ export declare class Api extends HttpClient {
|
|
|
553
567
|
organizationCode: any;
|
|
554
568
|
}): Promise<AxiosResponse<T, any>>;
|
|
555
569
|
getMFAEnforcementStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
556
|
-
getWorkOsMfaStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
557
570
|
updateMFAConfig<T>(payload: OrganizationSettings.MfaConfigRequest, organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
558
571
|
mfaExcludeUsers<T>(users: OrganizationSettings.MfaUserExcluded[], organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
559
572
|
getAllConfigRules<T>(): Promise<AxiosResponse<T, any>>;
|
|
@@ -656,12 +669,6 @@ export declare class Api extends HttpClient {
|
|
|
656
669
|
getRecipientById<T>(organizationCode: string, recipientId: string): Promise<AxiosResponse<T, any>>;
|
|
657
670
|
getOnboardingDetail<T>(organizationCode: string, recipientId: string, onboardingId: string): Promise<AxiosResponse<T, any>>;
|
|
658
671
|
getOnboardingTimeline<T>(organizationCode: string, onboardingId: string): Promise<AxiosResponse<T, any>>;
|
|
659
|
-
createRecipientExport<T>(payload: unknown, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
660
|
-
getRecipientExports<T>(params: {
|
|
661
|
-
page?: number;
|
|
662
|
-
size?: number;
|
|
663
|
-
}, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
664
|
-
downloadRecipientExport<T>(exportCode: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
665
672
|
createRecipient<T>(organizationCode: string, payload: CreateRecipientPayload): Promise<AxiosResponse<T, any>>;
|
|
666
673
|
updateRecipient<T>(organizationCode: string, recipientId: string, payload: UpdateRecipientPayload): Promise<AxiosResponse<T, any>>;
|
|
667
674
|
deleteRecipient<T>(organizationCode: string, recipientId: string): Promise<AxiosResponse<T, any>>;
|
|
@@ -674,6 +681,5 @@ export declare class Api extends HttpClient {
|
|
|
674
681
|
createConciergeAlert<T>(payload: ConciergeAlerts.CreateAlertPayload): Promise<AxiosResponse<T>>;
|
|
675
682
|
deleteConciergeAlert<T>(alertId: string): Promise<AxiosResponse<T>>;
|
|
676
683
|
enableConciergeAlert<T>(alertId: string, payload: ConciergeAlerts.EnableAlertPayload): Promise<AxiosResponse<T>>;
|
|
677
|
-
postPlaygroundExecuteFlow<T>(payload: Playground.ExecuteFlowPayload): Promise<AxiosResponse<T, unknown>>;
|
|
678
684
|
}
|
|
679
685
|
export {};
|
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
|
-
import { UseMutationResult } from '@tanstack/react-query';
|
|
3
|
-
import { RecipientsExport } from '../../types/recipients';
|
|
4
2
|
import { CreateRecipientParams, UpdateRecipientParams, DeleteRecipientParams, CreateOnboardingParams, UpdateOnboardingParams, BlockOnboardingParams, UnblockOnboardingParams } from '../../types/recipients/recipients-mutations';
|
|
5
3
|
import { Recipients } from '../../types/recipients/recipients';
|
|
6
4
|
import { BFFErrorResponse } from '../smart-routing/smart-routing.mutation';
|
|
7
|
-
export declare function
|
|
8
|
-
export declare function
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export declare function
|
|
13
|
-
export declare function
|
|
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>;
|
|
5
|
+
export declare function useCreateRecipient(): import("@tanstack/react-query").UseMutationResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse, any>, CreateRecipientParams, unknown>;
|
|
6
|
+
export declare function useUpdateRecipient(): import("@tanstack/react-query").UseMutationResult<Recipients.RecipientDetail, AxiosError<BFFErrorResponse, any>, UpdateRecipientParams, unknown>;
|
|
7
|
+
export declare function useDeleteRecipient(): import("@tanstack/react-query").UseMutationResult<void, AxiosError<BFFErrorResponse, any>, DeleteRecipientParams, unknown>;
|
|
8
|
+
export declare function useCreateOnboarding(): import("@tanstack/react-query").UseMutationResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse, any>, CreateOnboardingParams, unknown>;
|
|
9
|
+
export declare function useUpdateOnboarding(): import("@tanstack/react-query").UseMutationResult<Recipients.OnboardingDetail, AxiosError<BFFErrorResponse, any>, UpdateOnboardingParams, unknown>;
|
|
10
|
+
export declare function useBlockOnboarding(): import("@tanstack/react-query").UseMutationResult<void, AxiosError<BFFErrorResponse, any>, BlockOnboardingParams, unknown>;
|
|
11
|
+
export declare function useUnblockOnboarding(): import("@tanstack/react-query").UseMutationResult<void, AxiosError<BFFErrorResponse, any>, UnblockOnboardingParams, unknown>;
|
|
@@ -2,111 +2,7 @@ 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[]>):
|
|
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
|
-
};
|
|
5
|
+
}, options?: UseQueryOptions<Checkout.CheckoutList[], unknown, Checkout.CheckoutList[]>): import("@tanstack/react-query").UseQueryResult<Checkout.CheckoutList[], unknown>;
|
|
110
6
|
export declare const getQueryKeyGetNameAndIcon: ({ paymentMethodType, type, }: Checkout.GetNameAndIconArgs) => string[];
|
|
111
7
|
export declare const useGetNameAndIcon: ({ paymentMethodType, type }: Checkout.GetNameAndIconArgs, option?: UseQueryOptions<Checkout.GetNameAndIconResponse, unknown, Checkout.GetNameAndIconResponse>) => import("@tanstack/react-query").UseQueryResult<Checkout.GetNameAndIconResponse, unknown>;
|
|
112
8
|
export declare const getQueryKeyRequiredFields: ({ paymentMethodType, type, }: Checkout.GetRequiredFieldsArgs) => string[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { TimeZoneCatalog } from '../../api';
|
|
3
|
+
import { Cms } from '../../types';
|
|
4
|
+
import { AxiosError } from 'axios';
|
|
5
|
+
export declare function useGetMenu(): UseQueryResult<Cms.Menu, unknown>;
|
|
6
|
+
export declare function useGetPaymentStatusesStyles(): UseQueryResult<Array<Cms.StatusStyle>, unknown>;
|
|
7
|
+
export declare function useGetTransactionStatusesStyles(): UseQueryResult<Array<Cms.StatusStyle>, unknown>;
|
|
8
|
+
export declare function useGetReconciliationTransactionStatusesStyles(): UseQueryResult<Array<Cms.StatusStyle>, unknown>;
|
|
9
|
+
export declare function useGetTimeZoneCatalog(): UseQueryResult<Array<TimeZoneCatalog>, unknown>;
|
|
10
|
+
export declare function useGetAuditLogsFilters(): UseQueryResult<Array<Cms.StatusStyle>, unknown>;
|
|
11
|
+
export declare function useGetDashboardStaticContents(): UseQueryResult<Array<{
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
}>, unknown>;
|
|
14
|
+
export declare function useGetLocales(): UseQueryResult<Cms.Language[], AxiosError>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './cms.query';
|
|
@@ -9,7 +9,11 @@ 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>;
|
|
12
13
|
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>;
|
|
13
17
|
export declare function useInsightsOverviewMetricsV3(params: DataReport.InsightMetricParams, type: DataReport.OverviewMetricType): UseQueryResult<any, unknown>;
|
|
14
18
|
export declare function useInsightsHomeMetrics(params: DataReport.InsightsHomeMetrics): UseQueryResult<any, unknown>;
|
|
15
19
|
export declare function useGetInsightsReport(params: DataReport.InsightExportParams): UseQueryResult<any, unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dialogs.query';
|
|
@@ -2,7 +2,9 @@ export * from './payments';
|
|
|
2
2
|
export * from './developers';
|
|
3
3
|
export * from './organizations';
|
|
4
4
|
export * from './connections';
|
|
5
|
+
export * from './dialogs';
|
|
5
6
|
export * from './accounts';
|
|
7
|
+
export * from './cms';
|
|
6
8
|
export * from './smart-routing';
|
|
7
9
|
export * from './routing-monitors';
|
|
8
10
|
export * from './checkouts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import {
|
|
2
|
+
import { OrganizationSettings } from '../../types';
|
|
3
3
|
export declare function useGetMFAExcludedUsers({ organizationCode, }: {
|
|
4
4
|
organizationCode: string;
|
|
5
5
|
}, enabled: boolean): UseQueryResult<OrganizationSettings.MfaConfig[], unknown>;
|
|
@@ -9,6 +9,3 @@ 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,3 +4,4 @@ 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,13 +1,8 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
2
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
3
|
-
import { Recipients, GetRecipientsParams, GetRecipientByIdParams, GetOnboardingDetailParams, GetOnboardingTimelineParams
|
|
3
|
+
import { Recipients, GetRecipientsParams, GetRecipientByIdParams, GetOnboardingDetailParams, GetOnboardingTimelineParams } 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>>;
|
|
@@ -68,7 +68,6 @@ export declare namespace Audit {
|
|
|
68
68
|
time_zone: string;
|
|
69
69
|
account_codes?: string[] | null;
|
|
70
70
|
}
|
|
71
|
-
type MonitorType = 'CREATED TRANSACTIONS' | 'SUCCEEDED TRANSACTIONS';
|
|
72
71
|
interface AuditMonitorData {
|
|
73
72
|
alert_id: number;
|
|
74
73
|
status: string;
|
|
@@ -87,7 +86,6 @@ export declare namespace Audit {
|
|
|
87
86
|
condition_set_id: number;
|
|
88
87
|
approval_rate: number;
|
|
89
88
|
account_code: string;
|
|
90
|
-
monitor_type?: MonitorType | null;
|
|
91
89
|
}
|
|
92
90
|
interface AuditMonitors {
|
|
93
91
|
page: number;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare namespace Cms {
|
|
2
|
+
enum Locale {
|
|
3
|
+
EN = "en",
|
|
4
|
+
ES = "es",
|
|
5
|
+
PT = "pt"
|
|
6
|
+
}
|
|
7
|
+
enum Target {
|
|
8
|
+
BLANK = "_blank",
|
|
9
|
+
PARENT = "_parent",
|
|
10
|
+
SELF = "_self",
|
|
11
|
+
TOP = "_top"
|
|
12
|
+
}
|
|
13
|
+
interface Content<T> {
|
|
14
|
+
id: 1;
|
|
15
|
+
attributes: T;
|
|
16
|
+
}
|
|
17
|
+
interface BaseItem {
|
|
18
|
+
createdAt: string;
|
|
19
|
+
updatedAt: string;
|
|
20
|
+
publishedAt: string;
|
|
21
|
+
locale: Locale;
|
|
22
|
+
}
|
|
23
|
+
interface MenuItem extends BaseItem {
|
|
24
|
+
text: string;
|
|
25
|
+
pathname?: string;
|
|
26
|
+
position: number;
|
|
27
|
+
icon?: string;
|
|
28
|
+
type?: 'SUB_HEADER';
|
|
29
|
+
target?: Target;
|
|
30
|
+
permission: string;
|
|
31
|
+
}
|
|
32
|
+
type Menu = GroupByLocale<MenuItem>;
|
|
33
|
+
type GroupByLocale<T> = {
|
|
34
|
+
[key in Locale]: T;
|
|
35
|
+
};
|
|
36
|
+
type StatusStyle = {
|
|
37
|
+
status: string;
|
|
38
|
+
sub_status?: string;
|
|
39
|
+
icon: string;
|
|
40
|
+
type: string;
|
|
41
|
+
label: string;
|
|
42
|
+
};
|
|
43
|
+
type Language = {
|
|
44
|
+
code: string;
|
|
45
|
+
name: string;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './cms';
|
|
@@ -6,10 +6,7 @@ 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"
|
|
10
|
-
CARD_TYPES = "card-types",
|
|
11
|
-
CARD_BRANDS = "card-brands",
|
|
12
|
-
ISSUERS = "issuers"
|
|
9
|
+
TOTAL_PAYMENTS = "total-payments"
|
|
13
10
|
}
|
|
14
11
|
export interface SmartRouting {
|
|
15
12
|
version: string;
|
|
@@ -8,6 +8,7 @@ export * from './connection';
|
|
|
8
8
|
export * from './webhook';
|
|
9
9
|
export * from './user';
|
|
10
10
|
export * from './country';
|
|
11
|
+
export * from './cms';
|
|
11
12
|
export * from './checkout';
|
|
12
13
|
export * from './reports';
|
|
13
14
|
export * from './notifications';
|
|
@@ -35,4 +36,3 @@ export * from './onboarding';
|
|
|
35
36
|
export * from './recipients';
|
|
36
37
|
export * from './installments';
|
|
37
38
|
export * from './concierge';
|
|
38
|
-
export * from './playground';
|
|
@@ -50,7 +50,6 @@ export declare namespace Installments {
|
|
|
50
50
|
amount: PlanAmount;
|
|
51
51
|
availability?: Availability;
|
|
52
52
|
types_list?: string[] | null;
|
|
53
|
-
payment_method_type?: string;
|
|
54
53
|
created_at?: string;
|
|
55
54
|
updated_at?: string;
|
|
56
55
|
}
|
|
@@ -62,7 +61,6 @@ export declare namespace Installments {
|
|
|
62
61
|
amount?: PlanAmount;
|
|
63
62
|
installments_plan?: InstallmentPlanItem[];
|
|
64
63
|
availability?: Availability;
|
|
65
|
-
payment_method_type?: string;
|
|
66
64
|
}
|
|
67
65
|
interface CreateInstallmentsPlanResponse extends InstallmentsPlan {
|
|
68
66
|
}
|
|
@@ -72,7 +70,6 @@ export declare namespace Installments {
|
|
|
72
70
|
amount?: PlanAmount;
|
|
73
71
|
installments_plan?: InstallmentPlanItem[];
|
|
74
72
|
availability?: Availability;
|
|
75
|
-
payment_method_type?: string;
|
|
76
73
|
}
|
|
77
74
|
interface UpdateInstallmentsPlanResponse extends InstallmentsPlan {
|
|
78
75
|
}
|
|
@@ -108,7 +105,6 @@ export declare namespace Installments {
|
|
|
108
105
|
amount?: PlanAmount;
|
|
109
106
|
installments_plan?: InstallmentPlanItem[];
|
|
110
107
|
availability?: Availability;
|
|
111
|
-
payment_method_type?: string;
|
|
112
108
|
}
|
|
113
109
|
interface BulkCreateInstallmentsPlansResponse {
|
|
114
110
|
created: InstallmentsPlan[];
|
|
@@ -133,7 +133,6 @@ export interface ICreateReportsRequest {
|
|
|
133
133
|
export interface ICreateReconciliationsReportV3Request {
|
|
134
134
|
accounts: string[];
|
|
135
135
|
columns: string[];
|
|
136
|
-
columns_metadata?: string[];
|
|
137
136
|
filters: Record<string, unknown>;
|
|
138
137
|
}
|
|
139
138
|
export interface IListScheduledReportsResponse {
|
|
@@ -36,16 +36,9 @@ 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
|
-
}
|
|
43
39
|
export interface SubscriptionRetries {
|
|
44
40
|
retry_on_decline: boolean;
|
|
45
41
|
amount: number;
|
|
46
|
-
strategy?: string;
|
|
47
|
-
schedule?: SubscriptionRetryScheduleItem[];
|
|
48
|
-
stop_on_hard_decline?: boolean;
|
|
49
42
|
}
|
|
50
43
|
export interface SubscriptionMetadata {
|
|
51
44
|
key: string;
|
|
@@ -5,9 +5,6 @@ export interface TemplateMetadata {
|
|
|
5
5
|
timezone: {
|
|
6
6
|
enabled: boolean;
|
|
7
7
|
};
|
|
8
|
-
columns_metadata?: {
|
|
9
|
-
enabled: boolean;
|
|
10
|
-
};
|
|
11
8
|
}
|
|
12
9
|
export interface TemplateSelection {
|
|
13
10
|
version: number;
|
|
@@ -17,7 +14,6 @@ export interface TemplateSelection {
|
|
|
17
14
|
mode: ColumnModeType;
|
|
18
15
|
keys?: string[];
|
|
19
16
|
};
|
|
20
|
-
columns_metadata?: string[];
|
|
21
17
|
}
|
|
22
18
|
export interface ReportTemplateMetadata {
|
|
23
19
|
id: number;
|