diff --git a/rest/index.php b/rest/index.php index 8b56ca0c59144ee2192682e9c8005175b3d07141..605779a47008565432dec1cd8fed2947c71892ee 100755 --- a/rest/index.php +++ b/rest/index.php @@ -280,6 +280,13 @@ $app->post('/resourcesList/users/{userId}/groups/{groupId}/baskets/{basketId}/ch $app->get('/resourcesList/users/{userId}/groups/{groupId}/baskets/{basketId}/actions/{actionId}/getRedirect', \Action\controllers\PreProcessActionController::class . ':getRedirectInformations'); $app->get('/resources/{resId}/users/{userId}/isDestinationChanging', \Action\controllers\PreProcessActionController::class . ':isDestinationChanging'); +//shipping +$app->get('/shippings', \Shipping\controllers\ShippingController::class . ':get'); +$app->get('/shippings/{id}', \Shipping\controllers\ShippingController::class . ':getById'); +$app->post('/shippings', \Shipping\controllers\ShippingController::class . ':create'); +$app->put('/shippings/{id}', \Shipping\controllers\ShippingController::class . ':update'); +$app->delete('/shippings/{id}', \Shipping\controllers\ShippingController::class . ':delete'); + //SignatureBook $app->get('/signatureBook/users/{userId}/groups/{groupId}/baskets/{basketId}/resources', \SignatureBook\controllers\SignatureBookController::class . ':getResources'); $app->get('/signatureBook/users/{userId}/groups/{groupId}/baskets/{basketId}/resources/{resId}', \SignatureBook\controllers\SignatureBookController::class . ':getSignatureBook'); diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index 421cf2933e6a40d057377e57bb1f00ab0f8cfd7b..06d10cd2277c89459ac4bd2ce812e61b66f42daa 100755 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -24,6 +24,7 @@ return array( 'SrcCore\\' => array($baseDir . '/src/core'), 'Slim\\' => array($vendorDir . '/slim/slim/Slim'), 'SignatureBook\\' => array($baseDir . '/src/app/signatureBook'), + 'Shipping\\' => array($baseDir . '/src/app/shipping'), 'Sendmail\\' => array($baseDir . '/modules/sendmail'), 'Respect\\Validation\\' => array($vendorDir . '/respect/validation/library'), 'Resource\\' => array($baseDir . '/src/app/resource'), diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 4e3ddfbef61756ab49e879cb66997c7fbfccc195..63b834b79ba2c2937ee1a3c6a39f3b96ff86b2c5 100755 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -61,6 +61,7 @@ class ComposerStaticInitf21aebccfa6df888200dcb099aa69fbd 'SrcCore\\' => 8, 'Slim\\' => 5, 'SignatureBook\\' => 14, + 'Shipping\\' => 9, 'Sendmail\\' => 9, ), 'R' => @@ -226,6 +227,10 @@ class ComposerStaticInitf21aebccfa6df888200dcb099aa69fbd array ( 0 => __DIR__ . '/../..' . '/src/app/signatureBook', ), + 'Shipping\\' => + array ( + 0 => __DIR__ . '/../..' . '/src/app/shipping', + ), 'Sendmail\\' => array ( 0 => __DIR__ . '/../..' . '/modules/sendmail',