@orchesty/connector-flexi-bee 1.0.0 → 1.0.2

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.
Files changed (121) hide show
  1. package/dist/Connector/FlexiBeeCreateFakturaPrijataConnector.d.ts +26 -0
  2. package/dist/Connector/FlexiBeeCreateFakturaPrijataConnector.js +23 -0
  3. package/dist/package.json +4 -1
  4. package/package.json +4 -1
  5. package/CHANGELOG.md +0 -7
  6. package/coverage/clover.xml +0 -389
  7. package/coverage/coverage-final.json +0 -19
  8. package/coverage/lcov-report/base.css +0 -224
  9. package/coverage/lcov-report/block-navigation.js +0 -87
  10. package/coverage/lcov-report/favicon.png +0 -0
  11. package/coverage/lcov-report/index.html +0 -161
  12. package/coverage/lcov-report/prettify.css +0 -1
  13. package/coverage/lcov-report/prettify.js +0 -2
  14. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  15. package/coverage/lcov-report/sorter.js +0 -210
  16. package/coverage/lcov-report/src/Batch/FlexiBeeFormaDopravyBatch.ts.html +0 -145
  17. package/coverage/lcov-report/src/Batch/FlexiBeeFormaUhradyBatch.ts.html +0 -148
  18. package/coverage/lcov-report/src/Batch/FlexiBeeGetSkladovyPohybBatch.ts.html +0 -139
  19. package/coverage/lcov-report/src/Batch/FlexiBeeObjednavkaPrijataBatch.ts.html +0 -145
  20. package/coverage/lcov-report/src/Batch/FlexiBeeObjednavkaVydanaBatch.ts.html +0 -145
  21. package/coverage/lcov-report/src/Batch/FlexiBeeSimpleIterator.ts.html +0 -295
  22. package/coverage/lcov-report/src/Batch/FlexiBeeSkladoveKartyBatch.ts.html +0 -298
  23. package/coverage/lcov-report/src/Batch/FlexiBeeStitkyBatch.ts.html +0 -145
  24. package/coverage/lcov-report/src/Batch/index.html +0 -221
  25. package/coverage/lcov-report/src/Connector/FlexiBeeCreateObjednavkaVydanaConnector.ts.html +0 -322
  26. package/coverage/lcov-report/src/Connector/FlexiBeeCreateSkladovyPohybConnector.ts.html +0 -346
  27. package/coverage/lcov-report/src/Connector/FlexiBeeGetCenikKartyConnector.ts.html +0 -829
  28. package/coverage/lcov-report/src/Connector/FlexiBeeGetObjednavkaVydanaConnector.ts.html +0 -316
  29. package/coverage/lcov-report/src/Connector/FlexiBeeGetSarzeExpiraceKartyConnector.ts.html +0 -304
  30. package/coverage/lcov-report/src/Connector/FlexiBeeUpdateObjednavkaPrijataConnector.ts.html +0 -322
  31. package/coverage/lcov-report/src/Connector/FlexiBeeUpdateSkladovyPohybConnector.ts.html +0 -361
  32. package/coverage/lcov-report/src/Connector/index.html +0 -206
  33. package/coverage/lcov-report/src/FexiBeeApplication.ts.html +0 -694
  34. package/coverage/lcov-report/src/FlexiBee.utils.ts.html +0 -142
  35. package/coverage/lcov-report/src/index.html +0 -131
  36. package/coverage/lcov-report/test/dataProvider.ts.html +0 -496
  37. package/coverage/lcov-report/test/index.html +0 -116
  38. package/coverage/lcov.info +0 -633
  39. package/jest.config.js +0 -13
  40. package/src/Batch/FlexiBeeFormaDopravyBatch.ts +0 -20
  41. package/src/Batch/FlexiBeeFormaUhradyBatch.ts +0 -21
  42. package/src/Batch/FlexiBeeGetSkladovyPohybBatch.ts +0 -18
  43. package/src/Batch/FlexiBeeObjednavkaPrijataBatch.ts +0 -20
  44. package/src/Batch/FlexiBeeObjednavkaVydanaBatch.ts +0 -20
  45. package/src/Batch/FlexiBeeSimpleIterator.ts +0 -70
  46. package/src/Batch/FlexiBeeSkladoveKartyBatch.ts +0 -71
  47. package/src/Batch/FlexiBeeStitkyBatch.ts +0 -20
  48. package/src/Batch/__tests__/Data/FlexiBeeFormaDopravyBatch/input.json +0 -6
  49. package/src/Batch/__tests__/Data/FlexiBeeFormaDopravyBatch/mock.json +0 -18
  50. package/src/Batch/__tests__/Data/FlexiBeeFormaDopravyBatch/output.json +0 -11
  51. package/src/Batch/__tests__/Data/FlexiBeeFormaUhradyBatch/input.json +0 -6
  52. package/src/Batch/__tests__/Data/FlexiBeeFormaUhradyBatch/mock.json +0 -19
  53. package/src/Batch/__tests__/Data/FlexiBeeFormaUhradyBatch/output.json +0 -11
  54. package/src/Batch/__tests__/Data/FlexiBeeGetSkladovyPohybBatch/input.json +0 -8
  55. package/src/Batch/__tests__/Data/FlexiBeeGetSkladovyPohybBatch/mock.json +0 -107
  56. package/src/Batch/__tests__/Data/FlexiBeeGetSkladovyPohybBatch/output.json +0 -11
  57. package/src/Batch/__tests__/Data/FlexiBeeObjednavkaPrijataBatch/input.json +0 -6
  58. package/src/Batch/__tests__/Data/FlexiBeeObjednavkaPrijataBatch/mock.json +0 -162
  59. package/src/Batch/__tests__/Data/FlexiBeeObjednavkaPrijataBatch/output.json +0 -11
  60. package/src/Batch/__tests__/Data/FlexiBeeObjednavkaVydanaBatch/input.json +0 -6
  61. package/src/Batch/__tests__/Data/FlexiBeeObjednavkaVydanaBatch/mock.json +0 -200
  62. package/src/Batch/__tests__/Data/FlexiBeeObjednavkaVydanaBatch/output.json +0 -11
  63. package/src/Batch/__tests__/Data/FlexiBeeSkladoveKartyBatch/input.json +0 -6
  64. package/src/Batch/__tests__/Data/FlexiBeeSkladoveKartyBatch/mock.json +0 -66
  65. package/src/Batch/__tests__/Data/FlexiBeeSkladoveKartyBatch/output.json +0 -11
  66. package/src/Batch/__tests__/Data/FlexiBeeStitkyBatch/input.json +0 -6
  67. package/src/Batch/__tests__/Data/FlexiBeeStitkyBatch/mock.json +0 -18
  68. package/src/Batch/__tests__/Data/FlexiBeeStitkyBatch/output.json +0 -11
  69. package/src/Batch/__tests__/FlexiBeeFormaDopravyBatch.ts +0 -17
  70. package/src/Batch/__tests__/FlexiBeeFormaUhradyBatch.ts +0 -17
  71. package/src/Batch/__tests__/FlexiBeeGetSkladovyPohybBatch.ts +0 -17
  72. package/src/Batch/__tests__/FlexiBeeObjednavkaPrijataBatch.ts +0 -17
  73. package/src/Batch/__tests__/FlexiBeeObjednavkaVydanaBatch.ts +0 -17
  74. package/src/Batch/__tests__/FlexiBeeSkladoveKartyBatch.ts +0 -17
  75. package/src/Batch/__tests__/FlexiBeeStitkyBatch.ts +0 -17
  76. package/src/Connector/FlexiBeeCreateNewContactConnector.ts +0 -98
  77. package/src/Connector/FlexiBeeCreateObjednavkaVydanaConnector.ts +0 -79
  78. package/src/Connector/FlexiBeeCreateSkladovyPohybConnector.ts +0 -87
  79. package/src/Connector/FlexiBeeGetCenikKartyConnector.ts +0 -248
  80. package/src/Connector/FlexiBeeGetContactsArrayConnector.ts +0 -28
  81. package/src/Connector/FlexiBeeGetObjednavkaVydanaConnector.ts +0 -77
  82. package/src/Connector/FlexiBeeGetSarzeExpiraceKartyConnector.ts +0 -73
  83. package/src/Connector/FlexiBeeUpdateObjednavkaPrijataConnector.ts +0 -79
  84. package/src/Connector/FlexiBeeUpdateSkladovyPohybConnector.ts +0 -92
  85. package/src/Connector/__tests__/Data/FlexiBeeCreateObjednavkaVydanaConnector/input.json +0 -8
  86. package/src/Connector/__tests__/Data/FlexiBeeCreateObjednavkaVydanaConnector/mock.json +0 -24
  87. package/src/Connector/__tests__/Data/FlexiBeeCreateObjednavkaVydanaConnector/output.json +0 -12
  88. package/src/Connector/__tests__/Data/FlexiBeeCreateSkladovyPohybConnector/input.json +0 -8
  89. package/src/Connector/__tests__/Data/FlexiBeeCreateSkladovyPohybConnector/mock.json +0 -24
  90. package/src/Connector/__tests__/Data/FlexiBeeCreateSkladovyPohybConnector/output.json +0 -12
  91. package/src/Connector/__tests__/Data/FlexiBeeGetCenikKartyConnector/input.json +0 -59
  92. package/src/Connector/__tests__/Data/FlexiBeeGetCenikKartyConnector/mock.json +0 -211
  93. package/src/Connector/__tests__/Data/FlexiBeeGetCenikKartyConnector/output.json +0 -261
  94. package/src/Connector/__tests__/Data/FlexiBeeGetObjednavkaVydanaConnector/input.json +0 -8
  95. package/src/Connector/__tests__/Data/FlexiBeeGetObjednavkaVydanaConnector/mock.json +0 -193
  96. package/src/Connector/__tests__/Data/FlexiBeeGetObjednavkaVydanaConnector/output.json +0 -187
  97. package/src/Connector/__tests__/Data/FlexiBeeGetSarzeExpiraceKartyConnector/input.json +0 -261
  98. package/src/Connector/__tests__/Data/FlexiBeeGetSarzeExpiraceKartyConnector/mock.json +0 -49
  99. package/src/Connector/__tests__/Data/FlexiBeeGetSarzeExpiraceKartyConnector/output.json +0 -301
  100. package/src/Connector/__tests__/Data/FlexiBeeUpdateObjednavkaPrijataConnector/input.json +0 -8
  101. package/src/Connector/__tests__/Data/FlexiBeeUpdateObjednavkaPrijataConnector/mock.json +0 -24
  102. package/src/Connector/__tests__/Data/FlexiBeeUpdateObjednavkaPrijataConnector/output.json +0 -12
  103. package/src/Connector/__tests__/Data/FlexiBeeUpdateSkladovyPohybConnector/input.json +0 -9
  104. package/src/Connector/__tests__/Data/FlexiBeeUpdateSkladovyPohybConnector/mock.json +0 -24
  105. package/src/Connector/__tests__/Data/FlexiBeeUpdateSkladovyPohybConnector/output.json +0 -12
  106. package/src/Connector/__tests__/FlexiBeeCreateObjednavkaVydanaConnector.ts +0 -17
  107. package/src/Connector/__tests__/FlexiBeeCreateSkladovyPohybConnector.ts +0 -17
  108. package/src/Connector/__tests__/FlexiBeeGetCenikKartyConnector.ts +0 -17
  109. package/src/Connector/__tests__/FlexiBeeGetObjednavkaVydanaConnector.ts +0 -17
  110. package/src/Connector/__tests__/FlexiBeeGetSarzeExpiraceKartyConnector.ts +0 -17
  111. package/src/Connector/__tests__/FlexiBeeUpdateObjednavkaPrijataConnector.ts +0 -17
  112. package/src/Connector/__tests__/FlexiBeeUpdateSkladovyPohybConnector.ts +0 -17
  113. package/src/FexiBeeApplication.ts +0 -203
  114. package/src/FlexiBee.utils.ts +0 -19
  115. package/src/types/FlexiBeeObjednavkaPrijata.ts +0 -153
  116. package/src/types/FlexiBeeObjednavkaVydana.ts +0 -188
  117. package/src/types/FlexiBeeSkladovyPohyb.ts +0 -97
  118. package/test/dataProvider.ts +0 -137
  119. package/tsconfig.json +0 -8
  120. package/tsconfig.prod.json +0 -13
  121. package/tsconfig.prod.tsbuildinfo +0 -1
@@ -1,92 +0,0 @@
1
- import AConnector from '@orchesty/nodejs-sdk/dist/lib/Connector/AConnector';
2
- import { HttpMethods } from '@orchesty/nodejs-sdk/dist/lib/Transport/HttpMethods';
3
- import ProcessDto from '@orchesty/nodejs-sdk/dist/lib/Utils/ProcessDto';
4
- import FlexiBeeApplication from '../FexiBeeApplication';
5
- import { FlexiBeeCreateSkladovyPohybOutput } from './FlexiBeeCreateSkladovyPohybConnector';
6
-
7
- export const FLEXI_BEE_UPDATE_SKLADOVY_POHYB = 'flexi-bee-update-skladovy-pohyb';
8
-
9
- export default class FlexiBeeUpdateSkladovyPohybConnector extends AConnector {
10
-
11
- public constructor(
12
- protected dataKey: string | null = null,
13
- ) {
14
- super();
15
- }
16
-
17
- public getName(): string {
18
- return FLEXI_BEE_UPDATE_SKLADOVY_POHYB;
19
- }
20
-
21
- public async processAction(
22
- dto: ProcessDto<FlexiBeeUpdateSkladovyPohybInput>,
23
- ): Promise<ProcessDto<FlexiBeeCreateSkladovyPohybOutput>> {
24
- const applicationInstall = await this.getApplicationInstallFromProcess(dto);
25
-
26
- let pohyb = dto.getJsonData();
27
- if (this.dataKey) {
28
- // eslint-disable-next-line
29
- pohyb = (pohyb as any)[this.dataKey];
30
- }
31
-
32
- const application = this.getApplication<FlexiBeeApplication>();
33
- const request = await application.getRequestDto(
34
- dto,
35
- applicationInstall,
36
- HttpMethods.PUT,
37
- application.getUrl(applicationInstall, 'skladovy-pohyb'),
38
- JSON.stringify({
39
- winstrom: {
40
- // eslint-disable-next-line
41
- 'skladovy-pohyb': [
42
- pohyb,
43
- ],
44
- },
45
- }),
46
- );
47
- const resp = (await this.getSender().send<Response>(request)).getJsonBody().winstrom.results;
48
-
49
- if (this.dataKey) {
50
- // eslint-disable-next-line
51
- const data = dto.getJsonData() as any;
52
- data[this.dataKey] = resp;
53
- dto.setNewJsonData(data);
54
- } else {
55
- dto.setNewJsonData(resp);
56
- }
57
-
58
- return dto as unknown as ProcessDto<FlexiBeeCreateSkladovyPohybOutput>;
59
- }
60
-
61
- }
62
-
63
- /* eslint-disable */
64
-
65
-
66
- interface ResponseResult {
67
- results: {
68
- id: string;
69
- ref: string;
70
- };
71
- }
72
-
73
- interface Response {
74
- winstrom: {
75
- results: ResponseResult[];
76
- };
77
- }
78
-
79
- export interface FlexiBeeUpdateSkladovyPohybInput {
80
- id: string;
81
- kod: string;
82
- typPohybuK: string;
83
- typDokl: string;
84
- sklad: string;
85
- skladovePolozky: {
86
- cenik: string;
87
- sklad: string;
88
- mnozMj: string;
89
- }[];
90
- }
91
-
92
- export type FlexiBeeUpdateSkladovyPohybOutput = ResponseResult[];
@@ -1,8 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser"
4
- },
5
- "data": {
6
- "kod": "1"
7
- }
8
- }
@@ -1,24 +0,0 @@
1
- {
2
- "http": "POST https://demo.flexibee.eu/c/demo/objednavka-vydana",
3
- "code": 200,
4
- "body": {
5
- "winstrom": {
6
- "@version": "1.0",
7
- "success": "true",
8
- "stats": {
9
- "created": "0",
10
- "updated": "1",
11
- "deleted": "0",
12
- "skipped": "0",
13
- "failed": "0"
14
- },
15
- "results": [
16
- {
17
- "id": "1",
18
- "request-id": "1",
19
- "ref": "/c/olaola_s_r_o_/objednava-vydana/1"
20
- }
21
- ]
22
- }
23
- }
24
- }
@@ -1,12 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser"
4
- },
5
- "data": [
6
- {
7
- "id": "1",
8
- "ref": "/c/olaola_s_r_o_/objednava-vydana/1",
9
- "request-id": "1"
10
- }
11
- ]
12
- }
@@ -1,8 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser"
4
- },
5
- "data": {
6
- "kod": "1"
7
- }
8
- }
@@ -1,24 +0,0 @@
1
- {
2
- "http": "POST https://demo.flexibee.eu/c/demo/skladovy-pohyb",
3
- "code": 200,
4
- "body": {
5
- "winstrom": {
6
- "@version": "1.0",
7
- "success": "true",
8
- "stats": {
9
- "created": "0",
10
- "updated": "1",
11
- "deleted": "0",
12
- "skipped": "0",
13
- "failed": "0"
14
- },
15
- "results": [
16
- {
17
- "id": "1",
18
- "request-id": "1",
19
- "ref": "/c/olaola_s_r_o_/skladovy-pohyb/1"
20
- }
21
- ]
22
- }
23
- }
24
- }
@@ -1,12 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser"
4
- },
5
- "data": [
6
- {
7
- "id": "1",
8
- "ref": "/c/olaola_s_r_o_/skladovy-pohyb/1",
9
- "request-id": "1"
10
- }
11
- ]
12
- }
@@ -1,59 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser"
4
- },
5
- "data": {
6
- "id": "1",
7
- "lastUpdate": "2023-06-06T13:54:08.663+02:00",
8
- "prumCenaTuz": "0.0",
9
- "prumCenaMen": "0.0",
10
- "stavMJ": "20.0",
11
- "stavTuz": "0.0",
12
- "stavMen": "0.0",
13
- "datPosl": "2020-11-01+01:00",
14
- "pocatMJ": "0.0",
15
- "pocatTuz": "0.0",
16
- "pocatMen": "0.0",
17
- "minMJ": "0.0",
18
- "maxMJ": "0.0",
19
- "rezervMJ": "0.0",
20
- "datStavMJ": "0.0",
21
- "datStavTuz": "0.0",
22
- "datStavMen": "0.0",
23
- "poslCenaTuz": "0.0",
24
- "poslCenaMen": "0.0",
25
- "vydExpir": "false",
26
- "popis": "",
27
- "popisA": "",
28
- "popisB": "",
29
- "popisC": "",
30
- "poznamVelka": "",
31
- "nazev": "Baterie sprch. pod omitku Focus E 2",
32
- "nazevA": "",
33
- "nazevB": "",
34
- "nazevC": "",
35
- "cenPopis": "popis1",
36
- "cenPopisA": "",
37
- "cenPopisB": "",
38
- "cenPopisC": "",
39
- "cenPoznam": "poznamka",
40
- "pozadavkyMj": "0.0",
41
- "stavMjSPozadavky": "48.0",
42
- "dostupMj": "48.0",
43
- "ucetObdobi": "code:2020",
44
- "ucetObdobi@ref": "/c/demo/ucetni-obdobi/1.json",
45
- "ucetObdobi@showAs": "2020",
46
- "cenik": "code:31967000",
47
- "cenik@ref": "/c/demo/cenik/2.json",
48
- "cenik@showAs": "31967000: Baterie sprch. pod omitku Focus E 2",
49
- "sklad": "code:LIBEREC",
50
- "sklad@ref": "/c/demo/sklad/5.json",
51
- "sklad@showAs": "LIBEREC: Liberecký sklad",
52
- "typDokl": "code:LIBEREC",
53
- "typDokl@ref": "/c/demo/sklad/5.json",
54
- "typDokl@showAs": "LIBEREC: Liberecký sklad",
55
- "mistnost": "",
56
- "regal": "",
57
- "police": ""
58
- }
59
- }
@@ -1,211 +0,0 @@
1
- {
2
- "http": "GET https://demo.flexibee.eu/c/demo/cenik/2.json",
3
- "code": 200,
4
- "body": {
5
- "winstrom": {
6
- "@version": "1.0",
7
- "cenik": [
8
- {
9
- "id": "2",
10
- "lastUpdate": "2024-08-03T17:23:12.268+02:00",
11
- "kod": "31967000",
12
- "nazev": "Baterie sprch. pod omitku Focus E 2",
13
- "nazevA": "",
14
- "nazevB": "",
15
- "nazevC": "",
16
- "poznam": "poznamka",
17
- "popis": "popis1",
18
- "platiOd": "0",
19
- "platiDo": "9999",
20
- "eanKod": "4897555431533",
21
- "kodPlu": "",
22
- "typCenyDphK": "typCeny.bezDph",
23
- "typCenyDphK@showAs": "bez DPH",
24
- "procZakl": "0.0",
25
- "individCena": "false",
26
- "limMnoz2": "0.0",
27
- "limMnoz3": "0.0",
28
- "limMnoz4": "0.0",
29
- "limMnoz5": "0.0",
30
- "procento2": "0.0",
31
- "procento3": "0.0",
32
- "procento4": "0.0",
33
- "procento5": "0.0",
34
- "cena2": "0.0",
35
- "cena3": "0.0",
36
- "cena4": "0.0",
37
- "cena5": "0.0",
38
- "zaokrJakK": "zaokrJak.matem",
39
- "zaokrJakK@showAs": "matematicky",
40
- "zaokrNaK": "zaokrNa.setiny",
41
- "zaokrNaK@showAs": "0.01",
42
- "typSzbDphK": "typSzbDph.dphZakl",
43
- "typSzbDphK@showAs": "základní",
44
- "desetinMj": "6",
45
- "nakupCena": "227.283582",
46
- "cenJednotka": "1.0",
47
- "typCenyVychoziK": "typCenyVychozi.nakCena",
48
- "typCenyVychoziK@showAs": "nákupní cena",
49
- "typVypCenyK": "typVypCeny.marze",
50
- "typVypCenyK@showAs": "marže",
51
- "typCenyVychozi25K": "typCenyVychozi.nakCena",
52
- "typCenyVychozi25K@showAs": "nákupní cena",
53
- "typVypCeny25K": "typVypCeny.marze",
54
- "typVypCeny25K@showAs": "marže",
55
- "evidVyrCis": "false",
56
- "unikVyrCis": "false",
57
- "zaruka": "24",
58
- "mjZarukyK": "",
59
- "mjKoef2": "100.0",
60
- "mjKoef3": "10000.0",
61
- "prodejMj": "0.0",
62
- "hmotMj": "5.0",
63
- "hmotObal": "0.0",
64
- "objem": "10.0",
65
- "zatrid": "",
66
- "skladove": "true",
67
- "typZasobyK": "typZasoby.zbozi",
68
- "typZasobyK@showAs": "Zboží",
69
- "baleniNazev1": "",
70
- "baleniNazev2": "",
71
- "baleniNazev3": "",
72
- "baleniNazev4": "",
73
- "baleniNazev5": "",
74
- "baleniMj1": "0.0",
75
- "baleniMj2": "0.0",
76
- "baleniMj3": "0.0",
77
- "baleniMj4": "0.0",
78
- "baleniMj5": "0.0",
79
- "baleniEan1": "",
80
- "baleniEan2": "",
81
- "baleniEan3": "",
82
- "baleniEan4": "",
83
- "baleniEan5": "",
84
- "inEvid": "false",
85
- "inKoefMj": "0.0",
86
- "inKoefStat": "0.0",
87
- "inKodSled": "",
88
- "popisA": "",
89
- "popisB": "",
90
- "popisC": "",
91
- "cenaBezna": "0.0",
92
- "stitky": "DULEZITE",
93
- "stavy": "",
94
- "pocetPriloh": "4",
95
- "exportNaEshop": "false",
96
- "minMarzeCenik": "false",
97
- "minMarze": "0.0",
98
- "evidSarze": "false",
99
- "evidExpir": "false",
100
- "sada": "false",
101
- "dnyTrvanPoExpir": "0",
102
- "neseskupovatObj": "false",
103
- "kratkyPopis": "popis eshop",
104
- "klicSlova": "klicove slovo eshop",
105
- "techParam": "tech. parametry",
106
- "dodaciLhuta": "2.0",
107
- "prodejKasa": "true",
108
- "skupZboz": "code:KOUPELNY",
109
- "skupZboz@ref": "/c/demo/skupina-zbozi/4.json",
110
- "skupZboz@showAs": "KOUPELNY: Koupelničky",
111
- "mj1": "code:KS",
112
- "mj1@ref": "/c/demo/merna-jednotka/3.json",
113
- "mj1@showAs": "KS: kus",
114
- "mj2": "code:KG",
115
- "mj2@ref": "/c/demo/merna-jednotka/1.json",
116
- "mj2@showAs": "KG: kilogram",
117
- "mj3": "code:T",
118
- "mj3@ref": "/c/demo/merna-jednotka/5.json",
119
- "mj3@showAs": "T: t",
120
- "mjHmot": "code:KG",
121
- "mjHmot@ref": "/c/demo/merna-jednotka/1.json",
122
- "mjHmot@showAs": "KG: kilogram",
123
- "mjObj": "code:M3",
124
- "mjObj@ref": "/c/demo/merna-jednotka/7.json",
125
- "mjObj@showAs": "M3: KUBÍK",
126
- "stat": "",
127
- "nomen": "",
128
- "dodavatel": "code:DATIVERY",
129
- "dodavatel@ref": "/c/demo/adresar/899.json",
130
- "dodavatel@showAs": "DATIVERY: Dativery s.r.o.",
131
- "vyrobce": "code:AARON",
132
- "vyrobce@ref": "/c/demo/adresar/2271.json",
133
- "vyrobce@showAs": "AARON: Aaron X",
134
- "dphPren": "",
135
- "mjDodaciLhuta": "code:KS",
136
- "mjDodaciLhuta@ref": "/c/demo/merna-jednotka/3.json",
137
- "mjDodaciLhuta@showAs": "KS: kus",
138
- "sumStavMj": "134.0",
139
- "sumRezerMj": "0.0",
140
- "sumPozadavkyMj": "0.0",
141
- "sumDostupMj": "134.0",
142
- "cenaZaklBezDph": "470.0",
143
- "cenaZaklVcDph": "568.7",
144
- "cenaZakl": "470.0",
145
- "sady-a-komplety": [],
146
- "poplatky": [],
147
- "dodavatele": [
148
- {
149
- "id": "56",
150
- "lastUpdate": "2008-01-01T00:00:00+01:00",
151
- "kodIndi": "",
152
- "nakupCena": "0.0",
153
- "poznam": "",
154
- "primarni": "true",
155
- "stavMJ": "",
156
- "dodaciLhuta": "",
157
- "stitky": "",
158
- "limMnoz2": "0.0",
159
- "limMnoz3": "0.0",
160
- "limMnoz4": "0.0",
161
- "limMnoz5": "0.0",
162
- "nakupCena2": "0.0",
163
- "nakupCena3": "0.0",
164
- "nakupCena4": "0.0",
165
- "nakupCena5": "0.0",
166
- "cenik": "code:31967000",
167
- "cenik@ref": "/c/demo/cenik/2.json",
168
- "cenik@showAs": "31967000: Baterie sprch. pod omitku Focus E 2",
169
- "firma": "code:DATIVERY",
170
- "firma@ref": "/c/demo/adresar/899.json",
171
- "firma@showAs": "DATIVERY: Dativery s.r.o.",
172
- "mjDodaciLhuta": "",
173
- "mena": ""
174
- }
175
- ],
176
- "odberatele": [
177
- {
178
- "id": "20",
179
- "lastUpdate": "2022-01-22T16:15:11.004+01:00",
180
- "kodIndi": "MOJ ODBERATELSKY KOD",
181
- "prodejCena": "123.0",
182
- "poznam": "",
183
- "platiOdData": "",
184
- "platiDoData": "",
185
- "rucneVybrat": "false",
186
- "limMnoz2": "0.0",
187
- "limMnoz3": "0.0",
188
- "limMnoz4": "0.0",
189
- "limMnoz5": "0.0",
190
- "prodejCena2": "0.0",
191
- "prodejCena3": "0.0",
192
- "prodejCena4": "0.0",
193
- "prodejCena5": "0.0",
194
- "cenik": "code:31967000",
195
- "cenik@ref": "/c/demo/cenik/2.json",
196
- "cenik@showAs": "31967000: Baterie sprch. pod omitku Focus E 2",
197
- "firma": "code:ABEL",
198
- "firma@ref": "/c/demo/adresar/9247.json",
199
- "firma@showAs": "ABEL: Abacus Electric, s.r.o.",
200
- "skupCen": "",
201
- "stredisko": "",
202
- "mena": ""
203
- }
204
- ],
205
- "typy-sazeb-dph": [],
206
- "szbDph": "21.0"
207
- }
208
- ]
209
- }
210
- }
211
- }