cecon-interfaces 1.8.79 → 1.8.82
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/dist/esm2022/natipay/payload/entities/payload.entity.mjs +1 -1
- package/dist/esm2022/natipay/payload/interfaces/i-payload.mjs +1 -1
- package/dist/esm2022/payio/app/entities/app.entity.mjs +3 -3
- package/dist/esm2022/payio/app/enums/app-slug.enum.mjs +10 -9
- package/dist/esm2022/payio/app/enums/index.mjs +2 -2
- package/dist/esm2022/payio/app/interfaces/i-app.mjs +1 -1
- package/dist/esm2022/payio/orders/entities/order.entity.mjs +4 -4
- package/dist/esm2022/payio/orders/interfaces/i-order.mjs +1 -1
- package/dist/esm2022/payio/orders-queue/entities/order-queue.entity.mjs +2 -1
- package/dist/esm2022/payio/orders-queue/interfaces/i-order-queue.mjs +1 -1
- package/dist/esm2022/payio/payload/entities/payload.entity.mjs +1 -1
- package/dist/esm2022/payio/payload/interfaces/i-payload.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +13 -11
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/natipay/payload/entities/payload.entity.d.ts +1 -1
- package/dist/natipay/payload/interfaces/i-payload.d.ts +2 -1
- package/dist/payio/app/entities/app.entity.d.ts +2 -2
- package/dist/payio/app/entities/app.entity.js +1 -1
- package/dist/payio/app/enums/app-slug.enum.d.ts +2 -1
- package/dist/payio/app/enums/app-slug.enum.js +10 -9
- package/dist/payio/app/enums/index.d.ts +1 -1
- package/dist/payio/app/enums/index.js +2 -2
- package/dist/payio/app/interfaces/i-app.d.ts +2 -2
- package/dist/payio/orders/entities/order.entity.d.ts +5 -5
- package/dist/payio/orders/entities/order.entity.js +1 -1
- package/dist/payio/orders/interfaces/i-order.d.ts +2 -2
- package/dist/payio/orders-queue/entities/order-queue.entity.d.ts +1 -0
- package/dist/payio/orders-queue/interfaces/i-order-queue.d.ts +1 -0
- package/dist/payio/payload/entities/payload.entity.d.ts +1 -1
- package/dist/payio/payload/interfaces/i-payload.d.ts +2 -1
- package/package.json +1 -1
- package/readme.md +5 -3
@@ -5,7 +5,7 @@ import { NatipayJwtPayloadDeviceEntity } from './payload-device.entity';
|
|
5
5
|
import { NatipayJwtPayloadUserEntity } from './payload-user.entity';
|
6
6
|
export declare class NatipayJwtPayloadEntity implements INatipayJwtPayload {
|
7
7
|
app: INatipayJwtPayloadApp | null;
|
8
|
-
aud: string;
|
8
|
+
aud: string | string[];
|
9
9
|
device: NatipayJwtPayloadDeviceEntity | null;
|
10
10
|
exp?: number;
|
11
11
|
iat: number;
|
@@ -6,8 +6,9 @@ export interface INatipayJwtPayload {
|
|
6
6
|
app: INatipayJwtPayloadApp | null;
|
7
7
|
/**
|
8
8
|
* (Audiência): Identifica os destinatários pretendidos do JWT (sua aplicação).
|
9
|
+
* Pode ser uma string única ou um array de strings para múltiplas audiências.
|
9
10
|
*/
|
10
|
-
aud: string;
|
11
|
+
aud: string | string[];
|
11
12
|
device: INatipayJwtPayloadDevice | null;
|
12
13
|
/**
|
13
14
|
* (Expiração): Timestamp de quando o JWT expira
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EPayioAppSlug } from '../enums';
|
2
2
|
import { IPayioApp } from '../interfaces/i-app';
|
3
3
|
export declare class PayioAppEntity implements IPayioApp {
|
4
4
|
active: boolean;
|
@@ -14,7 +14,7 @@ export declare class PayioAppEntity implements IPayioApp {
|
|
14
14
|
price: number;
|
15
15
|
refreshToken: string | null;
|
16
16
|
secret: string;
|
17
|
-
slug:
|
17
|
+
slug: EPayioAppSlug;
|
18
18
|
tags: string[];
|
19
19
|
accessToken: string | null;
|
20
20
|
updatedAt: Date;
|
@@ -17,7 +17,7 @@ var PayioAppEntity = /** @class */ (function () {
|
|
17
17
|
this.price = 0;
|
18
18
|
this.refreshToken = null;
|
19
19
|
this.secret = '';
|
20
|
-
this.slug = enums_1.
|
20
|
+
this.slug = enums_1.EPayioAppSlug.none;
|
21
21
|
this.tags = [];
|
22
22
|
this.accessToken = null;
|
23
23
|
this.updatedAt = new Date();
|
@@ -1,11 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
exports.EPayioAppSlug = void 0;
|
4
|
+
var EPayioAppSlug;
|
5
|
+
(function (EPayioAppSlug) {
|
6
|
+
EPayioAppSlug["payio_cash"] = "payio-cash";
|
7
|
+
EPayioAppSlug["payio_chef"] = "payio-chef";
|
8
|
+
EPayioAppSlug["payio_big_chef"] = "payio-big-chef";
|
9
|
+
EPayioAppSlug["payio_distributor"] = "payio-distributor";
|
10
|
+
EPayioAppSlug["payio_main"] = "payio-main";
|
11
|
+
EPayioAppSlug["none"] = "none";
|
12
|
+
})(EPayioAppSlug || (exports.EPayioAppSlug = EPayioAppSlug = {}));
|
@@ -1 +1 @@
|
|
1
|
-
export {
|
1
|
+
export { EPayioAppSlug } from './app-slug.enum';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.EPayioAppSlug = void 0;
|
4
4
|
var app_slug_enum_1 = require("./app-slug.enum");
|
5
|
-
Object.defineProperty(exports, "
|
5
|
+
Object.defineProperty(exports, "EPayioAppSlug", { enumerable: true, get: function () { return app_slug_enum_1.EPayioAppSlug; } });
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EPayioAppSlug } from '../enums';
|
2
2
|
export interface IPayioApp {
|
3
3
|
active: boolean;
|
4
4
|
clientKey: string | null;
|
@@ -13,7 +13,7 @@ export interface IPayioApp {
|
|
13
13
|
price: number;
|
14
14
|
refreshToken: string | null;
|
15
15
|
secret: string;
|
16
|
-
slug:
|
16
|
+
slug: EPayioAppSlug;
|
17
17
|
tags: string[];
|
18
18
|
accessToken: string | null;
|
19
19
|
updatedAt: Date;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { OrderEntity } from
|
2
|
-
import {
|
3
|
-
import { IPayioOrder } from
|
4
|
-
import { PayioOrderIndoorEntity } from
|
1
|
+
import { OrderEntity } from '../../../order';
|
2
|
+
import { EPayioAppSlug } from '../../app';
|
3
|
+
import { IPayioOrder } from '../interfaces';
|
4
|
+
import { PayioOrderIndoorEntity } from './indoor.entity';
|
5
5
|
export declare class PayioOrderEntity extends OrderEntity implements IPayioOrder {
|
6
6
|
appId: string | null;
|
7
|
-
appSlug:
|
7
|
+
appSlug: EPayioAppSlug;
|
8
8
|
deviceId: string | null;
|
9
9
|
indoor: PayioOrderIndoorEntity | null;
|
10
10
|
resumeVersion: string;
|
@@ -23,7 +23,7 @@ var PayioOrderEntity = /** @class */ (function (_super) {
|
|
23
23
|
function PayioOrderEntity(data) {
|
24
24
|
var _this = _super.call(this) || this;
|
25
25
|
_this.appId = null;
|
26
|
-
_this.appSlug = app_1.
|
26
|
+
_this.appSlug = app_1.EPayioAppSlug.none;
|
27
27
|
_this.deviceId = null;
|
28
28
|
_this.indoor = null;
|
29
29
|
_this.resumeVersion = '';
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { IOrder } from '../../../order';
|
2
|
-
import {
|
2
|
+
import { EPayioAppSlug } from '../../app';
|
3
3
|
import { IPayioOrderIndoor } from './i-order-indoor';
|
4
4
|
export interface IPayioOrder extends IOrder {
|
5
5
|
appId: string | null;
|
6
|
-
appSlug:
|
6
|
+
appSlug: EPayioAppSlug;
|
7
7
|
deviceId: string | null;
|
8
8
|
indoor: IPayioOrderIndoor | null;
|
9
9
|
resumeVersion: string;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { PayioOrderQueueStatusEnum } from '../enums';
|
2
2
|
import { IPayioOrderQueue } from '../interfaces/i-order-queue';
|
3
3
|
export declare class PayioOrderQueueEntity implements IPayioOrderQueue {
|
4
|
+
deviceId?: string;
|
4
5
|
appId: string;
|
5
6
|
attempts: number;
|
6
7
|
companyId: string;
|
@@ -8,7 +8,7 @@ import { PayioJwtPayloadUserEntity } from './payload-user.entity';
|
|
8
8
|
export declare class PayioJwtPayloadEntity implements IPayioJwtPayload {
|
9
9
|
activationStatus: EPayuioActivationStatus;
|
10
10
|
app: IPayioJwtPayloadApp | null;
|
11
|
-
aud: string;
|
11
|
+
aud: string | string[];
|
12
12
|
device: PayioJwtPayloadDeviceEntity | null;
|
13
13
|
distributorId: string | null;
|
14
14
|
exp?: number;
|
@@ -8,8 +8,9 @@ export interface IPayioJwtPayload {
|
|
8
8
|
app: IPayioJwtPayloadApp | null;
|
9
9
|
/**
|
10
10
|
* (Audiência): Identifica os destinatários pretendidos do JWT (sua aplicação).
|
11
|
+
* Pode ser uma string única ou um array de strings para múltiplas audiências.
|
11
12
|
*/
|
12
|
-
aud: string;
|
13
|
+
aud: string | string[];
|
13
14
|
device: IPayioJwtPayloadDevice | null;
|
14
15
|
distributorId: string | null;
|
15
16
|
/**
|
package/package.json
CHANGED
package/readme.md
CHANGED