@@ -13,28 +13,28 @@ const sms_1 = require("../payments/sms");
1313const run = ( ) => __awaiter ( void 0 , void 0 , void 0 , function * ( ) {
1414 const sms = new sms_1 . Sms ( '0b4dca15' , '3eea38f407073ff0abff956b57d71783' ) ;
1515 // https://docs-new.simpay.pl/typescript/?typescript#sms-pobieranie-listy-uslug
16- yield sms . getServices ( ) ;
17- yield sms . getServicesPaginated ( 1 , 100 ) ;
16+ console . log ( yield sms . getServices ( ) ) ;
17+ console . log ( yield sms . getServicesPaginated ( 1 , 100 ) ) ;
1818 // https://docs-new.simpay.pl/typescript/?typescript#sms-pobieranie-informacji-o-usludze
19- yield sms . getService ( 100 ) ;
19+ console . log ( yield sms . getService ( 3549 ) ) ;
2020 // https://docs-new.simpay.pl/typescript/?typescript#sms-pobieranie-listy-transakcji
21- yield sms . getTransactions ( 100 ) ;
22- yield sms . getTransactionsPaginated ( 100 , 1 , 100 ) ;
21+ console . log ( yield sms . getTransactions ( 3549 ) ) ;
22+ console . log ( yield sms . getTransactionsPaginated ( 3549 , 1 , 100 ) ) ;
2323 // https://docs-new.simpay.pl/typescript/?typescript#sms-pobieranie-informacji-o-transakcji
24- yield sms . getTransaction ( 100 , 1000 ) ;
24+ console . log ( yield sms . getTransaction ( 3549 , 2216609 ) ) ;
2525 // https://docs-new.simpay.pl/typescript/?typescript#sms-pobieranie-dostepnych-numerow-dla-uslugi
26- yield sms . getServiceNumbers ( 100 ) ;
27- yield sms . getServiceNumbersPaginated ( 100 , 1 , 100 ) ;
26+ console . log ( yield sms . getServiceNumbers ( 3549 ) ) ;
27+ console . log ( yield sms . getServiceNumbersPaginated ( 3549 , 1 , 100 ) ) ;
2828 // https://docs-new.simpay.pl/typescript/?typescript#sms-informacji-o-pojedynczym-numerze-uslugi
29- yield sms . getServiceNumber ( 100 , 7055 ) ;
29+ console . log ( yield sms . getServiceNumber ( 3549 , 7055 ) ) ;
3030 // https://docs-new.simpay.pl/typescript/?typescript#sms-pobieranie-wszystkich-dostepnych-numerow
31- yield sms . getNumbers ( ) ;
32- yield sms . getNumbersPaginated ( 1 , 100 ) ;
31+ console . log ( yield sms . getNumbers ( ) ) ;
32+ console . log ( yield sms . getNumbersPaginated ( 1 , 100 ) ) ;
3333 // https://docs-new.simpay.pl/typescript/?typescript#sms-pobieranie-pojedynczego-numeru-sms
34- yield sms . getNumber ( 7055 ) ;
34+ console . log ( yield sms . getNumber ( 7055 ) ) ;
3535 // https://docs-new.simpay.pl/typescript/?typescript#sms-weryfikacja-poprawnosci-kodu
36- yield sms . verifySmsCode ( 100 , 'XXXXXX ' , 7055 ) ;
37- yield sms . verifySmsCode ( 100 , 'XXXXXX' ) ;
36+ console . log ( yield sms . verifySmsCode ( 3549 , '81FFC5 ' , 7055 ) ) ;
37+ console . log ( yield sms . verifySmsCode ( 3549 , '81FFC5' ) ) ;
3838} ) ;
3939// eslint-disable-next-line @typescript-eslint/no-empty-function
4040void run ( ) ;
0 commit comments