@yuno-payments/dashboard-api-mfe 0.42.3-subscriptions-beta.3 → 0.42.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 +1 -10
- package/build/cjs/types/api/api.types.d.ts +0 -16
- package/build/cjs/types/mutations/index.d.ts +1 -1
- package/build/cjs/types/queries/index.d.ts +1 -1
- package/build/cjs/types/types/data-report/fraud.types.d.ts +1 -0
- package/build/cjs/types/types/payouts/payouts.d.ts +1 -0
- package/build/esm/index.js +6 -6
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +1 -10
- package/build/esm/types/api/api.types.d.ts +0 -16
- package/build/esm/types/mutations/index.d.ts +1 -1
- package/build/esm/types/queries/index.d.ts +1 -1
- package/build/esm/types/types/data-report/fraud.types.d.ts +1 -0
- package/build/esm/types/types/payouts/payouts.d.ts +1 -0
- package/build/index.d.ts +9 -49
- package/package.json +1 -1
- package/build/cjs/types/api/api.test.d.ts +0 -1
- package/build/cjs/types/mutations/subscriptions/index.d.ts +0 -1
- package/build/cjs/types/mutations/subscriptions/subscriptions.mutation.d.ts +0 -19
- package/build/cjs/types/queries/subscriptions/index.d.ts +0 -1
- package/build/cjs/types/queries/subscriptions/subscriptions.query.d.ts +0 -3
- package/build/esm/types/api/api.test.d.ts +0 -1
- package/build/esm/types/mutations/subscriptions/index.d.ts +0 -1
- package/build/esm/types/mutations/subscriptions/subscriptions.mutation.d.ts +0 -19
- package/build/esm/types/queries/subscriptions/index.d.ts +0 -1
- package/build/esm/types/queries/subscriptions/subscriptions.query.d.ts +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import { HttpClient } from '../lib/http-client';
|
|
3
|
-
import { GetPaymentsParams, GetReconciliationMetricParams, FirebaseUserSubscribe, PathNotification, TimeZoneCatalog, GetTransactionDetailsV2Params, MfaUserSubscribe, UserInviteMultiaccountPayload, GetTransactionsParams, PaymentsSettings, GetPayoutDetail, GetPayoutTransactionDetail, PinnedSections, ThemeSettings
|
|
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, OrganizationConfig, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, Payment, InsightsFraudParams, InsightsFraudBody, AI, PaymentFiltersSection, GetInstallmentPlansResponse, Connection, TemplateReporting, GetUserFullResponse } from '../types';
|
|
5
5
|
import { ConversionRateParams, ConversionRateBody, ConversionRateOverview, ConversionRateOverviewFraud3ds } from '../types/data-report/conversion-rate.types';
|
|
6
6
|
import { RoutingMonitors } from '../types/routing-monitors';
|
|
@@ -390,15 +390,6 @@ export declare class Api extends HttpClient {
|
|
|
390
390
|
postDeletePaymentLink<T>({ code }: {
|
|
391
391
|
code: any;
|
|
392
392
|
}): Promise<AxiosResponse<T, any>>;
|
|
393
|
-
postSubscription<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
394
|
-
getSubscriptionByCode<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
395
|
-
postPauseSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
396
|
-
postResumeSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
397
|
-
postCancelSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
398
|
-
patchSubscription<T>(subscriptionCode: string, payload: any): Promise<AxiosResponse<T, any>>;
|
|
399
|
-
postRescheduleSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
400
|
-
getSubscriptionPayments<T>(subscriptionCode: string, page?: number, size?: number): Promise<AxiosResponse<T, any>>;
|
|
401
|
-
postListSubscriptions<T>(payload: ListSubscriptionsParams): Promise<AxiosResponse<T, any>>;
|
|
402
393
|
getTimezone<T>(organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
403
394
|
getInstallmentPlans(accountCode: string): Promise<AxiosResponse<GetInstallmentPlansResponse>>;
|
|
404
395
|
firebaseUserSubscribe<T>(payload: FirebaseUserSubscribe): Promise<AxiosResponse<T>>;
|
|
@@ -208,20 +208,4 @@ export interface PinnedSections {
|
|
|
208
208
|
sections: string[];
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
|
-
export interface ListSubscriptionsParams {
|
|
212
|
-
organization_code: string;
|
|
213
|
-
account_codes?: string[];
|
|
214
|
-
start_date?: string;
|
|
215
|
-
end_date?: string;
|
|
216
|
-
statuses?: string[];
|
|
217
|
-
countries?: string[];
|
|
218
|
-
payment_method_types?: string[];
|
|
219
|
-
page?: number;
|
|
220
|
-
size?: number;
|
|
221
|
-
merchant_reference?: string;
|
|
222
|
-
subscription_id?: string;
|
|
223
|
-
payment_id?: string;
|
|
224
|
-
customer_search?: string;
|
|
225
|
-
timezone?: string;
|
|
226
|
-
}
|
|
227
211
|
export {};
|
|
@@ -11,7 +11,6 @@ export * from './routing-monitors';
|
|
|
11
11
|
export * from './notifications';
|
|
12
12
|
export * from './team';
|
|
13
13
|
export * from './payment-links';
|
|
14
|
-
export * from './subscriptions';
|
|
15
14
|
export * from './settings';
|
|
16
15
|
export * from './multi-factor-authentication';
|
|
17
16
|
export * from './fraud-screening';
|
|
@@ -29,3 +28,4 @@ export * from './saml-config';
|
|
|
29
28
|
export * from './ai';
|
|
30
29
|
export * from './chartgpt';
|
|
31
30
|
export * from './template-reporting';
|
|
31
|
+
export * from './organization-config';
|
|
@@ -17,7 +17,6 @@ export * from './reconciliations';
|
|
|
17
17
|
export * from './feature-flags';
|
|
18
18
|
export * from './audit';
|
|
19
19
|
export * from './payment-links';
|
|
20
|
-
export * from './subscriptions';
|
|
21
20
|
export * from './firebase';
|
|
22
21
|
export * from './fraud-screening';
|
|
23
22
|
export * from './batch-refunds';
|
|
@@ -30,3 +29,4 @@ export * from './network-tokens';
|
|
|
30
29
|
export * from './smart-recovery';
|
|
31
30
|
export * from './network-tokens';
|
|
32
31
|
export * from './template-reporting';
|
|
32
|
+
export * from './organization-config';
|
|
@@ -157,6 +157,7 @@ export interface InsightsChargebacksByCardBrand {
|
|
|
157
157
|
card_brand: string;
|
|
158
158
|
total_payments: number;
|
|
159
159
|
total_amount: number;
|
|
160
|
+
total_amount_chargeback: number;
|
|
160
161
|
total_payments_succeeded: number;
|
|
161
162
|
total_chargeback: number;
|
|
162
163
|
chargeback_rate: number;
|