├── upload ├── system │ └── library │ │ └── PagSeguro.php ├── admin │ ├── language │ │ └── en-gb │ │ │ └── extension │ │ │ ├── total │ │ │ ├── pagseguro_fee.php │ │ │ └── pagseguro_discount.php │ │ │ └── payment │ │ │ ├── pagseguro_boleto.php │ │ │ ├── pagseguro_debit.php │ │ │ └── pagseguro_credit.php │ ├── view │ │ └── image │ │ │ ├── payment │ │ │ ├── pagseguro.png │ │ │ └── pagseguro_doc.png │ │ │ └── pagseguro │ │ │ ├── browsers │ │ │ ├── edge.webp │ │ │ ├── opera.webp │ │ │ ├── chrome.webp │ │ │ ├── firefox.webp │ │ │ ├── safari.webp │ │ │ ├── safari_ios.webp │ │ │ ├── android_webview.webp │ │ │ ├── chrome_android.webp │ │ │ ├── firefox_android.webp │ │ │ └── samsung_android.webp │ │ │ └── themes │ │ │ ├── debit_default │ │ │ ├── 01.png │ │ │ └── 02.png │ │ │ ├── boleto_default │ │ │ ├── 01.png │ │ │ ├── 02.png │ │ │ └── 03.png │ │ │ └── credit_default │ │ │ ├── 01.png │ │ │ ├── 02.png │ │ │ └── 03.png │ └── controller │ │ └── extension │ │ └── total │ │ ├── pagseguro_fee.php │ │ └── pagseguro_discount.php └── catalog │ └── language │ └── en-gb │ └── extension │ ├── total │ ├── pagseguro_fee.php │ └── pagseguro_discount.php │ └── payment │ ├── pagseguro_debit.php │ └── pagseguro_boleto.php ├── .gitignore ├── .github ├── actions │ └── dispatch-newsletter │ │ ├── node_modules │ │ ├── @octokit │ │ │ ├── core │ │ │ │ ├── dist-src │ │ │ │ │ ├── types.js │ │ │ │ │ └── version.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── version.d.ts │ │ │ │ │ ├── types.d.ts │ │ │ │ │ └── index.d.ts │ │ │ │ └── LICENSE │ │ │ ├── graphql │ │ │ │ ├── dist-src │ │ │ │ │ ├── types.js │ │ │ │ │ ├── version.js │ │ │ │ │ ├── with-defaults.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── error.js │ │ │ │ │ └── graphql.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── version.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── with-defaults.d.ts │ │ │ │ │ ├── graphql.d.ts │ │ │ │ │ └── error.d.ts │ │ │ │ └── LICENSE │ │ │ ├── auth-token │ │ │ │ ├── dist-src │ │ │ │ │ ├── types.js │ │ │ │ │ ├── hook.js │ │ │ │ │ ├── auth.js │ │ │ │ │ ├── with-authorization-prefix.js │ │ │ │ │ └── index.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── auth.d.ts │ │ │ │ │ ├── with-authorization-prefix.d.ts │ │ │ │ │ ├── hook.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ └── types.d.ts │ │ │ │ ├── LICENSE │ │ │ │ ├── dist-web │ │ │ │ │ └── index.js │ │ │ │ └── dist-node │ │ │ │ │ └── index.js │ │ │ ├── request-error │ │ │ │ ├── dist-src │ │ │ │ │ └── types.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── types.d.ts │ │ │ │ │ └── index.d.ts │ │ │ │ ├── LICENSE │ │ │ │ └── README.md │ │ │ ├── types │ │ │ │ ├── dist-src │ │ │ │ │ ├── Fetch.js │ │ │ │ │ ├── Route.js │ │ │ │ │ ├── Signal.js │ │ │ │ │ ├── Url.js │ │ │ │ │ ├── RequestError.js │ │ │ │ │ ├── AuthInterface.js │ │ │ │ │ ├── EndpointDefaults.js │ │ │ │ │ ├── EndpointInterface.js │ │ │ │ │ ├── EndpointOptions.js │ │ │ │ │ ├── OctokitResponse.js │ │ │ │ │ ├── RequestHeaders.js │ │ │ │ │ ├── RequestInterface.js │ │ │ │ │ ├── RequestMethod.js │ │ │ │ │ ├── RequestOptions.js │ │ │ │ │ ├── RequestParameters.js │ │ │ │ │ ├── ResponseHeaders.js │ │ │ │ │ ├── StrategyInterface.js │ │ │ │ │ ├── RequestRequestOptions.js │ │ │ │ │ ├── generated │ │ │ │ │ │ └── Endpoints.js │ │ │ │ │ ├── VERSION.js │ │ │ │ │ ├── GetResponseTypeFromEndpointMethod.js │ │ │ │ │ └── index.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── VERSION.d.ts │ │ │ │ │ ├── Fetch.d.ts │ │ │ │ │ ├── Url.d.ts │ │ │ │ │ ├── Signal.d.ts │ │ │ │ │ ├── RequestMethod.d.ts │ │ │ │ │ ├── Route.d.ts │ │ │ │ │ ├── EndpointOptions.d.ts │ │ │ │ │ ├── StrategyInterface.d.ts │ │ │ │ │ ├── RequestError.d.ts │ │ │ │ │ ├── GetResponseTypeFromEndpointMethod.d.ts │ │ │ │ │ ├── OctokitResponse.d.ts │ │ │ │ │ ├── RequestOptions.d.ts │ │ │ │ │ ├── RequestHeaders.d.ts │ │ │ │ │ ├── ResponseHeaders.d.ts │ │ │ │ │ ├── EndpointDefaults.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── RequestRequestOptions.d.ts │ │ │ │ │ ├── AuthInterface.d.ts │ │ │ │ │ ├── RequestInterface.d.ts │ │ │ │ │ └── RequestParameters.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── LICENSE │ │ │ │ └── README.md │ │ │ ├── plugin-paginate-rest │ │ │ │ ├── dist-src │ │ │ │ │ ├── types.js │ │ │ │ │ ├── generated │ │ │ │ │ │ └── paginating-endpoints.js │ │ │ │ │ ├── version.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── paginate.js │ │ │ │ │ └── iterator.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── version.d.ts │ │ │ │ │ ├── paginate.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── iterator.d.ts │ │ │ │ │ └── normalize-paginated-list-response.d.ts │ │ │ │ └── LICENSE │ │ │ ├── endpoint │ │ │ │ ├── dist-src │ │ │ │ │ ├── version.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── endpoint-with-defaults.js │ │ │ │ │ ├── util │ │ │ │ │ │ ├── omit.js │ │ │ │ │ │ ├── lowercase-keys.js │ │ │ │ │ │ ├── extract-url-variable-names.js │ │ │ │ │ │ ├── merge-deep.js │ │ │ │ │ │ └── add-query-parameters.js │ │ │ │ │ ├── with-defaults.js │ │ │ │ │ ├── defaults.js │ │ │ │ │ └── merge.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── version.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── util │ │ │ │ │ │ ├── merge-deep.d.ts │ │ │ │ │ │ ├── extract-url-variable-names.d.ts │ │ │ │ │ │ ├── url-template.d.ts │ │ │ │ │ │ ├── lowercase-keys.d.ts │ │ │ │ │ │ ├── omit.d.ts │ │ │ │ │ │ └── add-query-parameters.d.ts │ │ │ │ │ ├── defaults.d.ts │ │ │ │ │ ├── parse.d.ts │ │ │ │ │ ├── merge.d.ts │ │ │ │ │ ├── with-defaults.d.ts │ │ │ │ │ └── endpoint-with-defaults.d.ts │ │ │ │ └── LICENSE │ │ │ ├── plugin-rest-endpoint-methods │ │ │ │ ├── dist-src │ │ │ │ │ ├── types.js │ │ │ │ │ ├── generated │ │ │ │ │ │ ├── method-types.js │ │ │ │ │ │ └── parameters-and-response-types.js │ │ │ │ │ ├── version.js │ │ │ │ │ └── index.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── version.d.ts │ │ │ │ │ ├── generated │ │ │ │ │ │ └── endpoints.d.ts │ │ │ │ │ ├── endpoints-to-methods.d.ts │ │ │ │ │ ├── types.d.ts │ │ │ │ │ └── index.d.ts │ │ │ │ └── LICENSE │ │ │ └── request │ │ │ │ ├── dist-src │ │ │ │ ├── version.js │ │ │ │ ├── get-buffer-response.js │ │ │ │ ├── index.js │ │ │ │ └── with-defaults.js │ │ │ │ ├── dist-types │ │ │ │ ├── version.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ ├── get-buffer-response.d.ts │ │ │ │ ├── with-defaults.d.ts │ │ │ │ └── fetch-wrapper.d.ts │ │ │ │ └── LICENSE │ │ ├── axios │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── cancel │ │ │ │ │ ├── isCancel.js │ │ │ │ │ ├── Cancel.js │ │ │ │ │ └── CancelToken.js │ │ │ │ ├── helpers │ │ │ │ │ ├── bind.js │ │ │ │ │ ├── README.md │ │ │ │ │ ├── normalizeHeaderName.js │ │ │ │ │ ├── combineURLs.js │ │ │ │ │ ├── isAbsoluteURL.js │ │ │ │ │ ├── spread.js │ │ │ │ │ ├── deprecatedMethod.js │ │ │ │ │ ├── parseHeaders.js │ │ │ │ │ ├── cookies.js │ │ │ │ │ └── buildURL.js │ │ │ │ ├── core │ │ │ │ │ ├── README.md │ │ │ │ │ ├── transformData.js │ │ │ │ │ ├── createError.js │ │ │ │ │ ├── buildFullPath.js │ │ │ │ │ ├── settle.js │ │ │ │ │ ├── enhanceError.js │ │ │ │ │ └── InterceptorManager.js │ │ │ │ ├── adapters │ │ │ │ │ └── README.md │ │ │ │ └── axios.js │ │ │ └── LICENSE │ │ ├── tunnel │ │ │ ├── index.js │ │ │ ├── .travis.yml │ │ │ ├── .idea │ │ │ │ ├── encodings.xml │ │ │ │ ├── vcs.xml │ │ │ │ ├── modules.xml │ │ │ │ └── node-tunnel.iml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ └── package.json │ │ ├── follow-redirects │ │ │ ├── http.js │ │ │ ├── https.js │ │ │ ├── debug.js │ │ │ └── LICENSE │ │ ├── @types │ │ │ └── node │ │ │ │ ├── ts3.4 │ │ │ │ ├── globals.global.d.ts │ │ │ │ └── index.d.ts │ │ │ │ ├── globals.global.d.ts │ │ │ │ ├── string_decoder.d.ts │ │ │ │ ├── ts3.6 │ │ │ │ ├── index.d.ts │ │ │ │ └── base.d.ts │ │ │ │ ├── punycode.d.ts │ │ │ │ ├── constants.d.ts │ │ │ │ ├── buffer.d.ts │ │ │ │ ├── domain.d.ts │ │ │ │ ├── timers.d.ts │ │ │ │ ├── base.d.ts │ │ │ │ ├── querystring.d.ts │ │ │ │ ├── LICENSE │ │ │ │ ├── https.d.ts │ │ │ │ └── module.d.ts │ │ ├── is-plain-object │ │ │ ├── is-plain-object.d.ts │ │ │ ├── dist │ │ │ │ ├── is-plain-object.mjs │ │ │ │ └── is-plain-object.js │ │ │ └── LICENSE │ │ ├── universal-user-agent │ │ │ ├── dist-types │ │ │ │ └── index.d.ts │ │ │ ├── dist-src │ │ │ │ └── index.js │ │ │ ├── dist-web │ │ │ │ ├── index.js │ │ │ │ └── index.js.map │ │ │ ├── dist-node │ │ │ │ ├── index.js │ │ │ │ └── index.js.map │ │ │ ├── LICENSE.md │ │ │ └── README.md │ │ ├── deprecation │ │ │ ├── dist-types │ │ │ │ └── index.d.ts │ │ │ ├── dist-src │ │ │ │ └── index.js │ │ │ ├── dist-web │ │ │ │ └── index.js │ │ │ ├── dist-node │ │ │ │ └── index.js │ │ │ ├── LICENSE │ │ │ └── README.md │ │ ├── @actions │ │ │ ├── http-client │ │ │ │ ├── interfaces.js │ │ │ │ ├── actions.png │ │ │ │ ├── proxy.d.ts │ │ │ │ ├── RELEASES.md │ │ │ │ ├── LICENSE │ │ │ │ ├── auth.d.ts │ │ │ │ └── proxy.js │ │ │ ├── github │ │ │ │ └── lib │ │ │ │ │ ├── interfaces.js.map │ │ │ │ │ ├── interfaces.js │ │ │ │ │ ├── github.js.map │ │ │ │ │ ├── internal │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ ├── utils.js.map │ │ │ │ │ └── utils.js │ │ │ │ │ ├── github.d.ts │ │ │ │ │ ├── context.d.ts │ │ │ │ │ ├── utils.js.map │ │ │ │ │ ├── interfaces.d.ts │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ ├── github.js │ │ │ │ │ └── context.js.map │ │ │ └── core │ │ │ │ ├── lib │ │ │ │ ├── command.d.ts │ │ │ │ └── command.js.map │ │ │ │ ├── LICENSE.md │ │ │ │ └── package.json │ │ ├── before-after-hook │ │ │ ├── lib │ │ │ │ ├── remove.js │ │ │ │ ├── register.js │ │ │ │ └── add.js │ │ │ └── index.js │ │ ├── once │ │ │ ├── LICENSE │ │ │ ├── once.js │ │ │ └── package.json │ │ ├── wrappy │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── wrappy.js │ │ │ └── package.json │ │ └── node-fetch │ │ │ ├── browser.js │ │ │ └── LICENSE.md │ │ ├── action.yaml │ │ ├── package.json │ │ └── index.js ├── ISSUE_TEMPLATE.md ├── ISSUE_TEMPLATE │ ├── 5-support-request.md │ ├── 4-security-issue-disclosure.md │ ├── 2-feature-request.md │ ├── 3-docs-bug.md │ └── 1-bug-report.md └── workflows │ └── ci.yml ├── .gitattributes ├── composer.json ├── .editorconfig └── install.xml /upload/system/library/PagSeguro.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | /upload/system/library/PagSeguro 3 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/core/dist-src/types.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/graphql/dist-src/types.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/dist-src/types.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request-error/dist-src/types.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/Fetch.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/Route.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/Signal.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/Url.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/RequestError.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/axios'); -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/AuthInterface.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/EndpointDefaults.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/EndpointInterface.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/EndpointOptions.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/OctokitResponse.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/RequestHeaders.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/RequestInterface.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/RequestMethod.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/RequestOptions.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/RequestParameters.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/ResponseHeaders.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/StrategyInterface.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/RequestRequestOptions.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/generated/Endpoints.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/tunnel/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/tunnel'); 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/core/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "3.1.2"; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/follow-redirects/http.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./").http; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/follow-redirects/https.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./").https; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "6.0.6"; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/graphql/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "4.5.6"; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "5.4.9"; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/VERSION.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "5.5.0"; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/ts3.4/globals.global.d.ts: -------------------------------------------------------------------------------- 1 | declare var global: NodeJS.Global; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/core/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "3.1.2"; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/graphql/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "4.5.6"; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "5.4.9"; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/VERSION.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "5.5.0"; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "6.0.6"; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-paginate-rest/dist-src/generated/paginating-endpoints.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "2.4.0"; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/is-plain-object/is-plain-object.d.ts: -------------------------------------------------------------------------------- 1 | export function isPlainObject(o: any): boolean; 2 | -------------------------------------------------------------------------------- /upload/admin/language/en-gb/extension/total/pagseguro_fee.php: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const endpoint: import("@octokit/types").EndpointInterface; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts: -------------------------------------------------------------------------------- 1 | export declare function mergeDeep(defaults: any, options: any): object; 2 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-web/index.js: -------------------------------------------------------------------------------- 1 | const VERSION = "5.5.0"; 2 | 3 | export { VERSION }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /upload/admin/view/image/payment/pagseguro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/payment/pagseguro.png -------------------------------------------------------------------------------- /upload/admin/view/image/payment/pagseguro_doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/payment/pagseguro_doc.png -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts: -------------------------------------------------------------------------------- 1 | export declare function extractUrlVariableNames(url: string): string[]; 2 | -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/browsers/edge.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/browsers/edge.webp -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/browsers/opera.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/browsers/opera.webp -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/browsers/chrome.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/browsers/chrome.webp -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/browsers/firefox.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/browsers/firefox.webp -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/browsers/safari.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/browsers/safari.webp -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointDefaults } from "@octokit/types"; 2 | export declare const DEFAULTS: EndpointDefaults; 3 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request/dist-src/get-buffer-response.js: -------------------------------------------------------------------------------- 1 | export default function getBufferResponse(response) { 2 | return response.arrayBuffer(); 3 | } 4 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/Fetch.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Browser's fetch method (or compatible such as fetch-mock) 3 | */ 4 | export declare type Fetch = any; 5 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/cancel/isCancel.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function isCancel(value) { 4 | return !!(value && value.__CANCEL__); 5 | }; 6 | -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/browsers/safari_ios.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/browsers/safari_ios.webp -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/themes/debit_default/01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/themes/debit_default/01.png -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/themes/debit_default/02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/themes/debit_default/02.png -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/github/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,uDAAuD"} -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts: -------------------------------------------------------------------------------- 1 | export declare function parseUrl(template: string): { 2 | expand: (context: object) => string; 3 | }; 4 | -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/browsers/android_webview.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/browsers/android_webview.webp -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/browsers/chrome_android.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/browsers/chrome_android.webp -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/browsers/firefox_android.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/browsers/firefox_android.webp -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/browsers/samsung_android.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/browsers/samsung_android.webp -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/themes/boleto_default/01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/themes/boleto_default/01.png -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/themes/boleto_default/02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/themes/boleto_default/02.png -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/themes/boleto_default/03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/themes/boleto_default/03.png -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/themes/credit_default/01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/themes/credit_default/01.png -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/themes/credit_default/02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/themes/credit_default/02.png -------------------------------------------------------------------------------- /upload/admin/view/image/pagseguro/themes/credit_default/03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/upload/admin/view/image/pagseguro/themes/credit_default/03.png -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/dist-types/auth.d.ts: -------------------------------------------------------------------------------- 1 | import { Token, Authentication } from "./types"; 2 | export declare function auth(token: Token): Promise; 3 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts: -------------------------------------------------------------------------------- 1 | export declare function lowercaseKeys(object?: { 2 | [key: string]: any; 3 | }): { 4 | [key: string]: any; 5 | }; 6 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/Url.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Relative or absolute URL. Examples: `'/orgs/:org'`, `https://example.com/foo/bar` 3 | */ 4 | export declare type Url = string; 5 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts: -------------------------------------------------------------------------------- 1 | export declare function omit(object: { 2 | [key: string]: any; 3 | }, keysToOmit: string[]): { 4 | [key: string]: any; 5 | }; 6 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts: -------------------------------------------------------------------------------- 1 | import { Response } from "node-fetch"; 2 | export default function getBufferResponse(response: Response): Promise; 3 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Os arquivos de JS, Css, PHP e Twig devem usar a quebra de linha LF 5 | *.js eol=lf 6 | *.css eol=lf 7 | *.php eol=lf 8 | *.twig eol=lf 9 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { withDefaults } from "./with-defaults"; 2 | import { DEFAULTS } from "./defaults"; 3 | export const endpoint = withDefaults(null, DEFAULTS); 4 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/parse.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointDefaults, RequestOptions } from "@octokit/types"; 2 | export declare function parse(options: EndpointDefaults): RequestOptions; 3 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/Signal.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Abort signal 3 | * 4 | * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal 5 | */ 6 | export declare type Signal = any; 7 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/http-client/actions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opencart-extension/PagSeguro-Checkout-Transparente/HEAD/.github/actions/dispatch-newsletter/node_modules/@actions/http-client/actions.png -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/RequestMethod.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * HTTP Verb supported by GitHub's REST API 3 | */ 4 | export declare type RequestMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT"; 5 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/tunnel/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts: -------------------------------------------------------------------------------- 1 | export declare function addQueryParameters(url: string, parameters: { 2 | [x: string]: string | undefined; 3 | q?: string; 4 | }): string; 5 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/github/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | /* eslint-disable @typescript-eslint/no-explicit-any */ 3 | Object.defineProperty(exports, "__esModule", { value: true }); 4 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/action.yaml: -------------------------------------------------------------------------------- 1 | name: 'Dispatch Newsletter' 2 | description: 'Envia e-mail com atualização' 3 | inputs: 4 | TOKEN: 5 | required: true 6 | URL: 7 | required: true 8 | runs: 9 | using: node12 10 | main: index.js 11 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-web/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"} -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/tunnel/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointsDefaultsAndDecorations } from "../types"; 2 | declare const Endpoints: EndpointsDefaultsAndDecorations; 3 | export default Endpoints; 4 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | const VERSION = "5.5.0"; 6 | 7 | exports.VERSION = VERSION; 8 | //# sourceMappingURL=index.js.map 9 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-node/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":["VERSION"],"mappings":";;;;MAAaA,OAAO,GAAG;;;;"} -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request-error/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestOptions, ResponseHeaders } from "@octokit/types"; 2 | export declare type RequestErrorOptions = { 3 | headers?: ResponseHeaders; 4 | request: RequestOptions; 5 | }; 6 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/http-client/proxy.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import * as url from 'url'; 3 | export declare function getProxyUrl(reqUrl: url.Url): url.Url | undefined; 4 | export declare function checkBypass(reqUrl: url.Url): boolean; 5 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/follow-redirects/debug.js: -------------------------------------------------------------------------------- 1 | var debug; 2 | try { 3 | /* eslint global-require: off */ 4 | debug = require("debug")("follow-redirects"); 5 | } 6 | catch (error) { 7 | debug = function () { /* */ }; 8 | } 9 | module.exports = debug; 10 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/graphql/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { request } from "@octokit/request"; 2 | export declare const graphql: import("./types").graphql; 3 | export declare function withCustomRequest(customRequest: typeof request): import("./types").graphql; 4 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/string_decoder.d.ts: -------------------------------------------------------------------------------- 1 | declare module "string_decoder" { 2 | class StringDecoder { 3 | constructor(encoding?: BufferEncoding); 4 | write(buffer: Buffer): string; 5 | end(buffer?: Buffer): string; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js: -------------------------------------------------------------------------------- 1 | import { merge } from "./merge"; 2 | import { parse } from "./parse"; 3 | export function endpointWithDefaults(defaults, route, options) { 4 | return parse(merge(defaults, route, options)); 5 | } 6 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/Route.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * String consisting of an optional HTTP method and relative path or absolute URL. Examples: `'/orgs/:org'`, `'PUT /orgs/:org'`, `GET https://example.com/foo/bar` 3 | */ 4 | export declare type Route = string; 5 | -------------------------------------------------------------------------------- /upload/admin/language/en-gb/extension/payment/pagseguro_boleto.php: -------------------------------------------------------------------------------- 1 | '; 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointInterface, RequestInterface, RequestParameters } from "@octokit/types"; 2 | export default function withDefaults(oldEndpoint: EndpointInterface, newDefaults: RequestParameters): RequestInterface; 3 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Prefix token for usage in the Authorization header 3 | * 4 | * @param token OAuth token or JSON Web Token 5 | */ 6 | export declare function withAuthorizationPrefix(token: string): string; 7 | -------------------------------------------------------------------------------- /upload/admin/language/en-gb/extension/payment/pagseguro_debit.php: -------------------------------------------------------------------------------- 1 | '; 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/merge.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointDefaults, RequestParameters, Route } from "@octokit/types"; 2 | export declare function merge(defaults: EndpointDefaults | null, route?: Route | RequestParameters, options?: RequestParameters): EndpointDefaults; 3 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointInterface, RequestParameters, EndpointDefaults } from "@octokit/types"; 2 | export declare function withDefaults(oldDefaults: EndpointDefaults | null, newDefaults: RequestParameters): EndpointInterface; 3 | -------------------------------------------------------------------------------- /upload/admin/language/en-gb/extension/payment/pagseguro_credit.php: -------------------------------------------------------------------------------- 1 | '; 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import { graphql as ApiInterface, RequestParameters } from "./types"; 3 | export declare function withDefaults(request: typeof Request, newDefaults: RequestParameters): ApiInterface; 4 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-src/util/omit.js: -------------------------------------------------------------------------------- 1 | export function omit(object, keysToOmit) { 2 | return Object.keys(object) 3 | .filter((option) => !keysToOmit.includes(option)) 4 | .reduce((obj, key) => { 5 | obj[key] = object[key]; 6 | return obj; 7 | }, {}); 8 | } 9 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/dist-types/hook.d.ts: -------------------------------------------------------------------------------- 1 | import { AnyResponse, EndpointOptions, RequestInterface, RequestParameters, Route, Token } from "./types"; 2 | export declare function hook(token: Token, request: RequestInterface, route: Route | EndpointOptions, parameters?: RequestParameters): Promise; 3 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestMethod } from "./RequestMethod"; 2 | import { Url } from "./Url"; 3 | import { RequestParameters } from "./RequestParameters"; 4 | export declare type EndpointOptions = RequestParameters & { 5 | method: RequestMethod; 6 | url: Url; 7 | }; 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { StrategyInterface, Token, Authentication } from "./types"; 2 | export declare type Types = { 3 | StrategyOptions: Token; 4 | AuthOptions: never; 5 | Authentication: Authentication; 6 | }; 7 | export declare const createTokenAuth: StrategyInterface; 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts: -------------------------------------------------------------------------------- 1 | import { AuthInterface } from "./AuthInterface"; 2 | export interface StrategyInterface { 3 | (...args: StrategyOptions): AuthInterface; 4 | } 5 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js: -------------------------------------------------------------------------------- 1 | export function lowercaseKeys(object) { 2 | if (!object) { 3 | return {}; 4 | } 5 | return Object.keys(object).reduce((newObj, key) => { 6 | newObj[key.toLowerCase()] = object[key]; 7 | return newObj; 8 | }, {}); 9 | } 10 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/tunnel/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/RequestError.d.ts: -------------------------------------------------------------------------------- 1 | export declare type RequestError = { 2 | name: string; 3 | status: number; 4 | documentation_url: string; 5 | errors?: Array<{ 6 | resource: string; 7 | code: string; 8 | field: string; 9 | message?: string; 10 | }>; 11 | }; 12 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/helpers/bind.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function bind(fn, thisArg) { 4 | return function wrap() { 5 | var args = new Array(arguments.length); 6 | for (var i = 0; i < args.length; i++) { 7 | args[i] = arguments[i]; 8 | } 9 | return fn.apply(thisArg, args); 10 | }; 11 | }; 12 | -------------------------------------------------------------------------------- /upload/admin/controller/extension/total/pagseguro_fee.php: -------------------------------------------------------------------------------- 1 | response->redirect( 8 | $this->url->link('extension/payment/pagseguro', 'user_token=' . $this->session->data['user_token']) 9 | ); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /upload/admin/controller/extension/total/pagseguro_discount.php: -------------------------------------------------------------------------------- 1 | response->redirect( 8 | $this->url->link('extension/payment/pagseguro', 'user_token=' . $this->session->data['user_token']) 9 | ); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 2 | 3 | Ajude-nos a processar os problemas de forma mais eficiente, registrando um problema usando um dos seguintes modelos: 4 | 5 | https://github.com/opencart-extension/PagSeguro-Checkout-Transparente/issues/new/choose 6 | 7 | Obrigado! 8 | 9 | 🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 10 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointOptions, RequestParameters, Route } from "@octokit/types"; 2 | import { DEFAULTS } from "./defaults"; 3 | export declare function endpointWithDefaults(defaults: typeof DEFAULTS, route: Route | EndpointOptions, options?: RequestParameters): import("@octokit/types").RequestOptions; 4 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/dist-src/hook.js: -------------------------------------------------------------------------------- 1 | import { withAuthorizationPrefix } from "./with-authorization-prefix"; 2 | export async function hook(token, request, route, parameters) { 3 | const endpoint = request.endpoint.merge(route, parameters); 4 | endpoint.headers.authorization = withAuthorizationPrefix(token); 5 | return request(endpoint); 6 | } 7 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/graphql/dist-types/graphql.d.ts: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import { RequestParameters, GraphQlQueryResponseData } from "./types"; 3 | export declare function graphql(request: typeof Request, query: string | RequestParameters, options?: RequestParameters): Promise; 4 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/dist-src/auth.js: -------------------------------------------------------------------------------- 1 | export async function auth(token) { 2 | const tokenType = token.split(/\./).length === 3 3 | ? "app" 4 | : /^v\d+\./.test(token) 5 | ? "installation" 6 | : "oauth"; 7 | return { 8 | type: "token", 9 | token: token, 10 | tokenType 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/github/lib/github.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"github.js","sourceRoot":"","sources":["../src/github.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,mCAAiD;AAKpC,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C;;;;;GAKG;AACH,SAAgB,UAAU,CACxB,KAAa,EACb,OAAwB;IAExB,OAAO,IAAI,cAAM,CAAC,yBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAA;AACtD,CAAC;AALD,gCAKC"} -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { MapFunction, PaginationResults, RequestParameters, Route, RequestInterface } from "./types"; 3 | export declare function paginate(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters, mapFn?: MapFunction): Promise>; 4 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { EndpointsDefaultsAndDecorations } from "./types"; 3 | import { RestEndpointMethods } from "./generated/method-types"; 4 | export declare function endpointsToMethods(octokit: Octokit, endpointsMap: EndpointsDefaultsAndDecorations): RestEndpointMethods; 5 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Prefix token for usage in the Authorization header 3 | * 4 | * @param token OAuth token or JSON Web Token 5 | */ 6 | export function withAuthorizationPrefix(token) { 7 | if (token.split(/\./).length === 3) { 8 | return `bearer ${token}`; 9 | } 10 | return `token ${token}`; 11 | } 12 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/core/README.md: -------------------------------------------------------------------------------- 1 | # axios // core 2 | 3 | The modules found in `core/` should be modules that are specific to the domain logic of axios. These modules would most likely not make sense to be consumed outside of the axios module, as their logic is too specific. Some examples of core modules are: 4 | 5 | - Dispatching requests 6 | - Managing interceptors 7 | - Handling config 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/deprecation/dist-src/index.js: -------------------------------------------------------------------------------- 1 | export class Deprecation extends Error { 2 | constructor(message) { 3 | super(message); // Maintains proper stack trace (only available on V8) 4 | 5 | /* istanbul ignore next */ 6 | 7 | if (Error.captureStackTrace) { 8 | Error.captureStackTrace(this, this.constructor); 9 | } 10 | 11 | this.name = 'Deprecation'; 12 | } 13 | 14 | } -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { endpoint } from "@octokit/endpoint"; 2 | import { getUserAgent } from "universal-user-agent"; 3 | import { VERSION } from "./version"; 4 | import withDefaults from "./with-defaults"; 5 | export const request = withDefaults(endpoint, { 6 | headers: { 7 | "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`, 8 | }, 9 | }); 10 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/ts3.6/index.d.ts: -------------------------------------------------------------------------------- 1 | // NOTE: These definitions support NodeJS and TypeScript 3.5 - 3.6. 2 | // This is required to enable typing assert in ts3.7 without causing errors 3 | // Typically type modifications should be made in base.d.ts instead of here 4 | 5 | /// 6 | 7 | // tslint:disable-next-line:no-bad-reference 8 | /// 9 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/helpers/README.md: -------------------------------------------------------------------------------- 1 | # axios // helpers 2 | 3 | The modules found in `helpers/` should be generic modules that are _not_ specific to the domain logic of axios. These modules could theoretically be published to npm on their own and consumed by other modules or apps. Some examples of generic modules are things like: 4 | 5 | - Browser polyfills 6 | - Managing cookies 7 | - Parsing HTTP headers 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/github/lib/internal/utils.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import * as http from 'http'; 3 | import { OctokitOptions } from '@octokit/core/dist-types/types'; 4 | export declare function getAuthString(token: string, options: OctokitOptions): string | undefined; 5 | export declare function getProxyAgent(destinationUrl: string): http.Agent; 6 | export declare function getApiBaseUrl(): string; 7 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointInterface } from "@octokit/types"; 2 | export default function fetchWrapper(requestOptions: ReturnType & { 3 | redirect?: "error" | "follow" | "manual"; 4 | }): Promise<{ 5 | status: number; 6 | url: string; 7 | headers: { 8 | [header: string]: string; 9 | }; 10 | data: any; 11 | }>; 12 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts: -------------------------------------------------------------------------------- 1 | declare type Unwrap = T extends Promise ? U : T; 2 | declare type AnyFunction = (...args: any[]) => any; 3 | export declare type GetResponseTypeFromEndpointMethod = Unwrap>; 4 | export declare type GetResponseDataTypeFromEndpointMethod = Unwrap>["data"]; 5 | export {}; 6 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/before-after-hook/lib/remove.js: -------------------------------------------------------------------------------- 1 | module.exports = removeHook 2 | 3 | function removeHook (state, name, method) { 4 | if (!state.registry[name]) { 5 | return 6 | } 7 | 8 | var index = state.registry[name] 9 | .map(function (registered) { return registered.orig }) 10 | .indexOf(method) 11 | 12 | if (index === -1) { 13 | return 14 | } 15 | 16 | state.registry[name].splice(index, 1) 17 | } 18 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/universal-user-agent/dist-src/index.js: -------------------------------------------------------------------------------- 1 | export function getUserAgent() { 2 | if (typeof navigator === "object" && "userAgent" in navigator) { 3 | return navigator.userAgent; 4 | } 5 | if (typeof process === "object" && "version" in process) { 6 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 7 | } 8 | return ""; 9 | } 10 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/deprecation/dist-web/index.js: -------------------------------------------------------------------------------- 1 | class Deprecation extends Error { 2 | constructor(message) { 3 | super(message); // Maintains proper stack trace (only available on V8) 4 | 5 | /* istanbul ignore next */ 6 | 7 | if (Error.captureStackTrace) { 8 | Error.captureStackTrace(this, this.constructor); 9 | } 10 | 11 | this.name = 'Deprecation'; 12 | } 13 | 14 | } 15 | 16 | export { Deprecation }; 17 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/5-support-request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "❓ Solicitação de suporte" 3 | about: Solicitações de suporte 4 | 5 | --- 6 | 7 | 🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 8 | 9 | Por favor, utilize nosso [canal de atendimento](https://valdeirpsr.atlassian.net/servicedesk/customer/portal/3) ou envie um e-mail para [contato@valdeir.dev](mailto:contato@valdeir.dev) 10 | 11 | Obrigado! 12 | 13 | 🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 14 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dispatch-newsletter", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [], 10 | "author": "Valdeir S.", 11 | "license": "MIT", 12 | "dependencies": { 13 | "@actions/core": "^1.9.1", 14 | "@actions/github": "^4.0.0", 15 | "axios": "^0.21.1" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/helpers/normalizeHeaderName.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var utils = require('../utils'); 4 | 5 | module.exports = function normalizeHeaderName(headers, normalizedName) { 6 | utils.forEach(headers, function processHeader(value, name) { 7 | if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) { 8 | headers[normalizedName] = value; 9 | delete headers[name]; 10 | } 11 | }); 12 | }; 13 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/punycode.d.ts: -------------------------------------------------------------------------------- 1 | declare module "punycode" { 2 | function decode(string: string): string; 3 | function encode(string: string): string; 4 | function toUnicode(domain: string): string; 5 | function toASCII(domain: string): string; 6 | const ucs2: ucs2; 7 | interface ucs2 { 8 | decode(string: string): number[]; 9 | encode(codePoints: number[]): string; 10 | } 11 | const version: string; 12 | } 13 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/graphql/dist-types/error.d.ts: -------------------------------------------------------------------------------- 1 | import { ResponseHeaders } from "@octokit/types"; 2 | import { GraphQlEndpointOptions, GraphQlQueryResponse } from "./types"; 3 | export declare class GraphqlError extends Error { 4 | request: GraphQlEndpointOptions; 5 | constructor(request: GraphQlEndpointOptions, response: { 6 | headers: ResponseHeaders; 7 | data: Required>; 8 | }); 9 | } 10 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js: -------------------------------------------------------------------------------- 1 | const urlVariableRegex = /\{[^}]+\}/g; 2 | function removeNonChars(variableName) { 3 | return variableName.replace(/^\W+|\W+$/g, "").split(/,/); 4 | } 5 | export function extractUrlVariableNames(url) { 6 | const matches = url.match(urlVariableRegex); 7 | if (!matches) { 8 | return []; 9 | } 10 | return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); 11 | } 12 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/helpers/combineURLs.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Creates a new URL by combining the specified URLs 5 | * 6 | * @param {string} baseURL The base URL 7 | * @param {string} relativeURL The relative URL 8 | * @returns {string} The combined URL 9 | */ 10 | module.exports = function combineURLs(baseURL, relativeURL) { 11 | return relativeURL 12 | ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '') 13 | : baseURL; 14 | }; 15 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/ts3.4/index.d.ts: -------------------------------------------------------------------------------- 1 | // NOTE: These definitions support NodeJS and TypeScript 3.2 - 3.4. 2 | // This is required to enable globalThis support for global in ts3.5 without causing errors 3 | // This is required to enable typing assert in ts3.7 without causing errors 4 | // Typically type modifiations should be made in base.d.ts instead of here 5 | 6 | /// 7 | /// 8 | /// 9 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/4-security-issue-disclosure.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: ⚠️ Divulgação de problema de segurança 3 | about: Relate um problema de segurança no Angular Framework, Material ou CLI 4 | 5 | --- 6 | 7 | 🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 8 | 9 | Registre o problema em nossa [central de atendimento](https://valdeirpsr.atlassian.net/servicedesk/customer/portal/3) e/ou envie um e-mail para [contato@valdeir.dev](mailto:contato@valdeir.dev) 10 | 11 | 🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 12 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/universal-user-agent/dist-web/index.js: -------------------------------------------------------------------------------- 1 | function getUserAgent() { 2 | if (typeof navigator === "object" && "userAgent" in navigator) { 3 | return navigator.userAgent; 4 | } 5 | if (typeof process === "object" && "version" in process) { 6 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 7 | } 8 | return ""; 9 | } 10 | 11 | export { getUserAgent }; 12 | //# sourceMappingURL=index.js.map 13 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { PaginateInterface } from "./types"; 2 | export { PaginateInterface } from "./types"; 3 | import { Octokit } from "@octokit/core"; 4 | /** 5 | * @param octokit Octokit instance 6 | * @param options Options passed to Octokit constructor 7 | */ 8 | export declare function paginateRest(octokit: Octokit): { 9 | paginate: PaginateInterface; 10 | }; 11 | export declare namespace paginateRest { 12 | var VERSION: string; 13 | } 14 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/cancel/Cancel.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * A `Cancel` is an object that is thrown when an operation is canceled. 5 | * 6 | * @class 7 | * @param {string=} message The message. 8 | */ 9 | function Cancel(message) { 10 | this.message = message; 11 | } 12 | 13 | Cancel.prototype.toString = function toString() { 14 | return 'Cancel' + (this.message ? ': ' + this.message : ''); 15 | }; 16 | 17 | Cancel.prototype.__CANCEL__ = true; 18 | 19 | module.exports = Cancel; 20 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/constants.d.ts: -------------------------------------------------------------------------------- 1 | /** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */ 2 | declare module "constants" { 3 | import { constants as osConstants, SignalConstants } from 'os'; 4 | import { constants as cryptoConstants } from 'crypto'; 5 | import { constants as fsConstants } from 'fs'; 6 | const exp: typeof osConstants.errno & typeof osConstants.priority & SignalConstants & typeof cryptoConstants & typeof fsConstants; 7 | export = exp; 8 | } 9 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "opencart-extension/pagseguro-checkout-transparente", 3 | "description": "Modulo para OpenCart", 4 | "type": "library", 5 | "require": { 6 | "valdeirpsr/pagseguro": "^1.1", 7 | "spatie/yaml-front-matter": "^2.0" 8 | }, 9 | "license": "GPL v2", 10 | "authors": [ 11 | { 12 | "name": "Valdeir S.", 13 | "email": "contact@valdeir.dev" 14 | } 15 | ], 16 | "config": { 17 | "vendor-dir": "upload/system/library/PagSeguro" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { RequestInterface, OctokitResponse, RequestParameters, Route } from "./types"; 3 | export declare function iterator(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters): { 4 | [Symbol.asyncIterator]: () => { 5 | next(): Promise<{ 6 | done: boolean; 7 | }> | Promise<{ 8 | value: OctokitResponse; 9 | }>; 10 | }; 11 | }; 12 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts: -------------------------------------------------------------------------------- 1 | import { ResponseHeaders } from "./ResponseHeaders"; 2 | import { Url } from "./Url"; 3 | export declare type OctokitResponse = { 4 | headers: ResponseHeaders; 5 | /** 6 | * http response code 7 | */ 8 | status: number; 9 | /** 10 | * URL of response after all redirects 11 | */ 12 | url: Url; 13 | /** 14 | * This is the data you would see in https://developer.Octokit.com/v3/ 15 | */ 16 | data: T; 17 | }; 18 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/graphql/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import { graphql } from "./graphql"; 3 | export function withDefaults(request, newDefaults) { 4 | const newRequest = request.defaults(newDefaults); 5 | const newApi = (query, options) => { 6 | return graphql(newRequest, query, options); 7 | }; 8 | return Object.assign(newApi, { 9 | defaults: withDefaults.bind(null, newRequest), 10 | endpoint: Request.endpoint, 11 | }); 12 | } 13 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/tunnel/.idea/node-tunnel.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /upload/catalog/language/en-gb/extension/payment/pagseguro_debit.php: -------------------------------------------------------------------------------- 1 | ; 12 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/deprecation/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | class Deprecation extends Error { 6 | constructor(message) { 7 | super(message); // Maintains proper stack trace (only available on V8) 8 | 9 | /* istanbul ignore next */ 10 | 11 | if (Error.captureStackTrace) { 12 | Error.captureStackTrace(this, this.constructor); 13 | } 14 | 15 | this.name = 'Deprecation'; 16 | } 17 | 18 | } 19 | 20 | exports.Deprecation = Deprecation; 21 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { VERSION } from "./version"; 2 | import { paginate } from "./paginate"; 3 | import { iterator } from "./iterator"; 4 | /** 5 | * @param octokit Octokit instance 6 | * @param options Options passed to Octokit constructor 7 | */ 8 | export function paginateRest(octokit) { 9 | return { 10 | paginate: Object.assign(paginate.bind(null, octokit), { 11 | iterator: iterator.bind(null, octokit), 12 | }), 13 | }; 14 | } 15 | paginateRest.VERSION = VERSION; 16 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/RequestOptions.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestHeaders } from "./RequestHeaders"; 2 | import { RequestMethod } from "./RequestMethod"; 3 | import { RequestRequestOptions } from "./RequestRequestOptions"; 4 | import { Url } from "./Url"; 5 | /** 6 | * Generic request options as they are returned by the `endpoint()` method 7 | */ 8 | export declare type RequestOptions = { 9 | method: RequestMethod; 10 | url: Url; 11 | headers: RequestHeaders; 12 | body?: any; 13 | request?: RequestRequestOptions; 14 | }; 15 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import { endpointWithDefaults } from "./endpoint-with-defaults"; 2 | import { merge } from "./merge"; 3 | import { parse } from "./parse"; 4 | export function withDefaults(oldDefaults, newDefaults) { 5 | const DEFAULTS = merge(oldDefaults, newDefaults); 6 | const endpoint = endpointWithDefaults.bind(null, DEFAULTS); 7 | return Object.assign(endpoint, { 8 | DEFAULTS, 9 | defaults: withDefaults.bind(null, DEFAULTS), 10 | merge: merge.bind(null, DEFAULTS), 11 | parse, 12 | }); 13 | } 14 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/http-client/RELEASES.md: -------------------------------------------------------------------------------- 1 | ## Releases 2 | 3 | ## 1.0.7 4 | Update NPM dependencies and add 429 to the list of HttpCodes 5 | 6 | ## 1.0.6 7 | Automatically sends Content-Type and Accept application/json headers for \Json() helper methods if not set in the client or parameters. 8 | 9 | ## 1.0.5 10 | Adds \Json() helper methods for json over http scenarios. 11 | 12 | ## 1.0.4 13 | Started to add \Json() helper methods. Do not use this release for that. Use >= 1.0.5 since there was an issue with types. 14 | 15 | ## 1.0.1 to 1.0.3 16 | Adds proxy support. -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/universal-user-agent/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | function getUserAgent() { 6 | if (typeof navigator === "object" && "userAgent" in navigator) { 7 | return navigator.userAgent; 8 | } 9 | 10 | if (typeof process === "object" && "version" in process) { 11 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 12 | } 13 | 14 | return ""; 15 | } 16 | 17 | exports.getUserAgent = getUserAgent; 18 | //# sourceMappingURL=index.js.map 19 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { auth } from "./auth"; 2 | import { hook } from "./hook"; 3 | export const createTokenAuth = function createTokenAuth(token) { 4 | if (!token) { 5 | throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); 6 | } 7 | if (typeof token !== "string") { 8 | throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); 9 | } 10 | token = token.replace(/^(token|bearer) +/i, ""); 11 | return Object.assign(auth.bind(null, token), { 12 | hook: hook.bind(null, token) 13 | }); 14 | }; 15 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/graphql/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { request } from "@octokit/request"; 2 | import { getUserAgent } from "universal-user-agent"; 3 | import { VERSION } from "./version"; 4 | import { withDefaults } from "./with-defaults"; 5 | export const graphql = withDefaults(request, { 6 | headers: { 7 | "user-agent": `octokit-graphql.js/${VERSION} ${getUserAgent()}`, 8 | }, 9 | method: "POST", 10 | url: "/graphql", 11 | }); 12 | export function withCustomRequest(customRequest) { 13 | return withDefaults(customRequest, { 14 | method: "POST", 15 | url: "/graphql", 16 | }); 17 | } 18 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/tunnel/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | - 0.0.6 (2018/09/11) 4 | - Fix `localAddress` not working (#25) 5 | - Fix `Host:` header for CONNECT method by @tmurakam (#29, #30) 6 | - Fix default port for https (#32) 7 | - Fix error handling when the proxy send illegal response body (#33) 8 | 9 | - 0.0.5 (2017/06/12) 10 | - Fix socket leak. 11 | 12 | - 0.0.4 (2016/01/23) 13 | - supported Node v0.12 or later. 14 | 15 | - 0.0.3 (2014/01/20) 16 | - fixed package.json 17 | 18 | - 0.0.1 (2012/02/18) 19 | - supported Node v0.6.x (0.6.11 or later). 20 | 21 | - 0.0.0 (2012/02/11) 22 | - first release. 23 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/graphql/dist-src/error.js: -------------------------------------------------------------------------------- 1 | export class GraphqlError extends Error { 2 | constructor(request, response) { 3 | const message = response.data.errors[0].message; 4 | super(message); 5 | Object.assign(this, response.data); 6 | Object.assign(this, { headers: response.headers }); 7 | this.name = "GraphqlError"; 8 | this.request = request; 9 | // Maintains proper stack trace (only available on V8) 10 | /* istanbul ignore next */ 11 | if (Error.captureStackTrace) { 12 | Error.captureStackTrace(this, this.constructor); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts: -------------------------------------------------------------------------------- 1 | export declare type RequestHeaders = { 2 | /** 3 | * Avoid setting `headers.accept`, use `mediaType.{format|previews}` option instead. 4 | */ 5 | accept?: string; 6 | /** 7 | * Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678` 8 | */ 9 | authorization?: string; 10 | /** 11 | * `user-agent` is set do a default and can be overwritten as needed. 12 | */ 13 | "user-agent"?: string; 14 | [header: string]: string | number | undefined; 15 | }; 16 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js: -------------------------------------------------------------------------------- 1 | import { isPlainObject } from "is-plain-object"; 2 | export function mergeDeep(defaults, options) { 3 | const result = Object.assign({}, defaults); 4 | Object.keys(options).forEach((key) => { 5 | if (isPlainObject(options[key])) { 6 | if (!(key in defaults)) 7 | Object.assign(result, { [key]: options[key] }); 8 | else 9 | result[key] = mergeDeep(defaults[key], options[key]); 10 | } 11 | else { 12 | Object.assign(result, { [key]: options[key] }); 13 | } 14 | }); 15 | return result; 16 | } 17 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/helpers/isAbsoluteURL.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Determines whether the specified URL is absolute 5 | * 6 | * @param {string} url The URL to test 7 | * @returns {boolean} True if the specified URL is absolute, otherwise false 8 | */ 9 | module.exports = function isAbsoluteURL(url) { 10 | // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). 11 | // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed 12 | // by any combination of letters, digits, plus, period, or hyphen. 13 | return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url); 14 | }; 15 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js: -------------------------------------------------------------------------------- 1 | export function addQueryParameters(url, parameters) { 2 | const separator = /\?/.test(url) ? "&" : "?"; 3 | const names = Object.keys(parameters); 4 | if (names.length === 0) { 5 | return url; 6 | } 7 | return (url + 8 | separator + 9 | names 10 | .map((name) => { 11 | if (name === "q") { 12 | return ("q=" + parameters.q.split("+").map(encodeURIComponent).join("+")); 13 | } 14 | return `${name}=${encodeURIComponent(parameters[name])}`; 15 | }) 16 | .join("&")); 17 | } 18 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import { Route, RequestParameters } from "@octokit/types"; 2 | import { RestEndpointMethods } from "./generated/method-types"; 3 | export declare type Api = RestEndpointMethods; 4 | export declare type EndpointDecorations = { 5 | mapToData?: string; 6 | deprecated?: string; 7 | renamed?: [string, string]; 8 | renamedParameters?: { 9 | [name: string]: string; 10 | }; 11 | }; 12 | export declare type EndpointsDefaultsAndDecorations = { 13 | [scope: string]: { 14 | [methodName: string]: [Route, RequestParameters?, EndpointDecorations?]; 15 | }; 16 | }; 17 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/core/transformData.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var utils = require('./../utils'); 4 | 5 | /** 6 | * Transform the data for a request or a response 7 | * 8 | * @param {Object|String} data The data to be transformed 9 | * @param {Array} headers The headers for the request or response 10 | * @param {Array|Function} fns A single function or Array of functions 11 | * @returns {*} The resulting transformed data 12 | */ 13 | module.exports = function transformData(data, headers, fns) { 14 | /*eslint no-param-reassign:0*/ 15 | utils.forEach(fns, function transform(fn) { 16 | data = fn(data, headers); 17 | }); 18 | 19 | return data; 20 | }; 21 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-src/defaults.js: -------------------------------------------------------------------------------- 1 | import { getUserAgent } from "universal-user-agent"; 2 | import { VERSION } from "./version"; 3 | const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; 4 | // DEFAULTS has all properties set that EndpointOptions has, except url. 5 | // So we use RequestParameters and add method as additional required property. 6 | export const DEFAULTS = { 7 | method: "GET", 8 | baseUrl: "https://api.github.com", 9 | headers: { 10 | accept: "application/vnd.github.v3+json", 11 | "user-agent": userAgent, 12 | }, 13 | mediaType: { 14 | format: "", 15 | previews: [], 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts: -------------------------------------------------------------------------------- 1 | export declare type ResponseHeaders = { 2 | "cache-control"?: string; 3 | "content-length"?: number; 4 | "content-type"?: string; 5 | date?: string; 6 | etag?: string; 7 | "last-modified"?: string; 8 | link?: string; 9 | location?: string; 10 | server?: string; 11 | status?: string; 12 | vary?: string; 13 | "x-github-mediatype"?: string; 14 | "x-github-request-id"?: string; 15 | "x-oauth-scopes"?: string; 16 | "x-ratelimit-limit"?: string; 17 | "x-ratelimit-remaining"?: string; 18 | "x-ratelimit-reset"?: string; 19 | [header: string]: string | number | undefined; 20 | }; 21 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/helpers/spread.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Syntactic sugar for invoking a function and expanding an array for arguments. 5 | * 6 | * Common use case would be to use `Function.prototype.apply`. 7 | * 8 | * ```js 9 | * function f(x, y, z) {} 10 | * var args = [1, 2, 3]; 11 | * f.apply(null, args); 12 | * ``` 13 | * 14 | * With `spread` this example can be re-written. 15 | * 16 | * ```js 17 | * spread(function(x, y, z) {})([1, 2, 3]); 18 | * ``` 19 | * 20 | * @param {Function} callback 21 | * @returns {Function} 22 | */ 23 | module.exports = function spread(callback) { 24 | return function wrap(arr) { 25 | return callback.apply(null, arr); 26 | }; 27 | }; 28 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/core/lib/command.d.ts: -------------------------------------------------------------------------------- 1 | interface CommandProperties { 2 | [key: string]: any; 3 | } 4 | /** 5 | * Commands 6 | * 7 | * Command Format: 8 | * ::name key=value,key=value::message 9 | * 10 | * Examples: 11 | * ::warning::This is the message 12 | * ::set-env name=MY_VAR::some value 13 | */ 14 | export declare function issueCommand(command: string, properties: CommandProperties, message: any): void; 15 | export declare function issue(name: string, message?: string): void; 16 | /** 17 | * Sanitizes an input into a string so it can be passed into issueCommand safely 18 | * @param input input to sanitize into a string 19 | */ 20 | export declare function toCommandValue(input: any): string; 21 | export {}; 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/core/createError.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var enhanceError = require('./enhanceError'); 4 | 5 | /** 6 | * Create an Error with the specified message, config, error code, request and response. 7 | * 8 | * @param {string} message The error message. 9 | * @param {Object} config The config. 10 | * @param {string} [code] The error code (for example, 'ECONNABORTED'). 11 | * @param {Object} [request] The request. 12 | * @param {Object} [response] The response. 13 | * @returns {Error} The created error. 14 | */ 15 | module.exports = function createError(message, config, code, request, response) { 16 | var error = new Error(message); 17 | return enhanceError(error, config, code, request, response); 18 | }; 19 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestHeaders } from "./RequestHeaders"; 2 | import { RequestMethod } from "./RequestMethod"; 3 | import { RequestParameters } from "./RequestParameters"; 4 | import { Url } from "./Url"; 5 | /** 6 | * The `.endpoint()` method is guaranteed to set all keys defined by RequestParameters 7 | * as well as the method property. 8 | */ 9 | export declare type EndpointDefaults = RequestParameters & { 10 | baseUrl: Url; 11 | method: RequestMethod; 12 | url?: Url; 13 | headers: RequestHeaders & { 14 | accept: string; 15 | "user-agent": string; 16 | }; 17 | mediaType: { 18 | format: string; 19 | previews: string[]; 20 | }; 21 | }; 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/github/lib/context.d.ts: -------------------------------------------------------------------------------- 1 | import { WebhookPayload } from './interfaces'; 2 | export declare class Context { 3 | /** 4 | * Webhook payload object that triggered the workflow 5 | */ 6 | payload: WebhookPayload; 7 | eventName: string; 8 | sha: string; 9 | ref: string; 10 | workflow: string; 11 | action: string; 12 | actor: string; 13 | job: string; 14 | runNumber: number; 15 | runId: number; 16 | /** 17 | * Hydrate the context from the environment 18 | */ 19 | constructor(); 20 | get issue(): { 21 | owner: string; 22 | repo: string; 23 | number: number; 24 | }; 25 | get repo(): { 26 | owner: string; 27 | repo: string; 28 | }; 29 | } 30 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/github/lib/internal/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/internal/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,iEAAkD;AAGlD,SAAgB,aAAa,CAC3B,KAAa,EACb,OAAuB;IAEvB,IAAI,CAAC,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;QAC3B,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;KAC5D;SAAM,IAAI,KAAK,IAAI,OAAO,CAAC,IAAI,EAAE;QAChC,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAA;KAC5E;IAED,OAAO,OAAO,OAAO,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,KAAK,EAAE,CAAA;AAC3E,CAAC;AAXD,sCAWC;AAED,SAAgB,aAAa,CAAC,cAAsB;IAClD,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,UAAU,EAAE,CAAA;IACtC,OAAO,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAA;AACpC,CAAC;AAHD,sCAGC;AAED,SAAgB,aAAa;IAC3B,OAAO,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,IAAI,wBAAwB,CAAA;AAClE,CAAC;AAFD,sCAEC"} -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: https://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | # Unix-style newlines with a newline ending every file 7 | [*] 8 | charset = utf-8 9 | end_of_line = lf 10 | insert_final_newline = true 11 | trim_trailing_whitespace = true 12 | 13 | # Matches multiple files with brace expansion notation 14 | # Set default charset 15 | [*.php] 16 | charset = utf-8 17 | indent_style = space 18 | indent_size = 4 19 | 20 | [*.twig] 21 | indent_size = 2 22 | 23 | # 4 space indentation 24 | [*.json] 25 | indent_style = space 26 | indent_size = 4 27 | 28 | # Tab indentation (no size specified) 29 | [Makefile] 30 | indent_style = tab 31 | 32 | # Matches the exact files either package.json or .travis.yml 33 | [{package.json,.travis.yml}] 34 | indent_style = space 35 | indent_size = 2 36 | 37 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/core/buildFullPath.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isAbsoluteURL = require('../helpers/isAbsoluteURL'); 4 | var combineURLs = require('../helpers/combineURLs'); 5 | 6 | /** 7 | * Creates a new URL by combining the baseURL with the requestedURL, 8 | * only when the requestedURL is not already an absolute URL. 9 | * If the requestURL is absolute, this function returns the requestedURL untouched. 10 | * 11 | * @param {string} baseURL The base URL 12 | * @param {string} requestedURL Absolute or relative URL to combine 13 | * @returns {string} The combined full path 14 | */ 15 | module.exports = function buildFullPath(baseURL, requestedURL) { 16 | if (baseURL && !isAbsoluteURL(requestedURL)) { 17 | return combineURLs(baseURL, requestedURL); 18 | } 19 | return requestedURL; 20 | }; 21 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/buffer.d.ts: -------------------------------------------------------------------------------- 1 | declare module "buffer" { 2 | export const INSPECT_MAX_BYTES: number; 3 | export const kMaxLength: number; 4 | export const kStringMaxLength: number; 5 | export const constants: { 6 | MAX_LENGTH: number; 7 | MAX_STRING_LENGTH: number; 8 | }; 9 | const BuffType: typeof Buffer; 10 | 11 | export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary"; 12 | 13 | export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer; 14 | 15 | export const SlowBuffer: { 16 | /** @deprecated since v6.0.0, use `Buffer.allocUnsafeSlow()` */ 17 | new(size: number): Buffer; 18 | prototype: Buffer; 19 | }; 20 | 21 | export { BuffType as Buffer }; 22 | } 23 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/github/lib/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,wDAAyC;AAEzC,oBAAoB;AACpB,wCAAqC;AAErC,wFAAyE;AACzE,wEAA0D;AAE7C,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C,MAAM,OAAO,GAAG,KAAK,CAAC,aAAa,EAAE,CAAA;AACrC,MAAM,QAAQ,GAAG;IACf,OAAO;IACP,OAAO,EAAE;QACP,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;KACpC;CACF,CAAA;AAEY,QAAA,MAAM,GAAG,cAAO,CAAC,MAAM,CAClC,kDAAmB,EACnB,mCAAY,CACb,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;AAEpB;;;;;GAKG;AACH,SAAgB,iBAAiB,CAC/B,KAAa,EACb,OAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,IAAI,EAAE,CAAC,CAAA,CAAC,iEAAiE;IAE/G,OAAO;IACP,MAAM,IAAI,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;IAC7C,IAAI,IAAI,EAAE;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;KACjB;IAED,OAAO,IAAI,CAAA;AACb,CAAC;AAbD,8CAaC"} -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-src/index.js: -------------------------------------------------------------------------------- 1 | export * from "./AuthInterface"; 2 | export * from "./EndpointDefaults"; 3 | export * from "./EndpointInterface"; 4 | export * from "./EndpointOptions"; 5 | export * from "./Fetch"; 6 | export * from "./OctokitResponse"; 7 | export * from "./RequestError"; 8 | export * from "./RequestHeaders"; 9 | export * from "./RequestInterface"; 10 | export * from "./RequestMethod"; 11 | export * from "./RequestOptions"; 12 | export * from "./RequestParameters"; 13 | export * from "./RequestRequestOptions"; 14 | export * from "./ResponseHeaders"; 15 | export * from "./Route"; 16 | export * from "./Signal"; 17 | export * from "./StrategyInterface"; 18 | export * from "./Url"; 19 | export * from "./VERSION"; 20 | export * from "./GetResponseTypeFromEndpointMethod"; 21 | export * from "./generated/Endpoints"; 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/once/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./AuthInterface"; 2 | export * from "./EndpointDefaults"; 3 | export * from "./EndpointInterface"; 4 | export * from "./EndpointOptions"; 5 | export * from "./Fetch"; 6 | export * from "./OctokitResponse"; 7 | export * from "./RequestError"; 8 | export * from "./RequestHeaders"; 9 | export * from "./RequestInterface"; 10 | export * from "./RequestMethod"; 11 | export * from "./RequestOptions"; 12 | export * from "./RequestParameters"; 13 | export * from "./RequestRequestOptions"; 14 | export * from "./ResponseHeaders"; 15 | export * from "./Route"; 16 | export * from "./Signal"; 17 | export * from "./StrategyInterface"; 18 | export * from "./Url"; 19 | export * from "./VERSION"; 20 | export * from "./GetResponseTypeFromEndpointMethod"; 21 | export * from "./generated/Endpoints"; 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/domain.d.ts: -------------------------------------------------------------------------------- 1 | declare module "domain" { 2 | import { EventEmitter } from "events"; 3 | 4 | global { 5 | namespace NodeJS { 6 | interface Domain extends EventEmitter { 7 | run(fn: (...args: any[]) => T, ...args: any[]): T; 8 | add(emitter: EventEmitter | Timer): void; 9 | remove(emitter: EventEmitter | Timer): void; 10 | bind(cb: T): T; 11 | intercept(cb: T): T; 12 | } 13 | } 14 | } 15 | 16 | interface Domain extends NodeJS.Domain {} 17 | class Domain extends EventEmitter { 18 | members: Array; 19 | enter(): void; 20 | exit(): void; 21 | } 22 | 23 | function create(): Domain; 24 | } 25 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/core/settle.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var createError = require('./createError'); 4 | 5 | /** 6 | * Resolve or reject a Promise based on response status. 7 | * 8 | * @param {Function} resolve A function that resolves the promise. 9 | * @param {Function} reject A function that rejects the promise. 10 | * @param {object} response The response. 11 | */ 12 | module.exports = function settle(resolve, reject, response) { 13 | var validateStatus = response.config.validateStatus; 14 | if (!response.status || !validateStatus || validateStatus(response.status)) { 15 | resolve(response); 16 | } else { 17 | reject(createError( 18 | 'Request failed with status code ' + response.status, 19 | response.config, 20 | null, 21 | response.request, 22 | response 23 | )); 24 | } 25 | }; 26 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/deprecation/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Gregor Martynus and contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/wrappy/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import ENDPOINTS from "./generated/endpoints"; 2 | import { VERSION } from "./version"; 3 | import { endpointsToMethods } from "./endpoints-to-methods"; 4 | /** 5 | * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary 6 | * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is 7 | * done, we will remove the registerEndpoints methods and return the methods 8 | * directly as with the other plugins. At that point we will also remove the 9 | * legacy workarounds and deprecations. 10 | * 11 | * See the plan at 12 | * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1 13 | */ 14 | export function restEndpointMethods(octokit) { 15 | return endpointsToMethods(octokit, ENDPOINTS); 16 | } 17 | restEndpointMethods.VERSION = VERSION; 18 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/before-after-hook/lib/register.js: -------------------------------------------------------------------------------- 1 | module.exports = register 2 | 3 | function register (state, name, method, options) { 4 | if (typeof method !== 'function') { 5 | throw new Error('method for before hook must be a function') 6 | } 7 | 8 | if (!options) { 9 | options = {} 10 | } 11 | 12 | if (Array.isArray(name)) { 13 | return name.reverse().reduce(function (callback, name) { 14 | return register.bind(null, state, name, callback, options) 15 | }, method)() 16 | } 17 | 18 | return Promise.resolve() 19 | .then(function () { 20 | if (!state.registry[name]) { 21 | return method(options) 22 | } 23 | 24 | return (state.registry[name]).reduce(function (method, registered) { 25 | return registered.hook.bind(null, method, options) 26 | }, method)() 27 | }) 28 | } 29 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/universal-user-agent/LICENSE.md: -------------------------------------------------------------------------------- 1 | # [ISC License](https://spdx.org/licenses/ISC) 2 | 3 | Copyright (c) 2018, Gregor Martynus (https://github.com/gr2m) 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/node-fetch/browser.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | // ref: https://github.com/tc39/proposal-global 4 | var getGlobal = function () { 5 | // the only reliable means to get the global object is 6 | // `Function('return this')()` 7 | // However, this causes CSP violations in Chrome apps. 8 | if (typeof self !== 'undefined') { return self; } 9 | if (typeof window !== 'undefined') { return window; } 10 | if (typeof global !== 'undefined') { return global; } 11 | throw new Error('unable to locate global object'); 12 | } 13 | 14 | var global = getGlobal(); 15 | 16 | module.exports = exports = global.fetch; 17 | 18 | // Needed for TypeScript and Webpack. 19 | if (global.fetch) { 20 | exports.default = global.fetch.bind(global); 21 | } 22 | 23 | exports.Headers = global.Headers; 24 | exports.Request = global.Request; 25 | exports.Response = global.Response; -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request-error/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestOptions, ResponseHeaders } from "@octokit/types"; 2 | import { RequestErrorOptions } from "./types"; 3 | /** 4 | * Error with extra properties to help with debugging 5 | */ 6 | export declare class RequestError extends Error { 7 | name: "HttpError"; 8 | /** 9 | * http status code 10 | */ 11 | status: number; 12 | /** 13 | * http status code 14 | * 15 | * @deprecated `error.code` is deprecated in favor of `error.status` 16 | */ 17 | code: number; 18 | /** 19 | * error response headers 20 | */ 21 | headers: ResponseHeaders; 22 | /** 23 | * Request options that lead to the error. 24 | */ 25 | request: RequestOptions; 26 | constructor(message: string, statusCode: number, options: RequestErrorOptions); 27 | } 28 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/wrappy/README.md: -------------------------------------------------------------------------------- 1 | # wrappy 2 | 3 | Callback wrapping utility 4 | 5 | ## USAGE 6 | 7 | ```javascript 8 | var wrappy = require("wrappy") 9 | 10 | // var wrapper = wrappy(wrapperFunction) 11 | 12 | // make sure a cb is called only once 13 | // See also: http://npm.im/once for this specific use case 14 | var once = wrappy(function (cb) { 15 | var called = false 16 | return function () { 17 | if (called) return 18 | called = true 19 | return cb.apply(this, arguments) 20 | } 21 | }) 22 | 23 | function printBoo () { 24 | console.log('boo') 25 | } 26 | // has some rando property 27 | printBoo.iAmBooPrinter = true 28 | 29 | var onlyPrintOnce = once(printBoo) 30 | 31 | onlyPrintOnce() // prints 'boo' 32 | onlyPrintOnce() // does nothing 33 | 34 | // random property is retained! 35 | assert.equal(onlyPrintOnce.iAmBooPrinter, true) 36 | ``` 37 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | export { RestEndpointMethodTypes } from "./generated/parameters-and-response-types"; 3 | import { Api } from "./types"; 4 | /** 5 | * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary 6 | * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is 7 | * done, we will remove the registerEndpoints methods and return the methods 8 | * directly as with the other plugins. At that point we will also remove the 9 | * legacy workarounds and deprecations. 10 | * 11 | * See the plan at 12 | * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1 13 | */ 14 | export declare function restEndpointMethods(octokit: Octokit): Api; 15 | export declare namespace restEndpointMethods { 16 | var VERSION: string; 17 | } 18 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/helpers/deprecatedMethod.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*eslint no-console:0*/ 4 | 5 | /** 6 | * Supply a warning to the developer that a method they are using 7 | * has been deprecated. 8 | * 9 | * @param {string} method The name of the deprecated method 10 | * @param {string} [instead] The alternate method to use if applicable 11 | * @param {string} [docs] The documentation URL to get further details 12 | */ 13 | module.exports = function deprecatedMethod(method, instead, docs) { 14 | try { 15 | console.warn( 16 | 'DEPRECATED method `' + method + '`.' + 17 | (instead ? ' Use `' + instead + '` instead.' : '') + 18 | ' This method will be removed in a future release.'); 19 | 20 | if (docs) { 21 | console.warn('For more information about usage see ' + docs); 22 | } 23 | } catch (e) { /* Ignore */ } 24 | }; 25 | -------------------------------------------------------------------------------- /upload/catalog/language/en-gb/extension/payment/pagseguro_boleto.php: -------------------------------------------------------------------------------- 1 | debug para ter mais informações'; 18 | $_['error_production_auth'] = 'Não foi possível concluir a operação. Entre em contato com o suporte da loja'; 19 | $_['error_debug_unknown'] = 'Erro desconhecido. Acesse a área de debug para ter mais informações'; 20 | $_['error_production_unknown'] = 'Não foi possível concluir a operação. Entre em contato com o suporte da loja'; 21 | $_['error_cpf'] = 'O CPF é obrigatório'; 22 | $_['error_order_not_found'] = 'Pedido não encontrado'; 23 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/universal-user-agent/dist-web/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/index.js"],"sourcesContent":["export function getUserAgent() {\n if (typeof navigator === \"object\" && \"userAgent\" in navigator) {\n return navigator.userAgent;\n }\n if (typeof process === \"object\" && \"version\" in process) {\n return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;\n }\n return \"\";\n}\n"],"names":[],"mappings":"AAAO,SAAS,YAAY,GAAG;AAC/B,IAAI,IAAI,OAAO,SAAS,KAAK,QAAQ,IAAI,WAAW,IAAI,SAAS,EAAE;AACnE,QAAQ,OAAO,SAAS,CAAC,SAAS,CAAC;AACnC,KAAK;AACL,IAAI,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,SAAS,IAAI,OAAO,EAAE;AAC7D,QAAQ,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC7F,KAAK;AACL,IAAI,OAAO,4BAA4B,CAAC;AACxC;;;;"} -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/2-feature-request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "\U0001F680 Solicitação de recurso" 3 | about: Sugira um recurso para o módulo 4 | 5 | --- 6 | 14 | 15 | 16 | # 🚀 Solicitação de recurso 17 | 18 | ### Descrição 19 | Uma descrição clara e concisa do problema ou capacidade ausente ... 20 | 21 | 22 | ### Descreva a solução que você gostaria 23 | Se você tem uma solução em mente, descreva-a. 24 | 25 | 26 | ### Descreva as alternativas que você considerou 27 | Você considerou alguma solução alternativa? 28 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/timers.d.ts: -------------------------------------------------------------------------------- 1 | declare module "timers" { 2 | function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; 3 | namespace setTimeout { 4 | function __promisify__(ms: number): Promise; 5 | function __promisify__(ms: number, value: T): Promise; 6 | } 7 | function clearTimeout(timeoutId: NodeJS.Timeout): void; 8 | function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; 9 | function clearInterval(intervalId: NodeJS.Timeout): void; 10 | function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate; 11 | namespace setImmediate { 12 | function __promisify__(): Promise; 13 | function __promisify__(value: T): Promise; 14 | } 15 | function clearImmediate(immediateId: NodeJS.Immediate): void; 16 | } 17 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/universal-user-agent/dist-node/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/index.js"],"sourcesContent":["export function getUserAgent() {\n if (typeof navigator === \"object\" && \"userAgent\" in navigator) {\n return navigator.userAgent;\n }\n if (typeof process === \"object\" && \"version\" in process) {\n return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;\n }\n return \"\";\n}\n"],"names":["getUserAgent","navigator","userAgent","process","version","substr","platform","arch"],"mappings":";;;;AAAO,SAASA,YAAT,GAAwB;AAC3B,MAAI,OAAOC,SAAP,KAAqB,QAArB,IAAiC,eAAeA,SAApD,EAA+D;AAC3D,WAAOA,SAAS,CAACC,SAAjB;AACH;;AACD,MAAI,OAAOC,OAAP,KAAmB,QAAnB,IAA+B,aAAaA,OAAhD,EAAyD;AACrD,WAAQ,WAAUA,OAAO,CAACC,OAAR,CAAgBC,MAAhB,CAAuB,CAAvB,CAA0B,KAAIF,OAAO,CAACG,QAAS,KAAIH,OAAO,CAACI,IAAK,GAAlF;AACH;;AACD,SAAO,4BAAP;AACH;;;;"} -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js: -------------------------------------------------------------------------------- 1 | import { iterator } from "./iterator"; 2 | export function paginate(octokit, route, parameters, mapFn) { 3 | if (typeof parameters === "function") { 4 | mapFn = parameters; 5 | parameters = undefined; 6 | } 7 | return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn); 8 | } 9 | function gather(octokit, results, iterator, mapFn) { 10 | return iterator.next().then((result) => { 11 | if (result.done) { 12 | return results; 13 | } 14 | let earlyExit = false; 15 | function done() { 16 | earlyExit = true; 17 | } 18 | results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data); 19 | if (earlyExit) { 20 | return results; 21 | } 22 | return gather(octokit, results, iterator, mapFn); 23 | }); 24 | } 25 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/is-plain-object/dist/is-plain-object.mjs: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-plain-object 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | function isObject(o) { 9 | return Object.prototype.toString.call(o) === '[object Object]'; 10 | } 11 | 12 | function isPlainObject(o) { 13 | var ctor,prot; 14 | 15 | if (isObject(o) === false) return false; 16 | 17 | // If has modified constructor 18 | ctor = o.constructor; 19 | if (ctor === undefined) return true; 20 | 21 | // If has modified prototype 22 | prot = ctor.prototype; 23 | if (isObject(prot) === false) return false; 24 | 25 | // If constructor does not have an Object-specific method 26 | if (prot.hasOwnProperty('isPrototypeOf') === false) { 27 | return false; 28 | } 29 | 30 | // Most likely a plain Object 31 | return true; 32 | } 33 | 34 | export { isPlainObject }; 35 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/github/lib/interfaces.d.ts: -------------------------------------------------------------------------------- 1 | export interface PayloadRepository { 2 | [key: string]: any; 3 | full_name?: string; 4 | name: string; 5 | owner: { 6 | [key: string]: any; 7 | login: string; 8 | name?: string; 9 | }; 10 | html_url?: string; 11 | } 12 | export interface WebhookPayload { 13 | [key: string]: any; 14 | repository?: PayloadRepository; 15 | issue?: { 16 | [key: string]: any; 17 | number: number; 18 | html_url?: string; 19 | body?: string; 20 | }; 21 | pull_request?: { 22 | [key: string]: any; 23 | number: number; 24 | html_url?: string; 25 | body?: string; 26 | }; 27 | sender?: { 28 | [key: string]: any; 29 | type: string; 30 | }; 31 | action?: string; 32 | installation?: { 33 | id: number; 34 | [key: string]: any; 35 | }; 36 | comment?: { 37 | id: number; 38 | [key: string]: any; 39 | }; 40 | } 41 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/github/lib/utils.d.ts: -------------------------------------------------------------------------------- 1 | import * as Context from './context'; 2 | import { Octokit } from '@octokit/core'; 3 | import { OctokitOptions } from '@octokit/core/dist-types/types'; 4 | export declare const context: Context.Context; 5 | export declare const GitHub: (new (...args: any[]) => { 6 | [x: string]: any; 7 | }) & { 8 | new (...args: any[]): { 9 | [x: string]: any; 10 | }; 11 | plugins: any[]; 12 | } & typeof Octokit & import("@octokit/core/dist-types/types").Constructor; 15 | /** 16 | * Convience function to correctly format Octokit Options to pass into the constructor. 17 | * 18 | * @param token the repo PAT or GITHUB_TOKEN 19 | * @param options other options to set 20 | */ 21 | export declare function getOctokitOptions(token: string, options?: OctokitOptions): OctokitOptions; 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import fetchWrapper from "./fetch-wrapper"; 2 | export default function withDefaults(oldEndpoint, newDefaults) { 3 | const endpoint = oldEndpoint.defaults(newDefaults); 4 | const newApi = function (route, parameters) { 5 | const endpointOptions = endpoint.merge(route, parameters); 6 | if (!endpointOptions.request || !endpointOptions.request.hook) { 7 | return fetchWrapper(endpoint.parse(endpointOptions)); 8 | } 9 | const request = (route, parameters) => { 10 | return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); 11 | }; 12 | Object.assign(request, { 13 | endpoint, 14 | defaults: withDefaults.bind(null, endpoint), 15 | }); 16 | return endpointOptions.request.hook(request, endpointOptions); 17 | }; 18 | return Object.assign(newApi, { 19 | endpoint, 20 | defaults: withDefaults.bind(null, endpoint), 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/base.d.ts: -------------------------------------------------------------------------------- 1 | // NOTE: These definitions support NodeJS and TypeScript 3.7. 2 | 3 | // NOTE: TypeScript version-specific augmentations can be found in the following paths: 4 | // - ~/base.d.ts - Shared definitions common to all TypeScript versions 5 | // - ~/index.d.ts - Definitions specific to TypeScript 2.1 6 | // - ~/ts3.7/base.d.ts - Definitions specific to TypeScript 3.7 7 | // - ~/ts3.7/index.d.ts - Definitions specific to TypeScript 3.7 with assert pulled in 8 | 9 | // Reference required types from the default lib: 10 | /// 11 | /// 12 | /// 13 | /// 14 | 15 | // Base definitions for all NodeJS modules that are not specific to any version of TypeScript: 16 | // tslint:disable-next-line:no-bad-reference 17 | /// 18 | 19 | // TypeScript 3.7-specific augmentations: 20 | /// 21 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/is-plain-object/dist/is-plain-object.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | /*! 6 | * is-plain-object 7 | * 8 | * Copyright (c) 2014-2017, Jon Schlinkert. 9 | * Released under the MIT License. 10 | */ 11 | 12 | function isObject(o) { 13 | return Object.prototype.toString.call(o) === '[object Object]'; 14 | } 15 | 16 | function isPlainObject(o) { 17 | var ctor,prot; 18 | 19 | if (isObject(o) === false) return false; 20 | 21 | // If has modified constructor 22 | ctor = o.constructor; 23 | if (ctor === undefined) return true; 24 | 25 | // If has modified prototype 26 | prot = ctor.prototype; 27 | if (isObject(prot) === false) return false; 28 | 29 | // If constructor does not have an Object-specific method 30 | if (prot.hasOwnProperty('isPrototypeOf') === false) { 31 | return false; 32 | } 33 | 34 | // Most likely a plain Object 35 | return true; 36 | } 37 | 38 | exports.isPlainObject = isPlainObject; 39 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/wrappy/wrappy.js: -------------------------------------------------------------------------------- 1 | // Returns a wrapper function that returns a wrapped callback 2 | // The wrapper function should do some stuff, and return a 3 | // presumably different callback function. 4 | // This makes sure that own properties are retained, so that 5 | // decorations and such are not lost along the way. 6 | module.exports = wrappy 7 | function wrappy (fn, cb) { 8 | if (fn && cb) return wrappy(fn)(cb) 9 | 10 | if (typeof fn !== 'function') 11 | throw new TypeError('need wrapper function') 12 | 13 | Object.keys(fn).forEach(function (k) { 14 | wrapper[k] = fn[k] 15 | }) 16 | 17 | return wrapper 18 | 19 | function wrapper() { 20 | var args = new Array(arguments.length) 21 | for (var i = 0; i < args.length; i++) { 22 | args[i] = arguments[i] 23 | } 24 | var ret = fn.apply(this, args) 25 | var cb = args[args.length-1] 26 | if (typeof ret === 'function' && ret !== cb) { 27 | Object.keys(cb).forEach(function (k) { 28 | ret[k] = cb[k] 29 | }) 30 | } 31 | return ret 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/core/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright 2019 GitHub 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/adapters/README.md: -------------------------------------------------------------------------------- 1 | # axios // adapters 2 | 3 | The modules under `adapters/` are modules that handle dispatching a request and settling a returned `Promise` once a response is received. 4 | 5 | ## Example 6 | 7 | ```js 8 | var settle = require('./../core/settle'); 9 | 10 | module.exports = function myAdapter(config) { 11 | // At this point: 12 | // - config has been merged with defaults 13 | // - request transformers have already run 14 | // - request interceptors have already run 15 | 16 | // Make the request using config provided 17 | // Upon response settle the Promise 18 | 19 | return new Promise(function(resolve, reject) { 20 | 21 | var response = { 22 | data: responseData, 23 | status: request.status, 24 | statusText: request.statusText, 25 | headers: responseHeaders, 26 | config: config, 27 | request: request 28 | }; 29 | 30 | settle(resolve, reject, response); 31 | 32 | // From here: 33 | // - response transformers will run 34 | // - response interceptors will run 35 | }); 36 | } 37 | ``` 38 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { Agent } from "http"; 3 | import { Fetch } from "./Fetch"; 4 | import { Signal } from "./Signal"; 5 | /** 6 | * Octokit-specific request options which are ignored for the actual request, but can be used by Octokit or plugins to manipulate how the request is sent or how a response is handled 7 | */ 8 | export declare type RequestRequestOptions = { 9 | /** 10 | * Node only. Useful for custom proxy, certificate, or dns lookup. 11 | */ 12 | agent?: Agent; 13 | /** 14 | * Custom replacement for built-in fetch method. Useful for testing or request hooks. 15 | */ 16 | fetch?: Fetch; 17 | /** 18 | * Use an `AbortController` instance to cancel a request. In node you can only cancel streamed requests. 19 | */ 20 | signal?: Signal; 21 | /** 22 | * Node only. Request/response timeout in ms, it resets on redirect. 0 to disable (OS limit applies). `options.request.signal` is recommended instead. 23 | */ 24 | timeout?: number; 25 | [option: string]: any; 26 | }; 27 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/universal-user-agent/README.md: -------------------------------------------------------------------------------- 1 | # universal-user-agent 2 | 3 | > Get a user agent string in both browser and node 4 | 5 | [![@latest](https://img.shields.io/npm/v/universal-user-agent.svg)](https://www.npmjs.com/package/universal-user-agent) 6 | [![Build Status](https://github.com/gr2m/universal-user-agent/workflows/Test/badge.svg)](https://github.com/gr2m/universal-user-agent/actions?query=workflow%3ATest+branch%3Amaster) 7 | [![Greenkeeper](https://badges.greenkeeper.io/gr2m/universal-user-agent.svg)](https://greenkeeper.io/) 8 | 9 | ```js 10 | const { getUserAgent } = require("universal-user-agent"); 11 | // or import { getUserAgent } from "universal-user-agent"; 12 | 13 | const userAgent = getUserAgent(); 14 | // userAgent will look like this 15 | // in browser: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0" 16 | // in node: Node.js/v8.9.4 (macOS High Sierra; x64) 17 | ``` 18 | 19 | ## Credits 20 | 21 | The Node implementation was originally inspired by [default-user-agent](https://www.npmjs.com/package/default-user-agent). 22 | 23 | ## License 24 | 25 | [ISC](LICENSE.md) 26 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License Copyright (c) 2019 Octokit contributors 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/once/once.js: -------------------------------------------------------------------------------- 1 | var wrappy = require('wrappy') 2 | module.exports = wrappy(once) 3 | module.exports.strict = wrappy(onceStrict) 4 | 5 | once.proto = once(function () { 6 | Object.defineProperty(Function.prototype, 'once', { 7 | value: function () { 8 | return once(this) 9 | }, 10 | configurable: true 11 | }) 12 | 13 | Object.defineProperty(Function.prototype, 'onceStrict', { 14 | value: function () { 15 | return onceStrict(this) 16 | }, 17 | configurable: true 18 | }) 19 | }) 20 | 21 | function once (fn) { 22 | var f = function () { 23 | if (f.called) return f.value 24 | f.called = true 25 | return f.value = fn.apply(this, arguments) 26 | } 27 | f.called = false 28 | return f 29 | } 30 | 31 | function onceStrict (fn) { 32 | var f = function () { 33 | if (f.called) 34 | throw new Error(f.onceError) 35 | f.called = true 36 | return f.value = fn.apply(this, arguments) 37 | } 38 | var name = fn.name || 'Function wrapped with `once`' 39 | f.onceError = name + " shouldn't be called more than once" 40 | f.called = false 41 | return f 42 | } 43 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-paginate-rest/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License Copyright (c) 2019 Octokit contributors 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014-present Matt Zabriskie 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-rest-endpoint-methods/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License Copyright (c) 2019 Octokit contributors 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/ts3.6/base.d.ts: -------------------------------------------------------------------------------- 1 | // NOTE: These definitions support NodeJS and TypeScript 3.5. 2 | 3 | // NOTE: TypeScript version-specific augmentations can be found in the following paths: 4 | // - ~/base.d.ts - Shared definitions common to all TypeScript versions 5 | // - ~/index.d.ts - Definitions specific to TypeScript 2.1 6 | // - ~/ts3.5/base.d.ts - Definitions specific to TypeScript 3.5 7 | // - ~/ts3.5/index.d.ts - Definitions specific to TypeScript 3.5 with assert pulled in 8 | 9 | // Reference required types from the default lib: 10 | /// 11 | /// 12 | /// 13 | /// 14 | 15 | // Base definitions for all NodeJS modules that are not specific to any version of TypeScript: 16 | // tslint:disable-next-line:no-bad-reference 17 | /// 18 | 19 | // TypeScript 3.5-specific augmentations: 20 | /// 21 | 22 | // TypeScript 3.5-specific augmentations: 23 | /// 24 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/tunnel/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2012 Koichi Kobayashi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/core/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2019 Octokit contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2019 Octokit contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import * as OctokitTypes from "@octokit/types"; 2 | export declare type AnyResponse = OctokitTypes.OctokitResponse; 3 | export declare type StrategyInterface = OctokitTypes.StrategyInterface<[Token], [], Authentication>; 4 | export declare type EndpointDefaults = OctokitTypes.EndpointDefaults; 5 | export declare type EndpointOptions = OctokitTypes.EndpointOptions; 6 | export declare type RequestParameters = OctokitTypes.RequestParameters; 7 | export declare type RequestInterface = OctokitTypes.RequestInterface; 8 | export declare type Route = OctokitTypes.Route; 9 | export declare type Token = string; 10 | export declare type OAuthTokenAuthentication = { 11 | type: "token"; 12 | tokenType: "oauth"; 13 | token: Token; 14 | }; 15 | export declare type InstallationTokenAuthentication = { 16 | type: "token"; 17 | tokenType: "installation"; 18 | token: Token; 19 | }; 20 | export declare type AppAuthentication = { 21 | type: "token"; 22 | tokenType: "app"; 23 | token: Token; 24 | }; 25 | export declare type Authentication = OAuthTokenAuthentication | InstallationTokenAuthentication | AppAuthentication; 26 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2018 Octokit contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/graphql/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2018 Octokit contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2018 Octokit contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/node-fetch/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 David Frank 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request-error/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2019 Octokit contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/querystring.d.ts: -------------------------------------------------------------------------------- 1 | declare module "querystring" { 2 | interface StringifyOptions { 3 | encodeURIComponent?: (str: string) => string; 4 | } 5 | 6 | interface ParseOptions { 7 | maxKeys?: number; 8 | decodeURIComponent?: (str: string) => string; 9 | } 10 | 11 | interface ParsedUrlQuery extends NodeJS.Dict { } 12 | 13 | interface ParsedUrlQueryInput extends NodeJS.Dict | ReadonlyArray | ReadonlyArray | null> { 14 | } 15 | 16 | function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string; 17 | function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery; 18 | /** 19 | * The querystring.encode() function is an alias for querystring.stringify(). 20 | */ 21 | const encode: typeof stringify; 22 | /** 23 | * The querystring.decode() function is an alias for querystring.parse(). 24 | */ 25 | const decode: typeof parse; 26 | function escape(str: string): string; 27 | function unescape(str: string): string; 28 | } 29 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/is-plain-object/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014-2017, Jon Schlinkert. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/endpoint/dist-src/merge.js: -------------------------------------------------------------------------------- 1 | import { lowercaseKeys } from "./util/lowercase-keys"; 2 | import { mergeDeep } from "./util/merge-deep"; 3 | export function merge(defaults, route, options) { 4 | if (typeof route === "string") { 5 | let [method, url] = route.split(" "); 6 | options = Object.assign(url ? { method, url } : { url: method }, options); 7 | } 8 | else { 9 | options = Object.assign({}, route); 10 | } 11 | // lowercase header names before merging with defaults to avoid duplicates 12 | options.headers = lowercaseKeys(options.headers); 13 | const mergedOptions = mergeDeep(defaults || {}, options); 14 | // mediaType.previews arrays are merged, instead of overwritten 15 | if (defaults && defaults.mediaType.previews.length) { 16 | mergedOptions.mediaType.previews = defaults.mediaType.previews 17 | .filter((preview) => !mergedOptions.mediaType.previews.includes(preview)) 18 | .concat(mergedOptions.mediaType.previews); 19 | } 20 | mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map((preview) => preview.replace(/-preview/, "")); 21 | return mergedOptions; 22 | } 23 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/before-after-hook/lib/add.js: -------------------------------------------------------------------------------- 1 | module.exports = addHook 2 | 3 | function addHook (state, kind, name, hook) { 4 | var orig = hook 5 | if (!state.registry[name]) { 6 | state.registry[name] = [] 7 | } 8 | 9 | if (kind === 'before') { 10 | hook = function (method, options) { 11 | return Promise.resolve() 12 | .then(orig.bind(null, options)) 13 | .then(method.bind(null, options)) 14 | } 15 | } 16 | 17 | if (kind === 'after') { 18 | hook = function (method, options) { 19 | var result 20 | return Promise.resolve() 21 | .then(method.bind(null, options)) 22 | .then(function (result_) { 23 | result = result_ 24 | return orig(result, options) 25 | }) 26 | .then(function () { 27 | return result 28 | }) 29 | } 30 | } 31 | 32 | if (kind === 'error') { 33 | hook = function (method, options) { 34 | return Promise.resolve() 35 | .then(method.bind(null, options)) 36 | .catch(function (error) { 37 | return orig(error, options) 38 | }) 39 | } 40 | } 41 | 42 | state.registry[name].push({ 43 | hook: hook, 44 | orig: orig 45 | }) 46 | } 47 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/follow-redirects/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014–present Olivier Lalonde , James Talmage , Ruben Verborgh 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 17 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 18 | IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/http-client/LICENSE: -------------------------------------------------------------------------------- 1 | Actions Http Client for Node.js 2 | 3 | Copyright (c) GitHub, Inc. 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and 10 | associated documentation files (the "Software"), to deal in the Software without restriction, 11 | including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 12 | and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, 13 | subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT 18 | LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN 19 | NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 21 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Some “list” response that can be paginated have a different response structure 3 | * 4 | * They have a `total_count` key in the response (search also has `incomplete_results`, 5 | * /installation/repositories also has `repository_selection`), as well as a key with 6 | * the list of the items which name varies from endpoint to endpoint. 7 | * 8 | * Octokit normalizes these responses so that paginated results are always returned following 9 | * the same structure. One challenge is that if the list response has only one page, no Link 10 | * header is provided, so this header alone is not sufficient to check wether a response is 11 | * paginated or not. 12 | * 13 | * We check if a "total_count" key is present in the response data, but also make sure that 14 | * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would 15 | * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref 16 | */ 17 | import { OctokitResponse } from "./types"; 18 | export declare function normalizePaginatedListResponse(response: OctokitResponse): OctokitResponse; 19 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Microsoft Corporation. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE 22 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/core/enhanceError.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Update an Error with the specified config, error code, and response. 5 | * 6 | * @param {Error} error The error to update. 7 | * @param {Object} config The config. 8 | * @param {string} [code] The error code (for example, 'ECONNABORTED'). 9 | * @param {Object} [request] The request. 10 | * @param {Object} [response] The response. 11 | * @returns {Error} The error. 12 | */ 13 | module.exports = function enhanceError(error, config, code, request, response) { 14 | error.config = config; 15 | if (code) { 16 | error.code = code; 17 | } 18 | 19 | error.request = request; 20 | error.response = response; 21 | error.isAxiosError = true; 22 | 23 | error.toJSON = function toJSON() { 24 | return { 25 | // Standard 26 | message: this.message, 27 | name: this.name, 28 | // Microsoft 29 | description: this.description, 30 | number: this.number, 31 | // Mozilla 32 | fileName: this.fileName, 33 | lineNumber: this.lineNumber, 34 | columnNumber: this.columnNumber, 35 | stack: this.stack, 36 | // Axios 37 | config: this.config, 38 | code: this.code 39 | }; 40 | }; 41 | return error; 42 | }; 43 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/index.js: -------------------------------------------------------------------------------- 1 | (async () => { 2 | const core = require('@actions/core') 3 | const github = require('@actions/github') 4 | const axios = require('axios').default 5 | 6 | const TOKEN = core.getInput('TOKEN', { required: true }) 7 | const URL = core.getInput('URL', { required: true }) 8 | const HTTP_OK = 200 9 | 10 | const module_name = github.context.repo.repo.toLocaleLowerCase().replace(/\W/g, ' ') 11 | const module_code = module_name.replace(/\s/g, '_') 12 | 13 | const data = { 14 | module_name, 15 | module_code, 16 | module_download: 'https://github.com/opencart-extension/PagSeguro-Checkout-Transparente/releases/' 17 | } 18 | 19 | const config = { 20 | headers: { 21 | Authorization: `Bearer ${TOKEN}` 22 | } 23 | } 24 | 25 | console.log('Sending...') 26 | console.log(`Module name: ${module_name}`) 27 | console.log(`Module code: ${module_code}`) 28 | 29 | axios.post(URL, data, config).then((response) => { 30 | if (response.status === HTTP_OK) { 31 | console.log('Success') 32 | } else { 33 | console.log('Failed') 34 | console.log(response.statusText) 35 | core.setFailed(error) 36 | } 37 | }).catch((error) => { 38 | core.setFailed(error) 39 | }).then(() => { 40 | console.log('Finish') 41 | }) 42 | })() 43 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/http-client/auth.d.ts: -------------------------------------------------------------------------------- 1 | import ifm = require('./interfaces'); 2 | export declare class BasicCredentialHandler implements ifm.IRequestHandler { 3 | username: string; 4 | password: string; 5 | constructor(username: string, password: string); 6 | prepareRequest(options: any): void; 7 | canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; 8 | handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; 9 | } 10 | export declare class BearerCredentialHandler implements ifm.IRequestHandler { 11 | token: string; 12 | constructor(token: string); 13 | prepareRequest(options: any): void; 14 | canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; 15 | handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; 16 | } 17 | export declare class PersonalAccessTokenCredentialHandler implements ifm.IRequestHandler { 18 | token: string; 19 | constructor(token: string); 20 | prepareRequest(options: any): void; 21 | canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; 22 | handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; 23 | } 24 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/core/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import * as OctokitTypes from "@octokit/types"; 2 | import { Octokit } from "."; 3 | export declare type RequestParameters = OctokitTypes.RequestParameters; 4 | export declare type OctokitOptions = { 5 | authStrategy?: any; 6 | auth?: any; 7 | userAgent?: string; 8 | previews?: string[]; 9 | baseUrl?: string; 10 | log?: { 11 | debug: (message: string) => unknown; 12 | info: (message: string) => unknown; 13 | warn: (message: string) => unknown; 14 | error: (message: string) => unknown; 15 | }; 16 | request?: OctokitTypes.RequestRequestOptions; 17 | timeZone?: string; 18 | [option: string]: any; 19 | }; 20 | export declare type Constructor = new (...args: any[]) => T; 21 | export declare type ReturnTypeOf = T extends AnyFunction ? ReturnType : T extends AnyFunction[] ? UnionToIntersection> : never; 22 | /** 23 | * @author https://stackoverflow.com/users/2887218/jcalz 24 | * @see https://stackoverflow.com/a/50375286/10325032 25 | */ 26 | export declare type UnionToIntersection = (Union extends any ? (argument: Union) => void : never) extends (argument: infer Intersection) => void ? Intersection : never; 27 | declare type AnyFunction = (...args: any) => any; 28 | export declare type OctokitPlugin = (octokit: Octokit, options: OctokitOptions) => { 29 | [key: string]: any; 30 | } | void; 31 | export {}; 32 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js: -------------------------------------------------------------------------------- 1 | import { normalizePaginatedListResponse } from "./normalize-paginated-list-response"; 2 | export function iterator(octokit, route, parameters) { 3 | const options = typeof route === "function" 4 | ? route.endpoint(parameters) 5 | : octokit.request.endpoint(route, parameters); 6 | const requestMethod = typeof route === "function" ? route : octokit.request; 7 | const method = options.method; 8 | const headers = options.headers; 9 | let url = options.url; 10 | return { 11 | [Symbol.asyncIterator]: () => ({ 12 | next() { 13 | if (!url) { 14 | return Promise.resolve({ done: true }); 15 | } 16 | return requestMethod({ method, url, headers }) 17 | .then(normalizePaginatedListResponse) 18 | .then((response) => { 19 | // `response.headers.link` format: 20 | // '; rel="next", ; rel="last"' 21 | // sets `url` to undefined if "next" URL is not present or `link` header is not set 22 | url = ((response.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1]; 23 | return { value: response }; 24 | }); 25 | }, 26 | }), 27 | }; 28 | } 29 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/dist-web/index.js: -------------------------------------------------------------------------------- 1 | async function auth(token) { 2 | const tokenType = token.split(/\./).length === 3 3 | ? "app" 4 | : /^v\d+\./.test(token) 5 | ? "installation" 6 | : "oauth"; 7 | return { 8 | type: "token", 9 | token: token, 10 | tokenType 11 | }; 12 | } 13 | 14 | /** 15 | * Prefix token for usage in the Authorization header 16 | * 17 | * @param token OAuth token or JSON Web Token 18 | */ 19 | function withAuthorizationPrefix(token) { 20 | if (token.split(/\./).length === 3) { 21 | return `bearer ${token}`; 22 | } 23 | return `token ${token}`; 24 | } 25 | 26 | async function hook(token, request, route, parameters) { 27 | const endpoint = request.endpoint.merge(route, parameters); 28 | endpoint.headers.authorization = withAuthorizationPrefix(token); 29 | return request(endpoint); 30 | } 31 | 32 | const createTokenAuth = function createTokenAuth(token) { 33 | if (!token) { 34 | throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); 35 | } 36 | if (typeof token !== "string") { 37 | throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); 38 | } 39 | token = token.replace(/^(token|bearer) +/i, ""); 40 | return Object.assign(auth.bind(null, token), { 41 | hook: hook.bind(null, token) 42 | }); 43 | }; 44 | 45 | export { createTokenAuth }; 46 | //# sourceMappingURL=index.js.map 47 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/core/InterceptorManager.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var utils = require('./../utils'); 4 | 5 | function InterceptorManager() { 6 | this.handlers = []; 7 | } 8 | 9 | /** 10 | * Add a new interceptor to the stack 11 | * 12 | * @param {Function} fulfilled The function to handle `then` for a `Promise` 13 | * @param {Function} rejected The function to handle `reject` for a `Promise` 14 | * 15 | * @return {Number} An ID used to remove interceptor later 16 | */ 17 | InterceptorManager.prototype.use = function use(fulfilled, rejected) { 18 | this.handlers.push({ 19 | fulfilled: fulfilled, 20 | rejected: rejected 21 | }); 22 | return this.handlers.length - 1; 23 | }; 24 | 25 | /** 26 | * Remove an interceptor from the stack 27 | * 28 | * @param {Number} id The ID that was returned by `use` 29 | */ 30 | InterceptorManager.prototype.eject = function eject(id) { 31 | if (this.handlers[id]) { 32 | this.handlers[id] = null; 33 | } 34 | }; 35 | 36 | /** 37 | * Iterate over all the registered interceptors 38 | * 39 | * This method is particularly useful for skipping over any 40 | * interceptors that may have become `null` calling `eject`. 41 | * 42 | * @param {Function} fn The function to call for each interceptor 43 | */ 44 | InterceptorManager.prototype.forEach = function forEach(fn) { 45 | utils.forEach(this.handlers, function forEachHandler(h) { 46 | if (h !== null) { 47 | fn(h); 48 | } 49 | }); 50 | }; 51 | 52 | module.exports = InterceptorManager; 53 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/cancel/CancelToken.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Cancel = require('./Cancel'); 4 | 5 | /** 6 | * A `CancelToken` is an object that can be used to request cancellation of an operation. 7 | * 8 | * @class 9 | * @param {Function} executor The executor function. 10 | */ 11 | function CancelToken(executor) { 12 | if (typeof executor !== 'function') { 13 | throw new TypeError('executor must be a function.'); 14 | } 15 | 16 | var resolvePromise; 17 | this.promise = new Promise(function promiseExecutor(resolve) { 18 | resolvePromise = resolve; 19 | }); 20 | 21 | var token = this; 22 | executor(function cancel(message) { 23 | if (token.reason) { 24 | // Cancellation has already been requested 25 | return; 26 | } 27 | 28 | token.reason = new Cancel(message); 29 | resolvePromise(token.reason); 30 | }); 31 | } 32 | 33 | /** 34 | * Throws a `Cancel` if cancellation has been requested. 35 | */ 36 | CancelToken.prototype.throwIfRequested = function throwIfRequested() { 37 | if (this.reason) { 38 | throw this.reason; 39 | } 40 | }; 41 | 42 | /** 43 | * Returns an object that contains a new `CancelToken` and a function that, when called, 44 | * cancels the `CancelToken`. 45 | */ 46 | CancelToken.source = function source() { 47 | var cancel; 48 | var token = new CancelToken(function executor(c) { 49 | cancel = c; 50 | }); 51 | return { 52 | token: token, 53 | cancel: cancel 54 | }; 55 | }; 56 | 57 | module.exports = CancelToken; 58 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/auth-token/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | async function auth(token) { 6 | const tokenType = token.split(/\./).length === 3 ? "app" : /^v\d+\./.test(token) ? "installation" : "oauth"; 7 | return { 8 | type: "token", 9 | token: token, 10 | tokenType 11 | }; 12 | } 13 | 14 | /** 15 | * Prefix token for usage in the Authorization header 16 | * 17 | * @param token OAuth token or JSON Web Token 18 | */ 19 | function withAuthorizationPrefix(token) { 20 | if (token.split(/\./).length === 3) { 21 | return `bearer ${token}`; 22 | } 23 | 24 | return `token ${token}`; 25 | } 26 | 27 | async function hook(token, request, route, parameters) { 28 | const endpoint = request.endpoint.merge(route, parameters); 29 | endpoint.headers.authorization = withAuthorizationPrefix(token); 30 | return request(endpoint); 31 | } 32 | 33 | const createTokenAuth = function createTokenAuth(token) { 34 | if (!token) { 35 | throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); 36 | } 37 | 38 | if (typeof token !== "string") { 39 | throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); 40 | } 41 | 42 | token = token.replace(/^(token|bearer) +/i, ""); 43 | return Object.assign(auth.bind(null, token), { 44 | hook: hook.bind(null, token) 45 | }); 46 | }; 47 | 48 | exports.createTokenAuth = createTokenAuth; 49 | //# sourceMappingURL=index.js.map 50 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/github/lib/github.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 | if (k2 === undefined) k2 = k; 4 | Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); 5 | }) : (function(o, m, k, k2) { 6 | if (k2 === undefined) k2 = k; 7 | o[k2] = m[k]; 8 | })); 9 | var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { 10 | Object.defineProperty(o, "default", { enumerable: true, value: v }); 11 | }) : function(o, v) { 12 | o["default"] = v; 13 | }); 14 | var __importStar = (this && this.__importStar) || function (mod) { 15 | if (mod && mod.__esModule) return mod; 16 | var result = {}; 17 | if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); 18 | __setModuleDefault(result, mod); 19 | return result; 20 | }; 21 | Object.defineProperty(exports, "__esModule", { value: true }); 22 | exports.getOctokit = exports.context = void 0; 23 | const Context = __importStar(require("./context")); 24 | const utils_1 = require("./utils"); 25 | exports.context = new Context.Context(); 26 | /** 27 | * Returns a hydrated octokit ready to use for GitHub Actions 28 | * 29 | * @param token the repo PAT or GITHUB_TOKEN 30 | * @param options other options to set 31 | */ 32 | function getOctokit(token, options) { 33 | return new utils_1.GitHub(utils_1.getOctokitOptions(token, options)); 34 | } 35 | exports.getOctokit = getOctokit; 36 | //# sourceMappingURL=github.js.map -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/helpers/parseHeaders.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var utils = require('./../utils'); 4 | 5 | // Headers whose duplicates are ignored by node 6 | // c.f. https://nodejs.org/api/http.html#http_message_headers 7 | var ignoreDuplicateOf = [ 8 | 'age', 'authorization', 'content-length', 'content-type', 'etag', 9 | 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 10 | 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 11 | 'referer', 'retry-after', 'user-agent' 12 | ]; 13 | 14 | /** 15 | * Parse headers into an object 16 | * 17 | * ``` 18 | * Date: Wed, 27 Aug 2014 08:58:49 GMT 19 | * Content-Type: application/json 20 | * Connection: keep-alive 21 | * Transfer-Encoding: chunked 22 | * ``` 23 | * 24 | * @param {String} headers Headers needing to be parsed 25 | * @returns {Object} Headers parsed into an object 26 | */ 27 | module.exports = function parseHeaders(headers) { 28 | var parsed = {}; 29 | var key; 30 | var val; 31 | var i; 32 | 33 | if (!headers) { return parsed; } 34 | 35 | utils.forEach(headers.split('\n'), function parser(line) { 36 | i = line.indexOf(':'); 37 | key = utils.trim(line.substr(0, i)).toLowerCase(); 38 | val = utils.trim(line.substr(i + 1)); 39 | 40 | if (key) { 41 | if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) { 42 | return; 43 | } 44 | if (key === 'set-cookie') { 45 | parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]); 46 | } else { 47 | parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val; 48 | } 49 | } 50 | }); 51 | 52 | return parsed; 53 | }; 54 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/wrappy/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_from": "wrappy@1", 3 | "_id": "wrappy@1.0.2", 4 | "_inBundle": false, 5 | "_integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 6 | "_location": "/wrappy", 7 | "_phantomChildren": {}, 8 | "_requested": { 9 | "type": "range", 10 | "registry": true, 11 | "raw": "wrappy@1", 12 | "name": "wrappy", 13 | "escapedName": "wrappy", 14 | "rawSpec": "1", 15 | "saveSpec": null, 16 | "fetchSpec": "1" 17 | }, 18 | "_requiredBy": [ 19 | "/once" 20 | ], 21 | "_resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 22 | "_shasum": "b5243d8f3ec1aa35f1364605bc0d1036e30ab69f", 23 | "_spec": "wrappy@1", 24 | "_where": "/var/www/html/opencart_modules/PagSeguro/.github/actions/dispatch-newsletter/node_modules/once", 25 | "author": { 26 | "name": "Isaac Z. Schlueter", 27 | "email": "i@izs.me", 28 | "url": "http://blog.izs.me/" 29 | }, 30 | "bugs": { 31 | "url": "https://github.com/npm/wrappy/issues" 32 | }, 33 | "bundleDependencies": false, 34 | "dependencies": {}, 35 | "deprecated": false, 36 | "description": "Callback wrapping utility", 37 | "devDependencies": { 38 | "tap": "^2.3.1" 39 | }, 40 | "directories": { 41 | "test": "test" 42 | }, 43 | "files": [ 44 | "wrappy.js" 45 | ], 46 | "homepage": "https://github.com/npm/wrappy", 47 | "license": "ISC", 48 | "main": "wrappy.js", 49 | "name": "wrappy", 50 | "repository": { 51 | "type": "git", 52 | "url": "git+https://github.com/npm/wrappy.git" 53 | }, 54 | "scripts": { 55 | "test": "tap --coverage test/*.js" 56 | }, 57 | "version": "1.0.2" 58 | } 59 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/axios.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var utils = require('./utils'); 4 | var bind = require('./helpers/bind'); 5 | var Axios = require('./core/Axios'); 6 | var mergeConfig = require('./core/mergeConfig'); 7 | var defaults = require('./defaults'); 8 | 9 | /** 10 | * Create an instance of Axios 11 | * 12 | * @param {Object} defaultConfig The default config for the instance 13 | * @return {Axios} A new instance of Axios 14 | */ 15 | function createInstance(defaultConfig) { 16 | var context = new Axios(defaultConfig); 17 | var instance = bind(Axios.prototype.request, context); 18 | 19 | // Copy axios.prototype to instance 20 | utils.extend(instance, Axios.prototype, context); 21 | 22 | // Copy context to instance 23 | utils.extend(instance, context); 24 | 25 | return instance; 26 | } 27 | 28 | // Create the default instance to be exported 29 | var axios = createInstance(defaults); 30 | 31 | // Expose Axios class to allow class inheritance 32 | axios.Axios = Axios; 33 | 34 | // Factory for creating new instances 35 | axios.create = function create(instanceConfig) { 36 | return createInstance(mergeConfig(axios.defaults, instanceConfig)); 37 | }; 38 | 39 | // Expose Cancel & CancelToken 40 | axios.Cancel = require('./cancel/Cancel'); 41 | axios.CancelToken = require('./cancel/CancelToken'); 42 | axios.isCancel = require('./cancel/isCancel'); 43 | 44 | // Expose all/spread 45 | axios.all = function all(promises) { 46 | return Promise.all(promises); 47 | }; 48 | axios.spread = require('./helpers/spread'); 49 | 50 | module.exports = axios; 51 | 52 | // Allow use of default import syntax in TypeScript 53 | module.exports.default = axios; 54 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/helpers/cookies.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var utils = require('./../utils'); 4 | 5 | module.exports = ( 6 | utils.isStandardBrowserEnv() ? 7 | 8 | // Standard browser envs support document.cookie 9 | (function standardBrowserEnv() { 10 | return { 11 | write: function write(name, value, expires, path, domain, secure) { 12 | var cookie = []; 13 | cookie.push(name + '=' + encodeURIComponent(value)); 14 | 15 | if (utils.isNumber(expires)) { 16 | cookie.push('expires=' + new Date(expires).toGMTString()); 17 | } 18 | 19 | if (utils.isString(path)) { 20 | cookie.push('path=' + path); 21 | } 22 | 23 | if (utils.isString(domain)) { 24 | cookie.push('domain=' + domain); 25 | } 26 | 27 | if (secure === true) { 28 | cookie.push('secure'); 29 | } 30 | 31 | document.cookie = cookie.join('; '); 32 | }, 33 | 34 | read: function read(name) { 35 | var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)')); 36 | return (match ? decodeURIComponent(match[3]) : null); 37 | }, 38 | 39 | remove: function remove(name) { 40 | this.write(name, '', Date.now() - 86400000); 41 | } 42 | }; 43 | })() : 44 | 45 | // Non standard browser env (web workers, react-native) lack needed support. 46 | (function nonStandardBrowserEnv() { 47 | return { 48 | write: function write() {}, 49 | read: function read() { return null; }, 50 | remove: function remove() {} 51 | }; 52 | })() 53 | ); 54 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/core/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { HookCollection } from "before-after-hook"; 2 | import { request } from "@octokit/request"; 3 | import { graphql } from "@octokit/graphql"; 4 | import { Constructor, OctokitOptions, OctokitPlugin, ReturnTypeOf, UnionToIntersection } from "./types"; 5 | export declare class Octokit { 6 | static VERSION: string; 7 | static defaults>(this: S, defaults: OctokitOptions | Function): { 8 | new (...args: any[]): { 9 | [x: string]: any; 10 | }; 11 | } & S; 12 | static plugins: OctokitPlugin[]; 13 | /** 14 | * Attach a plugin (or many) to your Octokit instance. 15 | * 16 | * @example 17 | * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) 18 | */ 19 | static plugin & { 20 | plugins: any[]; 21 | }, T extends OctokitPlugin[]>(this: S, ...newPlugins: T): { 22 | new (...args: any[]): { 23 | [x: string]: any; 24 | }; 25 | plugins: any[]; 26 | } & S & Constructor>>; 27 | constructor(options?: OctokitOptions); 28 | request: typeof request; 29 | graphql: typeof graphql; 30 | log: { 31 | debug: (message: string, additionalInfo?: object) => any; 32 | info: (message: string, additionalInfo?: object) => any; 33 | warn: (message: string, additionalInfo?: object) => any; 34 | error: (message: string, additionalInfo?: object) => any; 35 | [key: string]: any; 36 | }; 37 | hook: HookCollection; 38 | auth: (...args: unknown[]) => Promise; 39 | [key: string]: any; 40 | } 41 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/deprecation/README.md: -------------------------------------------------------------------------------- 1 | # deprecation 2 | 3 | > Log a deprecation message with stack 4 | 5 | ![build](https://action-badges.now.sh/gr2m/deprecation) 6 | 7 | ## Usage 8 | 9 | 10 | 11 | 24 | 36 | 37 |
12 | Browsers 13 | 14 | 15 | Load `deprecation` directly from [cdn.pika.dev](https://cdn.pika.dev) 16 | 17 | ```html 18 | 21 | ``` 22 | 23 |
25 | Node 26 | 27 | 28 | Install with `npm install deprecation` 29 | 30 | ```js 31 | const { Deprecation } = require("deprecation"); 32 | // or: import { Deprecation } from "deprecation"; 33 | ``` 34 | 35 |
38 | 39 | ```js 40 | function foo() { 41 | bar(); 42 | } 43 | 44 | function bar() { 45 | baz(); 46 | } 47 | 48 | function baz() { 49 | console.warn(new Deprecation("[my-lib] foo() is deprecated, use bar()")); 50 | } 51 | 52 | foo(); 53 | // { Deprecation: [my-lib] foo() is deprecated, use bar() 54 | // at baz (/path/to/file.js:12:15) 55 | // at bar (/path/to/file.js:8:3) 56 | // at foo (/path/to/file.js:4:3) 57 | ``` 58 | 59 | To log a deprecation message only once, you can use the [once](https://www.npmjs.com/package/once) module. 60 | 61 | ```js 62 | const Deprecation = require("deprecation"); 63 | const once = require("once"); 64 | 65 | const deprecateFoo = once(console.warn); 66 | 67 | function foo() { 68 | deprecateFoo(new Deprecation("[my-lib] foo() is deprecated, use bar()")); 69 | } 70 | 71 | foo(); 72 | foo(); // logs nothing 73 | ``` 74 | 75 | ## License 76 | 77 | [ISC](LICENSE) 78 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/AuthInterface.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointOptions } from "./EndpointOptions"; 2 | import { OctokitResponse } from "./OctokitResponse"; 3 | import { RequestInterface } from "./RequestInterface"; 4 | import { RequestParameters } from "./RequestParameters"; 5 | import { Route } from "./Route"; 6 | /** 7 | * Interface to implement complex authentication strategies for Octokit. 8 | * An object Implementing the AuthInterface can directly be passed as the 9 | * `auth` option in the Octokit constructor. 10 | * 11 | * For the official implementations of the most common authentication 12 | * strategies, see https://github.com/octokit/auth.js 13 | */ 14 | export interface AuthInterface { 15 | (...args: AuthOptions): Promise; 16 | hook: { 17 | /** 18 | * Sends a request using the passed `request` instance 19 | * 20 | * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. 21 | */ 22 | (request: RequestInterface, options: EndpointOptions): Promise>; 23 | /** 24 | * Sends a request using the passed `request` instance 25 | * 26 | * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` 27 | * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. 28 | */ 29 | (request: RequestInterface, route: Route, parameters?: RequestParameters): Promise>; 30 | }; 31 | } 32 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: Create Releasea by Tag 2 | on: 3 | push: 4 | tags: 5 | - 'v*' 6 | 7 | jobs: 8 | new_release: 9 | name: New Release 10 | runs-on: ubuntu-latest 11 | steps: 12 | - name: Checkout 13 | uses: actions/checkout@v2 14 | 15 | - name: Running Composer 16 | run: | 17 | wget -qO- https://getcomposer.org/installer | php 18 | php composer.phar install --no-dev 19 | rm composer.phar 20 | 21 | - name: Zip Files 22 | run: zip -r extension.ocmod.zip install.xml upload 23 | 24 | - name: Create Release 25 | id: create_release 26 | uses: actions/create-release@v1 27 | env: 28 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 29 | with: 30 | tag_name: ${{ github.ref }} 31 | release_name: Release ${{ github.ref }} 32 | draft: false 33 | prerelease: false 34 | 35 | - name: Upload Extension Zipped 36 | id: upload-release-asset 37 | uses: actions/upload-release-asset@v1 38 | env: 39 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 40 | with: 41 | upload_url: ${{ steps.create_release.outputs.upload_url }} 42 | asset_path: ./extension.ocmod.zip 43 | asset_name: extension.ocmod.zip 44 | asset_content_type: application/zip 45 | 46 | dispatch_newsletter: 47 | name: Dispatch Newsletter 48 | runs-on: ubuntu-latest 49 | steps: 50 | - name: Checkout 51 | uses: actions/checkout@v2 52 | 53 | - name: Send emails 54 | uses: ./.github/actions/dispatch-newsletter 55 | with: 56 | TOKEN: ${{ secrets.AUTHENTICATION }} 57 | URL: ${{ secrets.URL_NEWSLETTER }} 58 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/github/lib/context.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":";;;AAEA,2BAA2C;AAC3C,2BAAsB;AAEtB,MAAa,OAAO;IAgBlB;;OAEG;IACH;QACE,IAAI,CAAC,OAAO,GAAG,EAAE,CAAA;QACjB,IAAI,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE;YACjC,IAAI,eAAU,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE;gBAC7C,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CACvB,iBAAY,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAC,QAAQ,EAAE,MAAM,EAAC,CAAC,CAChE,CAAA;aACF;iBAAM;gBACL,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAA;gBAC1C,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,IAAI,kBAAkB,QAAG,EAAE,CAAC,CAAA;aACvE;SACF;QACD,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,iBAA2B,CAAA;QACxD,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,UAAoB,CAAA;QAC3C,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,UAAoB,CAAA;QAC3C,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,eAAyB,CAAA;QACrD,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,aAAuB,CAAA;QACjD,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,YAAsB,CAAA;QAC/C,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,UAAoB,CAAA;QAC3C,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,iBAA2B,EAAE,EAAE,CAAC,CAAA;QACtE,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,aAAuB,EAAE,EAAE,CAAC,CAAA;IAChE,CAAC;IAED,IAAI,KAAK;QACP,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAA;QAE5B,uCACK,IAAI,CAAC,IAAI,KACZ,MAAM,EAAE,CAAC,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,CAAC,MAAM,IAClE;IACH,CAAC;IAED,IAAI,IAAI;QACN,IAAI,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE;YACjC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YAC9D,OAAO,EAAC,KAAK,EAAE,IAAI,EAAC,CAAA;SACrB;QAED,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE;YAC3B,OAAO;gBACL,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK;gBAC1C,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI;aACnC,CAAA;SACF;QAED,MAAM,IAAI,KAAK,CACb,kFAAkF,CACnF,CAAA;IACH,CAAC;CACF;AApED,0BAoEC"} -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/3-docs-bug.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "📚 Erro na documentação" 3 | about: Reporte um erro na documentação do módulo 4 | 5 | --- 6 | 14 | 15 | # 📚 Documentação 16 | 17 | ### Descrição 18 | 19 | Uma descrição clara e concisa do problema... 20 | 21 | 22 | ## 🔬 Reprodução Mínima 23 | 24 | ### Qual é o URL afetado? 25 | https://opencart-extension.github.io/PagSeguro-Checkout-Transparente/... 26 | 27 | ### Etapas de reprodução 28 | 29 | 30 | 31 | ### Comportamento esperado vs real 32 | 33 | 34 | 35 | 36 | ## 📷Screenshot 37 | 38 | 39 | 40 | 41 | ## 🔥 Exceção ou Erro 42 |

43 | 
44 | 
45 | 
46 | 
47 | 48 | 49 | ## 🌍 Seu Ambiente 50 | 51 | ### Informação do navegador 52 | 53 | 54 | ### Mais alguma coisa relevante? 55 | 56 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/once/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_from": "once@^1.4.0", 3 | "_id": "once@1.4.0", 4 | "_inBundle": false, 5 | "_integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 6 | "_location": "/once", 7 | "_phantomChildren": {}, 8 | "_requested": { 9 | "type": "range", 10 | "registry": true, 11 | "raw": "once@^1.4.0", 12 | "name": "once", 13 | "escapedName": "once", 14 | "rawSpec": "^1.4.0", 15 | "saveSpec": null, 16 | "fetchSpec": "^1.4.0" 17 | }, 18 | "_requiredBy": [ 19 | "/@octokit/request", 20 | "/@octokit/request-error" 21 | ], 22 | "_resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 23 | "_shasum": "583b1aa775961d4b113ac17d9c50baef9dd76bd1", 24 | "_spec": "once@^1.4.0", 25 | "_where": "/var/www/html/opencart_modules/PagSeguro/.github/actions/dispatch-newsletter/node_modules/@octokit/request", 26 | "author": { 27 | "name": "Isaac Z. Schlueter", 28 | "email": "i@izs.me", 29 | "url": "http://blog.izs.me/" 30 | }, 31 | "bugs": { 32 | "url": "https://github.com/isaacs/once/issues" 33 | }, 34 | "bundleDependencies": false, 35 | "dependencies": { 36 | "wrappy": "1" 37 | }, 38 | "deprecated": false, 39 | "description": "Run a function exactly one time", 40 | "devDependencies": { 41 | "tap": "^7.0.1" 42 | }, 43 | "directories": { 44 | "test": "test" 45 | }, 46 | "files": [ 47 | "once.js" 48 | ], 49 | "homepage": "https://github.com/isaacs/once#readme", 50 | "keywords": [ 51 | "once", 52 | "function", 53 | "one", 54 | "single" 55 | ], 56 | "license": "ISC", 57 | "main": "once.js", 58 | "name": "once", 59 | "repository": { 60 | "type": "git", 61 | "url": "git://github.com/isaacs/once.git" 62 | }, 63 | "scripts": { 64 | "test": "tap test/*.js" 65 | }, 66 | "version": "1.4.0" 67 | } 68 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/https.d.ts: -------------------------------------------------------------------------------- 1 | declare module "https" { 2 | import * as tls from "tls"; 3 | import * as events from "events"; 4 | import * as http from "http"; 5 | import { URL } from "url"; 6 | 7 | type ServerOptions = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions; 8 | 9 | type RequestOptions = http.RequestOptions & tls.SecureContextOptions & { 10 | rejectUnauthorized?: boolean; // Defaults to true 11 | servername?: string; // SNI TLS Extension 12 | }; 13 | 14 | interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { 15 | rejectUnauthorized?: boolean; 16 | maxCachedSessions?: number; 17 | } 18 | 19 | class Agent extends http.Agent { 20 | constructor(options?: AgentOptions); 21 | options: AgentOptions; 22 | } 23 | 24 | interface Server extends http.HttpBase {} 25 | class Server extends tls.Server { 26 | constructor(requestListener?: http.RequestListener); 27 | constructor(options: ServerOptions, requestListener?: http.RequestListener); 28 | } 29 | 30 | function createServer(requestListener?: http.RequestListener): Server; 31 | function createServer(options: ServerOptions, requestListener?: http.RequestListener): Server; 32 | function request(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; 33 | function request(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; 34 | function get(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; 35 | function get(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; 36 | let globalAgent: Agent; 37 | } 38 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/RequestInterface.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointInterface } from "./EndpointInterface"; 2 | import { OctokitResponse } from "./OctokitResponse"; 3 | import { RequestParameters } from "./RequestParameters"; 4 | import { Route } from "./Route"; 5 | import { Endpoints } from "./generated/Endpoints"; 6 | export interface RequestInterface { 7 | /** 8 | * Sends a request based on endpoint options 9 | * 10 | * @param {object} endpoint Must set `method` and `url`. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. 11 | */ 12 | (options: O & { 13 | method?: string; 14 | } & ("url" extends keyof D ? { 15 | url?: string; 16 | } : { 17 | url: string; 18 | })): Promise>; 19 | /** 20 | * Sends a request based on endpoint options 21 | * 22 | * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` 23 | * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. 24 | */ 25 | (route: keyof Endpoints | R, options?: R extends keyof Endpoints ? Endpoints[R]["parameters"] & RequestParameters : RequestParameters): R extends keyof Endpoints ? Promise : Promise>; 26 | /** 27 | * Returns a new `request` with updated route and parameters 28 | */ 29 | defaults: (newDefaults: O) => RequestInterface; 30 | /** 31 | * Octokit endpoint API, see {@link https://github.com/octokit/endpoint.js|@octokit/endpoint} 32 | */ 33 | endpoint: EndpointInterface; 34 | } 35 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/request-error/README.md: -------------------------------------------------------------------------------- 1 | # http-error.js 2 | 3 | > Error class for Octokit request errors 4 | 5 | [![@latest](https://img.shields.io/npm/v/@octokit/request-error.svg)](https://www.npmjs.com/package/@octokit/request-error) 6 | [![Build Status](https://github.com/octokit/request-error.js/workflows/Test/badge.svg)](https://github.com/octokit/request-error.js/actions?query=workflow%3ATest) 7 | 8 | ## Usage 9 | 10 | 11 | 12 | 24 | 36 | 37 |
13 | Browsers 14 | 15 | Load @octokit/request-error directly from cdn.pika.dev 16 | 17 | ```html 18 | 21 | ``` 22 | 23 |
25 | Node 26 | 27 | 28 | Install with npm install @octokit/request-error 29 | 30 | ```js 31 | const { RequestError } = require("@octokit/request-error"); 32 | // or: import { RequestError } from "@octokit/request-error"; 33 | ``` 34 | 35 |
38 | 39 | ```js 40 | const error = new RequestError("Oops", 500, { 41 | headers: { 42 | "x-github-request-id": "1:2:3:4", 43 | }, // response headers 44 | request: { 45 | method: "POST", 46 | url: "https://api.github.com/foo", 47 | body: { 48 | bar: "baz", 49 | }, 50 | headers: { 51 | authorization: "token secret123", 52 | }, 53 | }, 54 | }); 55 | 56 | error.message; // Oops 57 | error.status; // 500 58 | error.headers; // { 'x-github-request-id': '1:2:3:4' } 59 | error.request.method; // POST 60 | error.request.url; // https://api.github.com/foo 61 | error.request.body; // { bar: 'baz' } 62 | error.request.headers; // { authorization: 'token [REDACTED]' } 63 | ``` 64 | 65 | ## LICENSE 66 | 67 | [MIT](LICENSE) 68 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@types/node/module.d.ts: -------------------------------------------------------------------------------- 1 | declare module "module" { 2 | import { URL } from "url"; 3 | namespace Module { 4 | /** 5 | * Updates all the live bindings for builtin ES Modules to match the properties of the CommonJS exports. 6 | * It does not add or remove exported names from the ES Modules. 7 | */ 8 | function syncBuiltinESMExports(): void; 9 | 10 | function findSourceMap(path: string, error?: Error): SourceMap; 11 | interface SourceMapPayload { 12 | file: string; 13 | version: number; 14 | sources: string[]; 15 | sourcesContent: string[]; 16 | names: string[]; 17 | mappings: string; 18 | sourceRoot: string; 19 | } 20 | 21 | interface SourceMapping { 22 | generatedLine: number; 23 | generatedColumn: number; 24 | originalSource: string; 25 | originalLine: number; 26 | originalColumn: number; 27 | } 28 | 29 | class SourceMap { 30 | readonly payload: SourceMapPayload; 31 | constructor(payload: SourceMapPayload); 32 | findEntry(line: number, column: number): SourceMapping; 33 | } 34 | } 35 | interface Module extends NodeModule {} 36 | class Module { 37 | static runMain(): void; 38 | static wrap(code: string): string; 39 | 40 | /** 41 | * @deprecated Deprecated since: v12.2.0. Please use createRequire() instead. 42 | */ 43 | static createRequireFromPath(path: string): NodeRequire; 44 | static createRequire(path: string | URL): NodeRequire; 45 | static builtinModules: string[]; 46 | 47 | static Module: typeof Module; 48 | 49 | constructor(id: string, parent?: Module); 50 | } 51 | export = Module; 52 | } 53 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/http-client/proxy.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const url = require("url"); 4 | function getProxyUrl(reqUrl) { 5 | let usingSsl = reqUrl.protocol === 'https:'; 6 | let proxyUrl; 7 | if (checkBypass(reqUrl)) { 8 | return proxyUrl; 9 | } 10 | let proxyVar; 11 | if (usingSsl) { 12 | proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY']; 13 | } 14 | else { 15 | proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY']; 16 | } 17 | if (proxyVar) { 18 | proxyUrl = url.parse(proxyVar); 19 | } 20 | return proxyUrl; 21 | } 22 | exports.getProxyUrl = getProxyUrl; 23 | function checkBypass(reqUrl) { 24 | if (!reqUrl.hostname) { 25 | return false; 26 | } 27 | let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; 28 | if (!noProxy) { 29 | return false; 30 | } 31 | // Determine the request port 32 | let reqPort; 33 | if (reqUrl.port) { 34 | reqPort = Number(reqUrl.port); 35 | } 36 | else if (reqUrl.protocol === 'http:') { 37 | reqPort = 80; 38 | } 39 | else if (reqUrl.protocol === 'https:') { 40 | reqPort = 443; 41 | } 42 | // Format the request hostname and hostname with port 43 | let upperReqHosts = [reqUrl.hostname.toUpperCase()]; 44 | if (typeof reqPort === 'number') { 45 | upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); 46 | } 47 | // Compare request host against noproxy 48 | for (let upperNoProxyItem of noProxy 49 | .split(',') 50 | .map(x => x.trim().toUpperCase()) 51 | .filter(x => x)) { 52 | if (upperReqHosts.some(x => x === upperNoProxyItem)) { 53 | return true; 54 | } 55 | } 56 | return false; 57 | } 58 | exports.checkBypass = checkBypass; 59 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/tunnel/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_from": "tunnel@0.0.6", 3 | "_id": "tunnel@0.0.6", 4 | "_inBundle": false, 5 | "_integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", 6 | "_location": "/tunnel", 7 | "_phantomChildren": {}, 8 | "_requested": { 9 | "type": "version", 10 | "registry": true, 11 | "raw": "tunnel@0.0.6", 12 | "name": "tunnel", 13 | "escapedName": "tunnel", 14 | "rawSpec": "0.0.6", 15 | "saveSpec": null, 16 | "fetchSpec": "0.0.6" 17 | }, 18 | "_requiredBy": [ 19 | "/@actions/http-client" 20 | ], 21 | "_resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", 22 | "_shasum": "72f1314b34a5b192db012324df2cc587ca47f92c", 23 | "_spec": "tunnel@0.0.6", 24 | "_where": "/var/www/html/opencart_modules/PagSeguro/.github/actions/dispatch-newsletter/node_modules/@actions/http-client", 25 | "author": { 26 | "name": "Koichi Kobayashi", 27 | "email": "koichik@improvement.jp" 28 | }, 29 | "bugs": { 30 | "url": "https://github.com/koichik/node-tunnel/issues" 31 | }, 32 | "bundleDependencies": false, 33 | "deprecated": false, 34 | "description": "Node HTTP/HTTPS Agents for tunneling proxies", 35 | "devDependencies": { 36 | "mocha": "^5.2.0", 37 | "should": "^13.2.3" 38 | }, 39 | "directories": { 40 | "lib": "./lib" 41 | }, 42 | "engines": { 43 | "node": ">=0.6.11 <=0.7.0 || >=0.7.3" 44 | }, 45 | "homepage": "https://github.com/koichik/node-tunnel/", 46 | "keywords": [ 47 | "http", 48 | "https", 49 | "agent", 50 | "proxy", 51 | "tunnel" 52 | ], 53 | "license": "MIT", 54 | "main": "./index.js", 55 | "name": "tunnel", 56 | "repository": { 57 | "type": "git", 58 | "url": "git+https://github.com/koichik/node-tunnel.git" 59 | }, 60 | "scripts": { 61 | "test": "mocha" 62 | }, 63 | "version": "0.0.6" 64 | } 65 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/graphql/dist-src/graphql.js: -------------------------------------------------------------------------------- 1 | import { GraphqlError } from "./error"; 2 | const NON_VARIABLE_OPTIONS = [ 3 | "method", 4 | "baseUrl", 5 | "url", 6 | "headers", 7 | "request", 8 | "query", 9 | "mediaType", 10 | ]; 11 | const GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/; 12 | export function graphql(request, query, options) { 13 | if (typeof query === "string" && options && "query" in options) { 14 | return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`)); 15 | } 16 | const parsedOptions = typeof query === "string" ? Object.assign({ query }, options) : query; 17 | const requestOptions = Object.keys(parsedOptions).reduce((result, key) => { 18 | if (NON_VARIABLE_OPTIONS.includes(key)) { 19 | result[key] = parsedOptions[key]; 20 | return result; 21 | } 22 | if (!result.variables) { 23 | result.variables = {}; 24 | } 25 | result.variables[key] = parsedOptions[key]; 26 | return result; 27 | }, {}); 28 | // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix 29 | // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451 30 | const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl; 31 | if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) { 32 | requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql"); 33 | } 34 | return request(requestOptions).then((response) => { 35 | if (response.data.errors) { 36 | const headers = {}; 37 | for (const key of Object.keys(response.headers)) { 38 | headers[key] = response.headers[key]; 39 | } 40 | throw new GraphqlError(requestOptions, { 41 | headers, 42 | data: response.data, 43 | }); 44 | } 45 | return response.data.data; 46 | }); 47 | } 48 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/before-after-hook/index.js: -------------------------------------------------------------------------------- 1 | var register = require('./lib/register') 2 | var addHook = require('./lib/add') 3 | var removeHook = require('./lib/remove') 4 | 5 | // bind with array of arguments: https://stackoverflow.com/a/21792913 6 | var bind = Function.bind 7 | var bindable = bind.bind(bind) 8 | 9 | function bindApi (hook, state, name) { 10 | var removeHookRef = bindable(removeHook, null).apply(null, name ? [state, name] : [state]) 11 | hook.api = { remove: removeHookRef } 12 | hook.remove = removeHookRef 13 | 14 | ;['before', 'error', 'after', 'wrap'].forEach(function (kind) { 15 | var args = name ? [state, kind, name] : [state, kind] 16 | hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args) 17 | }) 18 | } 19 | 20 | function HookSingular () { 21 | var singularHookName = 'h' 22 | var singularHookState = { 23 | registry: {} 24 | } 25 | var singularHook = register.bind(null, singularHookState, singularHookName) 26 | bindApi(singularHook, singularHookState, singularHookName) 27 | return singularHook 28 | } 29 | 30 | function HookCollection () { 31 | var state = { 32 | registry: {} 33 | } 34 | 35 | var hook = register.bind(null, state) 36 | bindApi(hook, state) 37 | 38 | return hook 39 | } 40 | 41 | var collectionHookDeprecationMessageDisplayed = false 42 | function Hook () { 43 | if (!collectionHookDeprecationMessageDisplayed) { 44 | console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4') 45 | collectionHookDeprecationMessageDisplayed = true 46 | } 47 | return HookCollection() 48 | } 49 | 50 | Hook.Singular = HookSingular.bind() 51 | Hook.Collection = HookCollection.bind() 52 | 53 | module.exports = Hook 54 | // expose constructors as a named property for TypeScript 55 | module.exports.Hook = Hook 56 | module.exports.Singular = Hook.Singular 57 | module.exports.Collection = Hook.Collection 58 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/axios/lib/helpers/buildURL.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var utils = require('./../utils'); 4 | 5 | function encode(val) { 6 | return encodeURIComponent(val). 7 | replace(/%3A/gi, ':'). 8 | replace(/%24/g, '$'). 9 | replace(/%2C/gi, ','). 10 | replace(/%20/g, '+'). 11 | replace(/%5B/gi, '['). 12 | replace(/%5D/gi, ']'); 13 | } 14 | 15 | /** 16 | * Build a URL by appending params to the end 17 | * 18 | * @param {string} url The base of the url (e.g., http://www.google.com) 19 | * @param {object} [params] The params to be appended 20 | * @returns {string} The formatted url 21 | */ 22 | module.exports = function buildURL(url, params, paramsSerializer) { 23 | /*eslint no-param-reassign:0*/ 24 | if (!params) { 25 | return url; 26 | } 27 | 28 | var serializedParams; 29 | if (paramsSerializer) { 30 | serializedParams = paramsSerializer(params); 31 | } else if (utils.isURLSearchParams(params)) { 32 | serializedParams = params.toString(); 33 | } else { 34 | var parts = []; 35 | 36 | utils.forEach(params, function serialize(val, key) { 37 | if (val === null || typeof val === 'undefined') { 38 | return; 39 | } 40 | 41 | if (utils.isArray(val)) { 42 | key = key + '[]'; 43 | } else { 44 | val = [val]; 45 | } 46 | 47 | utils.forEach(val, function parseValue(v) { 48 | if (utils.isDate(v)) { 49 | v = v.toISOString(); 50 | } else if (utils.isObject(v)) { 51 | v = JSON.stringify(v); 52 | } 53 | parts.push(encode(key) + '=' + encode(v)); 54 | }); 55 | }); 56 | 57 | serializedParams = parts.join('&'); 58 | } 59 | 60 | if (serializedParams) { 61 | var hashmarkIndex = url.indexOf('#'); 62 | if (hashmarkIndex !== -1) { 63 | url = url.slice(0, hashmarkIndex); 64 | } 65 | 66 | url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams; 67 | } 68 | 69 | return url; 70 | }; 71 | -------------------------------------------------------------------------------- /install.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | PagSeguro Checkout Transparente 4 | valdeir_pagseguro_checkout_transparente 5 | 2.1.0 6 | Valdeir S. 7 | https://valdeir.dev 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 2ª via do boleto 18 | {% endif %} 19 | ]]> 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | {{ text_history }}]]> 28 | 29 | 30 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 56 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/README.md: -------------------------------------------------------------------------------- 1 | # types.ts 2 | 3 | > Shared TypeScript definitions for Octokit projects 4 | 5 | [![@latest](https://img.shields.io/npm/v/@octokit/types.svg)](https://www.npmjs.com/package/@octokit/types) 6 | [![Build Status](https://github.com/octokit/types.ts/workflows/Test/badge.svg)](https://github.com/octokit/types.ts/actions?workflow=Test) 7 | 8 | 9 | 10 | - [Usage](#usage) 11 | - [Examples](#examples) 12 | - [Get parameter and response data types for a REST API endpoint](#get-parameter-and-response-data-types-for-a-rest-api-endpoint) 13 | - [Get response types from endpoint methods](#get-response-types-from-endpoint-methods) 14 | - [Contributing](#contributing) 15 | - [License](#license) 16 | 17 | 18 | 19 | ## Usage 20 | 21 | See all exported types at https://octokit.github.io/types.ts 22 | 23 | ## Examples 24 | 25 | ### Get parameter and response data types for a REST API endpoint 26 | 27 | ```ts 28 | import { Endpoints } from "@octokit/types"; 29 | 30 | type listUserReposParameters = Endpoints["GET /repos/:owner/:repo"]["parameters"]; 31 | type listUserReposResponse = Endpoints["GET /repos/:owner/:repo"]["response"]; 32 | 33 | async function listRepos( 34 | options: listUserReposParameters 35 | ): listUserReposResponse["data"] { 36 | // ... 37 | } 38 | ``` 39 | 40 | ### Get response types from endpoint methods 41 | 42 | ```ts 43 | import { 44 | GetResponseTypeFromEndpointMethod, 45 | GetResponseDataTypeFromEndpointMethod, 46 | } from "@octokit/types"; 47 | import { Octokit } from "@octokit/rest"; 48 | 49 | const octokit = new Octokit(); 50 | type CreateLabelResponseType = GetResponseTypeFromEndpointMethod< 51 | typeof octokit.issues.createLabel 52 | >; 53 | type CreateLabelResponseDataType = GetResponseDataTypeFromEndpointMethod< 54 | typeof octokit.issues.createLabel 55 | >; 56 | ``` 57 | 58 | ## Contributing 59 | 60 | See [CONTRIBUTING.md](CONTRIBUTING.md) 61 | 62 | ## License 63 | 64 | [MIT](LICENSE) 65 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/github/lib/internal/utils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 | if (k2 === undefined) k2 = k; 4 | Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); 5 | }) : (function(o, m, k, k2) { 6 | if (k2 === undefined) k2 = k; 7 | o[k2] = m[k]; 8 | })); 9 | var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { 10 | Object.defineProperty(o, "default", { enumerable: true, value: v }); 11 | }) : function(o, v) { 12 | o["default"] = v; 13 | }); 14 | var __importStar = (this && this.__importStar) || function (mod) { 15 | if (mod && mod.__esModule) return mod; 16 | var result = {}; 17 | if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); 18 | __setModuleDefault(result, mod); 19 | return result; 20 | }; 21 | Object.defineProperty(exports, "__esModule", { value: true }); 22 | exports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0; 23 | const httpClient = __importStar(require("@actions/http-client")); 24 | function getAuthString(token, options) { 25 | if (!token && !options.auth) { 26 | throw new Error('Parameter token or opts.auth is required'); 27 | } 28 | else if (token && options.auth) { 29 | throw new Error('Parameters token and opts.auth may not both be specified'); 30 | } 31 | return typeof options.auth === 'string' ? options.auth : `token ${token}`; 32 | } 33 | exports.getAuthString = getAuthString; 34 | function getProxyAgent(destinationUrl) { 35 | const hc = new httpClient.HttpClient(); 36 | return hc.getAgent(destinationUrl); 37 | } 38 | exports.getProxyAgent = getProxyAgent; 39 | function getApiBaseUrl() { 40 | return process.env['GITHUB_API_URL'] || 'https://api.github.com'; 41 | } 42 | exports.getApiBaseUrl = getApiBaseUrl; 43 | //# sourceMappingURL=utils.js.map -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/1-bug-report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "Bug relatório" 3 | about: Relate uma falha no módulo 4 | 5 | --- 6 | 14 | 15 | 16 | # 🐞 relatório da falha 17 | 18 | ### Parte afetada 19 | 20 | 21 | 22 | 23 | 24 | - [ ] Admin 25 | - [ ] Módulo de Boleto 26 | - [ ] Módulo de Cartão de Crédito 27 | - [ ] Módulo de Cartão de Débito 28 | - [ ] Módulo de Desconto 29 | - [ ] Módulo de Taxa 30 | - [ ] Outro: **informe-nos aqui** 31 | 32 | 33 | ### Este comportamento funcionava na versão anterior? 34 | 35 | > Exemplo: Não, ocorre somente nesta versão 36 | 37 | 38 | ### Descrição 39 | 40 | Poste aqui uma descrição clara e concisa do problema ... 41 | 42 | 43 | ## 🔬 Passo a passo para reprodução do erro 44 | 45 | 1. Faça isso 46 | 2. Faça aquilo 47 | 3. Etc 48 | 49 | ## 🔥 Exceção ou Erro 50 | 51 |

52 | 
53 | 
54 | 
55 | 56 | 57 | ## 🌍 Seu ambiente 58 | 59 | | Ferramenta | Versão | 60 | | ----------------------------- | :----: | 61 | | OpenCart | | 62 | | MySQL | | 63 | | WebServer (Apache, Nginx etc) | | 64 | 65 | **Módulos do PHP:** 66 |

67 | 
68 | 
69 | 
70 | 71 | **Outras informações relevantes?** 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@octokit/types/dist-types/RequestParameters.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestRequestOptions } from "./RequestRequestOptions"; 2 | import { RequestHeaders } from "./RequestHeaders"; 3 | import { Url } from "./Url"; 4 | /** 5 | * Parameters that can be passed into `request(route, parameters)` or `endpoint(route, parameters)` methods 6 | */ 7 | export declare type RequestParameters = { 8 | /** 9 | * Base URL to be used when a relative URL is passed, such as `/orgs/:org`. 10 | * If `baseUrl` is `https://enterprise.acme-inc.com/api/v3`, then the request 11 | * will be sent to `https://enterprise.acme-inc.com/api/v3/orgs/:org`. 12 | */ 13 | baseUrl?: Url; 14 | /** 15 | * HTTP headers. Use lowercase keys. 16 | */ 17 | headers?: RequestHeaders; 18 | /** 19 | * Media type options, see {@link https://developer.github.com/v3/media/|GitHub Developer Guide} 20 | */ 21 | mediaType?: { 22 | /** 23 | * `json` by default. Can be `raw`, `text`, `html`, `full`, `diff`, `patch`, `sha`, `base64`. Depending on endpoint 24 | */ 25 | format?: string; 26 | /** 27 | * Custom media type names of {@link https://developer.github.com/v3/media/|API Previews} without the `-preview` suffix. 28 | * Example for single preview: `['squirrel-girl']`. 29 | * Example for multiple previews: `['squirrel-girl', 'mister-fantastic']`. 30 | */ 31 | previews?: string[]; 32 | }; 33 | /** 34 | * Pass custom meta information for the request. The `request` object will be returned as is. 35 | */ 36 | request?: RequestRequestOptions; 37 | /** 38 | * Any additional parameter will be passed as follows 39 | * 1. URL parameter if `':parameter'` or `{parameter}` is part of `url` 40 | * 2. Query parameter if `method` is `'GET'` or `'HEAD'` 41 | * 3. Request body if `parameter` is `'data'` 42 | * 4. JSON in the request body in the form of `body[parameter]` unless `parameter` key is `'data'` 43 | */ 44 | [parameter: string]: unknown; 45 | }; 46 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/core/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_from": "@actions/core", 3 | "_id": "@actions/core@1.2.5", 4 | "_inBundle": false, 5 | "_integrity": "sha512-mwpoNjHSWWh0IiALdDEQi3tru124JKn0yVNziIBzTME8QRv7thwoghVuT1jBRjFvdtoHsqD58IRHy1nf86paRg==", 6 | "_location": "/@actions/core", 7 | "_phantomChildren": {}, 8 | "_requested": { 9 | "type": "tag", 10 | "registry": true, 11 | "raw": "@actions/core", 12 | "name": "@actions/core", 13 | "escapedName": "@actions%2fcore", 14 | "scope": "@actions", 15 | "rawSpec": "", 16 | "saveSpec": null, 17 | "fetchSpec": "latest" 18 | }, 19 | "_requiredBy": [ 20 | "#USER", 21 | "/" 22 | ], 23 | "_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.5.tgz", 24 | "_shasum": "fa57bf8c07a38191e243beb9ea9d8368c1cb02c8", 25 | "_spec": "@actions/core", 26 | "_where": "/var/www/html/opencart_modules/PagSeguro/.github/actions/dispatch-newsletter", 27 | "bugs": { 28 | "url": "https://github.com/actions/toolkit/issues" 29 | }, 30 | "bundleDependencies": false, 31 | "deprecated": false, 32 | "description": "Actions core lib", 33 | "devDependencies": { 34 | "@types/node": "^12.0.2" 35 | }, 36 | "directories": { 37 | "lib": "lib", 38 | "test": "__tests__" 39 | }, 40 | "files": [ 41 | "lib", 42 | "!.DS_Store" 43 | ], 44 | "homepage": "https://github.com/actions/toolkit/tree/main/packages/core", 45 | "keywords": [ 46 | "github", 47 | "actions", 48 | "core" 49 | ], 50 | "license": "MIT", 51 | "main": "lib/core.js", 52 | "name": "@actions/core", 53 | "publishConfig": { 54 | "access": "public" 55 | }, 56 | "repository": { 57 | "type": "git", 58 | "url": "git+https://github.com/actions/toolkit.git", 59 | "directory": "packages/core" 60 | }, 61 | "scripts": { 62 | "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", 63 | "test": "echo \"Error: run tests from root\" && exit 1", 64 | "tsc": "tsc" 65 | }, 66 | "types": "lib/core.d.ts", 67 | "version": "1.2.5" 68 | } 69 | -------------------------------------------------------------------------------- /.github/actions/dispatch-newsletter/node_modules/@actions/core/lib/command.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"command.js","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":";;;;;;;;;AAAA,uCAAwB;AAWxB;;;;;;;;;GASG;AACH,SAAgB,YAAY,CAC1B,OAAe,EACf,UAA6B,EAC7B,OAAY;IAEZ,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;IACrD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AAC/C,CAAC;AAPD,oCAOC;AAED,SAAgB,KAAK,CAAC,IAAY,EAAE,UAAkB,EAAE;IACtD,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACjC,CAAC;AAFD,sBAEC;AAED,MAAM,UAAU,GAAG,IAAI,CAAA;AAEvB,MAAM,OAAO;IAKX,YAAY,OAAe,EAAE,UAA6B,EAAE,OAAe;QACzE,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,iBAAiB,CAAA;SAC5B;QAED,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAED,QAAQ;QACN,IAAI,MAAM,GAAG,UAAU,GAAG,IAAI,CAAC,OAAO,CAAA;QAEtC,IAAI,IAAI,CAAC,UAAU,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;YAC9D,MAAM,IAAI,GAAG,CAAA;YACb,IAAI,KAAK,GAAG,IAAI,CAAA;YAChB,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,UAAU,EAAE;gBACjC,IAAI,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;oBACvC,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;oBAChC,IAAI,GAAG,EAAE;wBACP,IAAI,KAAK,EAAE;4BACT,KAAK,GAAG,KAAK,CAAA;yBACd;6BAAM;4BACL,MAAM,IAAI,GAAG,CAAA;yBACd;wBAED,MAAM,IAAI,GAAG,GAAG,IAAI,cAAc,CAAC,GAAG,CAAC,EAAE,CAAA;qBAC1C;iBACF;aACF;SACF;QAED,MAAM,IAAI,GAAG,UAAU,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAA;QACpD,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAED;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;AAC9B,CAAC;AAPD,wCAOC;AAED,SAAS,UAAU,CAAC,CAAM;IACxB,OAAO,cAAc,CAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AAC1B,CAAC;AAED,SAAS,cAAc,CAAC,CAAM;IAC5B,OAAO,cAAc,CAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;AACzB,CAAC"} --------------------------------------------------------------------------------