node-atol-wrapper 0.0.25 → 0.0.27
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 +32 -8
- package/README.md +1 -1
- package/binding.gyp +20 -4
- package/package.json +5 -5
- package/src/libfptr10.h +182 -5
- 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 +157 -6
- package/src/macos-x86_64/fptr10.framework/Versions/A/Headers/libfptr10_objc.h +126 -2
- 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,48 @@ 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-13]
|
|
13
|
+
node-version: [16, 18, 20, 22]
|
|
14
|
+
exclude:
|
|
15
|
+
# Exclude Node 22 on macOS 13 due to compatibility issues
|
|
16
|
+
- os: macos-13
|
|
17
|
+
node-version: 22
|
|
13
18
|
|
|
14
19
|
steps:
|
|
15
20
|
- name: Checkout
|
|
16
|
-
uses: actions/checkout@
|
|
17
|
-
- if: matrix.os == 'windows-
|
|
18
|
-
name:
|
|
19
|
-
uses:
|
|
21
|
+
uses: actions/checkout@v4
|
|
22
|
+
- if: matrix.os == 'windows-2022'
|
|
23
|
+
name: Setup MSBuild
|
|
24
|
+
uses: microsoft/setup-msbuild@v2
|
|
25
|
+
- if: matrix.os == 'windows-2022'
|
|
26
|
+
name: Setup Windows SDK
|
|
27
|
+
uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.11
|
|
20
28
|
with:
|
|
21
|
-
|
|
29
|
+
sdk-version: 20348
|
|
22
30
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
23
|
-
uses: actions/setup-node@
|
|
31
|
+
uses: actions/setup-node@v4
|
|
24
32
|
with:
|
|
25
33
|
node-version: ${{ matrix.node-version }}
|
|
34
|
+
- name: Setup Python for macOS
|
|
35
|
+
if: matrix.os == 'macos-13'
|
|
36
|
+
uses: actions/setup-python@v4
|
|
37
|
+
with:
|
|
38
|
+
python-version: '3.11'
|
|
39
|
+
- name: Install setuptools for macOS
|
|
40
|
+
if: matrix.os == 'macos-13'
|
|
41
|
+
run: |
|
|
42
|
+
python -m pip install --upgrade pip setuptools
|
|
43
|
+
- name: Configure npm for native modules
|
|
44
|
+
if: matrix.os == 'macos-13'
|
|
45
|
+
run: |
|
|
46
|
+
echo "CC=clang" >> $GITHUB_ENV
|
|
47
|
+
echo "CXX=clang++" >> $GITHUB_ENV
|
|
48
|
+
echo "PYTHON=$(which python)" >> $GITHUB_ENV
|
|
26
49
|
- name: npm install, build
|
|
27
50
|
run: |
|
|
28
51
|
npm install --build-from-source
|
|
29
52
|
env:
|
|
30
53
|
CI: true
|
|
54
|
+
npm_config_build_from_source: true
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Название
|
|
4
4
|
=========
|
|
5
|
-
Node.js обертка для драйвера торгового оборудования (ДТО) версии
|
|
5
|
+
Node.js обертка для драйвера торгового оборудования (ДТО) версии `10.10.7.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.27",
|
|
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": [
|
|
@@ -42,4 +42,4 @@
|
|
|
42
42
|
"url": "git://github.com/farafonov-alexey/node-atol-wrapper.git"
|
|
43
43
|
},
|
|
44
44
|
"license": "MIT"
|
|
45
|
-
}
|
|
45
|
+
}
|
package/src/libfptr10.h
CHANGED
|
@@ -314,6 +314,15 @@ enum libfptr_error
|
|
|
314
314
|
LIBFPTR_ERROR_OVERLAY_DATA_OVERFLOW,
|
|
315
315
|
LIBFPTR_ERROR_INVALID_MODULE_ADDRESS,
|
|
316
316
|
LIBFPTR_ERROR_ECR_MODEL_NOT_SUPPORTED,
|
|
317
|
+
LIBFPTR_ERROR_PAID_NOT_REQUIRED,
|
|
318
|
+
LIBFPTR_ERROR_NON_PRINTABLE_CHAR,
|
|
319
|
+
LIBFPTR_ERROR_INVALID_USER_TAG,
|
|
320
|
+
LIBFPTR_ERROR_COMMODITIES_TABLE_ITERATION_STOPPED,
|
|
321
|
+
LIBFPTR_ERROR_COMMODITIES_TABLE_INVALID_CSV_FORMAT,
|
|
322
|
+
LIBFPTR_ERROR_MINIPOS_NO_FILE_ON_USB_STORE,
|
|
323
|
+
LIBFPTR_ERROR_MINIPOS_NO_AGENT_FISCAL_PROPERTY,
|
|
324
|
+
LIBFPTR_ERROR_NO_CONNECTION_WITH_PRINT_SERVICE,
|
|
325
|
+
LIBFPTR_ERROR_UNIVERSAL_COUNTERS_ARE_DISABLED,
|
|
317
326
|
|
|
318
327
|
LIBFPTR_ERROR_BASE_MARKING = 400,
|
|
319
328
|
LIBFPTR_ERROR_MARKING_CODE_VALIDATION_IN_PROGRESS,
|
|
@@ -718,7 +727,7 @@ enum libfptr_param
|
|
|
718
727
|
LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_RESULT,
|
|
719
728
|
LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_ERROR_DESCRIPTION,
|
|
720
729
|
LIBFPTR_PARAM_FN_CONTAINS_KEYS_UPDATER_SERVER_URI,
|
|
721
|
-
|
|
730
|
+
LIBFPTR_PARAM_CLEAR_MARKING_TABLE,
|
|
722
731
|
LIBFPTR_PARAM_MODULE_ADDRESS,
|
|
723
732
|
LIBFPTR_PARAM_SEGMENT_ADDRESS,
|
|
724
733
|
LIBFPTR_PARAM_LAST_SUCCESSFUL_OKP,
|
|
@@ -732,6 +741,49 @@ enum libfptr_param
|
|
|
732
741
|
LIBFPTR_PARAM_PRINT_UPDATE_FNM_KEYS_REPORT,
|
|
733
742
|
LIBFPTR_PARAM_FN_KEYS_UPDATER_SERVER_URI,
|
|
734
743
|
LIBFPTR_PARAM_DOCUMENT_ELECTRONICALLY,
|
|
744
|
+
LIBFPTR_PARAM_FORMAT_TEXT,
|
|
745
|
+
LIBFPTR_PARAM_RECEIPT_SIZE,
|
|
746
|
+
LIBFPTR_PARAM_MARK_SIZE,
|
|
747
|
+
LIBFPTR_PARAM_MCU_TEMPERATURE,
|
|
748
|
+
LIBFPTR_PARAM_DATA_FOR_SEND_IS_EMPTY,
|
|
749
|
+
LIBFPTR_PARAM_AVAILABLE_CLOSING,
|
|
750
|
+
LIBFPTR_PARAM_AVAILABLE_CANCELLATION,
|
|
751
|
+
LIBFPTR_PARAM_AVAILABLE_POSITION_ADDING,
|
|
752
|
+
LIBFPTR_PARAM_AVAILABLE_PAYMENT,
|
|
753
|
+
LIBFPTR_PARAM_AVAILABLE_TOTAL,
|
|
754
|
+
LIBFPTR_PARAM_AVAILABLE_ATTRIBUTES_ADDING,
|
|
755
|
+
LIBFPTR_PARAM_OPERATOR_REGISTERED,
|
|
756
|
+
LIBFPTR_PARAM_DEVICE_PLATFORM_VERSION,
|
|
757
|
+
LIBFPTR_PARAM_GUID,
|
|
758
|
+
LIBFPTR_PARAM_PATTERN_REGISTERS,
|
|
759
|
+
LIBFPTR_PARAM_PATTERN_TAGS,
|
|
760
|
+
LIBFPTR_PARAM_PATTERN_SETTINGS,
|
|
761
|
+
LIBFPTR_PARAM_VENDING,
|
|
762
|
+
LIBFPTR_PARAM_CATERING,
|
|
763
|
+
LIBFPTR_PARAM_WHOLESALE,
|
|
764
|
+
LIBFPTR_PARAM_REGISTRATION_POSITION_FORM,
|
|
765
|
+
LIBFPTR_PARAM_MERGE_POSITIONS,
|
|
766
|
+
LIBFPTR_PARAM_DATAFLASH_JEDEC_ID,
|
|
767
|
+
LIBFPTR_PARAM_DATAFLASH_NAME,
|
|
768
|
+
LIBFPTR_PARAM_DATAFLASH_SIZE,
|
|
769
|
+
LIBFPTR_PARAM_FRAM_EEPROM_NAME,
|
|
770
|
+
LIBFPTR_PARAM_FRAM_EEPROM_SIZE,
|
|
771
|
+
LIBFPTR_PARAM_MARKING_NOT_FORM_REQUEST,
|
|
772
|
+
LIBFPTR_PARAM_PRINT_ENTITY_TYPE,
|
|
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
|
+
|
|
783
|
+
// certification
|
|
784
|
+
LIBFPTR_PARAM_LAST_SUCCESS_FNM_UPDATE_KEYS_DATE_TIME,
|
|
785
|
+
LIBFPTR_PARAM_LAST_ATTEMPTION_FNM_UPDATE_KEYS_DATE_TIME,
|
|
786
|
+
LIBFPTR_PARAM_COUNT_ATTEMPTION_FNM_UPDATE_KEYS,
|
|
735
787
|
|
|
736
788
|
LIBFPTR_PARAM_LAST
|
|
737
789
|
};
|
|
@@ -752,6 +804,7 @@ enum libfptr_model
|
|
|
752
804
|
LIBFPTR_MODEL_ATOL_50F = 80,
|
|
753
805
|
LIBFPTR_MODEL_ATOL_52F = 64,
|
|
754
806
|
LIBFPTR_MODEL_ATOL_55F = 62,
|
|
807
|
+
LIBFPTR_MODEL_ATOL_55v2F = 66,
|
|
755
808
|
LIBFPTR_MODEL_ATOL_60F = 75,
|
|
756
809
|
LIBFPTR_MODEL_ATOL_77F = 69,
|
|
757
810
|
LIBFPTR_MODEL_ATOL_90F = 72,
|
|
@@ -763,7 +816,14 @@ enum libfptr_model
|
|
|
763
816
|
LIBFPTR_MODEL_ATOL_PT_5F = 89,
|
|
764
817
|
LIBFPTR_MODEL_KAZNACHEY_FA = 76,
|
|
765
818
|
LIBFPTR_MODEL_ATOL_1F = 93,
|
|
819
|
+
LIBFPTR_MODEL_ATOL_2F = 96,
|
|
766
820
|
LIBFPTR_MODEL_ATOL_22v2F = 95,
|
|
821
|
+
LIBFPTR_MODEL_ATOL_42FA = 70,
|
|
822
|
+
LIBFPTR_MODEL_ALLIANCE_20F = 50,
|
|
823
|
+
LIBFPTR_MODEL_ATOL_STB_6F = 94,
|
|
824
|
+
LIBFPTR_MODEL_ATOL_35F = 97,
|
|
825
|
+
// certification
|
|
826
|
+
LIBFPTR_MODEL_ATOL_27_FP7_F = 99,
|
|
767
827
|
};
|
|
768
828
|
|
|
769
829
|
#define LIBFPTR_SETTING_LIBRARY_PATH L"LibraryPath"
|
|
@@ -822,6 +882,24 @@ enum libfptr_model
|
|
|
822
882
|
|
|
823
883
|
#define LIBFPTR_SETTING_SILENT_REBOOT L"SilentReboot"
|
|
824
884
|
|
|
885
|
+
#define LIBFPTR_SETTING_GUI_PARAMETERS L"GuiParametersMapping"
|
|
886
|
+
|
|
887
|
+
#define LIBFPTR_SETTING_GUI_PATTERN_REG L"PatternParameters"
|
|
888
|
+
|
|
889
|
+
#define LIBFPTR_SETTING_AUTO_TIME_SYNC L"AutoTimeSync"
|
|
890
|
+
|
|
891
|
+
#define LIBFPTR_SETTING_AUTO_TIME_SYNC_TIME L"AutoTimeSyncTime"
|
|
892
|
+
|
|
893
|
+
#define LIBFPTR_SETTING_LOG_PATHS L"LogPaths"
|
|
894
|
+
|
|
895
|
+
#define LIBFPTR_SETTING_MERGE_RECEIPT_ITEMS L"MergeReceiptItems"
|
|
896
|
+
|
|
897
|
+
#define LIBFPTR_SETTING_LICENSE L"Licenses"
|
|
898
|
+
|
|
899
|
+
#define LIBFPTR_SETTING_TIME_ZONE L"TimeZone"
|
|
900
|
+
|
|
901
|
+
#define LIBFPTR_SETTING_REMOTE_TIMEOUT L"RemoteTimeout"
|
|
902
|
+
|
|
825
903
|
enum libfptr_port
|
|
826
904
|
{
|
|
827
905
|
LIBFPTR_PORT_COM = 0,
|
|
@@ -1013,7 +1091,8 @@ enum libfptr_payment_type
|
|
|
1013
1091
|
LIBFPTR_PT_7,
|
|
1014
1092
|
LIBFPTR_PT_8,
|
|
1015
1093
|
LIBFPTR_PT_9,
|
|
1016
|
-
LIBFPTR_PT_10
|
|
1094
|
+
LIBFPTR_PT_10,
|
|
1095
|
+
LIBFPTR_PT_ADD_INFO
|
|
1017
1096
|
};
|
|
1018
1097
|
|
|
1019
1098
|
enum libfptr_tax_type
|
|
@@ -1027,6 +1106,10 @@ enum libfptr_tax_type
|
|
|
1027
1106
|
LIBFPTR_TAX_NO,
|
|
1028
1107
|
LIBFPTR_TAX_VAT20,
|
|
1029
1108
|
LIBFPTR_TAX_VAT120,
|
|
1109
|
+
LIBFPTR_TAX_VAT5,
|
|
1110
|
+
LIBFPTR_TAX_VAT7,
|
|
1111
|
+
LIBFPTR_TAX_VAT105,
|
|
1112
|
+
LIBFPTR_TAX_VAT107,
|
|
1030
1113
|
LIBFPTR_TAX_INVALID,
|
|
1031
1114
|
};
|
|
1032
1115
|
|
|
@@ -1093,6 +1176,12 @@ enum libfptr_kkt_data_type
|
|
|
1093
1176
|
LIBFPTR_DT_MCU_INFO,
|
|
1094
1177
|
LIBFPTR_DT_MODULE_ADDRESS,
|
|
1095
1178
|
LIBFPTR_DT_CACHE_REQUISITES,
|
|
1179
|
+
LIBFPTR_DT_DEPARTMENT_SUM,
|
|
1180
|
+
LIBFPTR_DT_MCU_TEMPERATURE,
|
|
1181
|
+
LIBFPTR_DT_AVAILABLE_OPERATIONS,
|
|
1182
|
+
LIBFPTR_DT_PATTERN_PARAMETERS,
|
|
1183
|
+
LIBFPTR_DT_RECEIPT_TAPE_PATH_LENGTH,
|
|
1184
|
+
LIBFPTR_DT_LAST_DATA_TYPE
|
|
1096
1185
|
};
|
|
1097
1186
|
|
|
1098
1187
|
enum libfptr_fn_data_type
|
|
@@ -1119,7 +1208,12 @@ enum libfptr_fn_data_type
|
|
|
1119
1208
|
LIBFPTR_FNDT_ISM_ERRORS,
|
|
1120
1209
|
LIBFPTR_FNDT_ISM_EXCHANGE_STATUS,
|
|
1121
1210
|
LIBFPTR_FNDT_MARKING_MODE_STATUS,
|
|
1122
|
-
LIBFPTR_FNDT_CHECK_MARK_TIME
|
|
1211
|
+
LIBFPTR_FNDT_CHECK_MARK_TIME,
|
|
1212
|
+
LIBFPTR_FNDT_RECEIPT_SIZE,
|
|
1213
|
+
LIBFPTR_FNDT_NOTIFICATION_STATUS,
|
|
1214
|
+
|
|
1215
|
+
// certification
|
|
1216
|
+
LIBFPTR_FNDT_FNM_KEYS_UPDATE_DATE_TIME
|
|
1123
1217
|
};
|
|
1124
1218
|
|
|
1125
1219
|
enum libfptr_ffd_version
|
|
@@ -1341,6 +1435,8 @@ enum libfptr_marking_estimated_status
|
|
|
1341
1435
|
LIBFPTR_MES_DRY_FOR_SALE,
|
|
1342
1436
|
LIBFPTR_MES_PIECE_RETURN,
|
|
1343
1437
|
LIBFPTR_MES_DRY_RETURN,
|
|
1438
|
+
LIBFPTR_MES_PIECE_FOR_SALE,
|
|
1439
|
+
LIBFPTR_MES_DRY_SOLD,
|
|
1344
1440
|
LIBFPTR_MES_UNCHANGED = 255
|
|
1345
1441
|
};
|
|
1346
1442
|
|
|
@@ -1462,7 +1558,8 @@ enum libfptr_mark_checking_type_in_cash
|
|
|
1462
1558
|
LIBFPTR_MCT_AUTONOMOUS = 0,
|
|
1463
1559
|
LIBFPTR_MCT_WAIT_FOR_RESULT,
|
|
1464
1560
|
LIBFPTR_MCT_RESULT_NOT_WAIT,
|
|
1465
|
-
LIBFPTR_MCT_QUERY_NOT_SEND
|
|
1561
|
+
LIBFPTR_MCT_QUERY_NOT_SEND,
|
|
1562
|
+
LIBFPTR_MCT_QUERY_NOT_FORM
|
|
1466
1563
|
};
|
|
1467
1564
|
|
|
1468
1565
|
enum libfptr_mark_checking_stage_in_cash
|
|
@@ -1484,6 +1581,74 @@ enum libfptr_silent_reboot
|
|
|
1484
1581
|
LIBFPTR_SILENT_REBOOT_BEFORE_SESSION_OPEN
|
|
1485
1582
|
};
|
|
1486
1583
|
|
|
1584
|
+
enum libfptr_platform_version
|
|
1585
|
+
{
|
|
1586
|
+
LIBFPTR_PLATFORM_UNKNOWN = 0,
|
|
1587
|
+
LIBFPTR_PLATFORM_25 = 25,
|
|
1588
|
+
LIBFPTR_PLATFORM_50 = 50,
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1591
|
+
enum libfptr_registration_position_form
|
|
1592
|
+
{
|
|
1593
|
+
LIBFPTR_RPF_ELECTRONIC_AND_PRINT = 0,
|
|
1594
|
+
LIBFPTR_RPF_ONLY_ELECTRONIC,
|
|
1595
|
+
LIBFPTR_RPF_ONLY_PRINT,
|
|
1596
|
+
};
|
|
1597
|
+
|
|
1598
|
+
enum libfptr_merge_receipt_items
|
|
1599
|
+
{
|
|
1600
|
+
LIBFPTR_MERGE_RECEIPT_NO = 0,
|
|
1601
|
+
LIBFPTR_MERGE_RECEIPT_ALL,
|
|
1602
|
+
LIBFPTR_MERGE_RECEIPT_MARK_ONLY,
|
|
1603
|
+
};
|
|
1604
|
+
|
|
1605
|
+
enum libfptr_license
|
|
1606
|
+
{
|
|
1607
|
+
LIBFPTR_LIC_BASE_FISCAL = 1,
|
|
1608
|
+
LIBFPTR_LIC_WRITE_FW,
|
|
1609
|
+
LIBFPTR_LIC_TAX_20,
|
|
1610
|
+
LIBFPTR_LIC_FFD_1_1,
|
|
1611
|
+
LIBFPTR_LIC_MARK_CODE,
|
|
1612
|
+
LIBFPTR_LIC_EXT_FUNC,
|
|
1613
|
+
LIBFPTR_LIC_TEMPLATE,
|
|
1614
|
+
LIBFPTR_LIC_PRINT_BMP,
|
|
1615
|
+
LIBFPTR_LIC_DISABLE_PF,
|
|
1616
|
+
LIBFPTR_LIC_FFD_1_2,
|
|
1617
|
+
LIBFPTR_LIC_FR_WORK,
|
|
1618
|
+
LIBFPTR_LIC_WEB,
|
|
1619
|
+
LIBFPTR_LIC_FFD_1_1_2,
|
|
1620
|
+
LIBFPTR_LIC_TEST_LAB,
|
|
1621
|
+
LIBFPTR_LIC_WEB_REQ,
|
|
1622
|
+
LIBFPTR_LIC_RELESE,
|
|
1623
|
+
LIBFPTR_LIC_EXT_PRINT,
|
|
1624
|
+
LIBFPTR_LIC_OSU,
|
|
1625
|
+
LIBFPTR_LIC_EXT_FISCAL,
|
|
1626
|
+
};
|
|
1627
|
+
|
|
1628
|
+
enum libfptr_print_entity_type
|
|
1629
|
+
{
|
|
1630
|
+
LIBFPTR_PET_STRINGS = 0,
|
|
1631
|
+
LIBFPTR_PET_PICTURES,
|
|
1632
|
+
LIBFPTR_PET_FISCAL_DOCUMENT,
|
|
1633
|
+
};
|
|
1634
|
+
|
|
1635
|
+
enum libfptr_time_zone
|
|
1636
|
+
{
|
|
1637
|
+
LIBFPTR_TIME_ZONE_NO = -1,
|
|
1638
|
+
LIBFPTR_TIME_ZONE_DEVICE = 0,
|
|
1639
|
+
LIBFPTR_TIME_ZONE_1 = 1,
|
|
1640
|
+
LIBFPTR_TIME_ZONE_2,
|
|
1641
|
+
LIBFPTR_TIME_ZONE_3,
|
|
1642
|
+
LIBFPTR_TIME_ZONE_4,
|
|
1643
|
+
LIBFPTR_TIME_ZONE_5,
|
|
1644
|
+
LIBFPTR_TIME_ZONE_6,
|
|
1645
|
+
LIBFPTR_TIME_ZONE_7,
|
|
1646
|
+
LIBFPTR_TIME_ZONE_8,
|
|
1647
|
+
LIBFPTR_TIME_ZONE_9,
|
|
1648
|
+
LIBFPTR_TIME_ZONE_10,
|
|
1649
|
+
LIBFPTR_TIME_ZONE_11,
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1487
1652
|
#define LIBFPTR_UC_OTHERS 4294967295
|
|
1488
1653
|
|
|
1489
1654
|
|
|
@@ -1498,6 +1663,9 @@ DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_create_with_id(libfptr_handle *ha
|
|
|
1498
1663
|
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_set_settings(libfptr_handle handle,
|
|
1499
1664
|
const wchar_t *settings);
|
|
1500
1665
|
|
|
1666
|
+
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_validate_merge_position_support(libfptr_handle handle,
|
|
1667
|
+
wchar_t *value, int size);
|
|
1668
|
+
|
|
1501
1669
|
DTOX_SHARED_EXPORT void DTOX_SHARED_CCA libfptr_destroy(libfptr_handle *handle);
|
|
1502
1670
|
|
|
1503
1671
|
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_get_settings(libfptr_handle handle, wchar_t *value,
|
|
@@ -1649,7 +1817,6 @@ DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_cash_income(libfptr_handle handle
|
|
|
1649
1817
|
|
|
1650
1818
|
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_cash_outcome(libfptr_handle handle);
|
|
1651
1819
|
|
|
1652
|
-
|
|
1653
1820
|
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_open_receipt(libfptr_handle handle);
|
|
1654
1821
|
|
|
1655
1822
|
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_cancel_receipt(libfptr_handle handle);
|
|
@@ -1869,6 +2036,16 @@ DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_get_last_document_journal(libfptr
|
|
|
1869
2036
|
|
|
1870
2037
|
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_change_label(libfptr_handle handle, const wchar_t *label);
|
|
1871
2038
|
|
|
2039
|
+
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_is_param_available(libfptr_handle handle, int param_id);
|
|
2040
|
+
|
|
2041
|
+
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_error_recommendation(libfptr_handle handle, wchar_t *value, int size);
|
|
2042
|
+
|
|
2043
|
+
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_find_document_in_journal(libfptr_handle handle);
|
|
2044
|
+
|
|
2045
|
+
// certification
|
|
2046
|
+
|
|
2047
|
+
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_run_fn_command(libfptr_handle handle);
|
|
2048
|
+
|
|
1872
2049
|
#ifdef __cplusplus
|
|
1873
2050
|
}
|
|
1874
2051
|
#endif
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -316,6 +316,13 @@ enum libfptr_error
|
|
|
316
316
|
LIBFPTR_ERROR_ECR_MODEL_NOT_SUPPORTED,
|
|
317
317
|
LIBFPTR_ERROR_PAID_NOT_REQUIRED,
|
|
318
318
|
LIBFPTR_ERROR_NON_PRINTABLE_CHAR,
|
|
319
|
+
LIBFPTR_ERROR_INVALID_USER_TAG,
|
|
320
|
+
LIBFPTR_ERROR_COMMODITIES_TABLE_ITERATION_STOPPED,
|
|
321
|
+
LIBFPTR_ERROR_COMMODITIES_TABLE_INVALID_CSV_FORMAT,
|
|
322
|
+
LIBFPTR_ERROR_MINIPOS_NO_FILE_ON_USB_STORE,
|
|
323
|
+
LIBFPTR_ERROR_MINIPOS_NO_AGENT_FISCAL_PROPERTY,
|
|
324
|
+
LIBFPTR_ERROR_NO_CONNECTION_WITH_PRINT_SERVICE,
|
|
325
|
+
LIBFPTR_ERROR_UNIVERSAL_COUNTERS_ARE_DISABLED,
|
|
319
326
|
|
|
320
327
|
LIBFPTR_ERROR_BASE_MARKING = 400,
|
|
321
328
|
LIBFPTR_ERROR_MARKING_CODE_VALIDATION_IN_PROGRESS,
|
|
@@ -720,7 +727,7 @@ enum libfptr_param
|
|
|
720
727
|
LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_RESULT,
|
|
721
728
|
LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_ERROR_DESCRIPTION,
|
|
722
729
|
LIBFPTR_PARAM_FN_CONTAINS_KEYS_UPDATER_SERVER_URI,
|
|
723
|
-
|
|
730
|
+
LIBFPTR_PARAM_CLEAR_MARKING_TABLE,
|
|
724
731
|
LIBFPTR_PARAM_MODULE_ADDRESS,
|
|
725
732
|
LIBFPTR_PARAM_SEGMENT_ADDRESS,
|
|
726
733
|
LIBFPTR_PARAM_LAST_SUCCESSFUL_OKP,
|
|
@@ -745,8 +752,39 @@ enum libfptr_param
|
|
|
745
752
|
LIBFPTR_PARAM_AVAILABLE_PAYMENT,
|
|
746
753
|
LIBFPTR_PARAM_AVAILABLE_TOTAL,
|
|
747
754
|
LIBFPTR_PARAM_AVAILABLE_ATTRIBUTES_ADDING,
|
|
748
|
-
|
|
755
|
+
LIBFPTR_PARAM_OPERATOR_REGISTERED,
|
|
749
756
|
LIBFPTR_PARAM_DEVICE_PLATFORM_VERSION,
|
|
757
|
+
LIBFPTR_PARAM_GUID,
|
|
758
|
+
LIBFPTR_PARAM_PATTERN_REGISTERS,
|
|
759
|
+
LIBFPTR_PARAM_PATTERN_TAGS,
|
|
760
|
+
LIBFPTR_PARAM_PATTERN_SETTINGS,
|
|
761
|
+
LIBFPTR_PARAM_VENDING,
|
|
762
|
+
LIBFPTR_PARAM_CATERING,
|
|
763
|
+
LIBFPTR_PARAM_WHOLESALE,
|
|
764
|
+
LIBFPTR_PARAM_REGISTRATION_POSITION_FORM,
|
|
765
|
+
LIBFPTR_PARAM_MERGE_POSITIONS,
|
|
766
|
+
LIBFPTR_PARAM_DATAFLASH_JEDEC_ID,
|
|
767
|
+
LIBFPTR_PARAM_DATAFLASH_NAME,
|
|
768
|
+
LIBFPTR_PARAM_DATAFLASH_SIZE,
|
|
769
|
+
LIBFPTR_PARAM_FRAM_EEPROM_NAME,
|
|
770
|
+
LIBFPTR_PARAM_FRAM_EEPROM_SIZE,
|
|
771
|
+
LIBFPTR_PARAM_MARKING_NOT_FORM_REQUEST,
|
|
772
|
+
LIBFPTR_PARAM_PRINT_ENTITY_TYPE,
|
|
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
|
+
|
|
783
|
+
// certification
|
|
784
|
+
LIBFPTR_PARAM_LAST_SUCCESS_FNM_UPDATE_KEYS_DATE_TIME,
|
|
785
|
+
LIBFPTR_PARAM_LAST_ATTEMPTION_FNM_UPDATE_KEYS_DATE_TIME,
|
|
786
|
+
LIBFPTR_PARAM_COUNT_ATTEMPTION_FNM_UPDATE_KEYS,
|
|
787
|
+
|
|
750
788
|
LIBFPTR_PARAM_LAST
|
|
751
789
|
};
|
|
752
790
|
|
|
@@ -766,6 +804,7 @@ enum libfptr_model
|
|
|
766
804
|
LIBFPTR_MODEL_ATOL_50F = 80,
|
|
767
805
|
LIBFPTR_MODEL_ATOL_52F = 64,
|
|
768
806
|
LIBFPTR_MODEL_ATOL_55F = 62,
|
|
807
|
+
LIBFPTR_MODEL_ATOL_55v2F = 66,
|
|
769
808
|
LIBFPTR_MODEL_ATOL_60F = 75,
|
|
770
809
|
LIBFPTR_MODEL_ATOL_77F = 69,
|
|
771
810
|
LIBFPTR_MODEL_ATOL_90F = 72,
|
|
@@ -777,8 +816,14 @@ enum libfptr_model
|
|
|
777
816
|
LIBFPTR_MODEL_ATOL_PT_5F = 89,
|
|
778
817
|
LIBFPTR_MODEL_KAZNACHEY_FA = 76,
|
|
779
818
|
LIBFPTR_MODEL_ATOL_1F = 93,
|
|
819
|
+
LIBFPTR_MODEL_ATOL_2F = 96,
|
|
780
820
|
LIBFPTR_MODEL_ATOL_22v2F = 95,
|
|
781
821
|
LIBFPTR_MODEL_ATOL_42FA = 70,
|
|
822
|
+
LIBFPTR_MODEL_ALLIANCE_20F = 50,
|
|
823
|
+
LIBFPTR_MODEL_ATOL_STB_6F = 94,
|
|
824
|
+
LIBFPTR_MODEL_ATOL_35F = 97,
|
|
825
|
+
// certification
|
|
826
|
+
LIBFPTR_MODEL_ATOL_27_FP7_F = 99,
|
|
782
827
|
};
|
|
783
828
|
|
|
784
829
|
#define LIBFPTR_SETTING_LIBRARY_PATH L"LibraryPath"
|
|
@@ -837,6 +882,24 @@ enum libfptr_model
|
|
|
837
882
|
|
|
838
883
|
#define LIBFPTR_SETTING_SILENT_REBOOT L"SilentReboot"
|
|
839
884
|
|
|
885
|
+
#define LIBFPTR_SETTING_GUI_PARAMETERS L"GuiParametersMapping"
|
|
886
|
+
|
|
887
|
+
#define LIBFPTR_SETTING_GUI_PATTERN_REG L"PatternParameters"
|
|
888
|
+
|
|
889
|
+
#define LIBFPTR_SETTING_AUTO_TIME_SYNC L"AutoTimeSync"
|
|
890
|
+
|
|
891
|
+
#define LIBFPTR_SETTING_AUTO_TIME_SYNC_TIME L"AutoTimeSyncTime"
|
|
892
|
+
|
|
893
|
+
#define LIBFPTR_SETTING_LOG_PATHS L"LogPaths"
|
|
894
|
+
|
|
895
|
+
#define LIBFPTR_SETTING_MERGE_RECEIPT_ITEMS L"MergeReceiptItems"
|
|
896
|
+
|
|
897
|
+
#define LIBFPTR_SETTING_LICENSE L"Licenses"
|
|
898
|
+
|
|
899
|
+
#define LIBFPTR_SETTING_TIME_ZONE L"TimeZone"
|
|
900
|
+
|
|
901
|
+
#define LIBFPTR_SETTING_REMOTE_TIMEOUT L"RemoteTimeout"
|
|
902
|
+
|
|
840
903
|
enum libfptr_port
|
|
841
904
|
{
|
|
842
905
|
LIBFPTR_PORT_COM = 0,
|
|
@@ -1028,7 +1091,8 @@ enum libfptr_payment_type
|
|
|
1028
1091
|
LIBFPTR_PT_7,
|
|
1029
1092
|
LIBFPTR_PT_8,
|
|
1030
1093
|
LIBFPTR_PT_9,
|
|
1031
|
-
LIBFPTR_PT_10
|
|
1094
|
+
LIBFPTR_PT_10,
|
|
1095
|
+
LIBFPTR_PT_ADD_INFO
|
|
1032
1096
|
};
|
|
1033
1097
|
|
|
1034
1098
|
enum libfptr_tax_type
|
|
@@ -1042,6 +1106,10 @@ enum libfptr_tax_type
|
|
|
1042
1106
|
LIBFPTR_TAX_NO,
|
|
1043
1107
|
LIBFPTR_TAX_VAT20,
|
|
1044
1108
|
LIBFPTR_TAX_VAT120,
|
|
1109
|
+
LIBFPTR_TAX_VAT5,
|
|
1110
|
+
LIBFPTR_TAX_VAT7,
|
|
1111
|
+
LIBFPTR_TAX_VAT105,
|
|
1112
|
+
LIBFPTR_TAX_VAT107,
|
|
1045
1113
|
LIBFPTR_TAX_INVALID,
|
|
1046
1114
|
};
|
|
1047
1115
|
|
|
@@ -1111,6 +1179,9 @@ enum libfptr_kkt_data_type
|
|
|
1111
1179
|
LIBFPTR_DT_DEPARTMENT_SUM,
|
|
1112
1180
|
LIBFPTR_DT_MCU_TEMPERATURE,
|
|
1113
1181
|
LIBFPTR_DT_AVAILABLE_OPERATIONS,
|
|
1182
|
+
LIBFPTR_DT_PATTERN_PARAMETERS,
|
|
1183
|
+
LIBFPTR_DT_RECEIPT_TAPE_PATH_LENGTH,
|
|
1184
|
+
LIBFPTR_DT_LAST_DATA_TYPE
|
|
1114
1185
|
};
|
|
1115
1186
|
|
|
1116
1187
|
enum libfptr_fn_data_type
|
|
@@ -1138,7 +1209,11 @@ enum libfptr_fn_data_type
|
|
|
1138
1209
|
LIBFPTR_FNDT_ISM_EXCHANGE_STATUS,
|
|
1139
1210
|
LIBFPTR_FNDT_MARKING_MODE_STATUS,
|
|
1140
1211
|
LIBFPTR_FNDT_CHECK_MARK_TIME,
|
|
1141
|
-
LIBFPTR_FNDT_RECEIPT_SIZE
|
|
1212
|
+
LIBFPTR_FNDT_RECEIPT_SIZE,
|
|
1213
|
+
LIBFPTR_FNDT_NOTIFICATION_STATUS,
|
|
1214
|
+
|
|
1215
|
+
// certification
|
|
1216
|
+
LIBFPTR_FNDT_FNM_KEYS_UPDATE_DATE_TIME
|
|
1142
1217
|
};
|
|
1143
1218
|
|
|
1144
1219
|
enum libfptr_ffd_version
|
|
@@ -1360,6 +1435,8 @@ enum libfptr_marking_estimated_status
|
|
|
1360
1435
|
LIBFPTR_MES_DRY_FOR_SALE,
|
|
1361
1436
|
LIBFPTR_MES_PIECE_RETURN,
|
|
1362
1437
|
LIBFPTR_MES_DRY_RETURN,
|
|
1438
|
+
LIBFPTR_MES_PIECE_FOR_SALE,
|
|
1439
|
+
LIBFPTR_MES_DRY_SOLD,
|
|
1363
1440
|
LIBFPTR_MES_UNCHANGED = 255
|
|
1364
1441
|
};
|
|
1365
1442
|
|
|
@@ -1481,7 +1558,8 @@ enum libfptr_mark_checking_type_in_cash
|
|
|
1481
1558
|
LIBFPTR_MCT_AUTONOMOUS = 0,
|
|
1482
1559
|
LIBFPTR_MCT_WAIT_FOR_RESULT,
|
|
1483
1560
|
LIBFPTR_MCT_RESULT_NOT_WAIT,
|
|
1484
|
-
LIBFPTR_MCT_QUERY_NOT_SEND
|
|
1561
|
+
LIBFPTR_MCT_QUERY_NOT_SEND,
|
|
1562
|
+
LIBFPTR_MCT_QUERY_NOT_FORM
|
|
1485
1563
|
};
|
|
1486
1564
|
|
|
1487
1565
|
enum libfptr_mark_checking_stage_in_cash
|
|
@@ -1510,6 +1588,67 @@ enum libfptr_platform_version
|
|
|
1510
1588
|
LIBFPTR_PLATFORM_50 = 50,
|
|
1511
1589
|
};
|
|
1512
1590
|
|
|
1591
|
+
enum libfptr_registration_position_form
|
|
1592
|
+
{
|
|
1593
|
+
LIBFPTR_RPF_ELECTRONIC_AND_PRINT = 0,
|
|
1594
|
+
LIBFPTR_RPF_ONLY_ELECTRONIC,
|
|
1595
|
+
LIBFPTR_RPF_ONLY_PRINT,
|
|
1596
|
+
};
|
|
1597
|
+
|
|
1598
|
+
enum libfptr_merge_receipt_items
|
|
1599
|
+
{
|
|
1600
|
+
LIBFPTR_MERGE_RECEIPT_NO = 0,
|
|
1601
|
+
LIBFPTR_MERGE_RECEIPT_ALL,
|
|
1602
|
+
LIBFPTR_MERGE_RECEIPT_MARK_ONLY,
|
|
1603
|
+
};
|
|
1604
|
+
|
|
1605
|
+
enum libfptr_license
|
|
1606
|
+
{
|
|
1607
|
+
LIBFPTR_LIC_BASE_FISCAL = 1,
|
|
1608
|
+
LIBFPTR_LIC_WRITE_FW,
|
|
1609
|
+
LIBFPTR_LIC_TAX_20,
|
|
1610
|
+
LIBFPTR_LIC_FFD_1_1,
|
|
1611
|
+
LIBFPTR_LIC_MARK_CODE,
|
|
1612
|
+
LIBFPTR_LIC_EXT_FUNC,
|
|
1613
|
+
LIBFPTR_LIC_TEMPLATE,
|
|
1614
|
+
LIBFPTR_LIC_PRINT_BMP,
|
|
1615
|
+
LIBFPTR_LIC_DISABLE_PF,
|
|
1616
|
+
LIBFPTR_LIC_FFD_1_2,
|
|
1617
|
+
LIBFPTR_LIC_FR_WORK,
|
|
1618
|
+
LIBFPTR_LIC_WEB,
|
|
1619
|
+
LIBFPTR_LIC_FFD_1_1_2,
|
|
1620
|
+
LIBFPTR_LIC_TEST_LAB,
|
|
1621
|
+
LIBFPTR_LIC_WEB_REQ,
|
|
1622
|
+
LIBFPTR_LIC_RELESE,
|
|
1623
|
+
LIBFPTR_LIC_EXT_PRINT,
|
|
1624
|
+
LIBFPTR_LIC_OSU,
|
|
1625
|
+
LIBFPTR_LIC_EXT_FISCAL,
|
|
1626
|
+
};
|
|
1627
|
+
|
|
1628
|
+
enum libfptr_print_entity_type
|
|
1629
|
+
{
|
|
1630
|
+
LIBFPTR_PET_STRINGS = 0,
|
|
1631
|
+
LIBFPTR_PET_PICTURES,
|
|
1632
|
+
LIBFPTR_PET_FISCAL_DOCUMENT,
|
|
1633
|
+
};
|
|
1634
|
+
|
|
1635
|
+
enum libfptr_time_zone
|
|
1636
|
+
{
|
|
1637
|
+
LIBFPTR_TIME_ZONE_NO = -1,
|
|
1638
|
+
LIBFPTR_TIME_ZONE_DEVICE = 0,
|
|
1639
|
+
LIBFPTR_TIME_ZONE_1 = 1,
|
|
1640
|
+
LIBFPTR_TIME_ZONE_2,
|
|
1641
|
+
LIBFPTR_TIME_ZONE_3,
|
|
1642
|
+
LIBFPTR_TIME_ZONE_4,
|
|
1643
|
+
LIBFPTR_TIME_ZONE_5,
|
|
1644
|
+
LIBFPTR_TIME_ZONE_6,
|
|
1645
|
+
LIBFPTR_TIME_ZONE_7,
|
|
1646
|
+
LIBFPTR_TIME_ZONE_8,
|
|
1647
|
+
LIBFPTR_TIME_ZONE_9,
|
|
1648
|
+
LIBFPTR_TIME_ZONE_10,
|
|
1649
|
+
LIBFPTR_TIME_ZONE_11,
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1513
1652
|
#define LIBFPTR_UC_OTHERS 4294967295
|
|
1514
1653
|
|
|
1515
1654
|
|
|
@@ -1524,6 +1663,9 @@ DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_create_with_id(libfptr_handle *ha
|
|
|
1524
1663
|
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_set_settings(libfptr_handle handle,
|
|
1525
1664
|
const wchar_t *settings);
|
|
1526
1665
|
|
|
1666
|
+
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_validate_merge_position_support(libfptr_handle handle,
|
|
1667
|
+
wchar_t *value, int size);
|
|
1668
|
+
|
|
1527
1669
|
DTOX_SHARED_EXPORT void DTOX_SHARED_CCA libfptr_destroy(libfptr_handle *handle);
|
|
1528
1670
|
|
|
1529
1671
|
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_get_settings(libfptr_handle handle, wchar_t *value,
|
|
@@ -1675,7 +1817,6 @@ DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_cash_income(libfptr_handle handle
|
|
|
1675
1817
|
|
|
1676
1818
|
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_cash_outcome(libfptr_handle handle);
|
|
1677
1819
|
|
|
1678
|
-
|
|
1679
1820
|
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_open_receipt(libfptr_handle handle);
|
|
1680
1821
|
|
|
1681
1822
|
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_cancel_receipt(libfptr_handle handle);
|
|
@@ -1895,6 +2036,16 @@ DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_get_last_document_journal(libfptr
|
|
|
1895
2036
|
|
|
1896
2037
|
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_change_label(libfptr_handle handle, const wchar_t *label);
|
|
1897
2038
|
|
|
2039
|
+
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_is_param_available(libfptr_handle handle, int param_id);
|
|
2040
|
+
|
|
2041
|
+
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_error_recommendation(libfptr_handle handle, wchar_t *value, int size);
|
|
2042
|
+
|
|
2043
|
+
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_find_document_in_journal(libfptr_handle handle);
|
|
2044
|
+
|
|
2045
|
+
// certification
|
|
2046
|
+
|
|
2047
|
+
DTOX_SHARED_EXPORT int DTOX_SHARED_CCA libfptr_run_fn_command(libfptr_handle handle);
|
|
2048
|
+
|
|
1898
2049
|
#ifdef __cplusplus
|
|
1899
2050
|
}
|
|
1900
2051
|
#endif
|
|
@@ -31,6 +31,12 @@
|
|
|
31
31
|
#define LIBFPTR_SETTING_VALIDATE_MARK_WITH_FNM_ONLY @"ValidateMarksWithFnmOnly"
|
|
32
32
|
#define LIBFPTR_SETTING_AUTO_MEASUREMENT_UNIT @"AutoMeasurementUnit"
|
|
33
33
|
#define LIBFPTR_SETTING_SILENT_REBOOT @"SilentReboot"
|
|
34
|
+
#define LIBFPTR_SETTING_LOG_PATHS @"LogPaths"
|
|
35
|
+
#define LIBFPTR_SETTING_AUTO_TIME_SYNC @"AutoTimeSync"
|
|
36
|
+
#define LIBFPTR_SETTING_AUTO_TIME_SYNC_TIME @"AutoTimeSyncTime"
|
|
37
|
+
#define LIBFPTR_SETTING_MERGE_RECEIPT_ITEMS @"MergeReceiptItems"
|
|
38
|
+
#define LIBFPTR_SETTING_TIME_ZONE @"TimeZone"
|
|
39
|
+
#define LIBFPTR_SETTING_REMOTE_TIMEOUT @"RemoteTimeout"
|
|
34
40
|
#define LIBFPTR_MODEL_UNKNOWN 0
|
|
35
41
|
#define LIBFPTR_MODEL_ATOL_25F 57
|
|
36
42
|
#define LIBFPTR_MODEL_ATOL_30F 61
|
|
@@ -57,7 +63,13 @@
|
|
|
57
63
|
#define LIBFPTR_MODEL_ATOL_AUTO 500
|
|
58
64
|
#define LIBFPTR_MODEL_ATOL_47FA 48
|
|
59
65
|
#define LIBFPTR_MODEL_ATOL_PT_5F 89
|
|
66
|
+
#define LIBFPTR_MODEL_ATOL_27_FP7_F 99
|
|
60
67
|
#define LIBFPTR_MODEL_ATOL_42FA 70
|
|
68
|
+
#define LIBFPTR_MODEL_ALLIANCE_20F 50
|
|
69
|
+
#define LIBFPTR_MODEL_ATOL_55V2F 66
|
|
70
|
+
#define LIBFPTR_MODEL_ATOL_STB_6F 92
|
|
71
|
+
#define LIBFPTR_MODEL_ATOL_35F 97
|
|
72
|
+
#define LIBFPTR_MODEL_ATOL_2F 96
|
|
61
73
|
#define LIBFPTR_PORT_BR_1200 1200
|
|
62
74
|
#define LIBFPTR_PORT_BR_2400 2400
|
|
63
75
|
#define LIBFPTR_PORT_BR_4800 4800
|
|
@@ -525,7 +537,7 @@ enum libfptr_param
|
|
|
525
537
|
LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_RESULT = 65886,
|
|
526
538
|
LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_ERROR_DESCRIPTION = 65887,
|
|
527
539
|
LIBFPTR_PARAM_FN_CONTAINS_KEYS_UPDATER_SERVER_URI = 65888,
|
|
528
|
-
|
|
540
|
+
LIBFPTR_PARAM_CLEAR_MARKING_TABLE = 65889,
|
|
529
541
|
LIBFPTR_PARAM_MODULE_ADDRESS = 65890,
|
|
530
542
|
LIBFPTR_PARAM_SEGMENT_ADDRESS = 65891,
|
|
531
543
|
LIBFPTR_PARAM_LAST_SUCCESSFUL_OKP = 65892,
|
|
@@ -552,6 +564,34 @@ enum libfptr_param
|
|
|
552
564
|
LIBFPTR_PARAM_AVAILABLE_ATTRIBUTES_ADDING = 65913,
|
|
553
565
|
LIBFPTR_PARAM_OPERATOR_REGISTERED = 65914,
|
|
554
566
|
LIBFPTR_PARAM_DEVICE_PLATFORM_VERSION = 65915,
|
|
567
|
+
LIBFPTR_PARAM_GUID = 65916,
|
|
568
|
+
LIBFPTR_PARAM_PATTERN_REGISTERS = 65917,
|
|
569
|
+
LIBFPTR_PARAM_PATTERN_TAGS = 65918,
|
|
570
|
+
LIBFPTR_PARAM_PATTERN_SETTINGS = 65919,
|
|
571
|
+
LIBFPTR_PARAM_VENDING = 65920,
|
|
572
|
+
LIBFPTR_PARAM_CATERING = 65921,
|
|
573
|
+
LIBFPTR_PARAM_WHOLESALE = 65922,
|
|
574
|
+
LIBFPTR_PARAM_REGISTRATION_POSITION_FORM = 65923,
|
|
575
|
+
LIBFPTR_PARAM_MERGE_POSITIONS = 65924,
|
|
576
|
+
LIBFPTR_PARAM_DATAFLASH_JEDEC_ID = 65925,
|
|
577
|
+
LIBFPTR_PARAM_DATAFLASH_NAME = 65926,
|
|
578
|
+
LIBFPTR_PARAM_DATAFLASH_SIZE = 65927,
|
|
579
|
+
LIBFPTR_PARAM_FRAM_EEPROM_NAME = 65928,
|
|
580
|
+
LIBFPTR_PARAM_FRAM_EEPROM_SIZE = 65929,
|
|
581
|
+
LIBFPTR_PARAM_MARKING_NOT_FORM_REQUEST = 65930,
|
|
582
|
+
LIBFPTR_PARAM_PRINT_ENTITY_TYPE = 65931,
|
|
583
|
+
LIBFPTR_PARAM_RECEIPT_TAPE_PATH_LENGTH = 65932,
|
|
584
|
+
LIBFPTR_PARAM_LICENSE_INDEX = 65933,
|
|
585
|
+
LIBFPTR_PARAM_IS_LICENSE_VALID = 65934,
|
|
586
|
+
LIBFPTR_PARAM_RECEIPT_PERCENTAGE_SIZE = 65935,
|
|
587
|
+
LIBFPTR_PARAM_ADDITIONAL_ATTRIBUTE = 65936,
|
|
588
|
+
LIBFPTR_PARAM_ADDITIONAL_DATA = 65937,
|
|
589
|
+
LIBFPTR_PARAM_ELECTRONICALLY_PAYMENT_METHOD = 65938,
|
|
590
|
+
LIBFPTR_PARAM_ELECTRONICALLY_ID = 65939,
|
|
591
|
+
LIBFPTR_PARAM_ELECTRONICALLY_ADD_INFO = 65940,
|
|
592
|
+
LIBFPTR_PARAM_LAST_SUCCESS_FNM_UPDATE_KEYS_DATE_TIME = 65941,
|
|
593
|
+
LIBFPTR_PARAM_LAST_ATTEMPTION_FNM_UPDATE_KEYS_DATE_TIME = 65942,
|
|
594
|
+
LIBFPTR_PARAM_COUNT_ATTEMPTION_FNM_UPDATE_KEYS = 65943,
|
|
555
595
|
};
|
|
556
596
|
|
|
557
597
|
enum libfptr_error
|
|
@@ -828,6 +868,13 @@ enum libfptr_error
|
|
|
828
868
|
LIBFPTR_ERROR_ECR_MODEL_NOT_SUPPORTED = 269,
|
|
829
869
|
LIBFPTR_ERROR_PAID_NOT_REQUIRED = 270,
|
|
830
870
|
LIBFPTR_ERROR_NON_PRINTABLE_CHAR = 271,
|
|
871
|
+
LIBFPTR_ERROR_INVALID_USER_TAG = 272,
|
|
872
|
+
LIBFPTR_ERROR_COMMODITIES_TABLE_ITERATION_STOPPED = 273,
|
|
873
|
+
LIBFPTR_ERROR_COMMODITIES_TABLE_INVALID_CSV_FORMAT = 274,
|
|
874
|
+
LIBFPTR_ERROR_MINIPOS_NO_FILE_ON_USB_STORE = 275,
|
|
875
|
+
LIBFPTR_ERROR_MINIPOS_NO_AGENT_FISCAL_PROPERTY = 276,
|
|
876
|
+
LIBFPTR_ERROR_NO_CONNECTION_WITH_PRINT_SERVICE = 277,
|
|
877
|
+
LIBFPTR_ERROR_UNIVERSAL_COUNTERS_ARE_DISABLED = 278,
|
|
831
878
|
};
|
|
832
879
|
|
|
833
880
|
enum libfptr_marking_error
|
|
@@ -1026,6 +1073,7 @@ enum libfptr_payment_type
|
|
|
1026
1073
|
LIBFPTR_PT_8 = 7,
|
|
1027
1074
|
LIBFPTR_PT_9 = 8,
|
|
1028
1075
|
LIBFPTR_PT_10 = 9,
|
|
1076
|
+
LIBFPTR_PT_ADD_INFO = 10,
|
|
1029
1077
|
};
|
|
1030
1078
|
|
|
1031
1079
|
enum libfptr_tax_type
|
|
@@ -1039,7 +1087,11 @@ enum libfptr_tax_type
|
|
|
1039
1087
|
LIBFPTR_TAX_NO = 6,
|
|
1040
1088
|
LIBFPTR_TAX_VAT20 = 7,
|
|
1041
1089
|
LIBFPTR_TAX_VAT120 = 8,
|
|
1042
|
-
|
|
1090
|
+
LIBFPTR_TAX_VAT5 = 9,
|
|
1091
|
+
LIBFPTR_TAX_VAT7 = 10,
|
|
1092
|
+
LIBFPTR_TAX_VAT105 = 11,
|
|
1093
|
+
LIBFPTR_TAX_VAT107 = 12,
|
|
1094
|
+
LIBFPTR_TAX_INVALID = 13,
|
|
1043
1095
|
};
|
|
1044
1096
|
|
|
1045
1097
|
enum libfptr_external_device_type
|
|
@@ -1108,6 +1160,8 @@ enum libfptr_kkt_data_type
|
|
|
1108
1160
|
LIBFPTR_DT_DEPARTMENT_SUM = 53,
|
|
1109
1161
|
LIBFPTR_DT_MCU_TEMPERATURE = 54,
|
|
1110
1162
|
LIBFPTR_DT_AVAILABLE_OPERATIONS = 55,
|
|
1163
|
+
LIBFPTR_DT_PATTERN_PARAMETERS = 56,
|
|
1164
|
+
LIBFPTR_DT_RECEIPT_TAPE_PATH_LENGTH = 57,
|
|
1111
1165
|
};
|
|
1112
1166
|
|
|
1113
1167
|
enum libfptr_fn_data_type
|
|
@@ -1136,6 +1190,8 @@ enum libfptr_fn_data_type
|
|
|
1136
1190
|
LIBFPTR_FNDT_MARKING_MODE_STATUS = 21,
|
|
1137
1191
|
LIBFPTR_FNDT_CHECK_MARK_TIME = 22,
|
|
1138
1192
|
LIBFPTR_FNDT_RECEIPT_SIZE = 23,
|
|
1193
|
+
LIBFPTR_FNDT_NOTIFICATION_STATUS = 24,
|
|
1194
|
+
LIBFPTR_FNDT_FNM_KEYS_UPDATE_DATE_TIME = 25,
|
|
1139
1195
|
};
|
|
1140
1196
|
|
|
1141
1197
|
enum libfptr_unit_type
|
|
@@ -1307,6 +1363,8 @@ enum libfptr_marking_estimated_status
|
|
|
1307
1363
|
LIBFPTR_MES_DRY_FOR_SALE = 2,
|
|
1308
1364
|
LIBFPTR_MES_PIECE_RETURN = 3,
|
|
1309
1365
|
LIBFPTR_MES_DRY_RETURN = 4,
|
|
1366
|
+
LIBFPTR_MES_PIECE_FOR_SALE = 5,
|
|
1367
|
+
LIBFPTR_MES_DRY_SOLD = 6,
|
|
1310
1368
|
};
|
|
1311
1369
|
|
|
1312
1370
|
enum libfptr_marking_mode_checking_status
|
|
@@ -1364,6 +1422,7 @@ enum libfptr_mark_checking_type_in_cash
|
|
|
1364
1422
|
LIBFPTR_MCT_WAIT_FOR_RESULT = 1,
|
|
1365
1423
|
LIBFPTR_MCT_RESULT_NOT_WAIT = 2,
|
|
1366
1424
|
LIBFPTR_MCT_QUERY_NOT_SEND = 3,
|
|
1425
|
+
LIBFPTR_MCT_QUERY_NOT_FORM = 4,
|
|
1367
1426
|
};
|
|
1368
1427
|
|
|
1369
1428
|
enum libfptr_mark_checking_stage_in_cash
|
|
@@ -1385,6 +1444,66 @@ enum libfptr_silent_reboot
|
|
|
1385
1444
|
LIBFPTR_SILENT_REBOOT_BEFORE_SESSION_OPEN = 2,
|
|
1386
1445
|
};
|
|
1387
1446
|
|
|
1447
|
+
enum libfptr_merge_receipt_items
|
|
1448
|
+
{
|
|
1449
|
+
LIBFPTR_MERGE_RECEIPT_NO = 0,
|
|
1450
|
+
LIBFPTR_MERGE_RECEIPT_ALL = 1,
|
|
1451
|
+
LIBFPTR_MERGE_RECEIPT_MARK_ONLY = 2,
|
|
1452
|
+
};
|
|
1453
|
+
|
|
1454
|
+
enum libfptr_registration_position_form
|
|
1455
|
+
{
|
|
1456
|
+
LIBFPTR_RPF_ELECTRONIC_AND_PRINT = 0,
|
|
1457
|
+
LIBFPTR_RPF_ONLY_ELECTRONIC = 1,
|
|
1458
|
+
LIBFPTR_RPF_ONLY_PRINT = 2,
|
|
1459
|
+
};
|
|
1460
|
+
|
|
1461
|
+
enum libfptr_print_entity_type
|
|
1462
|
+
{
|
|
1463
|
+
LIBFPTR_PET_STRINGS = 0,
|
|
1464
|
+
LIBFPTR_PET_PICTURES = 1,
|
|
1465
|
+
LIBFPTR_PET_FISCAL_DOCUMENT = 2,
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
enum libfptr_license
|
|
1469
|
+
{
|
|
1470
|
+
LIBFPTR_LIC_BASE_FISCAL = 0,
|
|
1471
|
+
LIBFPTR_LIC_WRITE_FW = 1,
|
|
1472
|
+
LIBFPTR_LIC_TAX_20 = 2,
|
|
1473
|
+
LIBFPTR_LIC_FFD_1_1 = 3,
|
|
1474
|
+
LIBFPTR_LIC_MARK_CODE = 4,
|
|
1475
|
+
LIBFPTR_LIC_EXT_FUNC = 5,
|
|
1476
|
+
LIBFPTR_LIC_TEMPLATE = 6,
|
|
1477
|
+
LIBFPTR_LIC_PRINT_BMP = 7,
|
|
1478
|
+
LIBFPTR_LIC_DISABLE_PF = 8,
|
|
1479
|
+
LIBFPTR_LIC_FFD_1_2 = 9,
|
|
1480
|
+
LIBFPTR_LIC_FR_WORK = 10,
|
|
1481
|
+
LIBFPTR_LIC_WEB = 11,
|
|
1482
|
+
LIBFPTR_LIC_FFD_1_1_2 = 12,
|
|
1483
|
+
LIBFPTR_LIC_TEST_LAB = 13,
|
|
1484
|
+
LIBFPTR_LIC_WEB_REQ = 14,
|
|
1485
|
+
LIBFPTR_LIC_RELESE = 15,
|
|
1486
|
+
LIBFPTR_LIC_EXT_PRINT = 16,
|
|
1487
|
+
LIBFPTR_LIC_OSU = 17,
|
|
1488
|
+
LIBFPTR_LIC_EXT_FISCAL = 18,
|
|
1489
|
+
};
|
|
1490
|
+
|
|
1491
|
+
enum libfptr_time_zone
|
|
1492
|
+
{
|
|
1493
|
+
LIBFPTR_TIME_ZONE_DEVICE = 0,
|
|
1494
|
+
LIBFPTR_TIME_ZONE_1 = 1,
|
|
1495
|
+
LIBFPTR_TIME_ZONE_2 = 2,
|
|
1496
|
+
LIBFPTR_TIME_ZONE_3 = 3,
|
|
1497
|
+
LIBFPTR_TIME_ZONE_4 = 4,
|
|
1498
|
+
LIBFPTR_TIME_ZONE_5 = 5,
|
|
1499
|
+
LIBFPTR_TIME_ZONE_6 = 6,
|
|
1500
|
+
LIBFPTR_TIME_ZONE_7 = 7,
|
|
1501
|
+
LIBFPTR_TIME_ZONE_8 = 8,
|
|
1502
|
+
LIBFPTR_TIME_ZONE_9 = 9,
|
|
1503
|
+
LIBFPTR_TIME_ZONE_10 = 10,
|
|
1504
|
+
LIBFPTR_TIME_ZONE_11 = 11,
|
|
1505
|
+
};
|
|
1506
|
+
|
|
1388
1507
|
enum libfptr_rpc_server_error
|
|
1389
1508
|
{
|
|
1390
1509
|
LIBFPTR_ERROR_BASE_RPC = 600,
|
|
@@ -1403,11 +1522,13 @@ __attribute__((visibility("default")))
|
|
|
1403
1522
|
- (id) initWithID: (NSString *) id;
|
|
1404
1523
|
- (void) dealloc;
|
|
1405
1524
|
- (NSString *) version;
|
|
1525
|
+
- (NSString *) wrapperVersion;
|
|
1406
1526
|
- (int) logWrite: (NSString *)tag level: (int)level message: (NSString *)message;
|
|
1407
1527
|
- (int) changeLabel: (NSString *)label;
|
|
1408
1528
|
- (bool) isOpened;
|
|
1409
1529
|
- (int) errorCode;
|
|
1410
1530
|
- (NSString *) errorDescription;
|
|
1531
|
+
- (NSString *) errorRecommendation;
|
|
1411
1532
|
- (void) resetError;
|
|
1412
1533
|
- (int) setSettings: (NSString *)settings;
|
|
1413
1534
|
- (NSString *) getSettings;
|
|
@@ -1437,6 +1558,7 @@ __attribute__((visibility("default")))
|
|
|
1437
1558
|
- (NSData *) getParamByteArray: (int)param;
|
|
1438
1559
|
- (NSDate *) getParamDateTime: (int)param;
|
|
1439
1560
|
- (NSString *) getParamString: (int)param;
|
|
1561
|
+
- (bool) isParamAvailable: (int)param;
|
|
1440
1562
|
- (int) applySingleSettings;
|
|
1441
1563
|
- (int) open;
|
|
1442
1564
|
- (int) close;
|
|
@@ -1556,5 +1678,7 @@ __attribute__((visibility("default")))
|
|
|
1556
1678
|
- (int) getMarkingServerStatus;
|
|
1557
1679
|
- (int) isDriverLocked;
|
|
1558
1680
|
- (int) getLastDocumentJournal;
|
|
1681
|
+
- (int) findDocumentInJournal;
|
|
1682
|
+
- (int) runFnCommand;
|
|
1559
1683
|
|
|
1560
1684
|
@end
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
<string>FMWK</string>
|
|
25
25
|
|
|
26
26
|
<key>CFBundleVersion</key>
|
|
27
|
-
<string>10.
|
|
27
|
+
<string>10.10.7.0</string>
|
|
28
28
|
|
|
29
29
|
<key>CFBundleShortVersionString</key>
|
|
30
|
-
<string>10.
|
|
30
|
+
<string>10.10.7</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
|