<?php //resource_metadata_7f5929cc6eaa902c05712e677d869f1d

return [PHP_INT_MAX, static function () { return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
    $o = [
        clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['ApiPlatform\\Core\\Metadata\\Resource\\ResourceMetadata'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('ApiPlatform\\Core\\Metadata\\Resource\\ResourceMetadata')),
    ],
    null,
    [
        'ApiPlatform\\Core\\Metadata\\Resource\\ResourceMetadata' => [
            'shortName' => [
                'Device',
            ],
            'description' => [
                '',
            ],
            'itemOperations' => [
                [
                    'GET' => [
                        'method' => 'GET',
                        'stateless' => null,
                        'input_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                    'is_paired' => [
                        'security' => 'is_granted("ROLE_EXACT_API") or is_granted("ROLE_EXACT_SHOP_MANAGER")',
                        'method' => 'GET',
                        'path' => '/devices/{identifier}/paired',
                        'defaults' => [
                            '_api_receive' => false,
                        ],
                        'status' => 200,
                        'controller' => 'App\\Controller\\Api\\Shop\\Device\\IsPairedController',
                        'openapi_context' => [
                            'summary' => 'Device is paired',
                            'description' => 'Check if device is paired',
                            'parameters' => [
                                [
                                    'in' => 'path',
                                    'name' => 'identifier',
                                    'schema' => [
                                        'type' => 'string',
                                    ],
                                    'required' => true,
                                    'description' => 'Device\'s identifier',
                                ],
                            ],
                            'responses' => [
                                200 => [
                                    'content' => [
                                        'application/json' => [
                                            'schema' => [
                                                'type' => 'array',
                                                'items' => [
                                                    'type' => 'object',
                                                    'properties' => [
                                                        'paired' => [
                                                            'type' => 'boolean',
                                                        ],
                                                        'deviceId' => [
                                                            'type' => 'integer',
                                                        ],
                                                        'shopId' => [
                                                            'type' => 'integer',
                                                        ],
                                                    ],
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'stateless' => null,
                        'input_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                ],
            ],
            'collectionOperations' => [
                [
                    'GET' => [
                        'security' => 'is_granted("ROLE_EXACT_API") or is_granted("ROLE_EXACT_SHOP_MANAGER") or is_granted("ROLE_EXACT_MANAGER")',
                        'input' => null,
                        'output' => null,
                        'method' => 'GET',
                        'stateless' => null,
                        'input_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                    'enable_device' => [
                        'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER")',
                        'method' => 'PATCH',
                        'status' => 200,
                        'path' => '/devices/{token}/enable',
                        'controller' => 'App\\Controller\\Api\\Shop\\Device\\UpdateDeviceStatusController',
                        'openapi_context' => [
                            'summary' => 'Enable device by token',
                            'description' => 'Enable device by token',
                            'parameters' => [
                                [
                                    'in' => 'path',
                                    'name' => 'token',
                                    'schema' => [
                                        'type' => 'string',
                                    ],
                                    'description' => 'Device\'s token',
                                ],
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'stateless' => null,
                        'input_formats' => [
                            'json' => [
                                'application/merge-patch+json',
                            ],
                        ],
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                    'disable_device' => [
                        'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER")',
                        'method' => 'PATCH',
                        'status' => 200,
                        'path' => '/devices/{token}/disable',
                        'controller' => 'App\\Controller\\Api\\Shop\\Device\\UpdateDeviceStatusController',
                        'openapi_context' => [
                            'summary' => 'Disable device by token',
                            'description' => 'Disable device by token',
                            'parameters' => [
                                [
                                    'in' => 'path',
                                    'name' => 'token',
                                    'schema' => [
                                        'type' => 'string',
                                    ],
                                    'description' => 'Device\'s token',
                                ],
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'stateless' => null,
                        'input_formats' => [
                            'json' => [
                                'application/merge-patch+json',
                            ],
                        ],
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                    'pair' => [
                        'security' => 'is_granted("ROLE_EXACT_API") or is_granted("ROLE_EXACT_SHOP_MANAGER")',
                        'method' => 'POST',
                        'path' => '/devices/pair',
                        'status' => 200,
                        'input' => [
                            'class' => 'App\\Message\\Shop\\Device\\PairDevice',
                            'name' => 'PairDevice',
                        ],
                        'messenger' => true,
                        'openapi_context' => [
                            'summary' => 'Device pairing',
                            'description' => 'Pairing a device',
                            'requestBody' => [
                                'content' => [
                                    'application/json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'pin' => [
                                                    'type' => 'integer',
                                                ],
                                                'identifier' => [
                                                    'type' => 'string',
                                                ],
                                                'name' => [
                                                    'type' => 'string',
                                                ],
                                                'model' => [
                                                    'type' => 'string',
                                                ],
                                                'version' => [
                                                    'type' => 'string',
                                                ],
                                                'force' => [
                                                    'type' => 'boolean',
                                                ],
                                            ],
                                        ],
                                        'example' => [
                                            'pin' => 319504,
                                            'identifier' => 'device-001',
                                            'name' => 'Device Name',
                                            'model' => 'Model 1',
                                            'version' => 'v1.0',
                                            'force' => false,
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                200 => [
                                    'content' => [
                                        'application/json' => [
                                            'schema' => [
                                                'type' => 'array',
                                                'items' => [
                                                    'type' => 'object',
                                                    'properties' => [
                                                        'paired' => [
                                                            'type' => 'boolean',
                                                        ],
                                                        'deviceId' => [
                                                            'type' => 'integer',
                                                        ],
                                                        'shopId' => [
                                                            'type' => 'integer',
                                                        ],
                                                    ],
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                                400 => [
                                    'description' => 'Missing parameters<br>Invalid PIN Code<br>Already paired',
                                ],
                                [
                                    'description' => 'Paired with other device',
                                ],
                            ],
                        ],
                        'output' => null,
                        'stateless' => null,
                        'input_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                ],
            ],
            'graphql' => [
                [
                    'item_query' => [],
                    'collection_query' => [],
                    'delete' => [],
                    'update' => [],
                    'create' => [],
                ],
            ],
            'attributes' => [
                [
                    'security' => 'is_granted("ROLE_EXACT_SHOP_MANAGER") or is_granted("ROLE_EXACT_MANAGER")',
                    'cache_headers' => null,
                    'denormalization_context' => null,
                    'deprecation_reason' => null,
                    'elasticsearch' => null,
                    'fetch_partial' => null,
                    'force_eager' => null,
                    'formats' => null,
                    'filters' => null,
                    'hydra_context' => null,
                    'input' => null,
                    'mercure' => null,
                    'messenger' => null,
                    'normalization_context' => [
                        'groups' => [
                            'get:devices',
                        ],
                    ],
                    'openapi_context' => null,
                    'order' => null,
                    'output' => null,
                    'pagination_client_enabled' => null,
                    'pagination_client_items_per_page' => null,
                    'pagination_client_partial' => null,
                    'pagination_via_cursor' => null,
                    'pagination_enabled' => null,
                    'pagination_fetch_join_collection' => null,
                    'pagination_items_per_page' => 10,
                    'pagination_maximum_items_per_page' => 30,
                    'pagination_partial' => null,
                    'route_prefix' => 'v2',
                    'security_message' => null,
                    'security_post_denormalize' => null,
                    'security_post_denormalize_message' => null,
                    'security_post_validation' => null,
                    'security_post_validation_message' => null,
                    'stateless' => null,
                    'sunset' => null,
                    'swagger_context' => null,
                    'validation_groups' => null,
                    'url_generation_strategy' => null,
                    'composite_identifier' => null,
                    'exception_to_status' => null,
                    'query_parameter_validation_enabled' => null,
                ],
            ],
        ],
    ],
    $o[0],
    []
); }];
