@pokash/n8n-nodes-optima-rest-api 1.9.0 → 1.10.0
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.
|
@@ -444,6 +444,19 @@ class OptimaRestApi {
|
|
|
444
444
|
},
|
|
445
445
|
description: 'Numer KSeF dokumentu. Puste = bez zmian.',
|
|
446
446
|
},
|
|
447
|
+
{
|
|
448
|
+
displayName: 'Numer Sesji',
|
|
449
|
+
name: 'numerSesji',
|
|
450
|
+
type: 'string',
|
|
451
|
+
default: '',
|
|
452
|
+
displayOptions: {
|
|
453
|
+
show: {
|
|
454
|
+
resource: ['document'],
|
|
455
|
+
operation: ['updateKSeF'],
|
|
456
|
+
},
|
|
457
|
+
},
|
|
458
|
+
description: 'Numer referencyjny sesji KSeF. Puste = bez zmian.',
|
|
459
|
+
},
|
|
447
460
|
{
|
|
448
461
|
displayName: 'Data Przyjęcia',
|
|
449
462
|
name: 'dataPrzyjecia',
|
|
@@ -955,6 +968,7 @@ class OptimaRestApi {
|
|
|
955
968
|
const numerObcy = this.getNodeParameter('numerObcy', i, '');
|
|
956
969
|
const nip = this.getNodeParameter('nip', i, '');
|
|
957
970
|
const nrKsef = this.getNodeParameter('nrKsef', i, '');
|
|
971
|
+
const numerSesji = this.getNodeParameter('numerSesji', i, '');
|
|
958
972
|
const dataPrzyjecia = this.getNodeParameter('dataPrzyjecia', i, '');
|
|
959
973
|
const formaPlatnosci = this.getNodeParameter('formaPlatnosci', i, '');
|
|
960
974
|
const srodowisko = this.getNodeParameter('srodowisko', i, '');
|
|
@@ -968,6 +982,8 @@ class OptimaRestApi {
|
|
|
968
982
|
body.Nip = nip;
|
|
969
983
|
if (nrKsef)
|
|
970
984
|
body.NrKsef = nrKsef;
|
|
985
|
+
if (numerSesji)
|
|
986
|
+
body.NumerSesji = numerSesji;
|
|
971
987
|
if (dataPrzyjecia)
|
|
972
988
|
body.DataPrzyjecia = dataPrzyjecia;
|
|
973
989
|
if (formaPlatnosci)
|