File tree Expand file tree Collapse file tree 21 files changed +95
-135
lines changed Expand file tree Collapse file tree 21 files changed +95
-135
lines changed Original file line number Diff line number Diff line change @@ -579,7 +579,7 @@ var exports$1 = {
579
579
}
580
580
} ;
581
581
var description = "Module for integration with Efi Bank API" ;
582
- var version = "1.2.1 " ;
582
+ var version = "1.2.2 " ;
583
583
var deprecated = "Este pacote será descontinuado. Use o 'sdk-node-apis-efi' no lugar." ;
584
584
var author = "Efi Bank - Consultoria Técnica | João Vitor Oliveira | João Lucas" ;
585
585
var license = "MIT" ;
@@ -3516,25 +3516,13 @@ class PixMethods extends CobrancasMethods {
3516
3516
* } } body
3517
3517
*
3518
3518
* @returns {Promise<{
3519
+ * idEnvio: string,
3520
+ * e2eId: string,
3519
3521
* valor: string,
3520
- * pagador: {
3521
- * chave: string,
3522
- * infoPagador?: string
3523
- * },
3524
- * favorecido: {
3525
- * chave?: string,
3526
- * contaBanco?: {
3527
- * nome: string,
3528
- * cpf?: string,
3529
- * cnpj?: string,
3530
- * codigoBanco: string,
3531
- * agencia: string,
3532
- * conta: string,
3533
- * tipoConta: string
3534
- * },
3535
- * cpf?: string,
3536
- * cnpj?: string
3522
+ * horario: {
3523
+ * solicitacao: string
3537
3524
* }
3525
+ * status: string
3538
3526
* }> }
3539
3527
*/
3540
3528
pixSend ( params , body ) { }
@@ -5282,15 +5270,18 @@ class OpenFinanceMethods extends PixMethods {
5282
5270
* Para capturar uma falha utilize o `catch`, os campos disponíveis no objeto serão `nome` e `mensagem`.
5283
5271
*
5284
5272
* @param {{ identificadorPagamento: string } } params
5285
- * @param {{ valor: string } } body
5273
+ * @param {Array<{
5274
+ * endToEndId: string,
5275
+ * valor: string
5276
+ * }>} body
5286
5277
*
5287
- * @returns { Promise<{
5278
+ * @returns { Promise<Array< {
5288
5279
* identificadorPagamento: string,
5289
5280
* endToEndId: string,
5290
5281
* valor: string,
5291
5282
* dataCriacao: string,
5292
5283
* status: string,
5293
- * }>}
5284
+ * }>> }
5294
5285
*/
5295
5286
ofDevolutionRecurrencyPix ( params , body ) { }
5296
5287
}
Original file line number Diff line number Diff line change @@ -570,7 +570,7 @@ var exports = {
570
570
}
571
571
} ;
572
572
var description = "Module for integration with Efi Bank API" ;
573
- var version = "1.2.1 " ;
573
+ var version = "1.2.2 " ;
574
574
var deprecated = "Este pacote será descontinuado. Use o 'sdk-node-apis-efi' no lugar." ;
575
575
var author = "Efi Bank - Consultoria Técnica | João Vitor Oliveira | João Lucas" ;
576
576
var license = "MIT" ;
@@ -3507,25 +3507,13 @@ class PixMethods extends CobrancasMethods {
3507
3507
* } } body
3508
3508
*
3509
3509
* @returns {Promise<{
3510
+ * idEnvio: string,
3511
+ * e2eId: string,
3510
3512
* valor: string,
3511
- * pagador: {
3512
- * chave: string,
3513
- * infoPagador?: string
3514
- * },
3515
- * favorecido: {
3516
- * chave?: string,
3517
- * contaBanco?: {
3518
- * nome: string,
3519
- * cpf?: string,
3520
- * cnpj?: string,
3521
- * codigoBanco: string,
3522
- * agencia: string,
3523
- * conta: string,
3524
- * tipoConta: string
3525
- * },
3526
- * cpf?: string,
3527
- * cnpj?: string
3513
+ * horario: {
3514
+ * solicitacao: string
3528
3515
* }
3516
+ * status: string
3529
3517
* }> }
3530
3518
*/
3531
3519
pixSend ( params , body ) { }
@@ -5273,15 +5261,18 @@ class OpenFinanceMethods extends PixMethods {
5273
5261
* Para capturar uma falha utilize o `catch`, os campos disponíveis no objeto serão `nome` e `mensagem`.
5274
5262
*
5275
5263
* @param {{ identificadorPagamento: string } } params
5276
- * @param {{ valor: string } } body
5264
+ * @param {Array<{
5265
+ * endToEndId: string,
5266
+ * valor: string
5267
+ * }>} body
5277
5268
*
5278
- * @returns { Promise<{
5269
+ * @returns { Promise<Array< {
5279
5270
* identificadorPagamento: string,
5280
5271
* endToEndId: string,
5281
5272
* valor: string,
5282
5273
* dataCriacao: string,
5283
5274
* status: string,
5284
- * }>}
5275
+ * }>> }
5285
5276
*/
5286
5277
ofDevolutionRecurrencyPix ( params , body ) { }
5287
5278
}
Original file line number Diff line number Diff line change @@ -642,26 +642,30 @@ export class OpenFinanceMethods extends PixMethods {
642
642
* Para capturar uma falha utilize o `catch`, os campos disponíveis no objeto serão `nome` e `mensagem`.
643
643
*
644
644
* @param {{ identificadorPagamento: string } } params
645
- * @param {{ valor: string } } body
645
+ * @param {Array<{
646
+ * endToEndId: string,
647
+ * valor: string
648
+ * }>} body
646
649
*
647
- * @returns { Promise<{
650
+ * @returns { Promise<Array< {
648
651
* identificadorPagamento: string,
649
652
* endToEndId: string,
650
653
* valor: string,
651
654
* dataCriacao: string,
652
655
* status: string,
653
- * }>}
656
+ * }>> }
654
657
*/
655
658
ofDevolutionRecurrencyPix ( params : {
656
659
identificadorPagamento : string ;
657
- } , body : {
660
+ } , body : Array < {
661
+ endToEndId : string ;
658
662
valor : string ;
659
- } ) : Promise < {
663
+ } > ) : Promise < Array < {
660
664
identificadorPagamento : string ;
661
665
endToEndId : string ;
662
666
valor : string ;
663
667
dataCriacao : string ;
664
668
status : string ;
665
- } > ;
669
+ } > > ;
666
670
}
667
671
import { PixMethods } from "./pix" ;
Original file line number Diff line number Diff line change @@ -1197,25 +1197,13 @@ export class PixMethods extends CobrancasMethods {
1197
1197
* } } body
1198
1198
*
1199
1199
* @returns {Promise<{
1200
+ * idEnvio: string,
1201
+ * e2eId: string,
1200
1202
* valor: string,
1201
- * pagador: {
1202
- * chave: string,
1203
- * infoPagador?: string
1204
- * },
1205
- * favorecido: {
1206
- * chave?: string,
1207
- * contaBanco?: {
1208
- * nome: string,
1209
- * cpf?: string,
1210
- * cnpj?: string,
1211
- * codigoBanco: string,
1212
- * agencia: string,
1213
- * conta: string,
1214
- * tipoConta: string
1215
- * },
1216
- * cpf?: string,
1217
- * cnpj?: string
1203
+ * horario: {
1204
+ * solicitacao: string
1218
1205
* }
1206
+ * status: string
1219
1207
* }> }
1220
1208
*/
1221
1209
pixSend ( params : {
@@ -1241,25 +1229,13 @@ export class PixMethods extends CobrancasMethods {
1241
1229
cnpj ?: string ;
1242
1230
} ;
1243
1231
} ) : Promise < {
1232
+ idEnvio : string ;
1233
+ e2eId : string ;
1244
1234
valor : string ;
1245
- pagador : {
1246
- chave : string ;
1247
- infoPagador ?: string ;
1248
- } ;
1249
- favorecido : {
1250
- chave ?: string ;
1251
- contaBanco ?: {
1252
- nome : string ;
1253
- cpf ?: string ;
1254
- cnpj ?: string ;
1255
- codigoBanco : string ;
1256
- agencia : string ;
1257
- conta : string ;
1258
- tipoConta : string ;
1259
- } ;
1260
- cpf ?: string ;
1261
- cnpj ?: string ;
1235
+ horario : {
1236
+ solicitacao : string ;
1262
1237
} ;
1238
+ status : string ;
1263
1239
} > ;
1264
1240
/**
1265
1241
* **GET /v2/gn/pix/enviados/:e2eId**
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- const options = require ( '../../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi'
2
+ import options from '../../../credentials'
3
3
4
4
const efipay = new EfiPay ( options )
5
5
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- const options = require ( '../../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi'
2
+ import options from '../../../credentials'
3
3
4
4
const efipay = new EfiPay ( options )
5
5
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- const options = require ( '../../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi'
2
+ import options from '../../../credentials'
3
3
4
4
const efipay = new EfiPay ( options )
5
5
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- const options = require ( '../../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi'
2
+ import options from '../../../credentials'
3
3
4
4
const efipay = new EfiPay ( options )
5
5
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- const options = require ( '../../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi'
2
+ import options from '../../../credentials'
3
3
4
4
const efipay = new EfiPay ( options )
5
5
6
6
let params = {
7
7
identificadorPagamento : 'urn:efi:ae71713f-875b-4af3-9d85-0bcb43288847' ,
8
8
}
9
9
10
- let body = {
11
- valor : '0.01' ,
12
- }
10
+ let body = [
11
+ {
12
+ endToEndId : "E09089356202408281500624f423208f" ,
13
+ valor : "0.01"
14
+ } ,
15
+ {
16
+ endToEndId : "E09089356202408291500a0ecaa22e86" ,
17
+ valor : "0.01"
18
+ }
19
+ ]
13
20
14
21
// O método ofDevolutionRecurrencyPix indica os campos que devem ser enviados e que serão retornados
15
22
efipay . ofDevolutionRecurrencyPix ( params , body )
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- const options = require ( '../../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi'
2
+ import options from '../../../credentials'
3
3
4
4
const efipay = new EfiPay ( options )
5
5
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- const options = require ( '../../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi'
2
+ import options from '../../../credentials'
3
3
4
4
const efipay = new EfiPay ( options )
5
5
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- const options = require ( '../../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi'
2
+ import options from '../../../credentials'
3
3
4
4
const efipay = new EfiPay ( options )
5
5
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- const options = require ( '../../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi'
2
+ import options from '../../../credentials'
3
3
4
4
const efipay = new EfiPay ( options )
5
5
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- const options = require ( '../../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi'
2
+ import options from '../../../credentials'
3
3
4
4
const efipay = new EfiPay ( options )
5
5
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- const options = require ( '../../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi'
2
+ import options from '../../../credentials'
3
3
4
4
const efipay = new EfiPay ( options )
5
5
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- let options = require ( '../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi' ;
2
+ import options from '../../credentials' ;
3
3
4
4
5
5
let body = {
6
- url : 'https://suaUrl.com.br/webhook' ,
6
+ url : 'https://suaUrl.com.br/webhook' ,
7
7
}
8
8
9
9
const efipay = new EfiPay ( options )
Original file line number Diff line number Diff line change 1
- const EfiPay = require ( 'sdk-node -apis-efi' )
2
- let options = require ( '../../credentials' )
1
+ import EfiPay from 'sdk-typescript -apis-efi' ;
2
+ import options from '../../credentials' ;
3
3
4
4
options [ 'validateMtls' ] = false
5
5
Original file line number Diff line number Diff line change 9
9
}
10
10
},
11
11
"description" : " Module for integration with Efi Bank API" ,
12
- "version" : " 1.2.1 " ,
12
+ "version" : " 1.2.2 " ,
13
13
"deprecated" : " Este pacote será descontinuado. Use o 'sdk-node-apis-efi' no lugar." ,
14
14
"author" : " Efi Bank - Consultoria Técnica | João Vitor Oliveira | João Lucas" ,
15
15
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -437,15 +437,18 @@ export class OpenFinanceMethods extends PixMethods {
437
437
* Para capturar uma falha utilize o `catch`, os campos disponíveis no objeto serão `nome` e `mensagem`.
438
438
*
439
439
* @param {{ identificadorPagamento: string } } params
440
- * @param {{ valor: string } } body
440
+ * @param {Array<{
441
+ * endToEndId: string,
442
+ * valor: string
443
+ * }>} body
441
444
*
442
- * @returns { Promise<{
445
+ * @returns { Promise<Array< {
443
446
* identificadorPagamento: string,
444
447
* endToEndId: string,
445
448
* valor: string,
446
449
* dataCriacao: string,
447
450
* status: string,
448
- * }>}
451
+ * }>> }
449
452
*/
450
453
ofDevolutionRecurrencyPix ( params , body ) { }
451
454
}
You can’t perform that action at this time.
0 commit comments