cecon-interfaces 2.0.54 → 2.0.56

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.
@@ -3,6 +3,7 @@ import { NatipayMemberTypeEnum } from '../enums/member-type.enum';
3
3
  import { INatipayMember } from '../interfaces';
4
4
  export declare class NatipayMemberEntity implements INatipayMember {
5
5
  active: boolean;
6
+ authCodeHash: string | null;
6
7
  companyId: string;
7
8
  companyName: string;
8
9
  containerId: string;
@@ -13,6 +14,7 @@ export declare class NatipayMemberEntity implements INatipayMember {
13
14
  imageUrl: string | null;
14
15
  internationalCode: string;
15
16
  name: string;
17
+ permissions: string[];
16
18
  phoneNumber: string;
17
19
  rule: NatipayMemberRulesEnum;
18
20
  tags: string[];
@@ -6,6 +6,7 @@ var member_type_enum_1 = require("../enums/member-type.enum");
6
6
  var NatipayMemberEntity = /** @class */ (function () {
7
7
  function NatipayMemberEntity(data) {
8
8
  this.active = true;
9
+ this.authCodeHash = null; // NOVO
9
10
  this.companyId = '';
10
11
  this.companyName = '';
11
12
  this.containerId = '';
@@ -16,6 +17,7 @@ var NatipayMemberEntity = /** @class */ (function () {
16
17
  this.imageUrl = '';
17
18
  this.internationalCode = '55';
18
19
  this.name = '';
20
+ this.permissions = []; // NOVO
19
21
  this.phoneNumber = '';
20
22
  this.rule = member_rules_enum_1.NatipayMemberRulesEnum.USER;
21
23
  this.tags = [];
@@ -2,6 +2,7 @@ import { NatipayMemberRulesEnum } from '../enums/member-rules.enum';
2
2
  import { NatipayMemberTypeEnum } from '../enums/member-type.enum';
3
3
  export interface INatipayMember {
4
4
  active: boolean;
5
+ authCodeHash: string | null;
5
6
  companyId: string;
6
7
  companyName: string | null;
7
8
  containerId: string;
@@ -12,6 +13,7 @@ export interface INatipayMember {
12
13
  imageUrl: string | null;
13
14
  internationalCode: string;
14
15
  name: string;
16
+ permissions: string[];
15
17
  phoneNumber: string;
16
18
  rule: NatipayMemberRulesEnum;
17
19
  tags: string[];
@@ -7,5 +7,6 @@ export declare enum EOperationType {
7
7
  NATIPAY_PIX = "Natipay-PIX",
8
8
  FIN_TAX = "Taxa financeira",
9
9
  WITHDRAW = "Saque em conta",
10
- REGULAR_PAYMENT = "Pagamento de conta"
10
+ REGULAR_PAYMENT = "Pagamento de conta",
11
+ AUTOMATIC_DEBIT = "D\u00E9bito autom\u00E1tico"
11
12
  }
@@ -13,4 +13,5 @@ var EOperationType;
13
13
  EOperationType["FIN_TAX"] = "Taxa financeira";
14
14
  EOperationType["WITHDRAW"] = "Saque em conta";
15
15
  EOperationType["REGULAR_PAYMENT"] = "Pagamento de conta";
16
+ EOperationType["AUTOMATIC_DEBIT"] = "D\u00E9bito autom\u00E1tico";
16
17
  })(EOperationType || (exports.EOperationType = EOperationType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "2.0.54",
3
+ "version": "2.0.56",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/.env DELETED
@@ -1 +0,0 @@
1
- NPM_TOKEN=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
package/.prettierrc DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "singleQuote": true,
3
- "trailingComma": "es5",
4
- "tabWidth": 2,
5
- "semi": true,
6
- "printWidth": 140
7
- }
@@ -1,22 +0,0 @@
1
- {
2
- "workbench.colorCustomizations": {
3
- "activityBar.activeBackground": "#a88dc6",
4
- "activityBar.background": "#a88dc6",
5
- "activityBar.foreground": "#15202b",
6
- "activityBar.inactiveForeground": "#15202b99",
7
- "activityBarBadge.background": "#7f5e40",
8
- "activityBarBadge.foreground": "#e7e7e7",
9
- "commandCenter.border": "#e7e7e799",
10
- "sash.hoverBorder": "#a88dc6",
11
- "statusBar.background": "#8e6bb5",
12
- "statusBar.foreground": "#e7e7e7",
13
- "statusBarItem.hoverBackground": "#a88dc6",
14
- "statusBarItem.remoteBackground": "#8e6bb5",
15
- "statusBarItem.remoteForeground": "#e7e7e7",
16
- "titleBar.activeBackground": "#8e6bb5",
17
- "titleBar.activeForeground": "#e7e7e7",
18
- "titleBar.inactiveBackground": "#8e6bb599",
19
- "titleBar.inactiveForeground": "#e7e7e799"
20
- },
21
- "peacock.color": "8E6BB5"
22
- }
package/order-temp.zip DELETED
Binary file
package/temp.md DELETED
@@ -1,33 +0,0 @@
1
- # Fluxo de Recarga - Organograma
2
-
3
- ## 📱 Frontend (App)
4
-
5
- ### 1. Botão de Recarga
6
- - **Localização**: Interface do usuário
7
- - **Ação**: Usuário solicita recarga de créditos
8
- - **Chamada**: API interna para gerar PIX
9
-
10
- ---
11
-
12
- ## 🔧 Backend (API Interna)
13
-
14
- ### 2. Endpoint de Geração de PIX
15
- - **Método**: POST `/api/recarga/gerar-pix`
16
- - **Parâmetros**:
17
- - `amount`: Valor da recarga
18
- - `userId`: ID do usuário
19
- - **Ação**: Chama API Natipay
20
-
21
- ### 3. Chamada para Natipay
22
- - **Endpoint**: POST Natipay `/orders`
23
- - **Body**:
24
- ```json
25
- {
26
- "displayId": "${TENANT_ID}_POSID_PAYIO_GESTOR",
27
- "from": "PAYIO_GESTOR",
28
- "items": [],
29
- "orderAmount": ":AMOUNT",
30
- "reference": ":REFERENCE",
31
- "saleChannel": "PAYIOGESTOR",
32
- "callbacks": ["URL_CALLBACK"]
33
- }