{"_id":"@bugslifesolutions/opencommerce-api-plugin-nodemailer","_rev":"2-abbfcabeb82c02978de122c0d5f739b2","name":"@bugslifesolutions/opencommerce-api-plugin-nodemailer","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@bugslifesolutions/opencommerce-api-plugin-nodemailer","description":"Nodemailer plugin for Open Commerce API","version":"1.0.0","main":"index.js","type":"module","engines":{"node":">=18"},"homepage":"https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer","url":"https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer","email":"engineering@bugslifesolutions.com","repository":{"type":"git","url":"git+https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer.git"},"author":{"name":"BugsLife Solutions","email":"engineering@bugslifesolutions.com","url":"http://bugslifesolutions.com"},"license":"GPL-3","bugs":{"url":"https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer/issues"},"sideEffects":false,"dependencies":{"@azure/msal-node":"~2.2.0","@reactioncommerce/api-utils":"~1.17.1","nodemailer":"~6.9.6"},"devDependencies":{"@babel/eslint-parser":"^7.22.15","@babel/plugin-syntax-import-assertions":"^7.22.5","@babel/preset-env":"^7.23.2","@commitlint/cli":"^18.0.0","@commitlint/config-conventional":"^18.0.0","@reactioncommerce/babel-remove-es-create-require":"~1.0.0","@reactioncommerce/data-factory":"^1.0.0","babel-jest":"^29.7.0","babel-plugin-rewire-exports":"^2.3.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-plugin-transform-import-meta":"^2.2.1","dotenv":"^16.3.1","eslint":"^8.52.0","husky":"^8.0.3","jest":"^29.7.0","semantic-release":"^22.0.5"},"scripts":{"prepare":"husky install","lint":"npm run lint:eslint","lint:eslint":"eslint .","lint:fix":"eslint . --fix","test":"jest --passWithNoTests --setupFiles=dotenv/config","test:ci":"jest --testNamePattern=/^skipci:/ --passWithNoTests --setupFiles=dotenv/config --ci","test:watch":"jest --watch","test:file":"jest --no-cache --watch --coverage=false"},"commitlint":{"extends":["@commitlint/config-conventional"]},"prettier":{"arrowParens":"always"},"release":{"branches":["main","alpha","beta"]},"publishConfig":{"access":"public"},"_id":"@bugslifesolutions/opencommerce-api-plugin-nodemailer@1.0.0","gitHead":"669d314247b613ae4c5615f2740da0cf53562998","_nodeVersion":"18.18.2","_npmVersion":"10.2.1","dist":{"integrity":"sha512-Jx11JCh/zRPbGLQE56cuXu92G3iwtatXI1U9lGF7ghe7hEdVgwP7E84jCb+eglr8BtLB33Quw1rFZriOJ2pGxg==","shasum":"4db52bdc8be5da2d58b3c44d4bf4e927815f089f","tarball":"https://registry.npmjs.org/@bugslifesolutions/opencommerce-api-plugin-nodemailer/-/opencommerce-api-plugin-nodemailer-1.0.0.tgz","fileCount":30,"unpackedSize":63808,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNyrn8nRYaYF2DoJMvs3rSbor0/9HW8DR3U/Ff+yJg1AIhAN58VS5fR+rZE2xpwRYqGeOXMHpxGbZPRjhueaSXKcy+"}]},"_npmUser":{"name":"development_at_bugslifesolutions","email":"todd@bugslifesolutions.com"},"directories":{},"maintainers":[{"name":"development_at_bugslifesolutions","email":"todd@bugslifesolutions.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencommerce-api-plugin-nodemailer_1.0.0_1698524678402_0.16525295998611123"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bugslifesolutions/opencommerce-api-plugin-nodemailer","description":"Nodemailer plugin for Open Commerce API","version":"1.0.1","main":"index.js","type":"module","engines":{"node":">=18"},"homepage":"https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer","url":"https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer","email":"engineering@bugslifesolutions.com","repository":{"type":"git","url":"git+https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer.git"},"author":{"name":"BugsLife Solutions","email":"engineering@bugslifesolutions.com","url":"http://bugslifesolutions.com"},"license":"GPL-3","bugs":{"url":"https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer/issues"},"sideEffects":false,"dependencies":{"@azure/msal-node":"~2.2.0","@bugslifesolutions/api-utils":"^2.0.0","@reactioncommerce/logger":"^1.1.3","@reactioncommerce/random":"^1.0.2","nodemailer":"~6.9.6"},"devDependencies":{"@babel/eslint-parser":"^7.22.15","@babel/plugin-syntax-import-assertions":"^7.22.5","@babel/preset-env":"^7.23.2","@commitlint/cli":"^18.0.0","@commitlint/config-conventional":"^18.0.0","@reactioncommerce/babel-remove-es-create-require":"~1.0.0","@reactioncommerce/data-factory":"^1.0.0","babel-jest":"^29.7.0","babel-plugin-rewire-exports":"^2.3.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-plugin-transform-import-meta":"^2.2.1","dotenv":"^16.3.1","eslint":"^8.52.0","husky":"^8.0.3","jest":"^29.7.0","semantic-release":"^22.0.5"},"scripts":{"prepare":"husky install","lint":"npm run lint:eslint","lint:eslint":"eslint .","lint:fix":"eslint . --fix","test":"jest --passWithNoTests --setupFiles=dotenv/config","test:ci":"jest --testNamePattern=/^skipci:/ --passWithNoTests --setupFiles=dotenv/config --ci","test:watch":"jest --watch","test:file":"jest --no-cache --watch --coverage=false"},"commitlint":{"extends":["@commitlint/config-conventional"]},"prettier":{"arrowParens":"always"},"release":{"branches":["main","alpha","beta"]},"publishConfig":{"access":"public"},"_id":"@bugslifesolutions/opencommerce-api-plugin-nodemailer@1.0.1","gitHead":"5e5ed427f575066d609de6c03bfd917cfc72cd70","_nodeVersion":"18.18.2","_npmVersion":"10.2.1","dist":{"integrity":"sha512-+xBLsE6xUqPlA0qOT5VOPbREeQ2XtAZGdDTLWBLsxmRLQtkg9Uj9gH13oIcOkHcE+aoUHpF9J8erKkbaPTBD4w==","shasum":"fc81ca19ec56b942ab39d45effa96df16b49b89d","tarball":"https://registry.npmjs.org/@bugslifesolutions/opencommerce-api-plugin-nodemailer/-/opencommerce-api-plugin-nodemailer-1.0.1.tgz","fileCount":30,"unpackedSize":63892,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDe7iq2VC6VGsw1y5BhV6GYJNm5Q675Cb0zCvgAVk+GoQIhAIEO9zrbDN5YQ6HgzsM0G+wPK6HVbkzg1XzyfNmvFKYy"}]},"_npmUser":{"name":"development_at_bugslifesolutions","email":"todd@bugslifesolutions.com"},"directories":{},"maintainers":[{"name":"development_at_bugslifesolutions","email":"todd@bugslifesolutions.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencommerce-api-plugin-nodemailer_1.0.1_1698718210072_0.9583420144814891"},"_hasShrinkwrap":false},"1.0.2":{"name":"@bugslifesolutions/opencommerce-api-plugin-nodemailer","description":"Nodemailer plugin for Open Commerce API","version":"1.0.2","main":"index.js","type":"module","engines":{"node":">=18"},"homepage":"https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer","url":"https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer","email":"engineering@bugslifesolutions.com","repository":{"type":"git","url":"git+https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer.git"},"author":{"name":"BugsLife Solutions","email":"engineering@bugslifesolutions.com","url":"http://bugslifesolutions.com"},"license":"GPL-3","bugs":{"url":"https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer/issues"},"sideEffects":false,"dependencies":{"@azure/msal-node":"~2.2.0","@bugslifesolutions/api-utils":"^2.0.0","@reactioncommerce/logger":"^1.1.3","@reactioncommerce/random":"^1.0.2","nodemailer":"~6.9.6"},"devDependencies":{"@babel/eslint-parser":"^7.22.15","@babel/plugin-syntax-import-assertions":"^7.22.5","@babel/preset-env":"^7.23.2","@commitlint/cli":"^18.0.0","@commitlint/config-conventional":"^18.0.0","@reactioncommerce/babel-remove-es-create-require":"~1.0.0","@reactioncommerce/data-factory":"^1.0.0","babel-jest":"^29.7.0","babel-plugin-rewire-exports":"^2.3.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-plugin-transform-import-meta":"^2.2.1","dotenv":"^16.3.1","eslint":"^8.52.0","husky":"^8.0.3","jest":"^29.7.0","semantic-release":"^22.0.5"},"scripts":{"prepare":"husky install","lint":"npm run lint:eslint","lint:eslint":"eslint .","lint:fix":"eslint . --fix","test":"jest --passWithNoTests --setupFiles=dotenv/config","test:ci":"jest --testNamePattern=/^skipci:/ --passWithNoTests --setupFiles=dotenv/config --ci","test:watch":"jest --watch","test:file":"jest --no-cache --watch --coverage=false"},"commitlint":{"extends":["@commitlint/config-conventional"]},"prettier":{"arrowParens":"always"},"release":{"branches":["main","alpha","beta"]},"publishConfig":{"access":"public"},"_id":"@bugslifesolutions/opencommerce-api-plugin-nodemailer@1.0.2","gitHead":"141e72fdc2794fb14dcbbaf392fd936a1d611d9d","_nodeVersion":"18.18.2","_npmVersion":"10.2.1","dist":{"integrity":"sha512-LExISiBnZPxsZ8FQQcJLeDpjiH4M9+gK+x0SACFu5MVkt5gamS/K0rh/l5dVOBuppYUP2MM3bCvfVHi36TJI6A==","shasum":"31dc4488c03a1a97a4d258fb28a923b4414d34d6","tarball":"https://registry.npmjs.org/@bugslifesolutions/opencommerce-api-plugin-nodemailer/-/opencommerce-api-plugin-nodemailer-1.0.2.tgz","fileCount":30,"unpackedSize":63896,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFtcreSDKt+qnXsLb3mBt30lAHxGvk0uK7lG9Z7Q7EUcAiAZV/9vxMioeL9lmmr3gC7I8DHdDROTNP1xtMC73B8Cxw=="}]},"_npmUser":{"name":"development_at_bugslifesolutions","email":"todd@bugslifesolutions.com"},"directories":{},"maintainers":[{"name":"development_at_bugslifesolutions","email":"todd@bugslifesolutions.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opencommerce-api-plugin-nodemailer_1.0.2_1698724924838_0.7409504988318445"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-28T20:24:38.297Z","1.0.0":"2023-10-28T20:24:38.714Z","modified":"2023-10-31T04:02:05.240Z","1.0.1":"2023-10-31T02:10:10.346Z","1.0.2":"2023-10-31T04:02:05.050Z"},"maintainers":[{"name":"development_at_bugslifesolutions","email":"todd@bugslifesolutions.com"}],"description":"Nodemailer plugin for Open Commerce API","homepage":"https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer","repository":{"type":"git","url":"git+https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer.git"},"author":{"name":"BugsLife Solutions","email":"engineering@bugslifesolutions.com","url":"http://bugslifesolutions.com"},"bugs":{"url":"https://github.com/bugslifesolutions/opencommerce-api-plugin-nodemailer/issues"},"license":"GPL-3","readme":"# O365 Exchange\nhttps://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth\n\n\n# opencommerce-api-plugin-nodemailer\n\n## o365 Dependencies\n\n### Nodejs\n@azure/msal-node\n-> requires nodejs >= 18\n\n### Microsoft App Registration\n\n#### Manifest\n{\n\t\"id\": \"0425d55d-37b6-4aed-8ce8-6612e58fe698\",\n\t\"acceptMappedClaims\": null,\n\t\"accessTokenAcceptedVersion\": null,\n\t\"addIns\": [],\n\t\"allowPublicClient\": false,\n\t\"appId\": \"a6e5896b-4222-4a4f-b38c-4d6a8ef8c98f\",\n\t\"appRoles\": [\n\t\t{\n\t\t\t\"allowedMemberTypes\": [\n\t\t\t\t\"User\"\n\t\t\t],\n\t\t\t\"description\": \"User\",\n\t\t\t\"displayName\": \"User\",\n\t\t\t\"id\": \"18d14569-c3bd-439b-9a66-3a2aee01d14f\",\n\t\t\t\"isEnabled\": true,\n\t\t\t\"lang\": null,\n\t\t\t\"origin\": \"Application\",\n\t\t\t\"value\": null\n\t\t},\n\t\t{\n\t\t\t\"allowedMemberTypes\": [\n\t\t\t\t\"User\"\n\t\t\t],\n\t\t\t\"description\": \"msiam_access\",\n\t\t\t\"displayName\": \"msiam_access\",\n\t\t\t\"id\": \"b9632174-c057-4f7e-951b-be3adc52bfe6\",\n\t\t\t\"isEnabled\": true,\n\t\t\t\"lang\": null,\n\t\t\t\"origin\": \"Application\",\n\t\t\t\"value\": null\n\t\t}\n\t],\n\t\"oauth2AllowUrlPathMatching\": false,\n\t\"createdDateTime\": \"2023-10-04T01:44:27Z\",\n\t\"description\": null,\n\t\"certification\": null,\n\t\"disabledByMicrosoftStatus\": null,\n\t\"groupMembershipClaims\": null,\n\t\"identifierUris\": [\n\t\t\"api://a6e5896b-4222-4a4f-b38c-4d6a8ef8c98f\"\n\t],\n\t\"informationalUrls\": {\n\t\t\"termsOfService\": null,\n\t\t\"support\": null,\n\t\t\"privacy\": null,\n\t\t\"marketing\": null\n\t},\n\t\"keyCredentials\": [],\n\t\"knownClientApplications\": [],\n\t\"logoUrl\": null,\n\t\"logoutUrl\": null,\n\t\"name\": \"KubeCommercePlus\",\n\t\"notes\": null,\n\t\"oauth2AllowIdTokenImplicitFlow\": true,\n\t\"oauth2AllowImplicitFlow\": true,\n\t\"oauth2Permissions\": [],\n\t\"oauth2RequirePostResponse\": false,\n\t\"optionalClaims\": null,\n\t\"orgRestrictions\": [],\n\t\"parentalControlSettings\": {\n\t\t\"countriesBlockedForMinors\": [],\n\t\t\"legalAgeGroupRule\": \"Allow\"\n\t},\n\t\"passwordCredentials\": [\n\t\t{\n\t\t\t\"customKeyIdentifier\": null,\n\t\t\t\"endDate\": \"2024-10-04T12:11:36.707Z\",\n\t\t\t\"keyId\": \"b1edd9ca-5337-4c73-8da3-10cfc2815e14\",\n\t\t\t\"startDate\": \"2023-10-05T12:11:36.707Z\",\n\t\t\t\"value\": null,\n\t\t\t\"createdOn\": \"2023-10-05T12:12:56.8324948Z\",\n\t\t\t\"hint\": \"AVv\",\n\t\t\t\"displayName\": \"clientSecret\"\n\t\t}\n\t],\n\t\"preAuthorizedApplications\": [],\n\t\"publisherDomain\": \"NETORG189455.onmicrosoft.com\",\n\t\"replyUrlsWithType\": [],\n\t\"requiredResourceAccess\": [\n\t\t{\n\t\t\t\"resourceAppId\": \"00000003-0000-0000-c000-000000000000\",\n\t\t\t\"resourceAccess\": [\n\t\t\t\t{\n\t\t\t\t\t\"id\": \"b633e1c5-b582-4048-a93e-9f11b44c7e96\",\n\t\t\t\t\t\"type\": \"Role\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t\"resourceAppId\": \"00000002-0000-0ff1-ce00-000000000000\",\n\t\t\t\"resourceAccess\": [\n\t\t\t\t{\n\t\t\t\t\t\"id\": \"7146a1f0-8703-45b3-9eae-527a64c00995\",\n\t\t\t\t\t\"type\": \"Role\"\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t],\n\t\"samlMetadataUrl\": null,\n\t\"signInUrl\": \"https://account.activedirectory.windowsazure.com:444/applications/default.aspx?metadata=customappsso|ISV9.1|primary|z\",\n\t\"signInAudience\": \"AzureADMyOrg\",\n\t\"tags\": [],\n\t\"tokenEncryptionKeyId\": null\n}\n==================================\n\nPS C:\\Users\\Lenovo> New-ServicePrincipal -AppId a6e5896b-4222-4a4f-b38c-4d6a8ef8c98f -ObjectId df2d972c-419f-4cfe-977b-ae85308e53af\n\nDisplayName                              ObjectId                                AppId\n-----------                              --------                                -----\n                                         df2d972c-419f-4cfe-977b-ae85308e53af    a6e5896b-4222-4a4f-b38c-4d6a8ef8c98f\n\n\nPS C:\\Users\\Lenovo> Get-ServicePrincipal | fl\n\n\nDisplayName            :\nAppId                  : a6e5896b-4222-4a4f-b38c-4d6a8ef8c98f\nObjectId               : df2d972c-419f-4cfe-977b-ae85308e53af\nSid                    : S-1-5-21-405896037-984911836-1118018715-47610198\nSidHistory             : {}\nIdentity               : df2d972c-419f-4cfe-977b-ae85308e53af\nId                     : df2d972c-419f-4cfe-977b-ae85308e53af\nIsValid                : True\nExchangeVersion        : 1.1 (15.0.0.0)\nName                   : df2d972c-419f-4cfe-977b-ae85308e53af\nDistinguishedName      : CN=df2d972c-419f-4cfe-977b-ae85308e53af,OU=NETORG189455.onmicrosoft.com,OU=Microsoft Exchange\n                         Hosted Organizations,DC=NAMPR03A006,DC=PROD,DC=OUTLOOK,DC=COM\nObjectCategory         : NAMPR03A006.PROD.OUTLOOK.COM/Configuration/Schema/Person\nObjectClass            : {top, person, organizationalPerson, user}\nWhenChanged            : 2023-10-21 10:09:56 AM\nWhenCreated            : 2023-10-21 10:09:56 AM\nWhenChangedUTC         : 2023-10-21 2:09:56 PM\nWhenCreatedUTC         : 2023-10-21 2:09:56 PM\nExchangeObjectId       : 7bf05cab-c602-4c6d-a566-b58ac6578027\nOrganizationalUnitRoot : NETORG189455.onmicrosoft.com\nOrganizationId         : NAMPR03A006.PROD.OUTLOOK.COM/Microsoft Exchange Hosted\n                         Organizations/NETORG189455.onmicrosoft.com -\n                         NAMPR03A006.PROD.OUTLOOK.COM/ConfigurationUnits/NETORG189455.onmicrosoft.com/Configuration\nGuid                   : 7bf05cab-c602-4c6d-a566-b58ac6578027\nOriginatingServer      : BYAPR03A06DC005.NAMPR03A006.PROD.OUTLOOK.COM\nObjectState            : Changed\n\nWARNING: The ServiceId parameter is being depreciated and will be replaced with ObjectId. Please note that already\nexisting Exchange Service Principal Service Ids are now known as Object Ids.\n\n\nPS C:\\Users\\Lenovo>\n\nPS C:\\Users\\Lenovo> Add-MailboxPermission -Identity \"weborders-noreply@applianceshack.com\" -User  df2d972c-419f-4cfe-977b-ae85308e53af\n\ncmdlet Add-MailboxPermission at command pipeline position 1\nSupply values for the following parameters:\nAccessRights[0]: FullAccess\nAccessRights[1]:\n\nIdentity             User                 AccessRights                                                IsInherited Deny\n--------             ----                 ------------                                                ----------- ----\n730aef82-c288-468... S-1-5-21-40589603... {FullAccess}                                                False       False\n\n\nPS C:\\Users\\Lenovo>\n","readmeFilename":"README.md"}