├── .editorconfig ├── .env ├── .github └── workflows │ └── php.yml ├── .gitignore ├── .php_cs.dist ├── .travis.yml ├── LICENSE ├── Makefile ├── README.md ├── Resources └── mockup │ ├── categories │ └── list.json │ ├── orders │ ├── detail.json │ ├── list.json │ ├── not_synced.json │ ├── plp │ │ ├── factory.json │ │ ├── list.json │ │ └── plp.pdf │ └── queue.json │ └── products │ ├── detail.json │ └── list.json ├── bin └── submarino-sdk ├── composer.json ├── config ├── bootstrap.php ├── phan.php └── phpstan.neon ├── docker-compose.yaml ├── docs ├── _config.yml ├── _layouts │ └── default.html ├── assets │ └── 111c8527.JPG └── index.md ├── phpcs.xml ├── phpunit.xml.dist ├── src ├── Client.php ├── Console │ ├── Application.php │ └── Command │ │ ├── AbstractCommand.php │ │ ├── Auth │ │ └── CheckCommand.php │ │ ├── Homologation │ │ └── RunCommand.php │ │ └── Product │ │ └── ListCommand.php ├── Entity │ ├── AbstractManager.php │ ├── GenericManager.php │ ├── Order │ │ ├── Manager.php │ │ ├── Order.php │ │ ├── Translator.php │ │ ├── Transport │ │ │ ├── Awb.php │ │ │ ├── Awbs.php │ │ │ ├── Document.php │ │ │ ├── Documents.php │ │ │ └── Plp.php │ │ └── map │ │ │ ├── translate.foreign.map.php │ │ │ └── translate.native.map.php │ └── Product │ │ ├── Manager.php │ │ ├── Product.php │ │ ├── Translator.php │ │ └── map │ │ ├── translate.foreign.map.php │ │ └── translate.native.map.php └── Factory.php └── tests ├── ClientTest.php ├── Entity ├── Order │ └── ManagerTest.php └── Product │ ├── ManagerTest.php │ ├── ProductTest.php │ └── TranslatorTest.php ├── FactoryTest.php └── TestCaseAbstract.php /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/.env -------------------------------------------------------------------------------- /.github/workflows/php.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/.github/workflows/php.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/.gitignore -------------------------------------------------------------------------------- /.php_cs.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/.php_cs.dist -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/README.md -------------------------------------------------------------------------------- /Resources/mockup/categories/list.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/Resources/mockup/categories/list.json -------------------------------------------------------------------------------- /Resources/mockup/orders/detail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/Resources/mockup/orders/detail.json -------------------------------------------------------------------------------- /Resources/mockup/orders/list.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/Resources/mockup/orders/list.json -------------------------------------------------------------------------------- /Resources/mockup/orders/not_synced.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/Resources/mockup/orders/not_synced.json -------------------------------------------------------------------------------- /Resources/mockup/orders/plp/factory.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Plp 98945320 agrupada com sucesso." 3 | } 4 | -------------------------------------------------------------------------------- /Resources/mockup/orders/plp/list.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/Resources/mockup/orders/plp/list.json -------------------------------------------------------------------------------- /Resources/mockup/orders/plp/plp.pdf: -------------------------------------------------------------------------------- 1 | FF 2 | -------------------------------------------------------------------------------- /Resources/mockup/orders/queue.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/Resources/mockup/orders/queue.json -------------------------------------------------------------------------------- /Resources/mockup/products/detail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/Resources/mockup/products/detail.json -------------------------------------------------------------------------------- /Resources/mockup/products/list.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/Resources/mockup/products/list.json -------------------------------------------------------------------------------- /bin/submarino-sdk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/bin/submarino-sdk -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/composer.json -------------------------------------------------------------------------------- /config/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/config/bootstrap.php -------------------------------------------------------------------------------- /config/phan.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/config/phan.php -------------------------------------------------------------------------------- /config/phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/config/phpstan.neon -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/docs/_config.yml -------------------------------------------------------------------------------- /docs/_layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/docs/_layouts/default.html -------------------------------------------------------------------------------- /docs/assets/111c8527.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/docs/assets/111c8527.JPG -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/docs/index.md -------------------------------------------------------------------------------- /phpcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/phpcs.xml -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Client.php -------------------------------------------------------------------------------- /src/Console/Application.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Console/Application.php -------------------------------------------------------------------------------- /src/Console/Command/AbstractCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Console/Command/AbstractCommand.php -------------------------------------------------------------------------------- /src/Console/Command/Auth/CheckCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Console/Command/Auth/CheckCommand.php -------------------------------------------------------------------------------- /src/Console/Command/Homologation/RunCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Console/Command/Homologation/RunCommand.php -------------------------------------------------------------------------------- /src/Console/Command/Product/ListCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Console/Command/Product/ListCommand.php -------------------------------------------------------------------------------- /src/Entity/AbstractManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/AbstractManager.php -------------------------------------------------------------------------------- /src/Entity/GenericManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/GenericManager.php -------------------------------------------------------------------------------- /src/Entity/Order/Manager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Order/Manager.php -------------------------------------------------------------------------------- /src/Entity/Order/Order.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Order/Order.php -------------------------------------------------------------------------------- /src/Entity/Order/Translator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Order/Translator.php -------------------------------------------------------------------------------- /src/Entity/Order/Transport/Awb.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Order/Transport/Awb.php -------------------------------------------------------------------------------- /src/Entity/Order/Transport/Awbs.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Order/Transport/Awbs.php -------------------------------------------------------------------------------- /src/Entity/Order/Transport/Document.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Order/Transport/Document.php -------------------------------------------------------------------------------- /src/Entity/Order/Transport/Documents.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Order/Transport/Documents.php -------------------------------------------------------------------------------- /src/Entity/Order/Transport/Plp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Order/Transport/Plp.php -------------------------------------------------------------------------------- /src/Entity/Order/map/translate.foreign.map.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Order/map/translate.foreign.map.php -------------------------------------------------------------------------------- /src/Entity/Order/map/translate.native.map.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Order/map/translate.native.map.php -------------------------------------------------------------------------------- /src/Entity/Product/Manager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Product/Manager.php -------------------------------------------------------------------------------- /src/Entity/Product/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Product/Product.php -------------------------------------------------------------------------------- /src/Entity/Product/Translator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Product/Translator.php -------------------------------------------------------------------------------- /src/Entity/Product/map/translate.foreign.map.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Product/map/translate.foreign.map.php -------------------------------------------------------------------------------- /src/Entity/Product/map/translate.native.map.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Entity/Product/map/translate.native.map.php -------------------------------------------------------------------------------- /src/Factory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/src/Factory.php -------------------------------------------------------------------------------- /tests/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/tests/ClientTest.php -------------------------------------------------------------------------------- /tests/Entity/Order/ManagerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/tests/Entity/Order/ManagerTest.php -------------------------------------------------------------------------------- /tests/Entity/Product/ManagerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/tests/Entity/Product/ManagerTest.php -------------------------------------------------------------------------------- /tests/Entity/Product/ProductTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/tests/Entity/Product/ProductTest.php -------------------------------------------------------------------------------- /tests/Entity/Product/TranslatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/tests/Entity/Product/TranslatorTest.php -------------------------------------------------------------------------------- /tests/FactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/tests/FactoryTest.php -------------------------------------------------------------------------------- /tests/TestCaseAbstract.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpupo/submarino-sdk/HEAD/tests/TestCaseAbstract.php --------------------------------------------------------------------------------