@ercioko/meblotex-api 0.2.15 → 0.2.16
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/app_types.d.ts +5 -8
- package/dist/app_types.js +4 -8
- package/dist/db_types.d.ts +2 -2
- package/dist/lib/typDokumentuNazwa.d.ts +3 -0
- package/dist/lib/typDokumentuNazwa.js +15 -2
- package/dist/src/app_types.js +3 -7
- package/dist/src/lib/typDokumentuNazwa.js +3 -1
- package/package.json +1 -1
package/dist/app_types.d.ts
CHANGED
|
@@ -512,7 +512,10 @@ export declare enum TypDokumentu {
|
|
|
512
512
|
FakturaDetal = "DE",
|
|
513
513
|
FakturaEksport = "EX",
|
|
514
514
|
KorektaFaktury = "KF",
|
|
515
|
-
Paragon = "PA"
|
|
515
|
+
Paragon = "PA",
|
|
516
|
+
PrzychodWewnetrzny = "PW",
|
|
517
|
+
WydanieWewnetrzne = "WW",
|
|
518
|
+
WydanieZewnetrzne = "WZ"
|
|
516
519
|
}
|
|
517
520
|
export type ZaliczkaZamowienieDokument = Pick<WplataAttributes, 'id_wplata' | 'data_wplaty' | 'id_klient' | 'rozliczono' | 'kwota_wplaty'> & {
|
|
518
521
|
id_zaliczka_rozliczenie: number;
|
|
@@ -560,12 +563,6 @@ export interface ZamowienieNowyDokumentResponse {
|
|
|
560
563
|
wz_numer: number;
|
|
561
564
|
wz_numer_idx: number;
|
|
562
565
|
}
|
|
563
|
-
export declare enum DokumentTyp {
|
|
564
|
-
Faktura = "FA",
|
|
565
|
-
WydanieZewnetrzne = "WZ",
|
|
566
|
-
WydanieWewnetrzne = "WW",
|
|
567
|
-
PrzychodWewnetrzny = "PW"
|
|
568
|
-
}
|
|
569
566
|
export type DokumentTypDowolny = null;
|
|
570
567
|
export type UseData<DataType> = (defValue: DataType[]) => [DataType[], (rows: DataType[]) => void];
|
|
571
568
|
export type ZamowienieDokumentMagazyn = ZamowienieDokumentMagazynAttributes & PrefixKeys<ZamowienieDokument, 'zamowienie_dokument'> & {
|
|
@@ -617,7 +614,7 @@ export type KlientZamowienieDokumentResponse = ZamowienieDokument & {
|
|
|
617
614
|
wplata: number;
|
|
618
615
|
liczba_korekt: number;
|
|
619
616
|
parent_data_sprzedazy: Date;
|
|
620
|
-
parent_typ_dokumentu:
|
|
617
|
+
parent_typ_dokumentu: TypDokumentu;
|
|
621
618
|
parent_numer: number;
|
|
622
619
|
sortorder: number;
|
|
623
620
|
id_zamowienie_dokument_magazyn: number;
|
package/dist/app_types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.TypDokumentu = exports.FormaPlatnosci = exports.TypWplaty = exports.RownanieTyp = exports.CechaTyp = exports.CechaKontrolka = exports.BuforStatus = exports.RabatSufix = exports.RabatPrefix = exports.Jednostka = exports.Zrodlo = void 0;
|
|
4
4
|
var Zrodlo;
|
|
5
5
|
(function (Zrodlo) {
|
|
6
6
|
Zrodlo["Web"] = "M";
|
|
@@ -67,11 +67,7 @@ var TypDokumentu;
|
|
|
67
67
|
TypDokumentu["FakturaEksport"] = "EX";
|
|
68
68
|
TypDokumentu["KorektaFaktury"] = "KF";
|
|
69
69
|
TypDokumentu["Paragon"] = "PA";
|
|
70
|
+
TypDokumentu["PrzychodWewnetrzny"] = "PW";
|
|
71
|
+
TypDokumentu["WydanieWewnetrzne"] = "WW";
|
|
72
|
+
TypDokumentu["WydanieZewnetrzne"] = "WZ";
|
|
70
73
|
})(TypDokumentu || (exports.TypDokumentu = TypDokumentu = {}));
|
|
71
|
-
var DokumentTyp;
|
|
72
|
-
(function (DokumentTyp) {
|
|
73
|
-
DokumentTyp["Faktura"] = "FA";
|
|
74
|
-
DokumentTyp["WydanieZewnetrzne"] = "WZ";
|
|
75
|
-
DokumentTyp["WydanieWewnetrzne"] = "WW";
|
|
76
|
-
DokumentTyp["PrzychodWewnetrzny"] = "PW";
|
|
77
|
-
})(DokumentTyp || (exports.DokumentTyp = DokumentTyp = {}));
|
package/dist/db_types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DokumentTypDowolny, FormaPlatnosci, TypDokumentu, TypWplaty } from './app_types';
|
|
2
2
|
export interface BufferAttributes {
|
|
3
3
|
id: number;
|
|
4
4
|
date_buffer: Date;
|
|
@@ -192,7 +192,7 @@ export interface ZamowienieDokumentElementAttributes {
|
|
|
192
192
|
export interface ZamowienieDokumentMagazynAttributes {
|
|
193
193
|
id_zamowienie_dokument_magazyn: number;
|
|
194
194
|
data_wystawienia: Date;
|
|
195
|
-
dokument_typ:
|
|
195
|
+
dokument_typ: TypDokumentu | DokumentTypDowolny;
|
|
196
196
|
numer: number;
|
|
197
197
|
numer_idx: number;
|
|
198
198
|
id_zamowienie?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var _a;
|
|
2
|
+
var _a, _b;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.typDokumentuNazwa = void 0;
|
|
4
|
+
exports.typDokumentuNazwaDopelniacz = exports.typDokumentuNazwa = void 0;
|
|
5
5
|
var app_types_1 = require("../app_types");
|
|
6
6
|
exports.typDokumentuNazwa = (_a = {},
|
|
7
7
|
_a[app_types_1.TypDokumentu.KorektaFaktury] = 'Korekta',
|
|
@@ -9,4 +9,17 @@ exports.typDokumentuNazwa = (_a = {},
|
|
|
9
9
|
_a[app_types_1.TypDokumentu.FakturaDetal] = 'Faktura FADET',
|
|
10
10
|
_a[app_types_1.TypDokumentu.FakturaEksport] = 'Faktura Eksportowa',
|
|
11
11
|
_a[app_types_1.TypDokumentu.Paragon] = 'Paragon',
|
|
12
|
+
_a[app_types_1.TypDokumentu.PrzychodWewnetrzny] = 'Przychód Wewnętrzny',
|
|
13
|
+
_a[app_types_1.TypDokumentu.WydanieWewnetrzne] = 'Wydanie Wewnętrzne',
|
|
14
|
+
_a[app_types_1.TypDokumentu.WydanieZewnetrzne] = 'Wydanie Zewnętrzne',
|
|
12
15
|
_a);
|
|
16
|
+
exports.typDokumentuNazwaDopelniacz = (_b = {},
|
|
17
|
+
_b[app_types_1.TypDokumentu.KorektaFaktury] = 'korekty',
|
|
18
|
+
_b[app_types_1.TypDokumentu.Faktura] = 'faktury VAT',
|
|
19
|
+
_b[app_types_1.TypDokumentu.FakturaDetal] = 'faktury FADET',
|
|
20
|
+
_b[app_types_1.TypDokumentu.FakturaEksport] = 'faktury eksportowej',
|
|
21
|
+
_b[app_types_1.TypDokumentu.Paragon] = 'paragonu',
|
|
22
|
+
_b[app_types_1.TypDokumentu.PrzychodWewnetrzny] = 'przychodu wewnętrznego',
|
|
23
|
+
_b[app_types_1.TypDokumentu.WydanieWewnetrzne] = 'wydania wewnętrznego',
|
|
24
|
+
_b[app_types_1.TypDokumentu.WydanieZewnetrzne] = 'wydania zewnętrznego',
|
|
25
|
+
_b);
|
package/dist/src/app_types.js
CHANGED
|
@@ -63,12 +63,8 @@ export var TypDokumentu = /*#__PURE__*/ function(TypDokumentu) {
|
|
|
63
63
|
TypDokumentu["FakturaEksport"] = "EX";
|
|
64
64
|
TypDokumentu["KorektaFaktury"] = "KF";
|
|
65
65
|
TypDokumentu["Paragon"] = "PA";
|
|
66
|
+
TypDokumentu["PrzychodWewnetrzny"] = "PW";
|
|
67
|
+
TypDokumentu["WydanieWewnetrzne"] = "WW";
|
|
68
|
+
TypDokumentu["WydanieZewnetrzne"] = "WZ";
|
|
66
69
|
return TypDokumentu;
|
|
67
70
|
}({});
|
|
68
|
-
export var DokumentTyp = /*#__PURE__*/ function(DokumentTyp) {
|
|
69
|
-
DokumentTyp["Faktura"] = "FA";
|
|
70
|
-
DokumentTyp["WydanieZewnetrzne"] = "WZ";
|
|
71
|
-
DokumentTyp["WydanieWewnetrzne"] = "WW";
|
|
72
|
-
DokumentTyp["PrzychodWewnetrzny"] = "PW";
|
|
73
|
-
return DokumentTyp;
|
|
74
|
-
}({});
|
|
@@ -13,4 +13,6 @@ function _define_property(obj, key, value) {
|
|
|
13
13
|
}
|
|
14
14
|
import { TypDokumentu } from '../app_types';
|
|
15
15
|
var _obj;
|
|
16
|
-
export var typDokumentuNazwa = (_obj = {}, _define_property(_obj, TypDokumentu.KorektaFaktury, 'Korekta'), _define_property(_obj, TypDokumentu.Faktura, 'Faktura VAT'), _define_property(_obj, TypDokumentu.FakturaDetal, 'Faktura FADET'), _define_property(_obj, TypDokumentu.FakturaEksport, 'Faktura Eksportowa'), _define_property(_obj, TypDokumentu.Paragon, 'Paragon'), _obj);
|
|
16
|
+
export var typDokumentuNazwa = (_obj = {}, _define_property(_obj, TypDokumentu.KorektaFaktury, 'Korekta'), _define_property(_obj, TypDokumentu.Faktura, 'Faktura VAT'), _define_property(_obj, TypDokumentu.FakturaDetal, 'Faktura FADET'), _define_property(_obj, TypDokumentu.FakturaEksport, 'Faktura Eksportowa'), _define_property(_obj, TypDokumentu.Paragon, 'Paragon'), _define_property(_obj, TypDokumentu.PrzychodWewnetrzny, 'Przychód Wewnętrzny'), _define_property(_obj, TypDokumentu.WydanieWewnetrzne, 'Wydanie Wewnętrzne'), _define_property(_obj, TypDokumentu.WydanieZewnetrzne, 'Wydanie Zewnętrzne'), _obj);
|
|
17
|
+
var _obj1;
|
|
18
|
+
export var typDokumentuNazwaDopelniacz = (_obj1 = {}, _define_property(_obj1, TypDokumentu.KorektaFaktury, 'korekty'), _define_property(_obj1, TypDokumentu.Faktura, 'faktury VAT'), _define_property(_obj1, TypDokumentu.FakturaDetal, 'faktury FADET'), _define_property(_obj1, TypDokumentu.FakturaEksport, 'faktury eksportowej'), _define_property(_obj1, TypDokumentu.Paragon, 'paragonu'), _define_property(_obj1, TypDokumentu.PrzychodWewnetrzny, 'przychodu wewnętrznego'), _define_property(_obj1, TypDokumentu.WydanieWewnetrzne, 'wydania wewnętrznego'), _define_property(_obj1, TypDokumentu.WydanieZewnetrzne, 'wydania zewnętrznego'), _obj1);
|