cecon-interfaces 1.4.3 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/index.mjs +2 -1
- package/dist/esm2022/meli/index.mjs +2 -0
- package/dist/esm2022/meli/interfaces/i-checkout-online-order-processor.dto.mjs +2 -0
- package/dist/esm2022/meli/interfaces/index.mjs +2 -0
- package/dist/esm2022/withdraw/entities/withdraw-request.entity.mjs +2 -1
- package/dist/esm2022/withdraw/interfaces/i-withdraw-request.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +1 -0
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/meli/index.d.ts +1 -0
- package/dist/meli/index.js +17 -0
- package/dist/meli/interfaces/i-checkout-online-order-processor.dto.d.ts +97 -0
- package/dist/meli/interfaces/i-checkout-online-order-processor.dto.js +2 -0
- package/dist/meli/interfaces/index.d.ts +1 -0
- package/dist/meli/interfaces/index.js +2 -0
- package/dist/package.json +1 -1
- package/dist/withdraw/entities/withdraw-request.entity.d.ts +1 -0
- package/dist/withdraw/entities/withdraw-request.entity.js +1 -0
- package/dist/withdraw/interfaces/i-withdraw-request.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './interfaces';
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,97 @@
|
|
1
|
+
export interface IMeliCheckoutOnline {
|
2
|
+
additional_info?: string;
|
3
|
+
auto_return?: string;
|
4
|
+
back_urls?: {
|
5
|
+
failure?: string;
|
6
|
+
pending?: string;
|
7
|
+
success?: string;
|
8
|
+
};
|
9
|
+
binary_mode?: boolean;
|
10
|
+
client_id?: number;
|
11
|
+
collector_id?: number;
|
12
|
+
coupon_code?: string | number;
|
13
|
+
coupon_labels?: string | number;
|
14
|
+
date_created?: Date;
|
15
|
+
date_of_expiration?: string | number;
|
16
|
+
expiration_date_from?: string | number;
|
17
|
+
expiration_date_to?: string | number;
|
18
|
+
expires?: boolean;
|
19
|
+
external_reference: string;
|
20
|
+
id: string;
|
21
|
+
init_point: string;
|
22
|
+
internal_metadata?: string | number;
|
23
|
+
items?: [
|
24
|
+
{
|
25
|
+
id?: number;
|
26
|
+
category_id?: string;
|
27
|
+
currency_id?: string;
|
28
|
+
description?: string;
|
29
|
+
title?: string;
|
30
|
+
quantity?: number;
|
31
|
+
unit_price?: number;
|
32
|
+
}
|
33
|
+
];
|
34
|
+
marketplace?: string;
|
35
|
+
marketplace_fee?: number;
|
36
|
+
metadata?: any;
|
37
|
+
notification_url: string;
|
38
|
+
operation_type?: string;
|
39
|
+
payer?: {
|
40
|
+
phone?: {
|
41
|
+
area_code?: string;
|
42
|
+
number?: string | number;
|
43
|
+
};
|
44
|
+
address?: {
|
45
|
+
zip_code?: string;
|
46
|
+
street_name?: string;
|
47
|
+
street_number?: string | number;
|
48
|
+
};
|
49
|
+
email?: string;
|
50
|
+
identification?: {
|
51
|
+
number?: string;
|
52
|
+
type?: string;
|
53
|
+
};
|
54
|
+
name?: string;
|
55
|
+
surname?: string;
|
56
|
+
date_created?: string | number;
|
57
|
+
last_purchase?: string | number;
|
58
|
+
};
|
59
|
+
payment_methods?: {
|
60
|
+
default_card_id?: string | number;
|
61
|
+
default_payment_method_id?: string | number;
|
62
|
+
excluded_payment_methods?: {
|
63
|
+
id?: string;
|
64
|
+
}[];
|
65
|
+
excluded_payment_types?: {
|
66
|
+
id?: string;
|
67
|
+
}[];
|
68
|
+
installments?: number;
|
69
|
+
default_installments?: number;
|
70
|
+
};
|
71
|
+
processing_modes?: string | number;
|
72
|
+
product_id?: string | number;
|
73
|
+
redirect_urls?: {
|
74
|
+
failure?: string;
|
75
|
+
pending?: string;
|
76
|
+
success?: string;
|
77
|
+
};
|
78
|
+
sandbox_init_point?: string;
|
79
|
+
site_id?: string;
|
80
|
+
shipments?: {
|
81
|
+
default_shipping_method?: string | number;
|
82
|
+
receiver_address?: {
|
83
|
+
zip_code?: string;
|
84
|
+
street_name?: string;
|
85
|
+
street_number?: string | number;
|
86
|
+
floor?: string;
|
87
|
+
apartment?: string;
|
88
|
+
city_name?: string | number;
|
89
|
+
state_name?: string | number;
|
90
|
+
country_name?: string | number;
|
91
|
+
};
|
92
|
+
};
|
93
|
+
statement_descriptor?: string;
|
94
|
+
total_amount?: string | number;
|
95
|
+
last_updated?: string | number;
|
96
|
+
financing_group?: string;
|
97
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IMeliCheckoutOnline } from './i-checkout-online-order-processor.dto';
|
package/dist/package.json
CHANGED
@@ -22,6 +22,7 @@ var WithDrawRequestEntity = /** @class */ (function () {
|
|
22
22
|
this.natiInfo = new general_1.NatiInfoEntity();
|
23
23
|
this.mobyoInfo = new general_1.MobyoInfoEntity();
|
24
24
|
this.desenfilaInfo = new general_1.DesenfilaInfoEntity();
|
25
|
+
this.name = '';
|
25
26
|
if (data) {
|
26
27
|
for (var key in data) {
|
27
28
|
if (data.hasOwnProperty(key) && key in this) {
|