cecon-interfaces 1.4.4 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -53,3 +53,4 @@ export * from './viacep';
53
53
  export * from './voucher';
54
54
  export * from './wa-server';
55
55
  export * from './withdraw';
56
+ export * from './meli';
package/dist/index.js CHANGED
@@ -69,3 +69,4 @@ __exportStar(require("./viacep"), exports);
69
69
  __exportStar(require("./voucher"), exports);
70
70
  __exportStar(require("./wa-server"), exports);
71
71
  __exportStar(require("./withdraw"), exports);
72
+ __exportStar(require("./meli"), exports);
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IMeliCheckoutOnline } from './i-checkout-online-order-processor.dto';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.04",
3
+ "version": "1.4.06",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.04",
3
+ "version": "1.4.06",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",