node-atol-wrapper 0.0.26 → 0.0.28
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/.github/workflows/nodejs.yml +28 -8
- package/README.md +1 -1
- package/binding.gyp +20 -4
- package/package.json +4 -4
- package/src/libfptr10.h +52 -7
- package/src/linux-arm64/libfptr10.so +0 -0
- package/src/linux-armhf/libfptr10.so +0 -0
- package/src/linux-x64/libfptr10.so +0 -0
- package/src/linux-x86/libfptr10.so +0 -0
- package/src/macos-x86_64/fptr10.framework/Versions/A/Headers/libfptr10.h +44 -4
- package/src/macos-x86_64/fptr10.framework/Versions/A/Headers/libfptr10_objc.h +44 -4
- package/src/macos-x86_64/fptr10.framework/Versions/A/Resources/Info.plist +2 -2
- package/src/macos-x86_64/fptr10.framework/Versions/A/fptr10 +0 -0
- package/src/win-x64/fptr10.dll +0 -0
- package/src/win-x64/fptr10.lib +0 -0
- package/src/win-x86/fptr10.dll +0 -0
- package/src/win-x86/fptr10.lib +0 -0
|
@@ -7,24 +7,44 @@ jobs:
|
|
|
7
7
|
runs-on: ${{ matrix.os }}
|
|
8
8
|
|
|
9
9
|
strategy:
|
|
10
|
+
fail-fast: false
|
|
10
11
|
matrix:
|
|
11
|
-
os: [windows-
|
|
12
|
-
node-version: [
|
|
12
|
+
os: [windows-2022, ubuntu-latest, macos-15-intel]
|
|
13
|
+
node-version: [18, 20, 22]
|
|
13
14
|
|
|
14
15
|
steps:
|
|
15
16
|
- name: Checkout
|
|
16
|
-
uses: actions/checkout@
|
|
17
|
-
- if: matrix.os == 'windows-
|
|
18
|
-
name:
|
|
19
|
-
uses:
|
|
17
|
+
uses: actions/checkout@v4
|
|
18
|
+
- if: matrix.os == 'windows-2022'
|
|
19
|
+
name: Setup MSBuild
|
|
20
|
+
uses: microsoft/setup-msbuild@v2
|
|
21
|
+
- if: matrix.os == 'windows-2022'
|
|
22
|
+
name: Setup Windows SDK
|
|
23
|
+
uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.11
|
|
20
24
|
with:
|
|
21
|
-
|
|
25
|
+
sdk-version: 20348
|
|
22
26
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
23
|
-
uses: actions/setup-node@
|
|
27
|
+
uses: actions/setup-node@v4
|
|
24
28
|
with:
|
|
25
29
|
node-version: ${{ matrix.node-version }}
|
|
30
|
+
- name: Setup Python for macOS
|
|
31
|
+
if: startsWith(matrix.os, 'macos')
|
|
32
|
+
uses: actions/setup-python@v4
|
|
33
|
+
with:
|
|
34
|
+
python-version: '3.11'
|
|
35
|
+
- name: Install setuptools for macOS
|
|
36
|
+
if: startsWith(matrix.os, 'macos')
|
|
37
|
+
run: |
|
|
38
|
+
python -m pip install --upgrade pip setuptools
|
|
39
|
+
- name: Configure npm for native modules
|
|
40
|
+
if: startsWith(matrix.os, 'macos')
|
|
41
|
+
run: |
|
|
42
|
+
echo "CC=clang" >> $GITHUB_ENV
|
|
43
|
+
echo "CXX=clang++" >> $GITHUB_ENV
|
|
44
|
+
echo "PYTHON=$(which python)" >> $GITHUB_ENV
|
|
26
45
|
- name: npm install, build
|
|
27
46
|
run: |
|
|
28
47
|
npm install --build-from-source
|
|
29
48
|
env:
|
|
30
49
|
CI: true
|
|
50
|
+
npm_config_build_from_source: true
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Название
|
|
4
4
|
=========
|
|
5
|
-
Node.js обертка для драйвера торгового оборудования (ДТО) версии `10.10.
|
|
5
|
+
Node.js обертка для драйвера торгового оборудования (ДТО) версии `10.10.8.0` от компании [АТОЛ](https://www.atol.ru/)
|
|
6
6
|
|
|
7
7
|
[ Источник ](https://forum.atol.ru/lofiversion/index.php/t34345.html)
|
|
8
8
|
|
package/binding.gyp
CHANGED
|
@@ -62,8 +62,12 @@
|
|
|
62
62
|
]
|
|
63
63
|
}],
|
|
64
64
|
["OS=='mac'", {
|
|
65
|
-
'
|
|
66
|
-
"
|
|
65
|
+
'conditions': [
|
|
66
|
+
["target_arch=='x64'", {
|
|
67
|
+
'files': [
|
|
68
|
+
"<(module_root_dir)/src/macos-x86_64/fptr10.framework"
|
|
69
|
+
]
|
|
70
|
+
}]
|
|
67
71
|
]
|
|
68
72
|
}],
|
|
69
73
|
],
|
|
@@ -100,10 +104,22 @@
|
|
|
100
104
|
["OS=='mac'", {
|
|
101
105
|
"link_settings": {
|
|
102
106
|
"libraries": [
|
|
103
|
-
"<(module_root_dir)/build/Release/fptr10.framework/Versions/A/fptr10"
|
|
104
|
-
"-Wl,-rpath,@loader_path",
|
|
107
|
+
"<(module_root_dir)/build/Release/fptr10.framework/Versions/A/fptr10"
|
|
105
108
|
],
|
|
109
|
+
"ldflags": [
|
|
110
|
+
"-Wl,-rpath,@loader_path"
|
|
111
|
+
]
|
|
106
112
|
},
|
|
113
|
+
"xcode_settings": {
|
|
114
|
+
"OTHER_CPLUSPLUSFLAGS": [
|
|
115
|
+
"-std=c++17",
|
|
116
|
+
"-stdlib=libc++"
|
|
117
|
+
],
|
|
118
|
+
"OTHER_LDFLAGS": [
|
|
119
|
+
"-stdlib=libc++"
|
|
120
|
+
],
|
|
121
|
+
"MACOSX_DEPLOYMENT_TARGET": "10.15"
|
|
122
|
+
}
|
|
107
123
|
}]
|
|
108
124
|
],
|
|
109
125
|
"dependencies" : [ "copy_fptr_libs" ],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-atol-wrapper",
|
|
3
3
|
"description": "Node ATOL DTO 10 wrapper",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.28",
|
|
5
5
|
"main": "bindings.js",
|
|
6
6
|
"types": "bindings.d.ts",
|
|
7
7
|
"scripts": {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"start": "node ./index.js"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"nan": "^2.
|
|
14
|
-
"@mapbox/node-pre-gyp": "^1.0.
|
|
13
|
+
"nan": "^2.20.0",
|
|
14
|
+
"@mapbox/node-pre-gyp": "^1.0.11"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {},
|
|
17
17
|
"binary": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"host": "https://your_module.s3-us-west-1.amazonaws.com"
|
|
21
21
|
},
|
|
22
22
|
"engines": {
|
|
23
|
-
"node": ">=
|
|
23
|
+
"node": ">= 16.0.0"
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://github.com/farafonov-alexey/node-atol-wrapper",
|
|
26
26
|
"keywords": [
|
package/src/libfptr10.h
CHANGED
|
@@ -322,6 +322,7 @@ enum libfptr_error
|
|
|
322
322
|
LIBFPTR_ERROR_MINIPOS_NO_FILE_ON_USB_STORE,
|
|
323
323
|
LIBFPTR_ERROR_MINIPOS_NO_AGENT_FISCAL_PROPERTY,
|
|
324
324
|
LIBFPTR_ERROR_NO_CONNECTION_WITH_PRINT_SERVICE,
|
|
325
|
+
LIBFPTR_ERROR_UNIVERSAL_COUNTERS_ARE_DISABLED,
|
|
325
326
|
|
|
326
327
|
LIBFPTR_ERROR_BASE_MARKING = 400,
|
|
327
328
|
LIBFPTR_ERROR_MARKING_CODE_VALIDATION_IN_PROGRESS,
|
|
@@ -770,9 +771,21 @@ enum libfptr_param
|
|
|
770
771
|
LIBFPTR_PARAM_MARKING_NOT_FORM_REQUEST,
|
|
771
772
|
LIBFPTR_PARAM_PRINT_ENTITY_TYPE,
|
|
772
773
|
LIBFPTR_PARAM_RECEIPT_TAPE_PATH_LENGTH,
|
|
774
|
+
LIBFPTR_PARAM_LICENSE_INDEX,
|
|
775
|
+
LIBFPTR_PARAM_IS_LICENSE_VALID,
|
|
776
|
+
LIBFPTR_PARAM_RECEIPT_PERCENTAGE_SIZE,
|
|
777
|
+
LIBFPTR_PARAM_ADDITIONAL_ATTRIBUTE,
|
|
778
|
+
LIBFPTR_PARAM_ADDITIONAL_DATA,
|
|
779
|
+
LIBFPTR_PARAM_ELECTRONICALLY_PAYMENT_METHOD,
|
|
780
|
+
LIBFPTR_PARAM_ELECTRONICALLY_ID,
|
|
781
|
+
LIBFPTR_PARAM_ELECTRONICALLY_ADD_INFO,
|
|
782
|
+
LIBFPTR_PARAM_PRINTER_DRIVER_NAME,
|
|
783
|
+
LIBFPTR_PARAM_SCRIPT_NUMBER,
|
|
784
|
+
LIBFPTR_PARAM_SCRIPT_EMBEDDED,
|
|
785
|
+
LIBFPTR_PARAM_OVERWRITE,
|
|
773
786
|
|
|
774
787
|
// certification
|
|
775
|
-
LIBFPTR_PARAM_LAST_SUCCESS_FNM_UPDATE_KEYS_DATE_TIME,
|
|
788
|
+
LIBFPTR_PARAM_LAST_SUCCESS_FNM_UPDATE_KEYS_DATE_TIME = LIBFPTR_PARAM_FIRST + 900,
|
|
776
789
|
LIBFPTR_PARAM_LAST_ATTEMPTION_FNM_UPDATE_KEYS_DATE_TIME,
|
|
777
790
|
LIBFPTR_PARAM_COUNT_ATTEMPTION_FNM_UPDATE_KEYS,
|
|
778
791
|
|
|
@@ -807,11 +820,12 @@ enum libfptr_model
|
|
|
807
820
|
LIBFPTR_MODEL_ATOL_PT_5F = 89,
|
|
808
821
|
LIBFPTR_MODEL_KAZNACHEY_FA = 76,
|
|
809
822
|
LIBFPTR_MODEL_ATOL_1F = 93,
|
|
823
|
+
LIBFPTR_MODEL_ATOL_2F = 96,
|
|
810
824
|
LIBFPTR_MODEL_ATOL_22v2F = 95,
|
|
811
825
|
LIBFPTR_MODEL_ATOL_42FA = 70,
|
|
812
826
|
LIBFPTR_MODEL_ALLIANCE_20F = 50,
|
|
813
827
|
LIBFPTR_MODEL_ATOL_STB_6F = 94,
|
|
814
|
-
LIBFPTR_MODEL_ATOL_35F = 97,
|
|
828
|
+
LIBFPTR_MODEL_ATOL_35F = 97,
|
|
815
829
|
// certification
|
|
816
830
|
LIBFPTR_MODEL_ATOL_27_FP7_F = 99,
|
|
817
831
|
};
|
|
@@ -886,6 +900,12 @@ enum libfptr_model
|
|
|
886
900
|
|
|
887
901
|
#define LIBFPTR_SETTING_LICENSE L"Licenses"
|
|
888
902
|
|
|
903
|
+
#define LIBFPTR_SETTING_TIME_ZONE L"TimeZone"
|
|
904
|
+
|
|
905
|
+
#define LIBFPTR_SETTING_REMOTE_TIMEOUT L"RemoteTimeout"
|
|
906
|
+
|
|
907
|
+
#define LIBFPTR_SETTING_USE_COMMODITY_NAME_FOR_ADVANCE L"UseCommodityNameForAdvance"
|
|
908
|
+
|
|
889
909
|
enum libfptr_port
|
|
890
910
|
{
|
|
891
911
|
LIBFPTR_PORT_COM = 0,
|
|
@@ -1063,7 +1083,8 @@ enum libfptr_report_type
|
|
|
1063
1083
|
LIBFPTR_RT_DISCOUNTS,
|
|
1064
1084
|
LIBFPTR_RT_JOURNAL_DOCUMENT_BY_NUMBERS,
|
|
1065
1085
|
LIBFPTR_RT_JOURNAL_DOCUMENT_BY_SHIFTS,
|
|
1066
|
-
LIBFPTR_RT_CLOSE_SHIFT_REPORTS
|
|
1086
|
+
LIBFPTR_RT_CLOSE_SHIFT_REPORTS,
|
|
1087
|
+
LIBFPTR_RT_CLICHE_PICTURES
|
|
1067
1088
|
};
|
|
1068
1089
|
|
|
1069
1090
|
enum libfptr_payment_type
|
|
@@ -1077,7 +1098,8 @@ enum libfptr_payment_type
|
|
|
1077
1098
|
LIBFPTR_PT_7,
|
|
1078
1099
|
LIBFPTR_PT_8,
|
|
1079
1100
|
LIBFPTR_PT_9,
|
|
1080
|
-
LIBFPTR_PT_10
|
|
1101
|
+
LIBFPTR_PT_10,
|
|
1102
|
+
LIBFPTR_PT_ADD_INFO
|
|
1081
1103
|
};
|
|
1082
1104
|
|
|
1083
1105
|
enum libfptr_tax_type
|
|
@@ -1091,11 +1113,13 @@ enum libfptr_tax_type
|
|
|
1091
1113
|
LIBFPTR_TAX_NO,
|
|
1092
1114
|
LIBFPTR_TAX_VAT20,
|
|
1093
1115
|
LIBFPTR_TAX_VAT120,
|
|
1094
|
-
LIBFPTR_TAX_INVALID,
|
|
1095
1116
|
LIBFPTR_TAX_VAT5,
|
|
1096
|
-
LIBFPTR_TAX_VAT105,
|
|
1097
1117
|
LIBFPTR_TAX_VAT7,
|
|
1098
|
-
|
|
1118
|
+
LIBFPTR_TAX_VAT105,
|
|
1119
|
+
LIBFPTR_TAX_VAT107,
|
|
1120
|
+
LIBFPTR_TAX_VAT22,
|
|
1121
|
+
LIBFPTR_TAX_VAT122,
|
|
1122
|
+
LIBFPTR_TAX_INVALID,
|
|
1099
1123
|
};
|
|
1100
1124
|
|
|
1101
1125
|
enum libfptr_external_device_type
|
|
@@ -1195,6 +1219,7 @@ enum libfptr_fn_data_type
|
|
|
1195
1219
|
LIBFPTR_FNDT_MARKING_MODE_STATUS,
|
|
1196
1220
|
LIBFPTR_FNDT_CHECK_MARK_TIME,
|
|
1197
1221
|
LIBFPTR_FNDT_RECEIPT_SIZE,
|
|
1222
|
+
LIBFPTR_FNDT_NOTIFICATION_STATUS,
|
|
1198
1223
|
|
|
1199
1224
|
// certification
|
|
1200
1225
|
LIBFPTR_FNDT_FNM_KEYS_UPDATE_DATE_TIME
|
|
@@ -1278,6 +1303,7 @@ enum libfptr_records_type
|
|
|
1278
1303
|
LIBFPTR_RT_FN_UNSENT_DOCS_COUNTERS,
|
|
1279
1304
|
LIBFPTR_RT_SETTINGS,
|
|
1280
1305
|
LIBFPTR_RT_RUN_COMMAND,
|
|
1306
|
+
LIBFPTR_RT_SCRIPTS_INFO
|
|
1281
1307
|
};
|
|
1282
1308
|
|
|
1283
1309
|
enum libfptr_nomenclature_type
|
|
@@ -1419,6 +1445,8 @@ enum libfptr_marking_estimated_status
|
|
|
1419
1445
|
LIBFPTR_MES_DRY_FOR_SALE,
|
|
1420
1446
|
LIBFPTR_MES_PIECE_RETURN,
|
|
1421
1447
|
LIBFPTR_MES_DRY_RETURN,
|
|
1448
|
+
LIBFPTR_MES_PIECE_FOR_SALE,
|
|
1449
|
+
LIBFPTR_MES_DRY_SOLD,
|
|
1422
1450
|
LIBFPTR_MES_UNCHANGED = 255
|
|
1423
1451
|
};
|
|
1424
1452
|
|
|
@@ -1614,6 +1642,23 @@ enum libfptr_print_entity_type
|
|
|
1614
1642
|
LIBFPTR_PET_FISCAL_DOCUMENT,
|
|
1615
1643
|
};
|
|
1616
1644
|
|
|
1645
|
+
enum libfptr_time_zone
|
|
1646
|
+
{
|
|
1647
|
+
LIBFPTR_TIME_ZONE_NO = -1,
|
|
1648
|
+
LIBFPTR_TIME_ZONE_DEVICE = 0,
|
|
1649
|
+
LIBFPTR_TIME_ZONE_1 = 1,
|
|
1650
|
+
LIBFPTR_TIME_ZONE_2,
|
|
1651
|
+
LIBFPTR_TIME_ZONE_3,
|
|
1652
|
+
LIBFPTR_TIME_ZONE_4,
|
|
1653
|
+
LIBFPTR_TIME_ZONE_5,
|
|
1654
|
+
LIBFPTR_TIME_ZONE_6,
|
|
1655
|
+
LIBFPTR_TIME_ZONE_7,
|
|
1656
|
+
LIBFPTR_TIME_ZONE_8,
|
|
1657
|
+
LIBFPTR_TIME_ZONE_9,
|
|
1658
|
+
LIBFPTR_TIME_ZONE_10,
|
|
1659
|
+
LIBFPTR_TIME_ZONE_11,
|
|
1660
|
+
};
|
|
1661
|
+
|
|
1617
1662
|
#define LIBFPTR_UC_OTHERS 4294967295
|
|
1618
1663
|
|
|
1619
1664
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -774,9 +774,18 @@ enum libfptr_param
|
|
|
774
774
|
LIBFPTR_PARAM_LICENSE_INDEX,
|
|
775
775
|
LIBFPTR_PARAM_IS_LICENSE_VALID,
|
|
776
776
|
LIBFPTR_PARAM_RECEIPT_PERCENTAGE_SIZE,
|
|
777
|
+
LIBFPTR_PARAM_ADDITIONAL_ATTRIBUTE,
|
|
778
|
+
LIBFPTR_PARAM_ADDITIONAL_DATA,
|
|
779
|
+
LIBFPTR_PARAM_ELECTRONICALLY_PAYMENT_METHOD,
|
|
780
|
+
LIBFPTR_PARAM_ELECTRONICALLY_ID,
|
|
781
|
+
LIBFPTR_PARAM_ELECTRONICALLY_ADD_INFO,
|
|
782
|
+
LIBFPTR_PARAM_PRINTER_DRIVER_NAME,
|
|
783
|
+
LIBFPTR_PARAM_SCRIPT_NUMBER,
|
|
784
|
+
LIBFPTR_PARAM_SCRIPT_EMBEDDED,
|
|
785
|
+
LIBFPTR_PARAM_OVERWRITE,
|
|
777
786
|
|
|
778
787
|
// certification
|
|
779
|
-
LIBFPTR_PARAM_LAST_SUCCESS_FNM_UPDATE_KEYS_DATE_TIME,
|
|
788
|
+
LIBFPTR_PARAM_LAST_SUCCESS_FNM_UPDATE_KEYS_DATE_TIME = LIBFPTR_PARAM_FIRST + 900,
|
|
780
789
|
LIBFPTR_PARAM_LAST_ATTEMPTION_FNM_UPDATE_KEYS_DATE_TIME,
|
|
781
790
|
LIBFPTR_PARAM_COUNT_ATTEMPTION_FNM_UPDATE_KEYS,
|
|
782
791
|
|
|
@@ -811,11 +820,12 @@ enum libfptr_model
|
|
|
811
820
|
LIBFPTR_MODEL_ATOL_PT_5F = 89,
|
|
812
821
|
LIBFPTR_MODEL_KAZNACHEY_FA = 76,
|
|
813
822
|
LIBFPTR_MODEL_ATOL_1F = 93,
|
|
823
|
+
LIBFPTR_MODEL_ATOL_2F = 96,
|
|
814
824
|
LIBFPTR_MODEL_ATOL_22v2F = 95,
|
|
815
825
|
LIBFPTR_MODEL_ATOL_42FA = 70,
|
|
816
826
|
LIBFPTR_MODEL_ALLIANCE_20F = 50,
|
|
817
827
|
LIBFPTR_MODEL_ATOL_STB_6F = 94,
|
|
818
|
-
LIBFPTR_MODEL_ATOL_35F = 97,
|
|
828
|
+
LIBFPTR_MODEL_ATOL_35F = 97,
|
|
819
829
|
// certification
|
|
820
830
|
LIBFPTR_MODEL_ATOL_27_FP7_F = 99,
|
|
821
831
|
};
|
|
@@ -890,6 +900,12 @@ enum libfptr_model
|
|
|
890
900
|
|
|
891
901
|
#define LIBFPTR_SETTING_LICENSE L"Licenses"
|
|
892
902
|
|
|
903
|
+
#define LIBFPTR_SETTING_TIME_ZONE L"TimeZone"
|
|
904
|
+
|
|
905
|
+
#define LIBFPTR_SETTING_REMOTE_TIMEOUT L"RemoteTimeout"
|
|
906
|
+
|
|
907
|
+
#define LIBFPTR_SETTING_USE_COMMODITY_NAME_FOR_ADVANCE L"UseCommodityNameForAdvance"
|
|
908
|
+
|
|
893
909
|
enum libfptr_port
|
|
894
910
|
{
|
|
895
911
|
LIBFPTR_PORT_COM = 0,
|
|
@@ -1067,7 +1083,8 @@ enum libfptr_report_type
|
|
|
1067
1083
|
LIBFPTR_RT_DISCOUNTS,
|
|
1068
1084
|
LIBFPTR_RT_JOURNAL_DOCUMENT_BY_NUMBERS,
|
|
1069
1085
|
LIBFPTR_RT_JOURNAL_DOCUMENT_BY_SHIFTS,
|
|
1070
|
-
LIBFPTR_RT_CLOSE_SHIFT_REPORTS
|
|
1086
|
+
LIBFPTR_RT_CLOSE_SHIFT_REPORTS,
|
|
1087
|
+
LIBFPTR_RT_CLICHE_PICTURES
|
|
1071
1088
|
};
|
|
1072
1089
|
|
|
1073
1090
|
enum libfptr_payment_type
|
|
@@ -1081,7 +1098,8 @@ enum libfptr_payment_type
|
|
|
1081
1098
|
LIBFPTR_PT_7,
|
|
1082
1099
|
LIBFPTR_PT_8,
|
|
1083
1100
|
LIBFPTR_PT_9,
|
|
1084
|
-
LIBFPTR_PT_10
|
|
1101
|
+
LIBFPTR_PT_10,
|
|
1102
|
+
LIBFPTR_PT_ADD_INFO
|
|
1085
1103
|
};
|
|
1086
1104
|
|
|
1087
1105
|
enum libfptr_tax_type
|
|
@@ -1099,6 +1117,8 @@ enum libfptr_tax_type
|
|
|
1099
1117
|
LIBFPTR_TAX_VAT7,
|
|
1100
1118
|
LIBFPTR_TAX_VAT105,
|
|
1101
1119
|
LIBFPTR_TAX_VAT107,
|
|
1120
|
+
LIBFPTR_TAX_VAT22,
|
|
1121
|
+
LIBFPTR_TAX_VAT122,
|
|
1102
1122
|
LIBFPTR_TAX_INVALID,
|
|
1103
1123
|
};
|
|
1104
1124
|
|
|
@@ -1283,6 +1303,7 @@ enum libfptr_records_type
|
|
|
1283
1303
|
LIBFPTR_RT_FN_UNSENT_DOCS_COUNTERS,
|
|
1284
1304
|
LIBFPTR_RT_SETTINGS,
|
|
1285
1305
|
LIBFPTR_RT_RUN_COMMAND,
|
|
1306
|
+
LIBFPTR_RT_SCRIPTS_INFO
|
|
1286
1307
|
};
|
|
1287
1308
|
|
|
1288
1309
|
enum libfptr_nomenclature_type
|
|
@@ -1424,6 +1445,8 @@ enum libfptr_marking_estimated_status
|
|
|
1424
1445
|
LIBFPTR_MES_DRY_FOR_SALE,
|
|
1425
1446
|
LIBFPTR_MES_PIECE_RETURN,
|
|
1426
1447
|
LIBFPTR_MES_DRY_RETURN,
|
|
1448
|
+
LIBFPTR_MES_PIECE_FOR_SALE,
|
|
1449
|
+
LIBFPTR_MES_DRY_SOLD,
|
|
1427
1450
|
LIBFPTR_MES_UNCHANGED = 255
|
|
1428
1451
|
};
|
|
1429
1452
|
|
|
@@ -1619,6 +1642,23 @@ enum libfptr_print_entity_type
|
|
|
1619
1642
|
LIBFPTR_PET_FISCAL_DOCUMENT,
|
|
1620
1643
|
};
|
|
1621
1644
|
|
|
1645
|
+
enum libfptr_time_zone
|
|
1646
|
+
{
|
|
1647
|
+
LIBFPTR_TIME_ZONE_NO = -1,
|
|
1648
|
+
LIBFPTR_TIME_ZONE_DEVICE = 0,
|
|
1649
|
+
LIBFPTR_TIME_ZONE_1 = 1,
|
|
1650
|
+
LIBFPTR_TIME_ZONE_2,
|
|
1651
|
+
LIBFPTR_TIME_ZONE_3,
|
|
1652
|
+
LIBFPTR_TIME_ZONE_4,
|
|
1653
|
+
LIBFPTR_TIME_ZONE_5,
|
|
1654
|
+
LIBFPTR_TIME_ZONE_6,
|
|
1655
|
+
LIBFPTR_TIME_ZONE_7,
|
|
1656
|
+
LIBFPTR_TIME_ZONE_8,
|
|
1657
|
+
LIBFPTR_TIME_ZONE_9,
|
|
1658
|
+
LIBFPTR_TIME_ZONE_10,
|
|
1659
|
+
LIBFPTR_TIME_ZONE_11,
|
|
1660
|
+
};
|
|
1661
|
+
|
|
1622
1662
|
#define LIBFPTR_UC_OTHERS 4294967295
|
|
1623
1663
|
|
|
1624
1664
|
|
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
#define LIBFPTR_SETTING_AUTO_TIME_SYNC @"AutoTimeSync"
|
|
36
36
|
#define LIBFPTR_SETTING_AUTO_TIME_SYNC_TIME @"AutoTimeSyncTime"
|
|
37
37
|
#define LIBFPTR_SETTING_MERGE_RECEIPT_ITEMS @"MergeReceiptItems"
|
|
38
|
+
#define LIBFPTR_SETTING_TIME_ZONE @"TimeZone"
|
|
39
|
+
#define LIBFPTR_SETTING_REMOTE_TIMEOUT @"RemoteTimeout"
|
|
40
|
+
#define LIBFPTR_SETTING_USE_COMMODITY_NAME_FOR_ADVANCE @"UseCommodityNameForAdvance"
|
|
38
41
|
#define LIBFPTR_MODEL_UNKNOWN 0
|
|
39
42
|
#define LIBFPTR_MODEL_ATOL_25F 57
|
|
40
43
|
#define LIBFPTR_MODEL_ATOL_30F 61
|
|
@@ -67,6 +70,7 @@
|
|
|
67
70
|
#define LIBFPTR_MODEL_ATOL_55V2F 66
|
|
68
71
|
#define LIBFPTR_MODEL_ATOL_STB_6F 92
|
|
69
72
|
#define LIBFPTR_MODEL_ATOL_35F 97
|
|
73
|
+
#define LIBFPTR_MODEL_ATOL_2F 96
|
|
70
74
|
#define LIBFPTR_PORT_BR_1200 1200
|
|
71
75
|
#define LIBFPTR_PORT_BR_2400 2400
|
|
72
76
|
#define LIBFPTR_PORT_BR_4800 4800
|
|
@@ -581,9 +585,22 @@ enum libfptr_param
|
|
|
581
585
|
LIBFPTR_PARAM_LICENSE_INDEX = 65933,
|
|
582
586
|
LIBFPTR_PARAM_IS_LICENSE_VALID = 65934,
|
|
583
587
|
LIBFPTR_PARAM_RECEIPT_PERCENTAGE_SIZE = 65935,
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
588
|
+
LIBFPTR_PARAM_ADDITIONAL_ATTRIBUTE = 65936,
|
|
589
|
+
LIBFPTR_PARAM_ADDITIONAL_DATA = 65937,
|
|
590
|
+
LIBFPTR_PARAM_ELECTRONICALLY_PAYMENT_METHOD = 65938,
|
|
591
|
+
LIBFPTR_PARAM_ELECTRONICALLY_ID = 65939,
|
|
592
|
+
LIBFPTR_PARAM_ELECTRONICALLY_ADD_INFO = 65940,
|
|
593
|
+
LIBFPTR_PARAM_PRINTER_DRIVER_NAME = 65941,
|
|
594
|
+
LIBFPTR_PARAM_SCRIPT_NUMBER = 65942,
|
|
595
|
+
LIBFPTR_PARAM_SCRIPT_EMBEDDED = 65943,
|
|
596
|
+
LIBFPTR_PARAM_OVERWRITE = 65944,
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
enum libfptr_certification_param
|
|
600
|
+
{
|
|
601
|
+
LIBFPTR_PARAM_LAST_SUCCESS_FNM_UPDATE_KEYS_DATE_TIME = 66436,
|
|
602
|
+
LIBFPTR_PARAM_LAST_ATTEMPTION_FNM_UPDATE_KEYS_DATE_TIME = 66437,
|
|
603
|
+
LIBFPTR_PARAM_COUNT_ATTEMPTION_FNM_UPDATE_KEYS = 66438,
|
|
587
604
|
};
|
|
588
605
|
|
|
589
606
|
enum libfptr_error
|
|
@@ -1051,6 +1068,7 @@ enum libfptr_report_type
|
|
|
1051
1068
|
LIBFPTR_RT_JOURNAL_DOCUMENT_BY_NUMBERS = 21,
|
|
1052
1069
|
LIBFPTR_RT_JOURNAL_DOCUMENT_BY_SHIFTS = 22,
|
|
1053
1070
|
LIBFPTR_RT_CLOSE_SHIFT_REPORTS = 23,
|
|
1071
|
+
LIBFPTR_RT_CLICHE_PICTURES = 24,
|
|
1054
1072
|
};
|
|
1055
1073
|
|
|
1056
1074
|
enum libfptr_payment_type
|
|
@@ -1065,6 +1083,7 @@ enum libfptr_payment_type
|
|
|
1065
1083
|
LIBFPTR_PT_8 = 7,
|
|
1066
1084
|
LIBFPTR_PT_9 = 8,
|
|
1067
1085
|
LIBFPTR_PT_10 = 9,
|
|
1086
|
+
LIBFPTR_PT_ADD_INFO = 10,
|
|
1068
1087
|
};
|
|
1069
1088
|
|
|
1070
1089
|
enum libfptr_tax_type
|
|
@@ -1082,7 +1101,9 @@ enum libfptr_tax_type
|
|
|
1082
1101
|
LIBFPTR_TAX_VAT7 = 10,
|
|
1083
1102
|
LIBFPTR_TAX_VAT105 = 11,
|
|
1084
1103
|
LIBFPTR_TAX_VAT107 = 12,
|
|
1085
|
-
|
|
1104
|
+
LIBFPTR_TAX_VAT22 = 13,
|
|
1105
|
+
LIBFPTR_TAX_VAT122 = 14,
|
|
1106
|
+
LIBFPTR_TAX_INVALID = 15,
|
|
1086
1107
|
};
|
|
1087
1108
|
|
|
1088
1109
|
enum libfptr_external_device_type
|
|
@@ -1230,6 +1251,7 @@ enum libfptr_records_type
|
|
|
1230
1251
|
LIBFPTR_RT_FN_UNSENT_DOCS_COUNTERS = 9,
|
|
1231
1252
|
LIBFPTR_RT_SETTINGS = 10,
|
|
1232
1253
|
LIBFPTR_RT_RUN_COMMAND = 11,
|
|
1254
|
+
LIBFPTR_RT_SCRIPTS_INFO = 12,
|
|
1233
1255
|
};
|
|
1234
1256
|
|
|
1235
1257
|
enum libfptr_log_level
|
|
@@ -1354,6 +1376,8 @@ enum libfptr_marking_estimated_status
|
|
|
1354
1376
|
LIBFPTR_MES_DRY_FOR_SALE = 2,
|
|
1355
1377
|
LIBFPTR_MES_PIECE_RETURN = 3,
|
|
1356
1378
|
LIBFPTR_MES_DRY_RETURN = 4,
|
|
1379
|
+
LIBFPTR_MES_PIECE_FOR_SALE = 5,
|
|
1380
|
+
LIBFPTR_MES_DRY_SOLD = 6,
|
|
1357
1381
|
};
|
|
1358
1382
|
|
|
1359
1383
|
enum libfptr_marking_mode_checking_status
|
|
@@ -1477,6 +1501,22 @@ enum libfptr_license
|
|
|
1477
1501
|
LIBFPTR_LIC_EXT_FISCAL = 18,
|
|
1478
1502
|
};
|
|
1479
1503
|
|
|
1504
|
+
enum libfptr_time_zone
|
|
1505
|
+
{
|
|
1506
|
+
LIBFPTR_TIME_ZONE_DEVICE = 0,
|
|
1507
|
+
LIBFPTR_TIME_ZONE_1 = 1,
|
|
1508
|
+
LIBFPTR_TIME_ZONE_2 = 2,
|
|
1509
|
+
LIBFPTR_TIME_ZONE_3 = 3,
|
|
1510
|
+
LIBFPTR_TIME_ZONE_4 = 4,
|
|
1511
|
+
LIBFPTR_TIME_ZONE_5 = 5,
|
|
1512
|
+
LIBFPTR_TIME_ZONE_6 = 6,
|
|
1513
|
+
LIBFPTR_TIME_ZONE_7 = 7,
|
|
1514
|
+
LIBFPTR_TIME_ZONE_8 = 8,
|
|
1515
|
+
LIBFPTR_TIME_ZONE_9 = 9,
|
|
1516
|
+
LIBFPTR_TIME_ZONE_10 = 10,
|
|
1517
|
+
LIBFPTR_TIME_ZONE_11 = 11,
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1480
1520
|
enum libfptr_rpc_server_error
|
|
1481
1521
|
{
|
|
1482
1522
|
LIBFPTR_ERROR_BASE_RPC = 600,
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
<string>FMWK</string>
|
|
25
25
|
|
|
26
26
|
<key>CFBundleVersion</key>
|
|
27
|
-
<string>10.10.
|
|
27
|
+
<string>10.10.8.0</string>
|
|
28
28
|
|
|
29
29
|
<key>CFBundleShortVersionString</key>
|
|
30
|
-
<string>10.10.
|
|
30
|
+
<string>10.10.8</string>
|
|
31
31
|
|
|
32
32
|
<key>CSResourcesFileMapped</key>
|
|
33
33
|
<true/>
|
|
Binary file
|
package/src/win-x64/fptr10.dll
CHANGED
|
Binary file
|
package/src/win-x64/fptr10.lib
CHANGED
|
Binary file
|
package/src/win-x86/fptr10.dll
CHANGED
|
Binary file
|
package/src/win-x86/fptr10.lib
CHANGED
|
Binary file
|