{"_id":"@digigov-oss/validate-vatid-vies","name":"@digigov-oss/validate-vatid-vies","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.2":{"name":"@digigov-oss/validate-vatid-vies","version":"1.0.2","type":"module","description":"Client for validate VAT ID using VIES","engines":{"node":">=16.13.1"},"author":{"name":"Panagiotis Skarvelis","email":"pskarvelis@admin.grnet.gr"},"dependencies":{"soap":"^0.43.0"},"repository":{"type":"git","url":"git+https://gitlab.grnet.gr/digigov-oss/validatevatidclient.git"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"test":"node --experimental-specifier-resolution=node --experimental-modules --no-warnings --loader ts-node/esm ./test/test.ts","testesm":"node --experimental-json-modules --no-warnings ./test/test.mjs","testcjs":"node ./test/test.cjs","build":"rm -fr dist/* && tsc -p tsconfig.json && tsc -p tsconfig.commonjs.json && ./setType.sh"},"eslintConfig":{"parser":"@typescript-eslint/parser","plugins":["@typescript-eslint"],"extends":["eslint:recommended","plugin:@typescript-eslint/recommended","plugin:@typescript-eslint/recommended-requiring-type-checking"],"parserOptions":{"project":"./tsconfig.json"},"rules":{"max-len":["error",{"code":100}],"no-console":1,"no-extra-boolean-cast":0,"@typescript-eslint/restrict-plus-operands":0,"@typescript-eslint/explicit-module-boundary-types":0,"@typescript-eslint/no-explicit-any":0,"@typescript-eslint/no-floating-promises":0,"@typescript-eslint/no-unsafe-member-access":0,"@typescript-eslint/no-unsafe-assignment":0}},"eslintIgnore":[],"keywords":["vies","vatid"],"licenses":[{"type":"MIT","url":"http://en.wikipedia.org/wiki/MIT_License"}],"devDependencies":{"@types/node":"^16.9.0","ts-node":"^10.4.0","tsconfig-paths":"^3.12.0","typescript":"^4.5.4"},"bugs":{"url":"https://gitlab.grnet.gr/digigov-oss/validatevatidclient/-/issues"},"homepage":"https://gitlab.grnet.gr/digigov-oss/validatevatidclient/-/blob/main/README.md","license":"MIT","_id":"@digigov-oss/validate-vatid-vies@1.0.2","dist":{"shasum":"d9cb167556c8552378971a6e048f1e500ba033f8","integrity":"sha512-ceD+oOdeG0TLo1UmPm9k331ocaliOGeIvq7pXbCTHglWrOycwwO+LAwx6SZ9eQ6GTIENQYe8dW9wM0kPZzmddA==","tarball":"https://registry.npmjs.org/@digigov-oss/validate-vatid-vies/-/validate-vatid-vies-1.0.2.tgz","fileCount":31,"unpackedSize":24974,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFVp2POeP71qnlp74HyW37mz3YU003LwJWfuefge1ZR5AiBkwZITH9VbSORA+3VTmJiOnXv8giYaXNbV15/nATMYxQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfLQVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSEA//aY1nF3sm0Mv2+nM/2jfKCajgJTgsAbERLcWCeRQu9aU+qW3Y\r\n6mcebUbCrwO/Jmcsn3L25BpcxQ39EgnEz5p91t6R4bgL3fF37U8CGrVJDtoN\r\nf8BHIauXc9rwAa0b8Y2dL/GjMGIyucq7+ywvhWJyL5XyxT8RqwTXaq9iQzph\r\n4riKBr/8F8SPn86S5+CGkI+K7gchyr4g/hkzOezL25I9IiLkuShANIwrdkZs\r\nKiXhP+PzA8wx34E1EPrHkeHf7UwIiCOkaUoX1+msxLvf+3XW6owhXsCejM1v\r\nmCkVs7pE+6pwhwYNhV2m0FXr/ceFfvNDu9gIoloBTs+Sx1C7m2/qHy8VpuJN\r\nT/LBvIInNyWlIwfOp7tpeRrDAj3HguuCv7Z+Fcke4V/2sl6TF5zTLP1jW0cp\r\nSCGKVFhX0dQTrAFIEc565843CHVA3TW7NRek6+xZHKydFJL0Yh7Ir/YF7HyA\r\nxvolWZewX0dVkF+tLYvuYqpLkxjC8FvNjhljgMdp0E46+GhBZKmAVM4Z7ZHa\r\nx9zh1ZCoVJtIP9hgyisizkvAABLjoUSbcbpb/Rg1KJiy0BTypzTyTkWsHTgj\r\nRZbf+tu7aqwPhx19TUXAHjvShbGJKFeyh1/NQ+2Lb3yxWzWsGSDbtwQ1dLHa\r\nEVhYi/5RdBmlOGVwUMVqGI3RJqWe34gfiVY=\r\n=9jlH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"pskarvelis","email":"pskarvelis@admin.grnet.gr"},"directories":{},"maintainers":[{"name":"dmassaad-grnet","email":"dmassaad@admin.grnet.gr"},{"name":"dmichail","email":"dimitrios.michail@gmail.com"},{"name":"pskarvelis","email":"pskarvelis@admin.grnet.gr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/validate-vatid-vies_1.0.2_1669116949388_0.8815850825357925"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-22T11:35:49.299Z","1.0.2":"2022-11-22T11:35:49.531Z","modified":"2022-11-22T11:35:49.701Z"},"maintainers":[{"name":"dmassaad-grnet","email":"dmassaad@admin.grnet.gr"},{"name":"dmichail","email":"dimitrios.michail@gmail.com"},{"name":"pskarvelis","email":"pskarvelis@admin.grnet.gr"}],"description":"Client for validate VAT ID using VIES","homepage":"https://gitlab.grnet.gr/digigov-oss/validatevatidclient/-/blob/main/README.md","keywords":["vies","vatid"],"repository":{"type":"git","url":"git+https://gitlab.grnet.gr/digigov-oss/validatevatidclient.git"},"author":{"name":"Panagiotis Skarvelis","email":"pskarvelis@admin.grnet.gr"},"bugs":{"url":"https://gitlab.grnet.gr/digigov-oss/validatevatidclient/-/issues"},"license":"MIT","readme":"# validateVatID \n\nValidate VAT ID's from different countries via VIES (VAT Information Exchange System).\n\n#### * known issues\nVIES advertises wrong endpoints(!) for the `checkVat` service on test and on production WSDL, it uses `http` while the server redirects always at `https` protocol. So, you have to use (override) the endpoints.\nYou can do that by setting the `endpoint` property on the `overrides` object.\n\ni.e. for test use:\n```\nconst overrides = {\n    endpoint: 'https://ec.europa.eu/taxation_customs/vies/test-services/checkVatTestService',\n}\n```\nand for production use:\n```\n    const overrides = {\n        prod: true,\n        endpoint: 'https://ec.europa.eu/taxation_customs/vies/services/checkVatService'\n    }\n```","readmeFilename":"README.md"}