<?php //resource_metadata_d8c79c6926043b36326fd07c50322c66

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' => [
                'Customer',
            ],
            'description' => [
                '',
            ],
            'itemOperations' => [
                [
                    'GET' => [
                        'security' => 'is_granted("ROLE_EXACT_CLIENT")',
                        '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',
                            ],
                        ],
                    ],
                    'update_password' => [
                        'security' => 'is_granted("ROLE_EXACT_CLIENT")',
                        'validate' => false,
                        'method' => 'PATCH',
                        'status' => 200,
                        'path' => '/customers/{id}/update-password',
                        'controller' => 'App\\Controller\\Api\\User\\UpdatePasswordController',
                        'denormalization_context' => [
                            'groups' => [
                                'patch:password',
                            ],
                        ],
                        'openapi_context' => [
                            'summary' => 'update a customer\'s password',
                            'description' => 'Update a customer\'s password',
                            'requestBody' => [
                                'content' => [
                                    'application/merge-patch+json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'old_password' => [
                                                    'type' => 'string',
                                                ],
                                                'new_password' => [
                                                    'type' => 'string',
                                                ],
                                            ],
                                        ],
                                        'example' => [
                                            'old_password' => 'myOldPassword',
                                            'new_password' => 'myNewPassword',
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                200 => [
                                    'description' => 'Ok',
                                    'content' => [
                                        'application/json' => [
                                            'schema' => [
                                                'type' => 'object',
                                                'properties' => [
                                                    'responseStatus' => [
                                                        'type' => 'string',
                                                    ],
                                                    'responseHeader' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'status' => [
                                                                'type' => 'string',
                                                            ],
                                                            'code' => [
                                                                'type' => 'number',
                                                            ],
                                                        ],
                                                    ],
                                                    'responseData' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'message' => [
                                                                'type' => 'string',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                        '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',
                            ],
                        ],
                    ],
                    'PUT' => [
                        'security' => 'is_granted("ROLE_EXACT_CLIENT") or is_granted("ROLE_EXACT_SHOP_MANAGER")',
                        'denormalization_context' => [
                            'groups' => [
                                'put:user',
                            ],
                        ],
                        'openapi_context' => [
                            'summary' => 'Update the Customer resource',
                            'description' => 'Update the Customer resource',
                            'requestBody' => [
                                'content' => [
                                    'application/json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'firstName' => [
                                                    'type' => 'string',
                                                ],
                                                'lastName' => [
                                                    'type' => 'string',
                                                ],
                                                'imageUrl' => [
                                                    'type' => 'string',
                                                ],
                                                'phone' => [
                                                    'type' => 'string',
                                                ],
                                                'landlinePhone' => [
                                                    'type' => 'string',
                                                ],
                                                'gender' => [
                                                    'type' => 'string',
                                                ],
                                                'askForSubscriptionToQoodos' => [
                                                    'type' => 'boolean',
                                                ],
                                            ],
                                        ],
                                        'example' => [
                                            'firstName' => 'myFirstName',
                                            'lastName' => 'myLastName',
                                            'imageUrl' => 'myImagePath',
                                            'phone' => 'myPhone',
                                            'landlinePhone' => 'myLandlinePhone',
                                            'gender' => 'myGender',
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                200 => [
                                    'description' => 'Ok',
                                    'content' => [
                                        'application/json' => [
                                            'schema' => [
                                                'type' => 'object',
                                                'properties' => [
                                                    'responseStatus' => [
                                                        'type' => 'string',
                                                    ],
                                                    'responseHeader' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'status' => [
                                                                'type' => 'string',
                                                            ],
                                                            'code' => [
                                                                'type' => 'number',
                                                            ],
                                                        ],
                                                    ],
                                                    'responseData' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'message' => [
                                                                'type' => 'string',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'method' => 'PUT',
                        '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',
                            ],
                        ],
                    ],
                    'set_default_language' => [
                        'security' => 'is_granted("ROLE_EXACT_CLIENT")',
                        'method' => 'PATCH',
                        'path' => '/customers/{id}/set-default-language',
                        'status' => 200,
                        'controller' => 'App\\Controller\\Api\\User\\DefaultLanguageController',
                        'denormalization_context' => [
                            'groups' => [
                                'patch:language',
                            ],
                        ],
                        'openapi_context' => [
                            'summary' => 'Set default language',
                            'description' => 'Set default language',
                            'requestBody' => [
                                'content' => [
                                    'application/merge-patch+json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'locale_code' => [
                                                    'type' => 'string',
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                200 => [
                                    'description' => 'Ok',
                                ],
                                400 => [
                                    'description' => 'Bad request',
                                ],
                                404 => [
                                    'description' => 'Not Found',
                                ],
                            ],
                        ],
                        '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',
                            ],
                        ],
                    ],
                    'upload_image' => [
                        'path' => '/customers/{id}/attach-image',
                        'security' => 'is_granted("ROLE_EXACT_API") or is_granted("ROLE_EXACT_CLIENT") or is_granted("ROLE_EXACT_SHOP_MANAGER")',
                        'method' => 'POST',
                        'controller' => 'App\\Controller\\Api\\ImageUploader\\ImageUploaderController',
                        'input_formats' => [
                            'multipart' => [
                                'multipart/form-data',
                            ],
                        ],
                        'denormalization_context' => [
                            'groups' => [
                                'customer:attach:image',
                            ],
                        ],
                        'openapi_context' => [
                            'summary' => 'Change image',
                            'requestBody' => [
                                'content' => [
                                    'multipart/form-data' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'imageFile' => [
                                                    'type' => 'string',
                                                    'format' => 'binary',
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'stateless' => null,
                        'output_formats' => [
                            'json' => [
                                'application/json',
                            ],
                            'jsonld' => [
                                'application/ld+js',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                ],
            ],
            'collectionOperations' => [
                [
                    'google_authentication' => [
                        'method' => 'POST',
                        'status' => 200,
                        'path' => '/customers/authenticate/google',
                        'input' => [
                            'class' => 'App\\Message\\Authentication\\SignInWithGoogle',
                            'name' => 'SignInWithGoogle',
                        ],
                        'messenger' => true,
                        'openapi_context' => [
                            'summary' => 'Google Authentication',
                            'description' => 'Authenticate a customer using Google',
                            'requestBody' => [
                                'content' => [
                                    'application/json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'apiCode' => [
                                                    'type' => 'string',
                                                ],
                                                'redirectUri' => [
                                                    'type' => 'string',
                                                    'format' => 'uri',
                                                ],
                                                'qoodosSubscription' => [
                                                    'type' => 'boolean',
                                                ],
                                                'qoodosEmailNotification' => [
                                                    'type' => 'boolean',
                                                ],
                                                'qoodosPhoneNotification' => [
                                                    'type' => 'boolean',
                                                ],
                                            ],
                                            'required' => [
                                                'apiCode',
                                                'redirectUri',
                                            ],
                                        ],
                                        'example' => [
                                            'apiCode' => 'c4c17bba026b44734930e6aa79bd7d53b.0.srsuu.5_7Mv44f7nXi0883eZ0Y7A',
                                            'redirectUri' => 'https://rimon.staging-foxorders.fr/api/v2/customers/authenticate/google',
                                            'qoodosSubscription' => false,
                                            'qoodosEmailNotification' => false,
                                            'qoodosPhoneNotification' => false,
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                200 => [
                                    'content' => [
                                        'application/json' => [
                                            'schema' => [
                                                'type' => 'object',
                                                'properties' => [
                                                    'token' => [
                                                        'type' => 'string',
                                                    ],
                                                    'refresh_token' => [
                                                        'type' => 'string',
                                                    ],
                                                ],
                                            ],
                                            'example' => [
                                                'token' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImN0eSI6IkpXVCJ9.eyJpYXQiOjE3NjIxODIzNzQsImV4cCI6MTc2MjIxMTE3NCwicm9sZXMiOlsiUk9MRV9DTElFTlQiXSwidXNlcm5hbWUiOiJhbWluZS5hcWlsMjAwOUBnbWFpbC5jb20iLCJpcCI6IjE2MC4xNzcuOTAuNyJ9.X4SIqei-QYKrpNEYiNh4ybRvl0YL6UplUFUvxt9QTyL7dMZA-Q3VLJ1wSdy3_C1afGWNwZswqoiFkBDzsnqq5462G_0e_N5sC3Pr_JF3m9PzW5K9nRlWL8x42FHBo40uOfpXvnt-nYiKVOIZwr2FzHB4a-ad080MY9g7qBfS8SKzigltqKmBGB7I43rAw1pez_Hk5x8aSfEK8ywSSK_mitQjlJpVMyLgj-9GuLinyeAf9pFWu1jM1-Sm0fEg_HPPdMYdPuNPlfqnHy5yNqMngSJKYn2PvAlCToTrHyzsDZ1_TmMdCd71H2TKn31p4TPJJpiOqbj6vUP9wsjnE4uxLw',
                                                'refresh_token' => '63d3631f85f90d3275b0806a286203320d85b20f9b3c321a43389bf8ab12ce6d58843a975c5c13979c5d0269911ee98429fb44fcbf3a8d48ae2482afad9d2561',
                                            ],
                                        ],
                                    ],
                                ],
                                400 => [
                                    'description' => 'Invalid input<br>Google authentication Failed',
                                ],
                            ],
                        ],
                        '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',
                            ],
                        ],
                    ],
                    'apple_authentication' => [
                        'method' => 'POST',
                        'status' => 200,
                        'path' => '/customers/authenticate/apple',
                        'input' => [
                            'class' => 'App\\Message\\Authentication\\SignInWithApple',
                            'name' => 'SignInWithApple',
                        ],
                        'messenger' => true,
                        'openapi_context' => [
                            'summary' => 'Apple Authentication',
                            'description' => 'Authenticate a customer using Apple',
                            'requestBody' => [
                                'content' => [
                                    'application/json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'apiCode' => [
                                                    'type' => 'string',
                                                ],
                                                'redirectUri' => [
                                                    'type' => 'string',
                                                    'format' => 'uri',
                                                ],
                                                'firstName' => [
                                                    'type' => 'string',
                                                ],
                                                'lastName' => [
                                                    'type' => 'string',
                                                ],
                                                'qoodosSubscription' => [
                                                    'type' => 'boolean',
                                                ],
                                                'qoodosEmailNotification' => [
                                                    'type' => 'boolean',
                                                ],
                                                'qoodosPhoneNotification' => [
                                                    'type' => 'boolean',
                                                ],
                                            ],
                                            'required' => [
                                                'apiCode',
                                                'redirectUri',
                                            ],
                                        ],
                                        'example' => [
                                            'apiCode' => 'c4c17bba026b44734930e6aa79bd7d53b.0.srsuu.5_7Mv44f7nXi0883eZ0Y7A',
                                            'redirectUri' => 'https://e2d7c788b0e9.ngrok-free.app/api/v2/customers/authenticate/apple',
                                            'firstName' => 'John',
                                            'lastName' => 'Don',
                                            'qoodosSubscription' => false,
                                            'qoodosEmailNotification' => false,
                                            'qoodosPhoneNotification' => false,
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                200 => [
                                    'content' => [
                                        'application/json' => [
                                            'schema' => [
                                                'type' => 'object',
                                                'properties' => [
                                                    'token' => [
                                                        'type' => 'string',
                                                    ],
                                                    'refresh_token' => [
                                                        'type' => 'string',
                                                    ],
                                                ],
                                            ],
                                            'example' => [
                                                'token' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImN0eSI6IkpXVCJ9.eyJpYXQiOjE3NjIxODIzNzQsImV4cCI6MTc2MjIxMTE3NCwicm9sZXMiOlsiUk9MRV9DTElFTlQiXSwidXNlcm5hbWUiOiJhbWluZS5hcWlsMjAwOUBnbWFpbC5jb20iLCJpcCI6IjE2MC4xNzcuOTAuNyJ9.X4SIqei-QYKrpNEYiNh4ybRvl0YL6UplUFUvxt9QTyL7dMZA-Q3VLJ1wSdy3_C1afGWNwZswqoiFkBDzsnqq5462G_0e_N5sC3Pr_JF3m9PzW5K9nRlWL8x42FHBo40uOfpXvnt-nYiKVOIZwr2FzHB4a-ad080MY9g7qBfS8SKzigltqKmBGB7I43rAw1pez_Hk5x8aSfEK8ywSSK_mitQjlJpVMyLgj-9GuLinyeAf9pFWu1jM1-Sm0fEg_HPPdMYdPuNPlfqnHy5yNqMngSJKYn2PvAlCToTrHyzsDZ1_TmMdCd71H2TKn31p4TPJJpiOqbj6vUP9wsjnE4uxLw',
                                                'refresh_token' => '63d3631f85f90d3275b0806a286203320d85b20f9b3c321a43389bf8ab12ce6d58843a975c5c13979c5d0269911ee98429fb44fcbf3a8d48ae2482afad9d2561',
                                            ],
                                        ],
                                    ],
                                ],
                                400 => [
                                    'description' => 'Invalid input<br>Apple authentication Failed',
                                ],
                            ],
                        ],
                        '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',
                            ],
                        ],
                    ],
                    'POST' => [
                        'security' => 'is_granted("ROLE_EXACT_API") or is_granted("ROLE_EXACT_CLIENT") or is_granted("ROLE_EXACT_SHOP_MANAGER")',
                        'denormalization_context' => [
                            'groups' => [
                                'post:user',
                            ],
                        ],
                        'openapi_context' => [
                            'summary' => 'Create a new Customer',
                            'description' => 'Create a Customer',
                            'requestBody' => [
                                'content' => [
                                    'application/json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'firstName' => [
                                                    'type' => 'string',
                                                    'example' => 'John',
                                                ],
                                                'lastName' => [
                                                    'type' => 'string',
                                                    'example' => 'Doe',
                                                ],
                                                'gender' => [
                                                    'type' => 'string',
                                                    'example' => 'male',
                                                ],
                                                'email' => [
                                                    'type' => 'string',
                                                    'example' => 'john.doe@example.com',
                                                ],
                                                'password' => [
                                                    'type' => 'string',
                                                    'example' => 'StrongP@ssw0rd',
                                                ],
                                                'username' => [
                                                    'type' => 'string',
                                                    'example' => 'johndoe87',
                                                ],
                                                'phone' => [
                                                    'type' => 'string',
                                                    'example' => '019098487',
                                                ],
                                                'landlinePhone' => [
                                                    'type' => 'string',
                                                    'example' => '019098487',
                                                ],
                                                'imageUrl' => [
                                                    'type' => 'string',
                                                    'example' => null,
                                                ],
                                                'notificationEmail' => [
                                                    'type' => 'boolean',
                                                    'example' => true,
                                                ],
                                                'notificationSms' => [
                                                    'type' => 'boolean',
                                                    'example' => false,
                                                ],
                                                'receiveQoodosNotification' => [
                                                    'type' => 'boolean',
                                                    'example' => true,
                                                ],
                                                'defaultLanguage' => [
                                                    'type' => 'string',
                                                    'example' => 'en',
                                                ],
                                                'qoodosNotificationEmail' => [
                                                    'type' => 'boolean',
                                                    'example' => true,
                                                ],
                                                'qoodosNotificationPhone' => [
                                                    'type' => 'boolean',
                                                    'example' => false,
                                                ],
                                                'qoodosSubscription' => [
                                                    'type' => 'boolean',
                                                    'example' => true,
                                                ],
                                                'balance' => [
                                                    'type' => 'number',
                                                    'example' => 150.75,
                                                ],
                                                'cashback' => [
                                                    'type' => 'number',
                                                    'example' => 12.5,
                                                ],
                                                'qoodosRewards' => [
                                                    'type' => 'array',
                                                    'items' => [
                                                        'type' => 'string',
                                                    ],
                                                    'example' => [
                                                        '50b992a8-1676-4105-9fca-35b530d2b22b',
                                                    ],
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'method' => 'POST',
                        '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',
                            ],
                        ],
                    ],
                    'GET' => [
                        'security' => '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',
                            ],
                        ],
                    ],
                    'request_request_password' => [
                        'method' => 'POST',
                        'status' => 200,
                        'path' => '/customers/password-reset/request',
                        'controller' => 'App\\Controller\\Api\\User\\RequestPasswordResetController',
                        'openapi_context' => [
                            'summary' => 'request a password reset',
                            'description' => 'Request a password reset',
                            'requestBody' => [
                                'content' => [
                                    'application/json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'email' => [
                                                    'type' => 'string',
                                                ],
                                                'url' => [
                                                    'type' => 'string',
                                                ],
                                            ],
                                        ],
                                        'example' => [
                                            'email' => 'exemple@exemple.com',
                                            'url' => 'http://mywebsite.com',
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                200 => [
                                    'description' => 'Ok',
                                    'content' => [
                                        'application/json' => [
                                            'schema' => [
                                                'type' => 'object',
                                                'properties' => [
                                                    'responseStatus' => [
                                                        'type' => 'string',
                                                    ],
                                                    'responseHeader' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'status' => [
                                                                'type' => 'string',
                                                            ],
                                                            'code' => [
                                                                'type' => 'number',
                                                            ],
                                                        ],
                                                    ],
                                                    'responseData' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'message' => [
                                                                'type' => 'string',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                        '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',
                            ],
                        ],
                    ],
                    'check_password_reset_token' => [
                        'method' => 'GET',
                        'pagination_enabled' => false,
                        'path' => '/customers/password-reset/check-token',
                        'controller' => 'App\\Controller\\Api\\User\\CheckPasswordResetController',
                        'openapi_context' => [
                            'summary' => 'check token\'s validity',
                            'parameters' => [
                                [
                                    'in' => 'query',
                                    'name' => 'token',
                                    'schema' => [
                                        'type' => 'string',
                                    ],
                                    'required' => true,
                                    'description' => 'Customer\'s password reset token',
                                ],
                            ],
                            'description' => 'Check token\'s validity',
                            'responses' => [
                                200 => [
                                    'description' => 'Ok',
                                    'content' => [
                                        'application/json' => [
                                            'schema' => [
                                                'type' => 'object',
                                                'properties' => [
                                                    'responseStatus' => [
                                                        'type' => 'string',
                                                    ],
                                                    'responseHeader' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'status' => [
                                                                'type' => 'string',
                                                            ],
                                                            'code' => [
                                                                'type' => 'number',
                                                            ],
                                                        ],
                                                    ],
                                                    'responseData' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'message' => [
                                                                'type' => 'string',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                                400 => [
                                    'description' => 'Bad request',
                                ],
                                404 => [
                                    'description' => 'Not Found',
                                ],
                            ],
                        ],
                        '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',
                            ],
                        ],
                    ],
                    'subscribe_existing' => [
                        'method' => 'PATCH',
                        'path' => '/customers/subscribe-existing',
                        'status' => 200,
                        'controller' => 'App\\Controller\\Api\\User\\SubscribeExistingController',
                        'openapi_context' => [
                            'summary' => 'Subscribe to a franchise',
                            'description' => 'Subscribe to a franchise',
                            'requestBody' => [
                                'content' => [
                                    'application/merge-patch+json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'user_id' => [
                                                    'type' => 'integer',
                                                ],
                                                'franchiseId' => [
                                                    'type' => 'integer',
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                200 => [
                                    'description' => 'Ok',
                                ],
                                400 => [
                                    'description' => 'Bad request',
                                ],
                                404 => [
                                    'description' => 'Not Found',
                                ],
                            ],
                        ],
                        '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',
                            ],
                        ],
                    ],
                    'reset_password' => [
                        'method' => 'PATCH',
                        'path' => '/customers/password-reset',
                        'status' => 200,
                        'controller' => 'App\\Controller\\Api\\User\\ResetPasswordResetController',
                        'openapi_context' => [
                            'summary' => 'reset customer\'s password',
                            'description' => 'Reset customer\'s password',
                            'requestBody' => [
                                'content' => [
                                    'application/merge-patch+json' => [
                                        'schema' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'token' => [
                                                    'type' => 'string',
                                                ],
                                                'plainPassword' => [
                                                    'type' => 'string',
                                                ],
                                            ],
                                        ],
                                        'example' => [
                                            'token' => 'token',
                                            'plainPassword' => 'myPlainPassword',
                                        ],
                                    ],
                                ],
                            ],
                            'responses' => [
                                200 => [
                                    'description' => 'Ok',
                                    'content' => [
                                        'application/json' => [
                                            'schema' => [
                                                'type' => 'object',
                                                'properties' => [
                                                    'responseStatus' => [
                                                        'type' => 'string',
                                                    ],
                                                    'responseHeader' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'status' => [
                                                                'type' => 'string',
                                                            ],
                                                            'code' => [
                                                                'type' => 'number',
                                                            ],
                                                        ],
                                                    ],
                                                    'responseData' => [
                                                        'type' => 'object',
                                                        'properties' => [
                                                            'message' => [
                                                                'type' => 'string',
                                                            ],
                                                        ],
                                                    ],
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                        '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',
                            ],
                        ],
                    ],
                    'qoodos_subscription' => [
                        'security' => 'is_granted("ROLE_EXACT_CLIENT")',
                        'method' => 'POST',
                        'status' => 200,
                        'path' => '/customers/qoodos-subscription',
                        'controller' => 'App\\Controller\\Api\\User\\QoodosSubscriptionController',
                        'openapi_context' => [
                            'summary' => 'qoodos subscription',
                            'description' => 'Qoodos subscription',
                            'requestBody' => [
                                'content' => [],
                            ],
                            'responses' => [
                                200 => [
                                    'description' => 'Ok',
                                ],
                                400 => [
                                    'description' => 'Bad request',
                                ],
                            ],
                        ],
                        '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',
                            ],
                        ],
                    ],
                    'qoodos_unsubscription' => [
                        'security' => 'is_granted("ROLE_EXACT_CLIENT")',
                        'method' => 'DELETE',
                        'status' => 200,
                        'path' => '/customers/qoodos-unsubscription',
                        'controller' => 'App\\Controller\\Api\\User\\QoodosUnsubscriptionController',
                        'openapi_context' => [
                            'summary' => 'qoodos unsubscription',
                            'description' => 'Qoodos unsubscription',
                            'responses' => [
                                200 => [
                                    'description' => 'Ok',
                                ],
                                400 => [
                                    'description' => 'Bad request',
                                ],
                            ],
                        ],
                        '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',
                            ],
                        ],
                    ],
                    'search' => [
                        'method' => 'POST',
                        'path' => '/customers/search',
                        'status' => 200,
                        'input' => [
                            'class' => 'App\\Message\\Customer\\ExistInFranchise',
                            'name' => 'ExistInFranchise',
                        ],
                        'messenger' => true,
                        'denormalization_context' => [
                            'groups' => [
                                'post:customer:in_franchise',
                            ],
                        ],
                        'openapi_context' => [
                            'summary' => 'Search for customer in franchise',
                            'description' => 'This endpoint allows us to know weither to save or share customer between franchises',
                            'responses' => [
                                200 => [
                                    'description' => 'Check result',
                                    'content' => [
                                        'application/json' => [
                                            'schema' => [
                                                'type' => 'object',
                                                'properties' => [
                                                    'ambiguous' => [
                                                        'type' => 'boolean',
                                                        'description' => 'True if there is more than one customer with the same email or phone in the franchise',
                                                    ],
                                                    'exists' => [
                                                        'type' => 'boolean',
                                                        'description' => 'True if customer exists in the database',
                                                    ],
                                                    'customerId' => [
                                                        'type' => 'integer',
                                                        'nullable' => true,
                                                        'description' => 'The ID of the existing customer, null if not exists',
                                                    ],
                                                    'inFranchise' => [
                                                        'type' => 'boolean',
                                                        'description' => 'True if the customer is already linked to the franchise',
                                                    ],
                                                    'isPhoneEmpty' => [
                                                        'type' => 'boolean',
                                                        'description' => 'True if the existing customer has no phone number',
                                                    ],
                                                    'sameEmail' => [
                                                        'type' => 'boolean',
                                                        'description' => 'True if the existing customer has the same email as the one provided',
                                                    ],
                                                    'samePhone' => [
                                                        'type' => 'boolean',
                                                        'description' => 'True if the existing customer has the same phone as the one provided',
                                                    ],
                                                ],
                                            ],
                                            'examples' => [
                                                'User Exists' => [
                                                    'value' => [
                                                        'ambiguous' => false,
                                                        'exists' => true,
                                                        'customerId' => 123,
                                                        'inFranchise' => false,
                                                        'isPhoneEmpty' => true,
                                                        'sameEmail' => true,
                                                        'samePhone' => true,
                                                    ],
                                                ],
                                                'New User' => [
                                                    'value' => [
                                                        'ambiguous' => false,
                                                        'exists' => false,
                                                        'customerId' => null,
                                                        'inFranchise' => false,
                                                        'isPhoneEmpty' => false,
                                                        'sameEmail' => false,
                                                        'samePhone' => false,
                                                    ],
                                                ],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                        '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_API")',
                    '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:user',
                        ],
                        'skip_null_values' => false,
                    ],
                    '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],
    []
); }];
