Skip to content

Commit

Permalink
Merge pull request #26
Browse files Browse the repository at this point in the history
fix: add missing ffd12 values in paymentSubjectType
  • Loading branch information
mashkovtsev committed Jan 17, 2024
2 parents 0b7e486 + 55ba75a commit c19bbfd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion lib/validation/schemes.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ const position = createValidator({
text: [required, maxLength(128)],
paymentMethodType: [oneOf([1, 2, 3, 4, 5, 6, 7])],
paymentSubjectType: [oneOf(
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26],
[
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
27, 30, 31, 32, 33,
],
)],
supplierINN: [inn],
supplierInfo: createValidator({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-orangedata",
"version": "1.2.7",
"version": "1.2.8",
"description": "Node.js integration for OrangeData service",
"license": "MIT",
"main": "lib",
Expand Down

0 comments on commit c19bbfd

Please sign in to comment.