@yuno-payments/dashboard-api-mfe 0.36.6 → 0.36.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +7 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +6 -4
- package/build/cjs/types/msw/handlers/insights.d.ts +1 -0
- package/build/cjs/types/msw/handlers/payments.d.ts +1 -0
- package/build/cjs/types/msw/mocks/payments/payments.mock.d.ts +92 -0
- package/build/cjs/types/msw/mocks/payments/transaction-details.mock.d.ts +579 -0
- package/build/cjs/types/mutations/ai/ai.mutation.d.ts +2 -1
- package/build/cjs/types/queries/data-report/data-report.query.d.ts +1 -1
- package/build/cjs/types/queries/feature-flags/index.d.ts +1 -2
- package/build/cjs/types/queries/index.d.ts +1 -0
- package/build/cjs/types/queries/translation/index.d.ts +1 -0
- package/build/cjs/types/queries/translation/translation.query.d.ts +5 -0
- package/build/cjs/types/types/ai/ai.d.ts +24 -0
- package/build/cjs/types/types/ai/index.d.ts +1 -0
- package/build/cjs/types/types/index.d.ts +2 -0
- package/build/cjs/types/types/payment/payment.d.ts +3 -1
- package/build/cjs/types/types/translation/index.d.ts +1 -0
- package/build/cjs/types/types/translation/translation.d.ts +8 -0
- package/build/esm/index.js +7 -7
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +6 -4
- package/build/esm/types/msw/handlers/insights.d.ts +1 -0
- package/build/esm/types/msw/handlers/payments.d.ts +1 -0
- package/build/esm/types/msw/mocks/payments/payments.mock.d.ts +92 -0
- package/build/esm/types/msw/mocks/payments/transaction-details.mock.d.ts +579 -0
- package/build/esm/types/mutations/ai/ai.mutation.d.ts +2 -1
- package/build/esm/types/queries/data-report/data-report.query.d.ts +1 -1
- package/build/esm/types/queries/feature-flags/index.d.ts +1 -2
- package/build/esm/types/queries/index.d.ts +1 -0
- package/build/esm/types/queries/translation/index.d.ts +1 -0
- package/build/esm/types/queries/translation/translation.query.d.ts +5 -0
- package/build/esm/types/types/ai/ai.d.ts +24 -0
- package/build/esm/types/types/ai/index.d.ts +1 -0
- package/build/esm/types/types/index.d.ts +2 -0
- package/build/esm/types/types/payment/payment.d.ts +3 -1
- package/build/esm/types/types/translation/index.d.ts +1 -0
- package/build/esm/types/types/translation/translation.d.ts +8 -0
- package/build/index.d.ts +48 -8
- package/package.json +1 -1
- /package/build/cjs/types/msw/{handlers.d.ts → handlers/index.d.ts} +0 -0
- /package/build/esm/types/msw/{handlers.d.ts → handlers/index.d.ts} +0 -0
|
@@ -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 } from './api.types';
|
|
4
|
-
import { Audit, OperationTransaction, Organization, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, Payment, InsightsFraudParams, InsightsFraudBody } from '../types';
|
|
4
|
+
import { Audit, OperationTransaction, Organization, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, Payment, InsightsFraudParams, InsightsFraudBody, AI } 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';
|
|
@@ -158,6 +158,7 @@ export declare class Api extends HttpClient {
|
|
|
158
158
|
removeDeclinedGroup<T>(organizationCode: string, declinedGroupCode: number | string): Promise<AxiosResponse<T, any>>;
|
|
159
159
|
multiAccountDeclinedGroupCreate<T>(organizationCode: string, payload: SmartRouting.PayloadDeclinedGroupCreate): Promise<AxiosResponse<T, any>>;
|
|
160
160
|
generateAIWorkflowRoutes<T>(organizationCode: string, payload: SmartRouting.PayloadAIWorkflowCreate): Promise<AxiosResponse<T, any>>;
|
|
161
|
+
postAIGenerationFeedback<T>(payload: AI.AIGenerate): Promise<AxiosResponse<T, any>>;
|
|
161
162
|
getRoutingMonitorsTemplates<T>(organizationCode: any): Promise<AxiosResponse<T, RoutingMonitors.TemplateSelector[]>>;
|
|
162
163
|
getRoutingMonitorsTemplate<T>(code: string, organizationCode: string): Promise<AxiosResponse<T, RoutingMonitors.Template>>;
|
|
163
164
|
createMonitorThreshold<T>(data: any, organizationCode: any): Promise<AxiosResponse<T>>;
|
|
@@ -289,9 +290,8 @@ export declare class Api extends HttpClient {
|
|
|
289
290
|
deleteRoles<T>(id: any): Promise<AxiosResponse<T>>;
|
|
290
291
|
getRolesPermissions<T>(): Promise<AxiosResponse<T>>;
|
|
291
292
|
getFeatureFlagId<T>({ name, ...rest }: FeatureFlags.Request): Promise<AxiosResponse<T>>;
|
|
292
|
-
getFeatureFlagIdAll({
|
|
293
|
-
|
|
294
|
-
body: FeatureFlags.RequestAll;
|
|
293
|
+
getFeatureFlagIdAll({ accountCode, }: {
|
|
294
|
+
accountCode?: string;
|
|
295
295
|
}): Promise<AxiosResponse<FeatureFlagsResult, any>>;
|
|
296
296
|
getPermissionsCatalog<T>(): Promise<AxiosResponse<T>>;
|
|
297
297
|
changePasswordV2<T>(body: any): Promise<AxiosResponse<T>>;
|
|
@@ -467,5 +467,7 @@ export declare class Api extends HttpClient {
|
|
|
467
467
|
}): Promise<AxiosResponse<T, any>>;
|
|
468
468
|
executeChartGPTChart<T>(chartgpt_id: string): Promise<AxiosResponse<T, any>>;
|
|
469
469
|
getChartsByUser<T>(): Promise<AxiosResponse<T, any>>;
|
|
470
|
+
getLanguages<T>(): Promise<AxiosResponse<T, any>>;
|
|
471
|
+
getTranslations<T>(): Promise<AxiosResponse<T, any>>;
|
|
470
472
|
}
|
|
471
473
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const insightsHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const paymentsHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export declare const paymentsMock: {
|
|
2
|
+
content: ({
|
|
3
|
+
test_credential: boolean;
|
|
4
|
+
organization_code: string;
|
|
5
|
+
account_code: string;
|
|
6
|
+
id: number;
|
|
7
|
+
code: string;
|
|
8
|
+
order_id: string;
|
|
9
|
+
status: string;
|
|
10
|
+
sub_status: string;
|
|
11
|
+
amount_value: number;
|
|
12
|
+
currency_code: string;
|
|
13
|
+
created_at: string;
|
|
14
|
+
updated_at: string;
|
|
15
|
+
captured: number;
|
|
16
|
+
refunded: number;
|
|
17
|
+
country: string;
|
|
18
|
+
customer_code: string;
|
|
19
|
+
description: string;
|
|
20
|
+
subscription_id: string;
|
|
21
|
+
condition_set_id: number;
|
|
22
|
+
payment_type: string;
|
|
23
|
+
transaction_payment: {
|
|
24
|
+
code: string;
|
|
25
|
+
provider_id: string;
|
|
26
|
+
payment_method_type: string;
|
|
27
|
+
parent_payment_method_type: null;
|
|
28
|
+
}[];
|
|
29
|
+
customer_payer: {
|
|
30
|
+
customer_payer_id: number;
|
|
31
|
+
payment_id: number;
|
|
32
|
+
document_number: string;
|
|
33
|
+
email: string;
|
|
34
|
+
}[];
|
|
35
|
+
card_transaction: {
|
|
36
|
+
card_transaction_id: number;
|
|
37
|
+
transaction_id: number;
|
|
38
|
+
three_ds_electronic_commerce_indicator: null;
|
|
39
|
+
three_ds_transaction_id: null;
|
|
40
|
+
bin: string;
|
|
41
|
+
brand: string;
|
|
42
|
+
installments: number;
|
|
43
|
+
network_token: null;
|
|
44
|
+
}[];
|
|
45
|
+
bnpl_transaction: never[];
|
|
46
|
+
} | {
|
|
47
|
+
organization_code: string;
|
|
48
|
+
account_code: string;
|
|
49
|
+
id: number;
|
|
50
|
+
code: string;
|
|
51
|
+
order_id: string;
|
|
52
|
+
status: string;
|
|
53
|
+
sub_status: string;
|
|
54
|
+
amount_value: number;
|
|
55
|
+
currency_code: string;
|
|
56
|
+
created_at: string;
|
|
57
|
+
updated_at: string;
|
|
58
|
+
captured: number;
|
|
59
|
+
refunded: number;
|
|
60
|
+
country: string;
|
|
61
|
+
customer_code: string;
|
|
62
|
+
description: string;
|
|
63
|
+
subscription_id: string;
|
|
64
|
+
condition_set_id: number;
|
|
65
|
+
payment_type: string;
|
|
66
|
+
transaction_payment: {
|
|
67
|
+
code: string;
|
|
68
|
+
provider_id: string;
|
|
69
|
+
payment_method_type: string;
|
|
70
|
+
parent_payment_method_type: null;
|
|
71
|
+
}[];
|
|
72
|
+
customer_payer: {
|
|
73
|
+
customer_payer_id: number;
|
|
74
|
+
payment_id: number;
|
|
75
|
+
document_number: string;
|
|
76
|
+
email: string;
|
|
77
|
+
}[];
|
|
78
|
+
card_transaction: {
|
|
79
|
+
card_transaction_id: number;
|
|
80
|
+
transaction_id: number;
|
|
81
|
+
three_ds_electronic_commerce_indicator: null;
|
|
82
|
+
three_ds_transaction_id: null;
|
|
83
|
+
bin: string;
|
|
84
|
+
brand: string;
|
|
85
|
+
installments: number;
|
|
86
|
+
network_token: null;
|
|
87
|
+
}[];
|
|
88
|
+
bnpl_transaction: never[];
|
|
89
|
+
test_credential?: undefined;
|
|
90
|
+
})[];
|
|
91
|
+
last_page: boolean;
|
|
92
|
+
};
|
|
@@ -0,0 +1,579 @@
|
|
|
1
|
+
export declare const paymentWithTestCredentialsMock: {
|
|
2
|
+
test_credential: boolean;
|
|
3
|
+
id: number;
|
|
4
|
+
code: string;
|
|
5
|
+
order_id: string;
|
|
6
|
+
customer_code: string;
|
|
7
|
+
organization_customer_external_id: string;
|
|
8
|
+
checkout_session: string;
|
|
9
|
+
status: string;
|
|
10
|
+
amount_value: number;
|
|
11
|
+
currency_code: string;
|
|
12
|
+
description: string;
|
|
13
|
+
created_at: string;
|
|
14
|
+
updated_at: string;
|
|
15
|
+
organization_code: string;
|
|
16
|
+
account_code: string;
|
|
17
|
+
country: string;
|
|
18
|
+
is_sdk_action_required: boolean;
|
|
19
|
+
idempotency_key: string;
|
|
20
|
+
sub_status: string;
|
|
21
|
+
workflow: string;
|
|
22
|
+
callback_url: string;
|
|
23
|
+
platform: string;
|
|
24
|
+
routing_flow_code: string;
|
|
25
|
+
captured: number;
|
|
26
|
+
refunded: number;
|
|
27
|
+
account_integration_code: null;
|
|
28
|
+
metadata: string;
|
|
29
|
+
chargeback: number;
|
|
30
|
+
in_dispute: number;
|
|
31
|
+
checkout_url: null;
|
|
32
|
+
payment_link_code: string;
|
|
33
|
+
trace_id: string;
|
|
34
|
+
version: null;
|
|
35
|
+
merchant_reference: string;
|
|
36
|
+
api_version: string;
|
|
37
|
+
has_fraud_screening: boolean;
|
|
38
|
+
routing_metadata: string;
|
|
39
|
+
sdk_abandoned_reason: null;
|
|
40
|
+
subscription_code: null;
|
|
41
|
+
subscription_payment_code: null;
|
|
42
|
+
routing_condition_id: number;
|
|
43
|
+
routing_condition_name: null;
|
|
44
|
+
routing_condition_description: null;
|
|
45
|
+
currency_conversion_currency_code: null;
|
|
46
|
+
currency_conversion_amount_value: null;
|
|
47
|
+
currency_conversion_rate: null;
|
|
48
|
+
currency_conversion_code: null;
|
|
49
|
+
provider_currency_conversion_id: null;
|
|
50
|
+
has_multiple_payment_methods: boolean;
|
|
51
|
+
request_origin: null;
|
|
52
|
+
request_header_origin: string;
|
|
53
|
+
subscription_billing_cycle: null;
|
|
54
|
+
subscription_retry_count: null;
|
|
55
|
+
smart_routing: boolean;
|
|
56
|
+
monitors: null;
|
|
57
|
+
airline_passenger: never[];
|
|
58
|
+
airline_leg: never[];
|
|
59
|
+
airline_ticket: never[];
|
|
60
|
+
airline_ticket_issue: never[];
|
|
61
|
+
customer_payer: {
|
|
62
|
+
id: number;
|
|
63
|
+
email: string;
|
|
64
|
+
gender: string;
|
|
65
|
+
last_name: string;
|
|
66
|
+
created_at: string;
|
|
67
|
+
first_name: string;
|
|
68
|
+
ip_address: string;
|
|
69
|
+
payment_id: number;
|
|
70
|
+
updated_at: string;
|
|
71
|
+
nationality: string;
|
|
72
|
+
phone_number: string;
|
|
73
|
+
customer_code: string;
|
|
74
|
+
date_of_birth: string;
|
|
75
|
+
document_type: string;
|
|
76
|
+
document_number: string;
|
|
77
|
+
device_fingerprint: null;
|
|
78
|
+
phone_country_code: string;
|
|
79
|
+
device_fingerprints: string;
|
|
80
|
+
geolocation_latitude: null;
|
|
81
|
+
browser_info_language: string;
|
|
82
|
+
geolocation_longitude: null;
|
|
83
|
+
third_party_session_id: null;
|
|
84
|
+
browser_info_user_agent: string;
|
|
85
|
+
payment_method_payer_id: null;
|
|
86
|
+
browser_info_color_depth: string;
|
|
87
|
+
browser_info_java_enabled: string;
|
|
88
|
+
browser_info_screen_width: string;
|
|
89
|
+
browser_info_accept_header: string;
|
|
90
|
+
browser_info_screen_height: string;
|
|
91
|
+
browser_info_accept_browser: string;
|
|
92
|
+
browser_info_accept_content: string;
|
|
93
|
+
merchant_customer_created_at: null;
|
|
94
|
+
browser_info_javascript_enabled: string;
|
|
95
|
+
organization_customer_external_id: string;
|
|
96
|
+
browser_info_browser_time_difference: string;
|
|
97
|
+
}[];
|
|
98
|
+
payment_order: {
|
|
99
|
+
id: number;
|
|
100
|
+
created_at: string;
|
|
101
|
+
fee_amount: null;
|
|
102
|
+
payment_id: number;
|
|
103
|
+
tip_amount: null;
|
|
104
|
+
updated_at: string;
|
|
105
|
+
sales_channel: null;
|
|
106
|
+
shipping_amount: number;
|
|
107
|
+
fulfillment_mongo_id: null;
|
|
108
|
+
}[];
|
|
109
|
+
order_item: {
|
|
110
|
+
id: number;
|
|
111
|
+
name: string;
|
|
112
|
+
brand: string;
|
|
113
|
+
id_item: string;
|
|
114
|
+
category: string;
|
|
115
|
+
quantity: number;
|
|
116
|
+
sku_code: string;
|
|
117
|
+
created_at: string;
|
|
118
|
+
updated_at: string;
|
|
119
|
+
unit_amount: number;
|
|
120
|
+
payment_order_id: number;
|
|
121
|
+
manufacture_part_number: string;
|
|
122
|
+
}[];
|
|
123
|
+
customer_payer_address: ({
|
|
124
|
+
id: number;
|
|
125
|
+
type: string;
|
|
126
|
+
created_at: string;
|
|
127
|
+
updated_at: string;
|
|
128
|
+
address_city: string;
|
|
129
|
+
address_state: string;
|
|
130
|
+
address_line_1: string;
|
|
131
|
+
address_line_2: string;
|
|
132
|
+
address_country: string;
|
|
133
|
+
address_zip_code: string;
|
|
134
|
+
customer_payer_id: number;
|
|
135
|
+
address_neighborhood: null;
|
|
136
|
+
} | {
|
|
137
|
+
id: number;
|
|
138
|
+
type: string;
|
|
139
|
+
created_at: string;
|
|
140
|
+
updated_at: string;
|
|
141
|
+
address_city: string;
|
|
142
|
+
address_state: string;
|
|
143
|
+
address_line_1: string;
|
|
144
|
+
address_line_2: null;
|
|
145
|
+
address_country: string;
|
|
146
|
+
address_zip_code: string;
|
|
147
|
+
customer_payer_id: number;
|
|
148
|
+
address_neighborhood: null;
|
|
149
|
+
})[];
|
|
150
|
+
payment_tax: never[];
|
|
151
|
+
payment_order_tax: never[];
|
|
152
|
+
payment_order_shipping: never[];
|
|
153
|
+
payment_airline: never[];
|
|
154
|
+
payment_seller_details: {};
|
|
155
|
+
};
|
|
156
|
+
export declare const paymentWithoutTestCredentialsMock: {
|
|
157
|
+
test_credential: boolean;
|
|
158
|
+
id: number;
|
|
159
|
+
code: string;
|
|
160
|
+
order_id: string;
|
|
161
|
+
customer_code: string;
|
|
162
|
+
organization_customer_external_id: string;
|
|
163
|
+
checkout_session: string;
|
|
164
|
+
status: string;
|
|
165
|
+
amount_value: number;
|
|
166
|
+
currency_code: string;
|
|
167
|
+
description: string;
|
|
168
|
+
created_at: string;
|
|
169
|
+
updated_at: string;
|
|
170
|
+
organization_code: string;
|
|
171
|
+
account_code: string;
|
|
172
|
+
country: string;
|
|
173
|
+
is_sdk_action_required: boolean;
|
|
174
|
+
idempotency_key: string;
|
|
175
|
+
sub_status: string;
|
|
176
|
+
workflow: string;
|
|
177
|
+
callback_url: string;
|
|
178
|
+
platform: string;
|
|
179
|
+
routing_flow_code: string;
|
|
180
|
+
captured: number;
|
|
181
|
+
refunded: number;
|
|
182
|
+
account_integration_code: null;
|
|
183
|
+
metadata: string;
|
|
184
|
+
chargeback: number;
|
|
185
|
+
in_dispute: number;
|
|
186
|
+
checkout_url: null;
|
|
187
|
+
payment_link_code: string;
|
|
188
|
+
trace_id: string;
|
|
189
|
+
version: null;
|
|
190
|
+
merchant_reference: string;
|
|
191
|
+
api_version: string;
|
|
192
|
+
has_fraud_screening: boolean;
|
|
193
|
+
routing_metadata: string;
|
|
194
|
+
sdk_abandoned_reason: null;
|
|
195
|
+
subscription_code: null;
|
|
196
|
+
subscription_payment_code: null;
|
|
197
|
+
routing_condition_id: number;
|
|
198
|
+
routing_condition_name: null;
|
|
199
|
+
routing_condition_description: null;
|
|
200
|
+
currency_conversion_currency_code: null;
|
|
201
|
+
currency_conversion_amount_value: null;
|
|
202
|
+
currency_conversion_rate: null;
|
|
203
|
+
currency_conversion_code: null;
|
|
204
|
+
provider_currency_conversion_id: null;
|
|
205
|
+
has_multiple_payment_methods: boolean;
|
|
206
|
+
request_origin: null;
|
|
207
|
+
request_header_origin: string;
|
|
208
|
+
subscription_billing_cycle: null;
|
|
209
|
+
subscription_retry_count: null;
|
|
210
|
+
smart_routing: boolean;
|
|
211
|
+
monitors: null;
|
|
212
|
+
airline_passenger: never[];
|
|
213
|
+
airline_leg: never[];
|
|
214
|
+
airline_ticket: never[];
|
|
215
|
+
airline_ticket_issue: never[];
|
|
216
|
+
customer_payer: {
|
|
217
|
+
id: number;
|
|
218
|
+
email: string;
|
|
219
|
+
gender: string;
|
|
220
|
+
last_name: string;
|
|
221
|
+
created_at: string;
|
|
222
|
+
first_name: string;
|
|
223
|
+
ip_address: string;
|
|
224
|
+
payment_id: number;
|
|
225
|
+
updated_at: string;
|
|
226
|
+
nationality: string;
|
|
227
|
+
phone_number: string;
|
|
228
|
+
customer_code: string;
|
|
229
|
+
date_of_birth: string;
|
|
230
|
+
document_type: string;
|
|
231
|
+
document_number: string;
|
|
232
|
+
device_fingerprint: null;
|
|
233
|
+
phone_country_code: string;
|
|
234
|
+
device_fingerprints: string;
|
|
235
|
+
geolocation_latitude: null;
|
|
236
|
+
browser_info_language: string;
|
|
237
|
+
geolocation_longitude: null;
|
|
238
|
+
third_party_session_id: null;
|
|
239
|
+
browser_info_user_agent: string;
|
|
240
|
+
payment_method_payer_id: null;
|
|
241
|
+
browser_info_color_depth: string;
|
|
242
|
+
browser_info_java_enabled: string;
|
|
243
|
+
browser_info_screen_width: string;
|
|
244
|
+
browser_info_accept_header: string;
|
|
245
|
+
browser_info_screen_height: string;
|
|
246
|
+
browser_info_accept_browser: string;
|
|
247
|
+
browser_info_accept_content: string;
|
|
248
|
+
merchant_customer_created_at: null;
|
|
249
|
+
browser_info_javascript_enabled: string;
|
|
250
|
+
organization_customer_external_id: string;
|
|
251
|
+
browser_info_browser_time_difference: string;
|
|
252
|
+
}[];
|
|
253
|
+
payment_order: {
|
|
254
|
+
id: number;
|
|
255
|
+
created_at: string;
|
|
256
|
+
fee_amount: null;
|
|
257
|
+
payment_id: number;
|
|
258
|
+
tip_amount: null;
|
|
259
|
+
updated_at: string;
|
|
260
|
+
sales_channel: null;
|
|
261
|
+
shipping_amount: number;
|
|
262
|
+
fulfillment_mongo_id: null;
|
|
263
|
+
}[];
|
|
264
|
+
order_item: {
|
|
265
|
+
id: number;
|
|
266
|
+
name: string;
|
|
267
|
+
brand: string;
|
|
268
|
+
id_item: string;
|
|
269
|
+
category: string;
|
|
270
|
+
quantity: number;
|
|
271
|
+
sku_code: string;
|
|
272
|
+
created_at: string;
|
|
273
|
+
updated_at: string;
|
|
274
|
+
unit_amount: number;
|
|
275
|
+
payment_order_id: number;
|
|
276
|
+
manufacture_part_number: string;
|
|
277
|
+
}[];
|
|
278
|
+
customer_payer_address: ({
|
|
279
|
+
id: number;
|
|
280
|
+
type: string;
|
|
281
|
+
created_at: string;
|
|
282
|
+
updated_at: string;
|
|
283
|
+
address_city: string;
|
|
284
|
+
address_state: string;
|
|
285
|
+
address_line_1: string;
|
|
286
|
+
address_line_2: string;
|
|
287
|
+
address_country: string;
|
|
288
|
+
address_zip_code: string;
|
|
289
|
+
customer_payer_id: number;
|
|
290
|
+
address_neighborhood: null;
|
|
291
|
+
} | {
|
|
292
|
+
id: number;
|
|
293
|
+
type: string;
|
|
294
|
+
created_at: string;
|
|
295
|
+
updated_at: string;
|
|
296
|
+
address_city: string;
|
|
297
|
+
address_state: string;
|
|
298
|
+
address_line_1: string;
|
|
299
|
+
address_line_2: null;
|
|
300
|
+
address_country: string;
|
|
301
|
+
address_zip_code: string;
|
|
302
|
+
customer_payer_id: number;
|
|
303
|
+
address_neighborhood: null;
|
|
304
|
+
})[];
|
|
305
|
+
payment_tax: never[];
|
|
306
|
+
payment_order_tax: never[];
|
|
307
|
+
payment_order_shipping: never[];
|
|
308
|
+
payment_airline: never[];
|
|
309
|
+
payment_seller_details: {};
|
|
310
|
+
};
|
|
311
|
+
export declare const paymentUndefinedTestCredentialsMock: {
|
|
312
|
+
id: number;
|
|
313
|
+
code: string;
|
|
314
|
+
order_id: string;
|
|
315
|
+
customer_code: string;
|
|
316
|
+
organization_customer_external_id: string;
|
|
317
|
+
checkout_session: string;
|
|
318
|
+
status: string;
|
|
319
|
+
amount_value: number;
|
|
320
|
+
currency_code: string;
|
|
321
|
+
description: string;
|
|
322
|
+
created_at: string;
|
|
323
|
+
updated_at: string;
|
|
324
|
+
organization_code: string;
|
|
325
|
+
account_code: string;
|
|
326
|
+
country: string;
|
|
327
|
+
is_sdk_action_required: boolean;
|
|
328
|
+
idempotency_key: string;
|
|
329
|
+
sub_status: string;
|
|
330
|
+
workflow: string;
|
|
331
|
+
callback_url: string;
|
|
332
|
+
platform: null;
|
|
333
|
+
routing_flow_code: string;
|
|
334
|
+
captured: number;
|
|
335
|
+
refunded: number;
|
|
336
|
+
account_integration_code: null;
|
|
337
|
+
metadata: string;
|
|
338
|
+
chargeback: number;
|
|
339
|
+
in_dispute: number;
|
|
340
|
+
checkout_url: null;
|
|
341
|
+
payment_link_code: string;
|
|
342
|
+
trace_id: string;
|
|
343
|
+
version: null;
|
|
344
|
+
merchant_reference: string;
|
|
345
|
+
api_version: string;
|
|
346
|
+
has_fraud_screening: boolean;
|
|
347
|
+
routing_metadata: string;
|
|
348
|
+
sdk_abandoned_reason: null;
|
|
349
|
+
subscription_code: null;
|
|
350
|
+
subscription_payment_code: null;
|
|
351
|
+
routing_condition_id: number;
|
|
352
|
+
routing_condition_name: null;
|
|
353
|
+
routing_condition_description: null;
|
|
354
|
+
currency_conversion_currency_code: null;
|
|
355
|
+
currency_conversion_amount_value: null;
|
|
356
|
+
currency_conversion_rate: null;
|
|
357
|
+
currency_conversion_code: null;
|
|
358
|
+
provider_currency_conversion_id: null;
|
|
359
|
+
has_multiple_payment_methods: boolean;
|
|
360
|
+
request_origin: null;
|
|
361
|
+
request_header_origin: string;
|
|
362
|
+
subscription_billing_cycle: null;
|
|
363
|
+
subscription_retry_count: null;
|
|
364
|
+
smart_routing: boolean;
|
|
365
|
+
monitors: null;
|
|
366
|
+
airline_passenger: never[];
|
|
367
|
+
airline_leg: never[];
|
|
368
|
+
airline_ticket: never[];
|
|
369
|
+
airline_ticket_issue: never[];
|
|
370
|
+
customer_payer: {
|
|
371
|
+
id: number;
|
|
372
|
+
email: string;
|
|
373
|
+
gender: string;
|
|
374
|
+
last_name: string;
|
|
375
|
+
created_at: string;
|
|
376
|
+
first_name: string;
|
|
377
|
+
ip_address: string;
|
|
378
|
+
payment_id: number;
|
|
379
|
+
updated_at: string;
|
|
380
|
+
nationality: string;
|
|
381
|
+
phone_number: string;
|
|
382
|
+
customer_code: string;
|
|
383
|
+
date_of_birth: string;
|
|
384
|
+
document_type: string;
|
|
385
|
+
document_number: string;
|
|
386
|
+
device_fingerprint: string;
|
|
387
|
+
phone_country_code: string;
|
|
388
|
+
device_fingerprints: string;
|
|
389
|
+
geolocation_latitude: null;
|
|
390
|
+
browser_info_language: string;
|
|
391
|
+
geolocation_longitude: null;
|
|
392
|
+
third_party_session_id: null;
|
|
393
|
+
browser_info_user_agent: string;
|
|
394
|
+
payment_method_payer_id: null;
|
|
395
|
+
browser_info_color_depth: string;
|
|
396
|
+
browser_info_java_enabled: null;
|
|
397
|
+
browser_info_screen_width: string;
|
|
398
|
+
browser_info_accept_header: string;
|
|
399
|
+
browser_info_screen_height: string;
|
|
400
|
+
browser_info_accept_browser: null;
|
|
401
|
+
browser_info_accept_content: null;
|
|
402
|
+
merchant_customer_created_at: null;
|
|
403
|
+
browser_info_javascript_enabled: string;
|
|
404
|
+
organization_customer_external_id: string;
|
|
405
|
+
browser_info_browser_time_difference: null;
|
|
406
|
+
}[];
|
|
407
|
+
payment_order: {
|
|
408
|
+
id: number;
|
|
409
|
+
created_at: string;
|
|
410
|
+
fee_amount: number;
|
|
411
|
+
payment_id: number;
|
|
412
|
+
tip_amount: null;
|
|
413
|
+
updated_at: string;
|
|
414
|
+
sales_channel: null;
|
|
415
|
+
shipping_amount: number;
|
|
416
|
+
fulfillment_mongo_id: null;
|
|
417
|
+
}[];
|
|
418
|
+
order_item: {
|
|
419
|
+
id: number;
|
|
420
|
+
name: string;
|
|
421
|
+
brand: string;
|
|
422
|
+
id_item: string;
|
|
423
|
+
category: string;
|
|
424
|
+
quantity: number;
|
|
425
|
+
sku_code: string;
|
|
426
|
+
created_at: string;
|
|
427
|
+
updated_at: string;
|
|
428
|
+
unit_amount: number;
|
|
429
|
+
payment_order_id: number;
|
|
430
|
+
manufacture_part_number: string;
|
|
431
|
+
}[];
|
|
432
|
+
customer_payer_address: {
|
|
433
|
+
id: number;
|
|
434
|
+
type: string;
|
|
435
|
+
created_at: string;
|
|
436
|
+
updated_at: string;
|
|
437
|
+
address_city: string;
|
|
438
|
+
address_state: string;
|
|
439
|
+
address_line_1: string;
|
|
440
|
+
address_line_2: string;
|
|
441
|
+
address_country: string;
|
|
442
|
+
address_zip_code: string;
|
|
443
|
+
customer_payer_id: number;
|
|
444
|
+
address_neighborhood: null;
|
|
445
|
+
}[];
|
|
446
|
+
payment_tax: never[];
|
|
447
|
+
payment_order_tax: never[];
|
|
448
|
+
payment_order_shipping: never[];
|
|
449
|
+
payment_airline: never[];
|
|
450
|
+
payment_seller_details: {};
|
|
451
|
+
};
|
|
452
|
+
export declare const paymentHistoryMock: ({
|
|
453
|
+
created_at: string;
|
|
454
|
+
amount_value: number;
|
|
455
|
+
currency_code: string;
|
|
456
|
+
transaction_type: string;
|
|
457
|
+
status_history: string;
|
|
458
|
+
provider_id: string;
|
|
459
|
+
code: string;
|
|
460
|
+
category: string;
|
|
461
|
+
merchant_reference: string;
|
|
462
|
+
description: null;
|
|
463
|
+
title_description: string;
|
|
464
|
+
light_text: string;
|
|
465
|
+
show_amount: boolean;
|
|
466
|
+
show_provider: boolean;
|
|
467
|
+
provider_status: null;
|
|
468
|
+
sub_status_history: null;
|
|
469
|
+
provider_response_code: null;
|
|
470
|
+
provider_raw_response: null;
|
|
471
|
+
parent_payment_method_type: null;
|
|
472
|
+
wallet_title_description: string;
|
|
473
|
+
} | {
|
|
474
|
+
created_at: string;
|
|
475
|
+
amount_value: number;
|
|
476
|
+
currency_code: string;
|
|
477
|
+
transaction_type: string;
|
|
478
|
+
status_history: string;
|
|
479
|
+
provider_id: string;
|
|
480
|
+
code: string;
|
|
481
|
+
category: string;
|
|
482
|
+
merchant_reference: string;
|
|
483
|
+
description: string;
|
|
484
|
+
title_description: string;
|
|
485
|
+
light_text: null;
|
|
486
|
+
show_amount: boolean;
|
|
487
|
+
show_provider: boolean;
|
|
488
|
+
provider_status: null;
|
|
489
|
+
sub_status_history: null;
|
|
490
|
+
provider_response_code: null;
|
|
491
|
+
provider_raw_response: null;
|
|
492
|
+
parent_payment_method_type: null;
|
|
493
|
+
wallet_title_description: string;
|
|
494
|
+
})[];
|
|
495
|
+
export declare const paymentDetailsMock: {
|
|
496
|
+
content: {
|
|
497
|
+
test_credential: boolean;
|
|
498
|
+
id: string;
|
|
499
|
+
code: string;
|
|
500
|
+
type: string;
|
|
501
|
+
transaction_data_type: string;
|
|
502
|
+
vault_on_success: string;
|
|
503
|
+
parent_id: string;
|
|
504
|
+
payment_id: number;
|
|
505
|
+
customer_payment_method_code: string;
|
|
506
|
+
status: string;
|
|
507
|
+
category: string;
|
|
508
|
+
amount: number;
|
|
509
|
+
created_at: string;
|
|
510
|
+
updated_at: string;
|
|
511
|
+
payment_method: {
|
|
512
|
+
vaulted_token: string;
|
|
513
|
+
type: string;
|
|
514
|
+
vault_on_success: boolean;
|
|
515
|
+
token: string;
|
|
516
|
+
payment_method_detail: {
|
|
517
|
+
card: {
|
|
518
|
+
verify: string;
|
|
519
|
+
capture: string;
|
|
520
|
+
installments: string;
|
|
521
|
+
first_installments_deferral: string;
|
|
522
|
+
installments_type: null;
|
|
523
|
+
installments_amount: null;
|
|
524
|
+
soft_descriptor: null;
|
|
525
|
+
authorization_code: null;
|
|
526
|
+
retrieval_reference_number: null;
|
|
527
|
+
card_data: {
|
|
528
|
+
holder_name: string;
|
|
529
|
+
iin: string;
|
|
530
|
+
ifd: string;
|
|
531
|
+
expiration_month: string;
|
|
532
|
+
expiration_year: string;
|
|
533
|
+
number_lenght: string;
|
|
534
|
+
security_code_lenght: string;
|
|
535
|
+
brand: string;
|
|
536
|
+
issuer_name: string;
|
|
537
|
+
issuer_code: null;
|
|
538
|
+
category: string;
|
|
539
|
+
type: string;
|
|
540
|
+
installments: string;
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
bnpl: null;
|
|
544
|
+
bank_transfer: null;
|
|
545
|
+
wallet: null;
|
|
546
|
+
payment_link: null;
|
|
547
|
+
ticket: null;
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
response_code: string;
|
|
551
|
+
response_message: string;
|
|
552
|
+
merchant_reference: string;
|
|
553
|
+
provider_data: {
|
|
554
|
+
id: string;
|
|
555
|
+
transaction_id: string;
|
|
556
|
+
account_id: string;
|
|
557
|
+
sub_status: string;
|
|
558
|
+
status: string;
|
|
559
|
+
status_detail: string;
|
|
560
|
+
raw_response: {
|
|
561
|
+
value: string;
|
|
562
|
+
};
|
|
563
|
+
response_message: string;
|
|
564
|
+
raw_notification: string;
|
|
565
|
+
action_data: string;
|
|
566
|
+
};
|
|
567
|
+
reason: null;
|
|
568
|
+
description: string;
|
|
569
|
+
one_time_token: string;
|
|
570
|
+
require_action_type: string;
|
|
571
|
+
parent_provider: string;
|
|
572
|
+
account_integration_code: string;
|
|
573
|
+
technical_reverse_provider_transaction_id: string;
|
|
574
|
+
technical_reverse_transaction_type: string;
|
|
575
|
+
technical_reverse_status: string;
|
|
576
|
+
stand_alone: null;
|
|
577
|
+
fraud_screening: null;
|
|
578
|
+
}[];
|
|
579
|
+
};
|