cecon-interfaces 1.4.16 → 1.4.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  export interface IDeviceCheckoutConfigTefApi {
2
- port: number;
2
+ storeId: string;
3
3
  url: string;
4
4
  }
@@ -5,4 +5,5 @@ export interface IDeviceCheckoutPicture {
5
5
  userblock: string;
6
6
  header: string;
7
7
  banners: Array<string>;
8
+ ordermode: string;
8
9
  }
@@ -1,13 +1,7 @@
1
- import { EOrderPaymentMethod } from "../enum/order-payment-method.enum";
2
- export interface IOrderPaymentPix {
3
- pixKey: string;
4
- urlQrImage: string;
5
- }
6
- export interface IOrderPaymentWallet {
7
- name: string;
8
- }
1
+ import { EOrderPaymentMethod } from '../enum/order-payment-method.enum';
9
2
  export interface IOrderPaymentCard {
10
- brand: string;
3
+ brand: string | null;
4
+ link: string | null;
11
5
  }
12
6
  export interface IOrderPaymentCash {
13
7
  changeFor: Number;
@@ -16,14 +10,22 @@ export interface IOrderPaymentMethodV3 {
16
10
  card: IOrderPaymentCard;
17
11
  cash: IOrderPaymentCash;
18
12
  code: string;
13
+ createdAt: Date | null;
19
14
  currency: 'BRL';
20
15
  id: string;
21
16
  method: EOrderPaymentMethod;
22
- pix?: IOrderPaymentPix;
17
+ paymentId?: string;
18
+ pix: IOrderPaymentPix | null;
23
19
  prepaid: boolean;
24
20
  transaction?: any;
25
21
  type: 'ONLINE' | 'OFFLINE';
26
22
  value: number;
27
23
  wallet: IOrderPaymentWallet;
28
- paymentId?: string;
24
+ }
25
+ export interface IOrderPaymentPix {
26
+ pixKey: string;
27
+ urlQrImage: string;
28
+ }
29
+ export interface IOrderPaymentWallet {
30
+ name: string;
29
31
  }
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ // #endregion Interfaces (5)
@@ -39,9 +39,11 @@ export { IDeviceAppConfig as MobyoIDeviceAppConfig } from './i-device-app-config
39
39
  export { IDeviceCheckout as MobyoIDeviceCheckout } from './i-device-checkout';
40
40
  export { IDeviceCheckoutConfigTef as MobyoIDeviceCheckoutConfigTef } from './i-device-checkout-config-tef';
41
41
  export { IDeviceCheckoutConfigTefApi as MobyoIDeviceCheckoutConfigTefApi } from './i-device-checkout-config-tef-api';
42
+ export { IDeviceCheckoutConfigTefApi } from './i-device-checkout-config-tef-api';
42
43
  export { IDeviceCheckoutConfig as MobyoIDeviceCheckoutConfig } from './i-device-checkout-configs';
43
44
  export { IDeviceCheckoutPaymentsOnline as MobyoIDeviceCheckoutPaymentsOnline } from './i-device-checkout-payments-online';
44
45
  export { IDeviceCheckoutPicture as MobyoIDeviceCheckoutPicture } from './i-device-checkout-picture';
46
+ export { IDeviceCheckoutPicture } from './i-device-checkout-picture';
45
47
  export { IDeviceCustomText as MobyoIDeviceCustomText } from './i-device-custom-text';
46
48
  export { IDeviceMenu as MobyoIDeviceMenu } from './i-device-menu';
47
49
  export { IDeviceScreen as MobyoIDeviceScreen } from './i-device-screen';
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.16",
3
+ "version": "1.4.18",
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.16",
3
+ "version": "1.4.18",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",